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

PSA: Deprecating JS-Implemented WebIDL

108 views
Skip to first unread message

Bobby Holley

unread,
Apr 23, 2018, 7:13:26 PM4/23/18
to dev-platform, Firefox Dev
For reasons outlined in bug 1450827, the DOM peers have decided to
deprecate support for JS-implemented WebIDL APIs. This means that new
additions of |JSImplementation="foo"| are no longer permitted.

If you maintain an existing JS WebIDL implementation, or are considering
designs for a new API, please get in touch with me or another DOM peer to
discuss alternatives.

Cheers,
bholley

Andreas Tolfsen

unread,
Apr 24, 2018, 2:26:00 AM4/24/18
to Bobby Holley, dev-platform, Firefox Dev
Also sprach Bobby Holley:

> For reasons outlined in bug 1450827, the DOM peers have decided to
> deprecate support for JS-implemented WebIDL APIs. This means that
> new additions of |JSImplementation="foo"| are no longer permitted.


Out of curiosity, and mostly because my knowledge of how this works
is limited, this wouldn’t affect C++ implementations that internally
do_GetService to some XPCOM service implemented in JS?

smaug

unread,
Apr 24, 2018, 4:49:49 AM4/24/18
to Andreas Tolfsen, Bobby Holley
No, it wouldn't. C++ doesn't really know that a service is implemented in JS.

Kris Maglione

unread,
Apr 24, 2018, 3:31:55 PM4/24/18
to Andreas Tolfsen, dev-platform, Bobby Holley, Firefox Dev
On Tue, Apr 24, 2018 at 07:25:18AM +0100, Andreas Tolfsen wrote:
>Also sprach Bobby Holley:
>
>> For reasons outlined in bug 1450827, the DOM peers have decided to
>> deprecate support for JS-implemented WebIDL APIs. This means that
>> new additions of |JSImplementation="foo"| are no longer permitted.
>
>
>Out of curiosity, and mostly because my knowledge of how this works
>is limited, this wouldn’t affect C++ implementations that internally
>do_GetService to some XPCOM service implemented in JS?

Correct, it would not affect those implementations.
0 new messages