mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
6548bdd016
MozReview-Commit-ID: cLfN049EJt --HG-- extra : rebase_source : e5f96d5724ea77c5ef41fa03e3c85da9d3761b48
9 lines
503 B
JavaScript
9 lines
503 B
JavaScript
add_task(async function() {
|
|
let browserLoadedPromise = BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser, false, "about:mozilla");
|
|
window.browserDOMWindow.openURI(makeURI("about:mozilla"), null,
|
|
Ci.nsIBrowserDOMWindow.OPEN_CURRENTWINDOW, null,
|
|
Services.scriptSecurityManager.getSystemPrincipal());
|
|
await browserLoadedPromise;
|
|
is(gBrowser.currentURI.spec, "about:mozilla", "page loads in the current content window");
|
|
});
|