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-source-media.html
1 <!doctype html>
2 <title>the &lt;source> media attribute has no effect</title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <div id=log></div>
6 <video><source src="resources/delayed-broken-video.py" media="none"></video>
7 <script>
8 test(function() {
9   var v = document.querySelector('video');
10   var s = document.querySelector('source');
11   assert_equals(v.networkState, v.NETWORK_LOADING);
12   assert_equals(v.currentSrc, s.src);
13 });
14 </script>