4 <title>Media test: networkState
</title>
5 <script type=
"text/javascript" src=
"/MochiKit/MochiKit.js"></script>
6 <script type=
"text/javascript" src=
"/tests/SimpleTest/SimpleTest.js"></script>
7 <link rel=
"stylesheet" type=
"text/css" href=
"/tests/SimpleTest/test.css" />
10 <video id='v1'
></video><audio id='a1'
></audio>
12 <script class=
"testbody" type=
"text/javascript">
13 var v1 = document.getElementById('v1');
14 var a1 = document.getElementById('a1');
17 is(v1.networkState,
0);
18 is(a1.networkState,
0);
25 ok(passed,
"Should not be able to set networkState (readonly attribute)");