Test how media element TimeRange methods react to too few arguments
[WebKit-https.git] / LayoutTests / media / video-buffered-too-few-arguments.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <p id="description"></p>
8 <div id="console"></div>
9 <script>
10 description('Test how buffered.start()/end() react to too few arguments.');
11 var v = document.createElement('video');
12 shouldThrow("v.buffered.start()");
13 shouldThrow("v.buffered.end()");
14 successfullyParsed = true;
15 </script>
16 <script src="../fast/js/resources/js-test-post.js"></script>
17 </body>
18 </html>