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

Unified Diff: third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-display.html

Issue 2685943004: Remove TextTrack.regions and VTTRegionList (Closed)
Patch Set: Rebase Created 3 years, 10 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
Index: third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-display.html
diff --git a/third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-display.html b/third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-display.html
index a6eba0cc04a97040ae236213977c3e642cc7dc04..33b32433e8942298195bf2e2bf4816fd01393700 100644
--- a/third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-display.html
+++ b/third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-display.html
@@ -39,8 +39,6 @@ async_test(function() {
video.oncanplaythrough = this.step_func(function() {
track = video.textTracks[0];
- assert_equals(track.regions.length, 1);
-
region = textTrackRegionElement(video);
var container = textTrackRegionContainerElement(video);
@@ -52,7 +50,7 @@ async_test(function() {
totalVisibleLines += countVisibleLines(cue);
}
- assert_less_than_equal(totalVisibleLines, track.regions[0].lines);
+ assert_less_than_equal(totalVisibleLines, 2);
if (seekTimeIndex == seekTimes.length)
this.done();

Powered by Google App Engine
This is Rietveld 408576698