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