We currently have a Components shim object exposed to web pages which has an "interfaces" property. This exposes various nsIDOM* properties that map to corresponding WebIDL interface objects. Only interfaces with constants on them are exposed.

We have had a deprecation warning and telemetry for this for a while. Currently usage stands at about 0.07% of pageloads, 0.015% of documents, 0.66% of browsing sessions. That's low enough that it might be worth trying to remove this thing.

I just checked in https://bugzilla.mozilla.org/show_bug.cgi?id=1448048 to add a pref for it and turn the preff off on nightly, so we can get some compat data.

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

Reply via email to