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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks the SVGLength API 1 This test checks the SVGLength API
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 6
7 Check initial length values 7 Check initial length values
8 PASS length.unitType is SVGLength.SVG_LENGTHTYPE_NUMBER 8 PASS length.unitType is SVGLength.SVG_LENGTHTYPE_NUMBER
9 PASS length.value is 0 9 PASS length.value is 0
10 PASS length.valueInSpecifiedUnits is 0 10 PASS length.valueInSpecifiedUnits is 0
(...skipping 23 matching lines...) Expand all
34 PASS length.newValueSpecifiedUnits(-1, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. 34 PASS length.newValueSpecifiedUnits(-1, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
35 PASS length.newValueSpecifiedUnits(11, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. 35 PASS length.newValueSpecifiedUnits(11, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
36 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 'aString') is un defined. 36 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 'aString') is un defined.
37 PASS length.value is NaN 37 PASS length.value is NaN
38 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 0) is undefined. 38 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 0) is undefined.
39 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, length) is undef ined. 39 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, length) is undef ined.
40 PASS length.value is NaN 40 PASS length.value is NaN
41 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 0) is undefined. 41 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, 0) is undefined.
42 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, svgElement) is u ndefined. 42 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX, svgElement) is u ndefined.
43 PASS length.value is NaN 43 PASS length.value is NaN
44 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX) threw exception TypeError: Not enough arguments. 44 PASS length.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX) threw exception TypeError: Failed to execute 'newValueSpecifiedUnits' on 'SVGLength': 2 argument s required, but only 1 present..
45 PASS length.newValueSpecifiedUnits('aString', 4) threw exception NotSupportedErr or: The implementation did not support the requested type of object or operation .. 45 PASS length.newValueSpecifiedUnits('aString', 4) threw exception NotSupportedErr or: The implementation did not support the requested type of object or operation ..
46 PASS length.newValueSpecifiedUnits(length, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation.. 46 PASS length.newValueSpecifiedUnits(length, 4) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
47 PASS length.newValueSpecifiedUnits(svgElement, 4) threw exception NotSupportedEr ror: The implementation did not support the requested type of object or operatio n.. 47 PASS length.newValueSpecifiedUnits(svgElement, 4) threw exception NotSupportedEr ror: The implementation did not support the requested type of object or operatio n..
48 PASS length.newValueSpecifiedUnits('aString', 'aString') threw exception NotSupp ortedError: The implementation did not support the requested type of object or o peration.. 48 PASS length.newValueSpecifiedUnits('aString', 'aString') threw exception NotSupp ortedError: The implementation did not support the requested type of object or o peration..
49 PASS length.newValueSpecifiedUnits(length, length) threw exception NotSupportedE rror: The implementation did not support the requested type of object or operati on.. 49 PASS length.newValueSpecifiedUnits(length, length) threw exception NotSupportedE rror: The implementation did not support the requested type of object or operati on..
50 PASS length.newValueSpecifiedUnits(svgElement, svgElement) threw exception NotSu pportedError: The implementation did not support the requested type of object or operation.. 50 PASS length.newValueSpecifiedUnits(svgElement, svgElement) threw exception NotSu pportedError: The implementation did not support the requested type of object or operation..
51 PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX 51 PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX
52 PASS length.value is 2 52 PASS length.value is 2
53 PASS length.valueInSpecifiedUnits is 2 53 PASS length.valueInSpecifiedUnits is 2
54 PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX 54 PASS length.unitType is SVGLength.SVG_LENGTHTYPE_PX
55 PASS successfullyParsed is true 55 PASS successfullyParsed is true
56 56
57 TEST COMPLETE 57 TEST COMPLETE
58 58
OLDNEW
« 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