gecko/browser/base/content/test/browser_bug537474.js

9 lines
284 B
JavaScript
Raw Normal View History

2010-01-02 02:03:06 -08:00
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();
}