Index: LayoutTests/svg/dom/undefined-null-expected.txt |
diff --git a/LayoutTests/svg/dom/undefined-null-expected.txt b/LayoutTests/svg/dom/undefined-null-expected.txt |
index 6f4ee8868bfefcd73f05d639e63e9ea6f315fb74..db145634af14054869fbab16cebb8e5ad4becd1e 100644 |
--- a/LayoutTests/svg/dom/undefined-null-expected.txt |
+++ b/LayoutTests/svg/dom/undefined-null-expected.txt |
@@ -7,33 +7,43 @@ SVGGeometryElement |
isPointInFill(SVGPoint point) |
PASS circle.isPointInFill(point) did not throw exception. |
+PASS circle.isPointInFill(undefined) threw exception TypeError: Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.. |
+PASS circle.isPointInFill(null) threw exception TypeError: Failed to execute 'isPointInFill' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.. |
isPointInStroke(SVGPoint point) |
PASS circle.isPointInStroke(point) did not throw exception. |
+PASS circle.isPointInStroke(undefined) threw exception TypeError: Failed to execute 'isPointInStroke' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.. |
+PASS circle.isPointInStroke(null) threw exception TypeError: Failed to execute 'isPointInStroke' on 'SVGGeometryElement': parameter 1 is not of type 'SVGPoint'.. |
SVGSVGElement |
getIntersectionList(SVGRect rect, SVGElement? referenceElement) |
PASS svg.getIntersectionList(rect, svg) did not throw exception. |
+PASS svg.getIntersectionList(undefined, svg) threw exception TypeError: Failed to execute 'getIntersectionList' on 'SVGSVGElement': parameter 1 is not of type 'SVGRect'.. |
PASS svg.getIntersectionList(null, svg) threw exception TypeError: Failed to execute 'getIntersectionList' on 'SVGSVGElement': parameter 1 is not of type 'SVGRect'.. |
PASS svg.getIntersectionList(rect, undefined) did not throw exception. |
PASS svg.getIntersectionList(rect, null) did not throw exception. |
getEnclosureList(SVGRect rect, SVGElement? referenceElement) |
PASS svg.getEnclosureList(rect, svg) did not throw exception. |
+PASS svg.getEnclosureList(undefined, svg) threw exception TypeError: Failed to execute 'getEnclosureList' on 'SVGSVGElement': parameter 1 is not of type 'SVGRect'.. |
PASS svg.getEnclosureList(null, svg) threw exception TypeError: Failed to execute 'getEnclosureList' on 'SVGSVGElement': parameter 1 is not of type 'SVGRect'.. |
PASS svg.getEnclosureList(rect, undefined) did not throw exception. |
PASS svg.getEnclosureList(rect, null) did not throw exception. |
checkIntersection(SVGElement element, SVGRect rect) |
PASS svg.checkIntersection(svg, rect) did not throw exception. |
+PASS svg.checkIntersection(undefined, rect) threw exception TypeError: Failed to execute 'checkIntersection' on 'SVGSVGElement': parameter 1 is not of type 'SVGElement'.. |
PASS svg.checkIntersection(null, rect) threw exception TypeError: Failed to execute 'checkIntersection' on 'SVGSVGElement': parameter 1 is not of type 'SVGElement'.. |
+PASS svg.checkIntersection(svg, undefined) threw exception TypeError: Failed to execute 'checkIntersection' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'.. |
PASS svg.checkIntersection(svg, null) threw exception TypeError: Failed to execute 'checkIntersection' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'.. |
checkEnclosure(SVGElement element, SVGRect rect) |
PASS svg.checkEnclosure(svg, rect) did not throw exception. |
+PASS svg.checkEnclosure(undefined, rect) threw exception TypeError: Failed to execute 'checkEnclosure' on 'SVGSVGElement': parameter 1 is not of type 'SVGElement'.. |
PASS svg.checkEnclosure(null, rect) threw exception TypeError: Failed to execute 'checkEnclosure' on 'SVGSVGElement': parameter 1 is not of type 'SVGElement'.. |
+PASS svg.checkEnclosure(svg, undefined) threw exception TypeError: Failed to execute 'checkEnclosure' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'.. |
PASS svg.checkEnclosure(svg, null) threw exception TypeError: Failed to execute 'checkEnclosure' on 'SVGSVGElement': parameter 2 is not of type 'SVGRect'.. |
SVGTransform createSVGTransformFromMatrix([Default=Undefined] optional SVGMatrix matrix) |
@@ -46,6 +56,7 @@ SVGTextContentElement |
getCharNumAtPosition(SVGPoint point) |
PASS text.getCharNumAtPosition(point) did not throw exception. |
+PASS text.getCharNumAtPosition(undefined) threw exception TypeError: Failed to execute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of type 'SVGPoint'.. |
PASS text.getCharNumAtPosition(null) threw exception TypeError: Failed to execute 'getCharNumAtPosition' on 'SVGTextContentElement': parameter 1 is not of type 'SVGPoint'.. |
PASS successfullyParsed is true |