OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>throttled loading metadata</title> | 3 <title>throttled loading metadata</title> |
4 <script src="../../media-resources/media-file.js"></script> | 4 <script src="../../media-resources/media-file.js"></script> |
| 5 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 6 (Please avoid writing new tests using video-test.js) --> |
5 <script src="../../media-resources/video-test.js"></script> | 7 <script src="../../media-resources/video-test.js"></script> |
6 <script> | 8 <script> |
7 function loadedmetadata(e) | 9 function loadedmetadata(e) |
8 { | 10 { |
9 logResult(true, "loaded metadata of media file"); | 11 logResult(true, "loaded metadata of media file"); |
10 endTest(); | 12 endTest(); |
11 } | 13 } |
12 | 14 |
13 function error(e) | 15 function error(e) |
14 { | 16 { |
(...skipping 26 matching lines...) Expand all Loading... |
41 </head> | 43 </head> |
42 <body onload="start()"> | 44 <body onload="start()"> |
43 <video id="video"></video> | 45 <video id="video"></video> |
44 <p> | 46 <p> |
45 This test case simulates a slow network, and starts a web worker thread to write
a log message | 47 This test case simulates a slow network, and starts a web worker thread to write
a log message |
46 when retrieving media metadata to see if the webkit thread is blocked by media r
etrieving thread.<br> | 48 when retrieving media metadata to see if the webkit thread is blocked by media r
etrieving thread.<br> |
47 This test case is for <a href="https://bugs.webkit.org/show_bug.cgi?id=80978">ht
tps://bugs.webkit.org/show_bug.cgi?id=80978</a> | 49 This test case is for <a href="https://bugs.webkit.org/show_bug.cgi?id=80978">ht
tps://bugs.webkit.org/show_bug.cgi?id=80978</a> |
48 </p> | 50 </p> |
49 </body> | 51 </body> |
50 </html> | 52 </html> |
OLD | NEW |