Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Notice: Do not add new instances of __exposedProps__ to mozilla-central

81 views
Skip to first unread message

Bobby Holley

unread,
Jun 12, 2014, 12:37:51 PM6/12/14
to dev-pl...@lists.mozilla.org, dev...@lists.mozilla.org
Hi all,

As part of our effort to move to more robust bindings, we've deprecated
Chrome Object Wrappers (COWs) and the __exposedProps__ tables that support
them. We now have machinery to properly implement DOM objects with WebIDL
[1], as well lighter-weight mechanisms for exporting objects (Cu.cloneInto)
and functions (Cu.exportFunction) to content.

Developers - There should be no reason to use __exposedProps__ at this
point. If you find yourself in a situation where you think you need it,
send me an email and I'll point you in the right direction.

Reviewers - Please enforce this rule by rejecting patches that add new
usage of __exposedProps__.

We're also implementing an automated scanner to detect and flag any such
patches. Let me know if you have any questions.

Cheers,
bholley

[1]
https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings#Implementing_WebIDL_using_Javascript
0 new messages