Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Unified Diff: LayoutTests/media/track/track-disabled.html

Issue 17002002: TextTrackCue should check for non-NULL cue list pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated aaron's comments Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/media/track/track-disabled-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/media/track/track-disabled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698