mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
9 lines
322 B
JavaScript
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);
|
|
});
|