tor-browser

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

use-external-reload-in-iframe.html (497B)


      1 <!DOCTYPE html>
      2 <title>&lt;use> with external resource in reloaded iframe</title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <iframe src="support/use-external-reload-in-iframe-child.html"></iframe>
      6 <script>
      7  async_test(t => {
      8    window.onload = t.step_func(() => {
      9      const iframe = document.querySelector('iframe');
     10      iframe.onload = t.step_func_done();
     11      iframe.contentWindow.location.reload();
     12    });
     13  });
     14 </script>