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