gecko-dev/dom/xml
Emilio Cobos Álvarez 761e9dfe4c Bug 1635094 - Cleanup the ReferrerInfo code. r=ckerschb
The cast in InitWithNode is wrong. AsElement() asserts instead of
checking the flag, so we always pass an element (and if we didn't we'd
have type confusion problems). I audited the callers and we're fine.

Anyhow, always require an element, and add two convenience constructors
for C++ code.

Differential Revision: https://phabricator.services.mozilla.com/D73636
2020-05-04 18:50:20 +00:00
..
crashtests
resources
test
CDATASection.cpp
CDATASection.h
htmlmathml-f.ent
moz.build
nsIXMLContentSink.h
nsXMLContentSink.cpp
nsXMLContentSink.h
nsXMLElement.cpp
nsXMLElement.h
nsXMLFragmentContentSink.cpp
nsXMLPrettyPrinter.cpp
nsXMLPrettyPrinter.h
ProcessingInstruction.cpp
ProcessingInstruction.h
XMLDocument.cpp
XMLDocument.h
XMLStylesheetProcessingInstruction.cpp Bug 1635094 - Cleanup the ReferrerInfo code. r=ckerschb 2020-05-04 18:50:20 +00:00
XMLStylesheetProcessingInstruction.h