mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1345620: Disable global history in test browsers. r=trivial
MozReview-Commit-ID: F4frNK6qq8j
This commit is contained in:
parent
166164407e
commit
d273437717
@ -109,6 +109,7 @@ class ContentPage {
|
||||
.QueryInterface(Ci.nsIWebNavigation);
|
||||
|
||||
chromeShell.createAboutBlankContentViewer(system);
|
||||
chromeShell.useGlobalHistory = false;
|
||||
chromeShell.loadURI(XUL_URL, 0, null, null, null);
|
||||
|
||||
await promiseObserved("chrome-document-global-created",
|
||||
@ -118,6 +119,7 @@ class ContentPage {
|
||||
|
||||
let browser = chromeDoc.createElement("browser");
|
||||
browser.setAttribute("type", "content");
|
||||
browser.setAttribute("disableglobalhistory", "true");
|
||||
|
||||
let awaitFrameLoader = Promise.resolve();
|
||||
if (this.remote) {
|
||||
|
Loading…
Reference in New Issue
Block a user