tor-browser

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

cross-domain-iframe.sub.html (735B)


      1 <!doctype html>
      2 <html class="reftest-wait">
      3 <title>Rendering of iframe element with src attribute from another domain</title>
      4 <link rel="match" href="cross-domain-iframe.sub-ref.html">
      5 <link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules">
      6 <meta name="assert" content="Checks that iframe content is correctly rendered even if it is retrieved from a different domain.">
      7 <iframe id=myframe src="http://{{domains[www1]}}:{{ports[http][0]}}/images/green.png"></iframe>
      8 <script>
      9  myframe.onload = () => {
     10    requestAnimationFrame(() => {
     11      requestAnimationFrame(() => {
     12        document.documentElement.classList.remove('reftest-wait');
     13      });
     14    });
     15  }
     16 </script>
     17 </html>