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

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 more comments from aaron 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..21da7fa5b20e07ee8b32c76cca5652cce6f71837
--- /dev/null
+++ b/LayoutTests/media/track/track-disabled.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script src="../media-file.js"></script>
+ <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