зеркало из https://github.com/mozilla/gecko-dev.git
919bb7ded3
This is mostly straight-forward cleanup, but there's a behavior change which was an oversight from bug 1386840, the regular mObservers stuff didn't pass the right thing (was passing only mWasAlternate rather than whether it was deferred). I think that as a result, only in XML documents (since nsXMLContentSink is the only thing that adds itself as a global CSS loader observer that ever looks at this boolean), we may end up breaking this assert: https://searchfox.org/mozilla-central/rev/9ae20497229225cb3fa729a787791f424ff8087b/dom/base/nsContentSink.cpp#183 (If there are any sheets with non-matching media queries and such). But I couldn't find a test-case that broke it (tried SVG / XHTML), and in other documents like pure XML you cannot specify a media query... Differential Revision: https://phabricator.services.mozilla.com/D41091 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests/chrome | ||
PrototypeDocumentContentSink.cpp | ||
PrototypeDocumentContentSink.h | ||
moz.build |