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

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

Issue 1854553003: Convert webvtt regions tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address more comments Created 4 years, 8 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-list-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-list-expected.txt b/third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-list-expected.txt
deleted file mode 100644
index b0d402cb5a8cf0647a09134b4879bcbeb2bb7cc9..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/regions-webvtt/vtt-region-list-expected.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-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
-
-** 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 VTTRegionList object **
-EXPECTED (regions.length == '1') OK
-EXPECTED (regions[0] == region == 'true') OK
-EXPECTED (regions[0].track == testTrack.track == 'true') OK
-
-** The track attribute should correctly reflect the track to which the region was added to**
-EXPECTED (region.track == testTrack.track == 'true') OK
-
-** Adding a region with an existing id should update the existing region **
-EXPECTED (regions[0].viewportAnchorX == '59') OK
-EXPECTED (regions[0].viewportAnchorY == '68') OK
-EXPECTED (regions[0].regionAnchorX == '20') OK
-EXPECTED (regions[0].regionAnchorY == '30') OK
-EXPECTED (regions[0].height == '5') OK
-EXPECTED (regions[0].width == '87') OK
-EXPECTED (regions[0].scroll == 'up') OK
-EXPECTED (regions[0] != updatedRegion == 'true') OK
-
-** Add the region back and check if removeRegion() removes it properly **
-EXPECTED (regions.length == '1') OK
-EXPECTED (regions.length == '0') OK
-
-** In case the region is not found, NotFoundError should be thrown **
-NotFoundError: Failed to execute 'removeRegion' on 'TextTrack': The specified region is not listed in the TextTrack's list of regions.
-
-END OF TEST
-

Powered by Google App Engine
This is Rietveld 408576698