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

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

Issue 197213012: Improve media-related exception messages (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove redundant TimeRanges test Created 6 years, 9 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: LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt
diff --git a/LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt b/LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt
index f46f52e064a979aa592cdc2a2160a5b8a1c9ee9a..57128092b26f88b304b44f8571a86c3b67ebd22c 100644
--- a/LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt
+++ b/LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt
@@ -19,36 +19,36 @@ EXPECTED (region.scroll == '') OK
Invalid percentage value: -1
RUN(region.viewportAnchorX = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The value provided (-1) is not between 0 and 100.
+IndexSizeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The value provided (-1) is outside the range [0, 100].
EXPECTED (region.viewportAnchorX == '0') OK
RUN(region.viewportAnchorY = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The value provided (-1) is not between 0 and 100.
+IndexSizeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The value provided (-1) is outside the range [0, 100].
EXPECTED (region.viewportAnchorY == '100') OK
RUN(region.regionAnchorX = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The value provided (-1) is not between 0 and 100.
+IndexSizeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The value provided (-1) is outside the range [0, 100].
EXPECTED (region.regionAnchorX == '0') OK
RUN(region.regionAnchorY = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The value provided (-1) is not between 0 and 100.
+IndexSizeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The value provided (-1) is outside the range [0, 100].
EXPECTED (region.regionAnchorY == '100') OK
RUN(region.width = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'width' property on 'VTTRegion': The value provided (-1) is not between 0 and 100.
+IndexSizeError: Failed to set the 'width' property on 'VTTRegion': The value provided (-1) is outside the range [0, 100].
EXPECTED (region.width == '100') OK
Invalid percentage value: 101
RUN(region.viewportAnchorX = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The value provided (101) is not between 0 and 100.
+IndexSizeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The value provided (101) is outside the range [0, 100].
EXPECTED (region.viewportAnchorX == '0') OK
RUN(region.viewportAnchorY = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The value provided (101) is not between 0 and 100.
+IndexSizeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The value provided (101) is outside the range [0, 100].
EXPECTED (region.viewportAnchorY == '100') OK
RUN(region.regionAnchorX = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The value provided (101) is not between 0 and 100.
+IndexSizeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The value provided (101) is outside the range [0, 100].
EXPECTED (region.regionAnchorX == '0') OK
RUN(region.regionAnchorY = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The value provided (101) is not between 0 and 100.
+IndexSizeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The value provided (101) is outside the range [0, 100].
EXPECTED (region.regionAnchorY == '100') OK
RUN(region.width = invalidPercentageValues[index])
-IndexSizeError: Failed to set the 'width' property on 'VTTRegion': The value provided (101) is not between 0 and 100.
+IndexSizeError: Failed to set the 'width' property on 'VTTRegion': The value provided (101) is outside the range [0, 100].
EXPECTED (region.width == '100') OK
Invalid percentage value: -Infinity
« no previous file with comments | « LayoutTests/fast/dom/time-ranges-exceptions-expected.txt ('k') | LayoutTests/media/track/track-cue-mutable-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698