Bug 1455680 - Notify document-element-inserted in XUL documents;r=bz
commit37febf298750a7403796e013f805a3a0ba9ed622
authorBrian Grinstead <bgrinstead@mozilla.com>
Fri, 20 Apr 2018 20:55:51 +0000 (20 13:55 -0700)
committerBrian Grinstead <bgrinstead@mozilla.com>
Fri, 20 Apr 2018 20:55:51 +0000 (20 13:55 -0700)
tree43d266c43a2225fc3da5fb9770adc5c1fb8710fa
parent34a70ebeae7c807241c46c4e1ef398a2b9789c6e
Bug 1455680 - Notify document-element-inserted in XUL documents;r=bz

We'll want to use this event to inject scripts before other scripts run
in XUL documents. It already fires in HTML documents.

MozReview-Commit-ID: 7FW0R8r9o9G

--HG--
extra : rebase_source : 28fe9b6a4bcbb6ecf8966a0c059d867bf66285bf
dom/base/nsContentSink.cpp
dom/base/test/chrome/chrome.ini
dom/base/test/chrome/file_document-element-inserted-inner.xul [new file with mode: 0644]
dom/base/test/chrome/file_document-element-inserted.xul [new file with mode: 0644]
dom/base/test/chrome/test_document-element-inserted.xul [new file with mode: 0644]
dom/xml/nsXMLContentSink.cpp
dom/xslt/xslt/txMozillaXMLOutput.cpp
dom/xul/XULDocument.cpp