Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / media / W3C / video / readyState / readyState_initial.html
blob505c1152351c5af6ba602cfd21f9bd13734db340
1 <!doctype html>
2 <html>
3 <head>
4 <title>video.readyState - default state</title>
5 <script src="../../w3cwrapper.js"></script>
6 </head>
7 <body>
8 <p><a href="http://dev.w3.org/html5/spec/Overview.html#dom-media-networkstate">spec reference</a></p>
9 <video id="v">
10 </video>
11 <div id="log"></div>
12 <script>
13 test(function() {
14 var v = document.getElementById("v");
15 assert_equals(
16 v.readyState,
17 v.HAVE_NOTHING,
18 "videoElement.readyState should be HAVE_NOTHING to begin with");
19 });
20 </script>
21 </body>
22 </html>