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

Unified Diff: LayoutTests/svg/dom/SVGColor-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/SVGAngle-expected.txt ('k') | LayoutTests/svg/dom/SVGLength-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGColor-expected.txt
diff --git a/LayoutTests/svg/dom/SVGColor-expected.txt b/LayoutTests/svg/dom/SVGColor-expected.txt
index bceaffed11b9b1ef9c8944fe3bc1fc416f37086e..065a27ef50adb7c10aa6a10f03257eef7b45a67b 100644
--- a/LayoutTests/svg/dom/SVGColor-expected.txt
+++ b/LayoutTests/svg/dom/SVGColor-expected.txt
@@ -19,8 +19,8 @@ PASS stopColor.setColor(null, null, null) threw exception NoModificationAllowedE
PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, svgElement, ''); threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_RGBCOLOR, '', '') threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
PASS stopColor.setColor(SVGColor.SVG_COLORTYPE_CURRENTCOLOR + 1, '', ''); threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
-PASS stopColor.setColor() threw exception TypeError: Not enough arguments.
-PASS stopColor.setColor(stopColor) threw exception TypeError: Not enough arguments.
+PASS stopColor.setColor() threw exception TypeError: Failed to execute 'setColor' on 'SVGColor': 3 arguments required, but only 0 present..
+PASS stopColor.setColor(stopColor) threw exception TypeError: Failed to execute 'setColor' on 'SVGColor': 3 arguments required, but only 1 present..
Try assigning to the readonly colorType property, which silently fails
PASS stopColor.colorType = SVGColor.SVG_COLORTYPE_UNKKNOWN; is undefined.
« no previous file with comments | « LayoutTests/svg/dom/SVGAngle-expected.txt ('k') | LayoutTests/svg/dom/SVGLength-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698