зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1604299, Remove remaining references to XULDocument r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D58143 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9962a9df84
Коммит
4d71db7b6d
|
@ -8726,13 +8726,7 @@ RegisterWeakAsyncMemoryReporter
|
|||
?NewContentViewerObj@nsDocShell@@AAE?AW4nsresult@@ABV?$nsTSubstring@D@@PAVnsIRequest@@PAVnsILoadGroup@@PAPAVnsIStreamListener@@PAPAVnsIContentViewer@@@Z
|
||||
?CreateInstance@nsContentDLF@@UAG?AW4nsresult@@PBDPAVnsIChannel@@PAVnsILoadGroup@@ABV?$nsTSubstring@D@@PAVnsIDocShell@@PAVnsISupports@@PAPAVnsIStreamListener@@PAPAVnsIContentViewer@@@Z
|
||||
?IsPlainTextType@nsContentUtils@@SA_NABV?$nsTSubstring@D@@@Z
|
||||
?CreateXULDocument@nsContentDLF@@QAE?AW4nsresult@@PBDPAVnsIChannel@@PAVnsILoadGroup@@PAVnsIDocShell@@PAVnsISupports@@PAPAVnsIStreamListener@@PAPAVnsIContentViewer@@@Z
|
||||
?NS_NewXULDocument@@YA?AW4nsresult@@PAPAVDocument@dom@mozilla@@@Z
|
||||
??0XMLDocument@dom@mozilla@@QAE@PBD@Z
|
||||
?AddRef@XULDocument@dom@mozilla@@UAGKXZ
|
||||
?Release@XULDocument@dom@mozilla@@UAGKXZ
|
||||
?QueryInterface@XULDocument@dom@mozilla@@UAG?AW4nsresult@@ABUnsID@@PAPAX@Z
|
||||
?StartDocumentLoad@XULDocument@dom@mozilla@@UAE?AW4nsresult@@PBDPAVnsIChannel@@PAVnsILoadGroup@@PAVnsISupports@@PAPAVnsIStreamListener@@_NPAVnsIContentSink@@@Z
|
||||
?GetParent@nsDocShell@@UAG?AW4nsresult@@PAPAVnsIDocShellTreeItem@@@Z
|
||||
?GetContentDispositionHeader@nsJARChannel@@UAG?AW4nsresult@@AAV?$nsTSubstring@D@@@Z
|
||||
??0PrototypeDocumentParser@parser@mozilla@@QAE@PAVnsIURI@@PAVDocument@dom@2@@Z
|
||||
|
@ -8904,12 +8898,6 @@ RegisterWeakAsyncMemoryReporter
|
|||
?IsForceReloading@nsDocShell@@QAE_NXZ
|
||||
?Release@PerformanceMainThread@dom@mozilla@@UAGKXZ
|
||||
?ClearDocumentDependentSlots@nsGlobalWindowInner@@IAEXPAUJSContext@@@Z
|
||||
?WrapNode@XULDocument@dom@mozilla@@MAEPAVJSObject@@PAUJSContext@@V?$Handle@PAVJSObject@@@JS@@@Z
|
||||
?Wrap@XULDocument_Binding@dom@mozilla@@YA_NPAUJSContext@@PAVXULDocument@23@PAVnsWrapperCache@@V?$Handle@PAVJSObject@@@JS@@V?$MutableHandle@PAVJSObject@@@8@@Z
|
||||
?CreateInterfaceObjects@XULDocument_Binding@dom@mozilla@@YAXPAUJSContext@@V?$Handle@PAVJSObject@@@JS@@AAVProtoAndIfaceCache@23@_N@Z
|
||||
?Get@?$FindAssociatedGlobalForNative@VXULDocument@dom@mozilla@@$00@dom@mozilla@@SAPAVJSObject@@PAUJSContext@@V?$Handle@PAVJSObject@@@JS@@@Z
|
||||
?CreateObject@?$BindingJSObjectCreator@VXULDocument@dom@mozilla@@@dom@mozilla@@QAEXPAUJSContext@@PBUJSClass@@V?$Handle@PAVJSObject@@@JS@@PAVXULDocument@23@V?$MutableHandle@PAVJSObject@@@7@@Z
|
||||
??1?$BindingJSObjectCreator@VXULDocument@dom@mozilla@@@dom@mozilla@@QAE@XZ
|
||||
?TakeReservedClientSource@LoadInfo@net@mozilla@@UAE?AV?$UniquePtr@VClientSource@dom@mozilla@@V?$DefaultDelete@VClientSource@dom@mozilla@@@3@@3@XZ
|
||||
?GetController@LoadInfo@net@mozilla@@UAEABV?$Maybe@VServiceWorkerDescriptor@dom@mozilla@@@3@XZ
|
||||
?SetForceCharset@nsDocumentViewer@@UAGXPBVEncoding@mozilla@@@Z
|
||||
|
@ -12456,7 +12444,6 @@ snprintf
|
|||
?AsyncWait@NonBlockingAsyncInputStream@mozilla@@UAG?AW4nsresult@@PAVnsIInputStreamCallback@@IIPAVnsIEventTarget@@@Z
|
||||
??0AsyncWaitRunnable@NonBlockingAsyncInputStream@mozilla@@QAE@PAV12@PAVnsIInputStreamCallback@@@Z
|
||||
?ListenerBlockingPromise@nsBaseChannel@@EAE?AW4nsresult@@PAPAV?$MozPromise@W4nsresult@@W41@$00@mozilla@@@Z
|
||||
?EndLoad@XULDocument@dom@mozilla@@UAEXXZ
|
||||
?QueryInterface@PrototypeDocumentContentSink@dom@mozilla@@UAG?AW4nsresult@@ABUnsID@@PAPAX@Z
|
||||
?Release@PrototypeDocumentParser@parser@mozilla@@UAGKXZ
|
||||
?EndLoad@nsStubDocumentObserver@@UAEXPAVDocument@dom@mozilla@@@Z
|
||||
|
|
|
@ -8677,13 +8677,7 @@ RegisterWeakAsyncMemoryReporter
|
|||
?NewContentViewerObj@nsDocShell@@AEAA?AW4nsresult@@AEBV?$nsTSubstring@D@@PEAVnsIRequest@@PEAVnsILoadGroup@@PEAPEAVnsIStreamListener@@PEAPEAVnsIContentViewer@@@Z
|
||||
?CreateInstance@nsContentDLF@@UEAA?AW4nsresult@@PEBDPEAVnsIChannel@@PEAVnsILoadGroup@@AEBV?$nsTSubstring@D@@PEAVnsIDocShell@@PEAVnsISupports@@PEAPEAVnsIStreamListener@@PEAPEAVnsIContentViewer@@@Z
|
||||
?IsPlainTextType@nsContentUtils@@SA_NAEBV?$nsTSubstring@D@@@Z
|
||||
?CreateXULDocument@nsContentDLF@@QEAA?AW4nsresult@@PEBDPEAVnsIChannel@@PEAVnsILoadGroup@@PEAVnsIDocShell@@PEAVnsISupports@@PEAPEAVnsIStreamListener@@PEAPEAVnsIContentViewer@@@Z
|
||||
?NS_NewXULDocument@@YA?AW4nsresult@@PEAPEAVDocument@dom@mozilla@@@Z
|
||||
??0XMLDocument@dom@mozilla@@QEAA@PEBD@Z
|
||||
?AddRef@XULDocument@dom@mozilla@@UEAAKXZ
|
||||
?Release@XULDocument@dom@mozilla@@UEAAKXZ
|
||||
?QueryInterface@XULDocument@dom@mozilla@@UEAA?AW4nsresult@@AEBUnsID@@PEAPEAX@Z
|
||||
?StartDocumentLoad@XULDocument@dom@mozilla@@UEAA?AW4nsresult@@PEBDPEAVnsIChannel@@PEAVnsILoadGroup@@PEAVnsISupports@@PEAPEAVnsIStreamListener@@_NPEAVnsIContentSink@@@Z
|
||||
?GetParent@nsDocShell@@UEAA?AW4nsresult@@PEAPEAVnsIDocShellTreeItem@@@Z
|
||||
?GetContentDispositionHeader@nsJARChannel@@UEAA?AW4nsresult@@AEAV?$nsTSubstring@D@@@Z
|
||||
??0PrototypeDocumentParser@parser@mozilla@@QEAA@PEAVnsIURI@@PEAVDocument@dom@2@@Z
|
||||
|
@ -8852,12 +8846,6 @@ RegisterWeakAsyncMemoryReporter
|
|||
?IsForceReloading@nsDocShell@@QEAA_NXZ
|
||||
?Release@PerformanceMainThread@dom@mozilla@@UEAAKXZ
|
||||
?ClearDocumentDependentSlots@nsGlobalWindowInner@@IEAAXPEAUJSContext@@@Z
|
||||
?WrapNode@XULDocument@dom@mozilla@@MEAAPEAVJSObject@@PEAUJSContext@@V?$Handle@PEAVJSObject@@@JS@@@Z
|
||||
?Wrap@XULDocument_Binding@dom@mozilla@@YA_NPEAUJSContext@@PEAVXULDocument@23@PEAVnsWrapperCache@@V?$Handle@PEAVJSObject@@@JS@@V?$MutableHandle@PEAVJSObject@@@8@@Z
|
||||
?CreateInterfaceObjects@XULDocument_Binding@dom@mozilla@@YAXPEAUJSContext@@V?$Handle@PEAVJSObject@@@JS@@AEAVProtoAndIfaceCache@23@_N@Z
|
||||
?Get@?$FindAssociatedGlobalForNative@VXULDocument@dom@mozilla@@$00@dom@mozilla@@SAPEAVJSObject@@PEAUJSContext@@V?$Handle@PEAVJSObject@@@JS@@@Z
|
||||
?CreateObject@?$BindingJSObjectCreator@VXULDocument@dom@mozilla@@@dom@mozilla@@QEAAXPEAUJSContext@@PEBUJSClass@@V?$Handle@PEAVJSObject@@@JS@@PEAVXULDocument@23@V?$MutableHandle@PEAVJSObject@@@7@@Z
|
||||
??1?$BindingJSObjectCreator@VXULDocument@dom@mozilla@@@dom@mozilla@@QEAA@XZ
|
||||
?TakeReservedClientSource@LoadInfo@net@mozilla@@UEAA?AV?$UniquePtr@VClientSource@dom@mozilla@@V?$DefaultDelete@VClientSource@dom@mozilla@@@3@@3@XZ
|
||||
?GetController@LoadInfo@net@mozilla@@UEAAAEBV?$Maybe@VServiceWorkerDescriptor@dom@mozilla@@@3@XZ
|
||||
?SetForceCharset@nsDocumentViewer@@UEAAXPEBVEncoding@mozilla@@@Z
|
||||
|
@ -12336,7 +12324,6 @@ snprintf
|
|||
?AsyncWait@NonBlockingAsyncInputStream@mozilla@@UEAA?AW4nsresult@@PEAVnsIInputStreamCallback@@IIPEAVnsIEventTarget@@@Z
|
||||
??0AsyncWaitRunnable@NonBlockingAsyncInputStream@mozilla@@QEAA@PEAV12@PEAVnsIInputStreamCallback@@@Z
|
||||
?ListenerBlockingPromise@nsBaseChannel@@EEAA?AW4nsresult@@PEAPEAV?$MozPromise@W4nsresult@@W41@$00@mozilla@@@Z
|
||||
?EndLoad@XULDocument@dom@mozilla@@UEAAXXZ
|
||||
?QueryInterface@PrototypeDocumentContentSink@dom@mozilla@@UEAA?AW4nsresult@@AEBUnsID@@PEAPEAX@Z
|
||||
?Release@PrototypeDocumentParser@parser@mozilla@@UEAAKXZ
|
||||
?EndLoad@nsStubDocumentObserver@@UEAAXPEAVDocument@dom@mozilla@@@Z
|
||||
|
|
|
@ -136,23 +136,23 @@ addTest(function InsertRover() {
|
|||
}
|
||||
});
|
||||
|
||||
// Create a XUL document with a script element, and check its introduction type.
|
||||
// Creates a chrome document with a XUL script element, and check its introduction type.
|
||||
addTest(function XULDocumentScript() {
|
||||
const xulFrame = document.createElement("iframe");
|
||||
xulFrame.src = "doc_Debugger.Source.prototype.introductionType.xhtml";
|
||||
xulFrame.onload = xulLoaded;
|
||||
info("Appending iframe containing XUL document");
|
||||
document.body.appendChild(xulFrame);
|
||||
const frame = document.createElement("iframe");
|
||||
frame.src = "doc_Debugger.Source.prototype.introductionType.xhtml";
|
||||
frame.onload = docLoaded;
|
||||
info("Appending iframe containing a document with a XUL script tag");
|
||||
document.body.appendChild(frame);
|
||||
|
||||
function xulLoaded() {
|
||||
info("Loaded XUL document");
|
||||
const xulFrameDO = dbg.addDebuggee(xulFrame.contentWindow);
|
||||
function docLoaded() {
|
||||
info("Loaded chrome document");
|
||||
const xulFrameDO = dbg.addDebuggee(frame.contentWindow);
|
||||
const xulFnDO = xulFrameDO.getOwnPropertyDescriptor("xulScriptFunc").value;
|
||||
is(typeof xulFnDO, "object", "XUL script element defined 'xulScriptFunc'");
|
||||
is(xulFnDO.class, "Function",
|
||||
"XUL global 'xulScriptFunc' is indeed a function");
|
||||
|
||||
// A XUL document's script elements' code gets shared amongst all
|
||||
// A XUL script elements' code gets shared amongst all
|
||||
// instantiations of the document, so there's no specific DOM element
|
||||
// we can attribute the code to.
|
||||
is(xulFnDO.script.source.element, undefined,
|
||||
|
|
|
@ -190,9 +190,6 @@ function test_getElementsByAttribute() {
|
|||
var doc = ParseFile("nodelist_data_2.xhtml");
|
||||
var root = doc.documentElement;
|
||||
|
||||
// Sadly, DOMParser can't create XULDocument objects. But at least we have a
|
||||
// XULElement!
|
||||
|
||||
Assert.equal(ChromeUtils.getClassName(root), "XULElement");
|
||||
|
||||
Assert.equal(
|
||||
|
@ -268,9 +265,6 @@ function test_getElementsByAttributeNS() {
|
|||
var doc = ParseFile("nodelist_data_2.xhtml");
|
||||
var root = doc.documentElement;
|
||||
|
||||
// Sadly, DOMParser can't create XULDocument objects. But at least we have a
|
||||
// XULElement!
|
||||
|
||||
Assert.equal(ChromeUtils.getClassName(root), "XULElement");
|
||||
|
||||
// Check that getElementsByAttributeNS returns an HTMLCollection.
|
||||
|
|
|
@ -39,7 +39,7 @@ const XULStore = {
|
|||
|
||||
/**
|
||||
* Sets a value for a specified node's attribute, except in
|
||||
* the case below (following the original XULDocument::persist):
|
||||
* the case below:
|
||||
* If the value is empty and if calling `hasValue` with the node's
|
||||
* document and ID and `attr` would return true, then the
|
||||
* value instead gets removed from the store (see Bug 1476680).
|
||||
|
|
|
@ -25,7 +25,7 @@ interface nsIXULStore: nsISupports
|
|||
{
|
||||
/**
|
||||
* Sets a value for a specified node's attribute, except in
|
||||
* the case below (following the original XULDocument::persist):
|
||||
* the case below:
|
||||
* If the value is empty and if calling `hasValue` with the node's
|
||||
* document and ID and `attr` would return true, then the
|
||||
* value instead gets removed from the store (see Bug 1476680).
|
||||
|
|
Загрузка…
Ссылка в новой задаче