forked from mirrors/gecko-dev
Bug 1603869 - Pass URL to BrowserTestUtils.browserLoaded in browser_download_after_revoke.js r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D57379 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
787235c807
commit
8c741dedaf
1 changed files with 5 additions and 5 deletions
|
|
@ -47,11 +47,11 @@ function test() {
|
|||
});
|
||||
}
|
||||
|
||||
BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser).then(onLoad);
|
||||
const target = "http://example.com/browser/dom/url/tests/empty.html";
|
||||
BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser, false, target).then(
|
||||
onLoad
|
||||
);
|
||||
|
||||
info("Loading download page...");
|
||||
BrowserTestUtils.loadURI(
|
||||
gBrowser,
|
||||
"http://example.com/browser/dom/url/tests/empty.html"
|
||||
);
|
||||
BrowserTestUtils.loadURI(gBrowser, target);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue