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

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

Issue 262753004: Replace all remaining IDL finitude type checks with [TypeChecking=Unrestricted] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 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: 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 57128092b26f88b304b44f8571a86c3b67ebd22c..1823ed9bd5de8794d7c5a5a74ef68f0a40011fb2 100644
--- a/LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt
+++ b/LayoutTests/media/track/regions-webvtt/vtt-region-constructor-expected.txt
@@ -53,53 +53,53 @@ EXPECTED (region.width == '100') OK
Invalid percentage value: -Infinity
RUN(region.viewportAnchorX = invalidPercentageValues[index])
-TypeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.viewportAnchorX == '0') OK
RUN(region.viewportAnchorY = invalidPercentageValues[index])
-TypeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.viewportAnchorY == '100') OK
RUN(region.regionAnchorX = invalidPercentageValues[index])
-TypeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.regionAnchorX == '0') OK
RUN(region.regionAnchorY = invalidPercentageValues[index])
-TypeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.regionAnchorY == '100') OK
RUN(region.width = invalidPercentageValues[index])
-TypeError: Failed to set the 'width' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'width' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.width == '100') OK
Invalid percentage value: Infinity
RUN(region.viewportAnchorX = invalidPercentageValues[index])
-TypeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.viewportAnchorX == '0') OK
RUN(region.viewportAnchorY = invalidPercentageValues[index])
-TypeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.viewportAnchorY == '100') OK
RUN(region.regionAnchorX = invalidPercentageValues[index])
-TypeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.regionAnchorX == '0') OK
RUN(region.regionAnchorY = invalidPercentageValues[index])
-TypeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.regionAnchorY == '100') OK
RUN(region.width = invalidPercentageValues[index])
-TypeError: Failed to set the 'width' property on 'VTTRegion': The value provided is infinite.
+TypeError: Failed to set the 'width' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.width == '100') OK
Invalid percentage value: NaN
RUN(region.viewportAnchorX = invalidPercentageValues[index])
-TypeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The value provided is not a number.
+TypeError: Failed to set the 'viewportAnchorX' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.viewportAnchorX == '0') OK
RUN(region.viewportAnchorY = invalidPercentageValues[index])
-TypeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The value provided is not a number.
+TypeError: Failed to set the 'viewportAnchorY' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.viewportAnchorY == '100') OK
RUN(region.regionAnchorX = invalidPercentageValues[index])
-TypeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The value provided is not a number.
+TypeError: Failed to set the 'regionAnchorX' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.regionAnchorX == '0') OK
RUN(region.regionAnchorY = invalidPercentageValues[index])
-TypeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The value provided is not a number.
+TypeError: Failed to set the 'regionAnchorY' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.regionAnchorY == '100') OK
RUN(region.width = invalidPercentageValues[index])
-TypeError: Failed to set the 'width' property on 'VTTRegion': The value provided is not a number.
+TypeError: Failed to set the 'width' property on 'VTTRegion': The provided double value is non-finite.
EXPECTED (region.width == '100') OK
RUN(region.height = -1)
IndexSizeError: Failed to set the 'height' property on 'VTTRegion': The height provided (-1) is negative.

Powered by Google App Engine
This is Rietveld 408576698