mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
8219a5c503
Differential Revision: https://phabricator.services.mozilla.com/D177025
17 lines
383 B
JavaScript
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);
|
|
});
|
|
}
|
|
);
|
|
});
|