mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-07 06:54:33 +00:00
9 lines
360 B
JavaScript
9 lines
360 B
JavaScript
add_task(function *() {
|
|
let browserLoadedPromise = BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser);
|
|
browserDOMWindow.openURI(makeURI("about:"), null,
|
|
Ci.nsIBrowserDOMWindow.OPEN_CURRENTWINDOW, null)
|
|
yield browserLoadedPromise;
|
|
is(gBrowser.currentURI.spec, "about:", "page loads in the current content window");
|
|
});
|
|
|