tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

browser_bug453896.js (383B)


      1 add_task(async function () {
      2  let uri = getRootDirectory(gTestPath) + "bug453896_iframe.html";
      3 
      4  await BrowserTestUtils.withNewTab(
      5    {
      6      gBrowser,
      7      url: uri,
      8    },
      9    function (browser) {
     10      return SpecialPowers.spawn(browser, [], async function () {
     11        var fake_window = { ok: ok };
     12        content.wrappedJSObject.run(fake_window);
     13      });
     14    }
     15  );
     16 });