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 |