зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1240912 - Add outerWindowID getter for request matching. r=ochameau
MozReview-Commit-ID: DlatvZVE8qu
This commit is contained in:
Родитель
89421af622
Коммит
973f55c425
|
@ -217,6 +217,15 @@ function addXULBrowserDecorations(browser) {
|
|||
enumerable: true,
|
||||
});
|
||||
}
|
||||
if (browser.outerWindowID == undefined) {
|
||||
Object.defineProperty(browser, "outerWindowID", {
|
||||
get() {
|
||||
return browser._outerWindowID;
|
||||
},
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
});
|
||||
}
|
||||
|
||||
// It's not necessary for these to actually do anything. These properties are
|
||||
// swapped between browsers in browser.xml's `swapDocShells`, and then their
|
||||
|
|
Загрузка…
Ссылка в новой задаче