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

Side by Side Diff: LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGComponentTransferFunctionElement-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 SVGComponentTransferFu nctionElement 1 This test checks the use of SVGAnimatedEnumeration within SVGComponentTransferFu nctionElement
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 feFuncRElement.type.toString() is "[object SVGAnimatedEnumeration]" 8 PASS feFuncRElement.type.toString() is "[object SVGAnimatedEnumeration]"
9 PASS typeof(feFuncRElement.type.baseVal) is "number" 9 PASS typeof(feFuncRElement.type.baseVal) is "number"
10 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_IDENTITY 10 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_IDENTITY
(...skipping 12 matching lines...) Expand all
23 PASS feFuncRElement.type.baseVal = SVGComponentTransferFunctionElement.SVG_FECOM PONENTTRANSFER_TYPE_LINEAR is SVGComponentTransferFunctionElement.SVG_FECOMPONEN TTRANSFER_TYPE_LINEAR 23 PASS feFuncRElement.type.baseVal = SVGComponentTransferFunctionElement.SVG_FECOM PONENTTRANSFER_TYPE_LINEAR is SVGComponentTransferFunctionElement.SVG_FECOMPONEN TTRANSFER_TYPE_LINEAR
24 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_LINEAR 24 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_LINEAR
25 PASS feFuncRElement.getAttribute('type') is "linear" 25 PASS feFuncRElement.getAttribute('type') is "linear"
26 26
27 Switch to 'gamma' 27 Switch to 'gamma'
28 PASS feFuncRElement.type.baseVal = SVGComponentTransferFunctionElement.SVG_FECOM PONENTTRANSFER_TYPE_GAMMA is SVGComponentTransferFunctionElement.SVG_FECOMPONENT TRANSFER_TYPE_GAMMA 28 PASS feFuncRElement.type.baseVal = SVGComponentTransferFunctionElement.SVG_FECOM PONENTTRANSFER_TYPE_GAMMA is SVGComponentTransferFunctionElement.SVG_FECOMPONENT TRANSFER_TYPE_GAMMA
29 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_GAMMA 29 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_GAMMA
30 PASS feFuncRElement.getAttribute('type') is "gamma" 30 PASS feFuncRElement.getAttribute('type') is "gamma"
31 31
32 Try setting invalid values 32 Try setting invalid values
33 PASS feFuncRElement.type.baseVal = 6 threw exception Error: SVG_INVALID_VALUE_ER R: DOM SVG Exception 1. 33 PASS feFuncRElement.type.baseVal = 6 threw exception SVG_INVALID_VALUE_ERR: An i nvalid value was passed to an operation or assigned to an attribute..
34 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_GAMMA 34 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_GAMMA
35 PASS feFuncRElement.getAttribute('type') is "gamma" 35 PASS feFuncRElement.getAttribute('type') is "gamma"
36 PASS feFuncRElement.type.baseVal = -1 threw exception Error: SVG_INVALID_VALUE_E RR: DOM SVG Exception 1. 36 PASS feFuncRElement.type.baseVal = -1 threw exception SVG_INVALID_VALUE_ERR: An invalid value was passed to an operation or assigned to an attribute..
37 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_GAMMA 37 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_GAMMA
38 PASS feFuncRElement.getAttribute('type') is "gamma" 38 PASS feFuncRElement.getAttribute('type') is "gamma"
39 PASS feFuncRElement.type.baseVal = 0 threw exception Error: SVG_INVALID_VALUE_ER R: DOM SVG Exception 1. 39 PASS feFuncRElement.type.baseVal = 0 threw exception SVG_INVALID_VALUE_ERR: An i nvalid value was passed to an operation or assigned to an attribute..
40 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_GAMMA 40 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_GAMMA
41 PASS feFuncRElement.getAttribute('type') is "gamma" 41 PASS feFuncRElement.getAttribute('type') is "gamma"
42 42
43 Switch to 'identity' 43 Switch to 'identity'
44 PASS feFuncRElement.type.baseVal = SVGComponentTransferFunctionElement.SVG_FECOM PONENTTRANSFER_TYPE_IDENTITY is SVGComponentTransferFunctionElement.SVG_FECOMPON ENTTRANSFER_TYPE_IDENTITY 44 PASS feFuncRElement.type.baseVal = SVGComponentTransferFunctionElement.SVG_FECOM PONENTTRANSFER_TYPE_IDENTITY is SVGComponentTransferFunctionElement.SVG_FECOMPON ENTTRANSFER_TYPE_IDENTITY
45 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_IDENTITY 45 PASS feFuncRElement.type.baseVal is SVGComponentTransferFunctionElement.SVG_FECO MPONENTTRANSFER_TYPE_IDENTITY
46 PASS feFuncRElement.getAttribute('type') is "identity" 46 PASS feFuncRElement.getAttribute('type') is "identity"
47 PASS successfullyParsed is true 47 PASS successfullyParsed is true
48 48
49 TEST COMPLETE 49 TEST COMPLETE
50 50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698