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

Unified Diff: LayoutTests/svg/dom/undefined-null-expected.txt

Issue 144463014: Add [StrictTypeChecking] to the SVGGeometryElement interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop/change TC; Simplify generated code. Created 6 years, 10 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
« no previous file with comments | « LayoutTests/svg/dom/undefined-null.html ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « LayoutTests/svg/dom/undefined-null.html ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698