mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +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();
|
|
}
|