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

Unified Diff: LayoutTests/svg/text/svgtextcontentelement-methods-parameters-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
Index: LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt
diff --git a/LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt b/LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt
index 2ebeb94d66c871dc24a72bf711bc490d3fa6f48a..837a4bab10ccf58e244cd0e36dc60f3fcbacd988 100644
--- a/LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt
+++ b/LayoutTests/svg/text/svgtextcontentelement-methods-parameters-expected.txt
@@ -3,15 +3,15 @@ Check that SVGTextContentElement methods' parameters are correctly validated
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS svgText.getSubStringLength() threw exception TypeError: Not enough arguments.
-PASS svgText.getSubStringLength(2) threw exception TypeError: Not enough arguments.
-PASS svgText.getStartPositionOfChar() threw exception TypeError: Not enough arguments.
-PASS svgText.getEndPositionOfChar() threw exception TypeError: Not enough arguments.
-PASS svgText.getExtentOfChar() threw exception TypeError: Not enough arguments.
-PASS svgText.getRotationOfChar() threw exception TypeError: Not enough arguments.
-PASS svgText.getCharNumAtPosition() threw exception TypeError: Not enough arguments.
-PASS svgText.selectSubString() threw exception TypeError: Not enough arguments.
-PASS svgText.selectSubString(2) threw exception TypeError: Not enough arguments.
+PASS svgText.getSubStringLength() threw exception TypeError: Failed to execute 'getSubStringLength' on 'SVGTextContentElement': 2 arguments required, but only 0 present..
+PASS svgText.getSubStringLength(2) threw exception TypeError: Failed to execute 'getSubStringLength' on 'SVGTextContentElement': 2 arguments required, but only 1 present..
+PASS svgText.getStartPositionOfChar() threw exception TypeError: Failed to execute 'getStartPositionOfChar' on 'SVGTextContentElement': 1 argument required, but only 0 present..
+PASS svgText.getEndPositionOfChar() threw exception TypeError: Failed to execute 'getEndPositionOfChar' on 'SVGTextContentElement': 1 argument required, but only 0 present..
+PASS svgText.getExtentOfChar() threw exception TypeError: Failed to execute 'getExtentOfChar' on 'SVGTextContentElement': 1 argument required, but only 0 present..
+PASS svgText.getRotationOfChar() threw exception TypeError: Failed to execute 'getRotationOfChar' on 'SVGTextContentElement': 1 argument required, but only 0 present..
+PASS svgText.getCharNumAtPosition() threw exception TypeError: Failed to execute 'getCharNumAtPosition' on 'SVGTextContentElement': 1 argument required, but only 0 present..
+PASS svgText.selectSubString() threw exception TypeError: Failed to execute 'selectSubString' on 'SVGTextContentElement': 2 arguments required, but only 0 present..
+PASS svgText.selectSubString(2) threw exception TypeError: Failed to execute 'selectSubString' on 'SVGTextContentElement': 2 arguments required, but only 1 present..
PASS svgText.getSubStringLength(999, 2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS svgText.getStartPositionOfChar(999) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
PASS svgText.getEndPositionOfChar(999) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
« no previous file with comments | « LayoutTests/svg/text/svgtextcontentelement-methods-parameters.html ('k') | LayoutTests/webaudio/audionode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698