summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/general/browser_bug537474.js
blob: f1139f23582ddd6a0221c080bfc7b0932f41512b (plain)
1
2
3
4
5
6
7
8
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");
});