gecko-dev/browser/base/content/test/browser_bug537474.js
2010-01-02 11:03:06 +01:00

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();
}