It is now possible[1] to create chrome-only WebIDL interfaces in the dom/chrome-webidl/ directory that do not require review by DOM peers after every change. If you maintain an internal performance-sensitive XPIDL interface, or are considering creating one, I'd encourage you to consider migrating it to WebIDL.

Some caveats to keep in mind:

- Interfaces in this directory must be annotated with [ChromeOnly]. Dictionaries, however, can be included without any special annotations.

- If you are new to writing WebIDL files, I'd still encourage you to ask a DOM peer to review at least your initial check-in.

- Please make sure that you do not attempt to expose any of the interface or dictionary types defined in these WebIDL files to web contexts, through interfaces defined in dom/webidl/. Doing so would require (and fail) DOM peer review, in any case, but please think ahead.

Thanks.

- Kris

[1]: As of bugs 1443317 and 1442931
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to