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

Unified Diff: LayoutTests/svg/dom/SVGPaint-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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/SVGNumberList-basics-expected.txt ('k') | LayoutTests/svg/dom/SVGPoint-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGPaint-expected.txt
diff --git a/LayoutTests/svg/dom/SVGPaint-expected.txt b/LayoutTests/svg/dom/SVGPaint-expected.txt
index 17fa0e4f97ea5e9689f786c4708057526fb429b0..f644532355ae0f99e3bda9fa247d2b91fa7d950e 100644
--- a/LayoutTests/svg/dom/SVGPaint-expected.txt
+++ b/LayoutTests/svg/dom/SVGPaint-expected.txt
@@ -19,15 +19,15 @@ PASS document.defaultView.getComputedStyle(rectElement).fill is "#008000"
Try invalid arguments for setPaint()
PASS fillPaint.setPaint(null, null, null, null) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, svgElement, '', ''); threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
-PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, '', '') threw exception TypeError: Not enough arguments.
+PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, '', '') threw exception TypeError: Failed to execute 'setPaint' on 'SVGPaint': 4 arguments required, but only 3 present..
PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR + 1, '', '', ''); threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_NONE - 1, '', '', ''); threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI + 1, '', '', ''); threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
-PASS fillPaint.setPaint() threw exception TypeError: Not enough arguments.
-PASS fillPaint.setPaint(fillPaint) threw exception TypeError: Not enough arguments.
+PASS fillPaint.setPaint() threw exception TypeError: Failed to execute 'setPaint' on 'SVGPaint': 4 arguments required, but only 0 present..
+PASS fillPaint.setPaint(fillPaint) threw exception TypeError: Failed to execute 'setPaint' on 'SVGPaint': 4 arguments required, but only 1 present..
Try invalid arguments for setUri()
-PASS fillPaint.setUri() threw exception TypeError: Not enough arguments.
+PASS fillPaint.setUri() threw exception TypeError: Failed to execute 'setUri' on 'SVGPaint': 1 argument required, but only 0 present..
Try assigning to the readonly paintType property, which silently fails
PASS fillPaint.paintType = SVGPaint.SVG_PAINTTYPE_UNKKNOWN; is undefined.
« no previous file with comments | « LayoutTests/svg/dom/SVGNumberList-basics-expected.txt ('k') | LayoutTests/svg/dom/SVGPoint-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698