| 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.
|
|
|