fune/toolkit/content/tests/browser/browser_bug594509.js

9 lines
322 B
JavaScript

add_task(async function() {
let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, "about:rights");
await ContentTask.spawn(tab.linkedBrowser, null, async function() {
Assert.ok(content.document.getElementById("your-rights"), "about:rights content loaded");
});
BrowserTestUtils.removeTab(tab);
});