tor-browser

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

embed-document.html (650B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>HTML Test: The embed element represents a document</title>
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <meta name="assert" content="Check if the embed element represents a document when a text/html resource source is used">
      7 <body>
      8  <script type="application/javascript">
      9    window.childLoaded = false;
     10    async_test(function() {
     11      addEventListener("load", this.step_func_done(function() {
     12        assert_true(window.childLoaded);
     13      }));
     14    }, "Test document type embedding");
     15  </script>
     16  <embed src="embed-iframe.html">
     17 </body>