browser_bug453896.js 344 B

1234567891011121314
  1. add_task(function* () {
  2. let uri = getRootDirectory(gTestPath) + "bug453896_iframe.html";
  3. yield BrowserTestUtils.withNewTab({
  4. gBrowser,
  5. url: uri
  6. }, function*(browser) {
  7. return ContentTask.spawn(browser, null, function* () {
  8. var fake_window = { ok: ok };
  9. content.wrappedJSObject.run(fake_window);
  10. });
  11. });
  12. });