On 03/13/2017 06:17 AM, Nathan Froyd wrote:
We do not. Bug 1299187 is related to such work, but that bug only covers unexporting symbols that 3rd party software would access. bz has filed a few bugs for removing nsIDOM* methods that only existed due to 3rd party compat concerns, but I don't think there's been systematic evaluation of what's just dead weight now.
For the record, there's some nonobvious stuff I can remove from the rooting hazard analysis due to this -- currently, it conservatively assumes that just about any nsISupports subclass's method could be implemented in a binary extension, and thus could trigger a garbage collection that moves all of your GC-controlled pointers while laughing evilly at your now-bogus stack pointers to the old locations.
There's a whitelist of "safe" things that we assume will never be overridden. But now I can remove everything that treats nsISupports specially.
_______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform