summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/general/browser_bug724239.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/test/general/browser_bug724239.js')
-rw-r--r--browser/base/content/test/general/browser_bug724239.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/browser/base/content/test/general/browser_bug724239.js b/browser/base/content/test/general/browser_bug724239.js
new file mode 100644
index 000000000..430751b91
--- /dev/null
+++ b/browser/base/content/test/general/browser_bug724239.js
@@ -0,0 +1,11 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
+add_task(function* test() {
+ yield BrowserTestUtils.withNewTab({ gBrowser, url: "about:blank" },
+ function* (browser) {
+ BrowserTestUtils.loadURI(browser, "http://example.com");
+ yield BrowserTestUtils.browserLoaded(browser);
+ ok(!gBrowser.canGoBack, "about:newtab wasn't added to the session history");
+ });
+});