[meta] Stop exposing Gecko-specific interface objects to the Web when Web compat allows

ASSIGNED
Assigned to

Status

()

ASSIGNED
5 years ago
5 years ago

People

(Reporter: hsivonen, Assigned: hsivonen)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

http://hg.mozilla.org/mozilla-central/annotate/f66d956d188e/dom/tests/mochitest/general/test_interfaces.html tests that various interface objects are exposed to the Web even though some of those interfaces are Gecko-specific—some even XUL-specific.

We should avoid exposing such interface objects, because Web authors may use them for inferring the engine supposedly more reliably than by sniffing the UA string, but if they do so, we may accidentally break sites when we change the set of interfaces that's supposed to be “private” to some degree.
You need to log in before you can comment on or make changes to this bug.