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

Side by Side Diff: LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEColorMatrixElement-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 use of SVGAnimatedEnumeration within SVGFEColorMatrixElemen t 1 This test checks the use of SVGAnimatedEnumeration within SVGFEColorMatrixElemen t
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 'type; value 7 Check initial 'type; value
8 PASS feColorMatrixElement.type.toString() is "[object SVGAnimatedEnumeration]" 8 PASS feColorMatrixElement.type.toString() is "[object SVGAnimatedEnumeration]"
9 PASS typeof(feColorMatrixElement.type.baseVal) is "number" 9 PASS typeof(feColorMatrixElement.type.baseVal) is "number"
10 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_MATRIX 10 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_MATRIX
11 11
12 Switch to 'saturate' 12 Switch to 'saturate'
13 PASS feColorMatrixElement.type.baseVal = SVGFEColorMatrixElement.SVG_FECOLORMATR IX_TYPE_SATURATE is SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE 13 PASS feColorMatrixElement.type.baseVal = SVGFEColorMatrixElement.SVG_FECOLORMATR IX_TYPE_SATURATE is SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE
14 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_SATURATE 14 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_SATURATE
15 PASS feColorMatrixElement.getAttribute('type') is "saturate" 15 PASS feColorMatrixElement.getAttribute('type') is "saturate"
16 16
17 Switch to 'hueRotate' 17 Switch to 'hueRotate'
18 PASS feColorMatrixElement.type.baseVal = SVGFEColorMatrixElement.SVG_FECOLORMATR IX_TYPE_HUEROTATE is SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE 18 PASS feColorMatrixElement.type.baseVal = SVGFEColorMatrixElement.SVG_FECOLORMATR IX_TYPE_HUEROTATE is SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE
19 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_HUEROTATE 19 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_HUEROTATE
20 PASS feColorMatrixElement.getAttribute('type') is "hueRotate" 20 PASS feColorMatrixElement.getAttribute('type') is "hueRotate"
21 21
22 Switch to 'luminanceToAlpha' 22 Switch to 'luminanceToAlpha'
23 PASS feColorMatrixElement.type.baseVal = SVGFEColorMatrixElement.SVG_FECOLORMATR IX_TYPE_LUMINANCETOALPHA is SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMIN ANCETOALPHA 23 PASS feColorMatrixElement.type.baseVal = SVGFEColorMatrixElement.SVG_FECOLORMATR IX_TYPE_LUMINANCETOALPHA is SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMIN ANCETOALPHA
24 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_LUMINANCETOALPHA 24 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_LUMINANCETOALPHA
25 PASS feColorMatrixElement.getAttribute('type') is "luminanceToAlpha" 25 PASS feColorMatrixElement.getAttribute('type') is "luminanceToAlpha"
26 26
27 Try setting invalid values 27 Try setting invalid values
28 PASS feColorMatrixElement.type.baseVal = 5 threw exception Error: SVG_INVALID_VA LUE_ERR: DOM SVG Exception 1. 28 PASS feColorMatrixElement.type.baseVal = 5 threw exception SVG_INVALID_VALUE_ERR : An invalid value was passed to an operation or assigned to an attribute..
29 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_LUMINANCETOALPHA 29 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_LUMINANCETOALPHA
30 PASS feColorMatrixElement.getAttribute('type') is "luminanceToAlpha" 30 PASS feColorMatrixElement.getAttribute('type') is "luminanceToAlpha"
31 PASS feColorMatrixElement.type.baseVal = -1 threw exception Error: SVG_INVALID_V ALUE_ERR: DOM SVG Exception 1. 31 PASS feColorMatrixElement.type.baseVal = -1 threw exception SVG_INVALID_VALUE_ER R: An invalid value was passed to an operation or assigned to an attribute..
32 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_LUMINANCETOALPHA 32 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_LUMINANCETOALPHA
33 PASS feColorMatrixElement.getAttribute('type') is "luminanceToAlpha" 33 PASS feColorMatrixElement.getAttribute('type') is "luminanceToAlpha"
34 PASS feColorMatrixElement.type.baseVal = 0 threw exception Error: SVG_INVALID_VA LUE_ERR: DOM SVG Exception 1. 34 PASS feColorMatrixElement.type.baseVal = 0 threw exception SVG_INVALID_VALUE_ERR : An invalid value was passed to an operation or assigned to an attribute..
35 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_LUMINANCETOALPHA 35 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_LUMINANCETOALPHA
36 PASS feColorMatrixElement.getAttribute('type') is "luminanceToAlpha" 36 PASS feColorMatrixElement.getAttribute('type') is "luminanceToAlpha"
37 37
38 Switch to 'matrix' 38 Switch to 'matrix'
39 PASS feColorMatrixElement.type.baseVal = SVGFEColorMatrixElement.SVG_FECOLORMATR IX_TYPE_MATRIX is SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX 39 PASS feColorMatrixElement.type.baseVal = SVGFEColorMatrixElement.SVG_FECOLORMATR IX_TYPE_MATRIX is SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX
40 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_MATRIX 40 PASS feColorMatrixElement.type.baseVal is SVGFEColorMatrixElement.SVG_FECOLORMAT RIX_TYPE_MATRIX
41 PASS feColorMatrixElement.getAttribute('type') is "matrix" 41 PASS feColorMatrixElement.getAttribute('type') is "matrix"
42 PASS successfullyParsed is true 42 PASS successfullyParsed is true
43 43
44 TEST COMPLETE 44 TEST COMPLETE
45 45
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698