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

Side by Side Diff: LayoutTests/media/track/regions-webvtt/text-track-cue-region-attribute.html

Issue 55653003: Rename TextTrackRegion/TextTrackRegionList to VTTRegion/VTTRegionList (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update test expectations Created 7 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/media/track/regions-webvtt/text-track-region-constructor.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 5
6 <script src=../../media-file.js></script> 6 <script src=../../media-file.js></script>
7 <script src=../../video-test.js></script> 7 <script src=../../video-test.js></script>
8 <script> 8 <script>
9 var cue; 9 var cue;
10 10
11 function startTest() 11 function startTest()
12 { 12 {
13 if (!window.TextTrackRegion) { 13 if (!window.VTTRegion) {
14 failTest(); 14 failTest();
15 return; 15 return;
16 } 16 }
17 17
18 consoleWrite("<br>** Test the setter and getter through the JS A PI **"); 18 consoleWrite("<br>** Test the setter and getter through the JS A PI **");
19 cue = new TextTrackCue(0.0, 1.0, "sample"); 19 cue = new TextTrackCue(0.0, 1.0, "sample");
20 20
21 testExpected("cue.regionId", ""); 21 testExpected("cue.regionId", "");
22 cue.regionId = "someId"; 22 cue.regionId = "someId";
23 testExpected("cue.regionId", "someId"); 23 testExpected("cue.regionId", "someId");
(...skipping 15 matching lines...) Expand all
39 } 39 }
40 </script> 40 </script>
41 </head> 41 </head>
42 <body> 42 <body>
43 <p>Tests the regionId attribute of a cue.</p> 43 <p>Tests the regionId attribute of a cue.</p>
44 <video controls> 44 <video controls>
45 <track src="../captions-webvtt/header-regions.vtt" kind="captions" d efault onload="startTest()"> 45 <track src="../captions-webvtt/header-regions.vtt" kind="captions" d efault onload="startTest()">
46 </video> 46 </video>
47 </body> 47 </body>
48 </html> 48 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/track/regions-webvtt/text-track-region-constructor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698