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