gecko-dev/layout/style/test/browser_bug453896.js

17 lines
383 B
JavaScript

add_task(async function () {
let uri = getRootDirectory(gTestPath) + "bug453896_iframe.html";
await BrowserTestUtils.withNewTab(
{
gBrowser,
url: uri,
},
function (browser) {
return SpecialPowers.spawn(browser, [], async function () {
var fake_window = { ok: ok };
content.wrappedJSObject.run(fake_window);
});
}
);
});