| Index: LayoutTests/svg/dom/SVGLength-expected.txt
|
| diff --git a/LayoutTests/svg/dom/SVGLength-expected.txt b/LayoutTests/svg/dom/SVGLength-expected.txt
|
| index b82d49557478dec23a0a1de37eed55804e1243c7..49b21805907f6db553e0156e00a89697502cdfc7 100644
|
| --- a/LayoutTests/svg/dom/SVGLength-expected.txt
|
| +++ b/LayoutTests/svg/dom/SVGLength-expected.txt
|
| @@ -17,12 +17,12 @@ PASS length.valueInSpecifiedUnits is 2
|
| PASS length.valueAsString is "2px"
|
|
|
| Check invalid arguments for 'convertToSpecifiedUnits'
|
| -PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_UNKNOWN) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.convertToSpecifiedUnits(-1) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.convertToSpecifiedUnits(11) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.convertToSpecifiedUnits('aString') threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.convertToSpecifiedUnits(length) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.convertToSpecifiedUnits(svgElement) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS length.convertToSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_UNKNOWN) threw exception NoModificationAllowedError: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Failed to set the 'convertToSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.convertToSpecifiedUnits(-1) threw exception NoModificationAllowedError: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Failed to set the 'convertToSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.convertToSpecifiedUnits(11) threw exception NoModificationAllowedError: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Failed to set the 'convertToSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.convertToSpecifiedUnits('aString') threw exception NoModificationAllowedError: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Failed to set the 'convertToSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.convertToSpecifiedUnits(length) threw exception NoModificationAllowedError: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Failed to set the 'convertToSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.convertToSpecifiedUnits(svgElement) threw exception NoModificationAllowedError: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': Failed to set the 'convertToSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| PASS length.convertToSpecifiedUnits() threw exception TypeError: Failed to execute 'convertToSpecifiedUnits' on 'SVGLength': 1 argument required, but only 0 present..
|
| PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX
|
| PASS length.value is 2
|
| @@ -30,9 +30,9 @@ PASS length.valueInSpecifiedUnits is 2
|
| PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX
|
|
|
| Check invalid arguments for 'newValueSpecifiedUnits'
|
| -PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_UNKNOWN, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.newValueSpecifiedUnits(-1, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.newValueSpecifiedUnits(11, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_UNKNOWN, 4) threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.newValueSpecifiedUnits(-1, 4) threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.newValueSpecifiedUnits(11, 4) threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 'aString') is undefined.
|
| PASS length.value is NaN
|
| PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 0) is undefined.
|
| @@ -42,12 +42,12 @@ PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 0) is undefined.
|
| PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, svgElement) is undefined.
|
| PASS length.value is NaN
|
| PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': 2 arguments required, but only 1 present..
|
| -PASS length.newValueSpecifiedUnits('aString', 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.newValueSpecifiedUnits(length, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.newValueSpecifiedUnits(svgElement, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.newValueSpecifiedUnits('aString', 'aString') threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.newValueSpecifiedUnits(length, length) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| -PASS length.newValueSpecifiedUnits(svgElement, svgElement) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
|
| +PASS length.newValueSpecifiedUnits('aString', 4) threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.newValueSpecifiedUnits(length, 4) threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.newValueSpecifiedUnits(svgElement, 4) threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.newValueSpecifiedUnits('aString', 'aString') threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.newValueSpecifiedUnits(length, length) threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| +PASS length.newValueSpecifiedUnits(svgElement, svgElement) threw exception NoModificationAllowedError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': Failed to set the 'newValueSpecifiedUnits' property on 'SVGLength': The specified SVGLengthMode is invalid..
|
| PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX
|
| PASS length.value is 2
|
| PASS length.valueInSpecifiedUnits is 2
|
|
|