1 add_task(async function test() {
2 await BrowserTestUtils.withNewTab(
3 { gBrowser, url: "about:blank" },
4 async function (newBrowser) {
5 await SpecialPowers.spawn(newBrowser, [], async function () {
6 var prin = content.document.nodePrincipal;
7 Assert.notEqual(prin, null, "Loaded principal must not be null");
11 "Loaded principal must not be undefined"
15 prin.isSystemPrincipal,
17 "Loaded principal must not be system"