Update WPT tests for embedded content
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / html / semantics / embedded-content / media-elements / loading-the-media-resource / resource-selection-invoke-insert-source-in-namespace.html
1 <!doctype html>
2 <title>NOT invoking resource selection by inserting &lt;source> in the wrong namespace</title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <div id=log></div>
6 <video></video>
7 <script>
8 async_test(function(t) {
9   var v = document.querySelector('video');
10   v.onloadstart = t.step_func(function() { assert_unreached(); });
11   v.appendChild(document.createElementNS('bogus','source'));
12   window.onload = t.step_func(function() { t.done(); });
13 });
14 </script>