tor-browser

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

window-failure.https.html (659B)


      1 <!doctype html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <script src="/common/get-host-info.sub.js"></script>
      5 <div id=log></div>
      6 <script>
      7 async_test(t => {
      8  const frame = document.createElement("iframe");
      9  t.add_cleanup(() => frame.remove());
     10  frame.src = get_host_info().HTTPS_NOTSAMESITE_ORIGIN + new URL("resources/iframe-failure.html", location).pathname;
     11  window.onmessage = t.unreached_func("Got a message event, expected a messageerror event");
     12  window.onmessageerror = t.step_func_done();
     13  document.body.append(frame);
     14 }, "SharedArrayBuffer and a cross-site <iframe>");
     15 </script>