зеркало из 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 |
||
---|---|---|
.. | ||
crashtests | ||
resources | ||
test | ||
CDATASection.cpp | ||
CDATASection.h | ||
ProcessingInstruction.cpp | ||
ProcessingInstruction.h | ||
XMLDocument.cpp | ||
XMLDocument.h | ||
XMLStylesheetProcessingInstruction.cpp | ||
XMLStylesheetProcessingInstruction.h | ||
htmlmathml-f.ent | ||
moz.build | ||
nsIXMLContentSink.h | ||
nsXMLContentSink.cpp | ||
nsXMLContentSink.h | ||
nsXMLElement.cpp | ||
nsXMLElement.h | ||
nsXMLFragmentContentSink.cpp | ||
nsXMLPrettyPrinter.cpp | ||
nsXMLPrettyPrinter.h |