summaryrefslogtreecommitdiffstats
path: root/layout/style/test/browser_bug453896.js
blob: 6b8e180c3843ad3ebc0af53fb0a870e1d189a75f (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);
      });
    }
  );
});