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

Unified Diff: LayoutTests/svg/dom/SVGLength-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/SVGColor-expected.txt ('k') | LayoutTests/svg/dom/SVGLengthList-basics-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGLength-expected.txt
diff --git a/LayoutTests/svg/dom/SVGLength-expected.txt b/LayoutTests/svg/dom/SVGLength-expected.txt
index 48d4f6693032f5231d853def07bc6e1514c16454..f27115fc1e926726129b1e12613e5fe97de12b45 100644
--- a/LayoutTests/svg/dom/SVGLength-expected.txt
+++ b/LayoutTests/svg/dom/SVGLength-expected.txt
@@ -41,7 +41,7 @@ PASS length.value is NaN
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: Not enough arguments.
+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..
« no previous file with comments | « LayoutTests/svg/dom/SVGColor-expected.txt ('k') | LayoutTests/svg/dom/SVGLengthList-basics-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698