diff options
Diffstat (limited to 'browser/base/content/test/general/browser_bug537474.js')
-rw-r--r-- | browser/base/content/test/general/browser_bug537474.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/browser/base/content/test/general/browser_bug537474.js b/browser/base/content/test/general/browser_bug537474.js new file mode 100644 index 000000000..f1139f235 --- /dev/null +++ b/browser/base/content/test/general/browser_bug537474.js @@ -0,0 +1,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"); +}); + |