summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/browser/browser_bug594509.js
blob: e67b05f8525f8aabe087ab34f8562cf747922c0a (plain)
1
2
3
4
5
6
7
8
9
add_task(function* () {
  let tab = yield BrowserTestUtils.openNewForegroundTab(gBrowser, "about:rights");

  yield ContentTask.spawn(tab.linkedBrowser, null, function* () {
    Assert.ok(content.document.getElementById("your-rights"), "about:rights content loaded");
  });

  yield BrowserTestUtils.removeTab(tab);
});