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

Side by Side Diff: LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFECompositeElement-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 SVGFECompositeElement 1 This test checks the use of SVGAnimatedEnumeration within SVGFECompositeElement
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 'operator' value 7 Check initial 'operator' value
8 PASS feCompositeElement.operator.toString() is "[object SVGAnimatedEnumeration]" 8 PASS feCompositeElement.operator.toString() is "[object SVGAnimatedEnumeration]"
9 PASS typeof(feCompositeElement.operator.baseVal) is "number" 9 PASS typeof(feCompositeElement.operator.baseVal) is "number"
10 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_OVER 10 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_OVER
(...skipping 17 matching lines...) Expand all
28 PASS feCompositeElement.operator.baseVal = SVGFECompositeElement.SVG_FECOMPOSITE _OPERATOR_XOR is SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR 28 PASS feCompositeElement.operator.baseVal = SVGFECompositeElement.SVG_FECOMPOSITE _OPERATOR_XOR is SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR
29 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_XOR 29 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_XOR
30 PASS feCompositeElement.getAttribute('operator') is "xor" 30 PASS feCompositeElement.getAttribute('operator') is "xor"
31 31
32 Switch to 'arithmetic' 32 Switch to 'arithmetic'
33 PASS feCompositeElement.operator.baseVal = SVGFECompositeElement.SVG_FECOMPOSITE _OPERATOR_ARITHMETIC is SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETI C 33 PASS feCompositeElement.operator.baseVal = SVGFECompositeElement.SVG_FECOMPOSITE _OPERATOR_ARITHMETIC is SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETI C
34 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_ARITHMETIC 34 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_ARITHMETIC
35 PASS feCompositeElement.getAttribute('operator') is "arithmetic" 35 PASS feCompositeElement.getAttribute('operator') is "arithmetic"
36 36
37 Try setting invalid values 37 Try setting invalid values
38 PASS feCompositeElement.operator.baseVal = 7 threw exception Error: SVG_INVALID_ VALUE_ERR: DOM SVG Exception 1. 38 PASS feCompositeElement.operator.baseVal = 7 threw exception SVG_INVALID_VALUE_E RR: An invalid value was passed to an operation or assigned to an attribute..
39 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_ARITHMETIC 39 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_ARITHMETIC
40 PASS feCompositeElement.getAttribute('operator') is "arithmetic" 40 PASS feCompositeElement.getAttribute('operator') is "arithmetic"
41 PASS feCompositeElement.operator.baseVal = -1 threw exception Error: SVG_INVALID _VALUE_ERR: DOM SVG Exception 1. 41 PASS feCompositeElement.operator.baseVal = -1 threw exception SVG_INVALID_VALUE_ ERR: An invalid value was passed to an operation or assigned to an attribute..
42 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_ARITHMETIC 42 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_ARITHMETIC
43 PASS feCompositeElement.getAttribute('operator') is "arithmetic" 43 PASS feCompositeElement.getAttribute('operator') is "arithmetic"
44 PASS feCompositeElement.operator.baseVal = 0 threw exception Error: SVG_INVALID_ VALUE_ERR: DOM SVG Exception 1. 44 PASS feCompositeElement.operator.baseVal = 0 threw exception SVG_INVALID_VALUE_E RR: An invalid value was passed to an operation or assigned to an attribute..
45 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_ARITHMETIC 45 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_ARITHMETIC
46 PASS feCompositeElement.getAttribute('operator') is "arithmetic" 46 PASS feCompositeElement.getAttribute('operator') is "arithmetic"
47 47
48 Switch to 'over' 48 Switch to 'over'
49 PASS feCompositeElement.operator.baseVal = SVGFECompositeElement.SVG_FECOMPOSITE _OPERATOR_OVER is SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER 49 PASS feCompositeElement.operator.baseVal = SVGFECompositeElement.SVG_FECOMPOSITE _OPERATOR_OVER is SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER
50 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_OVER 50 PASS feCompositeElement.operator.baseVal is SVGFECompositeElement.SVG_FECOMPOSIT E_OPERATOR_OVER
51 PASS feCompositeElement.getAttribute('operator') is "over" 51 PASS feCompositeElement.getAttribute('operator') is "over"
52 PASS successfullyParsed is true 52 PASS successfullyParsed is true
53 53
54 TEST COMPLETE 54 TEST COMPLETE
55 55
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698