Commit 09c7ea3a authored by Carsten "Tomcat" Book's avatar Carsten "Tomcat" Book
Browse files

Backed out changeset 9cb85309542e (bug 1332956)

--HG--
extra : rebase_source : 30e02ae40a5eba7713ed8aaeee8e3b593335c728
parent ad42fa5b
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -5,18 +5,18 @@
<script src="/resources/testharnessreport.js"></script>
<meta name="assert" content="Check if the embed element is ignored when used inside a media element">
<script type="application/javascript">
  var nestingTest = async_test("Test embed being ignored inside media element");
  onload = nestingTest.step_func_done(function() {
    assert_true(true, "We got to a load event without loading things we should not load");
  });
 window.childLoaded = false;
 async_test(function() {
   addEventListener("load", this.step_func_done(function() {
     assert_false(window.childLoaded);
   }));
 }, "Test embed being ignored inside media element");
</script>
<body>
  <video>
    <embed type="text/html" src="../resources/should-not-load.html"
           test-description="<embed> in <video>">
    <embed type="text/html" src="embed-iframe.html" />
  </video>
  <audio>
    <embed type="text/html" src="../resources/should-not-load.html"
           test-description="<embed> in <audio>">
    <embed type="text/html" src="embed-iframe.html" />
  </audio>
</body>