Bug 1345620: Disable global history in test browsers. r=trivial

MozReview-Commit-ID: F4frNK6qq8j
This commit is contained in:
Kris Maglione 2017-03-10 10:39:41 -08:00
parent 166164407e
commit d273437717

View File

@ -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) {