mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
9 lines
284 B
JavaScript
9 lines
284 B
JavaScript
function test() {
|
|
var currentWin = content;
|
|
var newWin =
|
|
browserDOMWindow.openURI(makeURI("about:"), null,
|
|
Ci.nsIBrowserDOMWindow.OPEN_CURRENTWINDOW, null)
|
|
is(newWin, currentWin, "page loads in the current content window");
|
|
gBrowser.stop();
|
|
}
|