tor-browser

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

iframe-display-none-with-object.html (526B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <title>Test that iframe with object triggers load event in owner document</title>
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <body>
      7 <script>
      8  async_test(t => {
      9    window.onload = t.step_func_done();
     10    const obj = document.createElement("iframe");
     11    obj.style.display = "none";
     12    obj.src = "support/iframe-with-object.html";
     13    document.body.appendChild(obj);
     14  }, "Load event triggered on window");
     15 </script>
     16 </body>