tor-browser

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

embed-ignored-in-media-element.html (884B)


      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 is ignored when used inside a media element">
      7 <script type="application/javascript">
      8  var nestingTest = async_test("Test embed being ignored inside media element");
      9  onload = nestingTest.step_func_done(function() {
     10    assert_true(true, "We got to a load event without loading things we should not load");
     11  });
     12 </script>
     13 <body>
     14  <video>
     15    <embed type="text/html" src="../resources/should-not-load.html"
     16           test-description="<embed> in <video>">
     17  </video>
     18  <audio>
     19    <embed type="text/html" src="../resources/should-not-load.html"
     20           test-description="<embed> in <audio>">
     21  </audio>
     22 </body>