blob: df5f47add2bfe2e48856d553072e013644c5effc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!doctype html>
<title>the <source> media attribute</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="not all"></video>
<script>
test(function() {
var v = document.querySelector('video');
var s = document.querySelector('source');
assert_equals(v.networkState, v.NETWORK_NO_SOURCE);
assert_equals(v.currentSrc, '');
});
</script>
|