With the new constructor syntax described in <https://groups.google.com/d/msg/mozilla.dev.platform/GqNeIzSN2Io/7xlz4d2CBAAJ>, we no longer have a [ChromeConstructor] extended attribute. If you want to make an interface only constructible from system code, you can do:

  interface ChromeOnlyConstructor {
    [ChromeOnly]
    constructor();
  };

just like for other system-only methods on the interface.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to