summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/browser/browser_bug594509.js
blob: b177c00d7c0e49a7cc675af92bb2adea98cb4355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
add_task(async function () {
  let tab = await BrowserTestUtils.openNewForegroundTab(
    gBrowser,
    "about:rights"
  );

  await SpecialPowers.spawn(tab.linkedBrowser, [], async function () {
    Assert.ok(
      content.document.getElementById("your-rights"),
      "about:rights content loaded"
    );
  });

  BrowserTestUtils.removeTab(tab);
});