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

14 строки
344 B
JavaScript

add_task(function* () {
let uri = getRootDirectory(gTestPath) + "bug453896_iframe.html";
yield BrowserTestUtils.withNewTab({
gBrowser,
url: uri
}, function*(browser) {
return ContentTask.spawn(browser, null, function* () {
var fake_window = { ok: ok };
content.wrappedJSObject.run(fake_window);
});
});
});