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 | 5 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
6 (Please avoid writing new tests using video-test.js) --> | 6 (Please avoid writing new tests using video-test.js) --> |
7 <script src="../../media-resources/video-test.js"></script> | 7 <script src="../../media-resources/video-test.js"></script> |
8 <script> | 8 <script> |
9 function loadedmetadata(e) | 9 function loadedmetadata(e) |
10 { | 10 { |
11 logResult(true, "loaded metadata of media file"); | 11 logResult(true, "loaded metadata of media file"); |
12 endTest(); | 12 endTest(); |
13 } | 13 } |
14 | 14 |
15 function error(e) | 15 function error(e) |
(...skipping 27 matching lines...) Expand all Loading... |
43 </head> | 43 </head> |
44 <body onload="start()"> | 44 <body onload="start()"> |
45 <video id="video"></video> | 45 <video id="video"></video> |
46 <p> | 46 <p> |
47 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 |
48 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> |
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> | 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> |
50 </p> | 50 </p> |
51 </body> | 51 </body> |
52 </html> | 52 </html> |
OLD | NEW |