Chromium Code Reviews| Index: LayoutTests/media/track/track-disabled.html |
| diff --git a/LayoutTests/media/track/track-disabled.html b/LayoutTests/media/track/track-disabled.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e83b1098ce11496c753c97394d90a1227e90ac5b |
| --- /dev/null |
| +++ b/LayoutTests/media/track/track-disabled.html |
| @@ -0,0 +1,24 @@ |
| +<!DOCTYPE html> |
| +<html> |
| + <head> |
| + <script src=../media-file.js></script> |
|
acolwell GONE FROM CHROMIUM
2013/06/27 23:51:53
nit: add 4 more spaces here and to everything else
Matthew Heaney (Chromium)
2013/06/28 00:05:59
Done.
|
| + <script src=../video-test.js></script> |
| + <script> |
| + if (window.testRunner) |
| + testRunner.dumpAsText(); |
| + |
| + waitForEvent('loadstart', function () |
| + { |
| + var v = document.getElementById('vid'); |
| + v.textTracks[0].mode = "disabled"; |
| + }); |
| + |
| + waitForEventAndEnd('loadedmetadata'); |
| + </script> |
| + </head> |
| + <body> |
| + <video id="vid" src="../content/test.ogv" autoplay controls> |
| + <track kind='subtitles' srclang='en' label='English' src='captions-webvtt/captions.vtt' /> |
| + </video> |
| + </body> |
| +</html> |