summaryrefslogtreecommitdiff
path: root/layout/style/test/browser_bug453896.js
blob: 0084ae33dc64cdb2ba2408b2e7f76adac695a2a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
    });
  });
});