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

Unified Diff: LayoutTests/media/track/regions-webvtt/vtt-region-list-expected.txt

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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/media/track/regions-webvtt/vtt-region-list-expected.txt
diff --git a/LayoutTests/media/track/regions-webvtt/text-track-region-list-expected.txt b/LayoutTests/media/track/regions-webvtt/vtt-region-list-expected.txt
similarity index 82%
rename from LayoutTests/media/track/regions-webvtt/text-track-region-list-expected.txt
rename to LayoutTests/media/track/regions-webvtt/vtt-region-list-expected.txt
index c500809aaf58a93c0ecaf0419ade9727a6f5dfc6..281e19790bd629b495e5278f84ba8f100d8266b4 100644
--- a/LayoutTests/media/track/regions-webvtt/text-track-region-list-expected.txt
+++ b/LayoutTests/media/track/regions-webvtt/vtt-region-list-expected.txt
@@ -1,18 +1,21 @@
-Tests TextTrackRegionList functionality: length, operator[], and getRegionById()
+Tests VTTRegionList functionality: length, operator[], and getRegionById()
** Implicit mode disabled and the regions attribute is null **
EXPECTED (testTrack.track.mode == 'disabled') OK
EXPECTED (testTrack.track.regions == 'null') OK
-** The regions attribute should be an empty TextTrackRegionList **
+** Test instanceof VTTRegionList **
+EXPECTED (regions instanceof VTTRegionList == 'true') OK
+
+** The regions attribute should be an empty VTTRegionList **
EXPECTED (regions != null == 'true') OK
EXPECTED (regions.length == '0') OK
** The default value of the track attribute of the region is null**
EXPECTED (region.track == 'null') OK
-** The addRegion() method properly updates the TextTrackRegionList object **
+** The addRegion() method properly updates the VTTRegionList object **
EXPECTED (regions.length == '1') OK
EXPECTED (regions[0] == region == 'true') OK
EXPECTED (regions[0].track == testTrack.track == 'true') OK

Powered by Google App Engine
This is Rietveld 408576698