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 |