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

Side by Side Diff: LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGFEConvolveMatrixElement-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 SVGFEConvolveMatrixEle ment 1 This test checks the use of SVGAnimatedEnumeration within SVGFEConvolveMatrixEle ment
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 'edgeMode' value 7 Check initial 'edgeMode' value
8 PASS feConvolveMatrixElement.edgeMode.toString() is "[object SVGAnimatedEnumerat ion]" 8 PASS feConvolveMatrixElement.edgeMode.toString() is "[object SVGAnimatedEnumerat ion]"
9 PASS typeof(feConvolveMatrixElement.edgeMode.baseVal) is "number" 9 PASS typeof(feConvolveMatrixElement.edgeMode.baseVal) is "number"
10 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_DUPLICATE 10 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_DUPLICATE
11 11
12 Switch to 'wrap' 12 Switch to 'wrap'
13 PASS feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_E DGEMODE_WRAP is SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP 13 PASS feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_E DGEMODE_WRAP is SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP
14 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_WRAP 14 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_WRAP
15 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "wrap" 15 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "wrap"
16 16
17 Switch to 'none' 17 Switch to 'none'
18 PASS feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_E DGEMODE_NONE is SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE 18 PASS feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_E DGEMODE_NONE is SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE
19 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_NONE 19 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_NONE
20 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "none" 20 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "none"
21 21
22 Try setting invalid values 22 Try setting invalid values
23 PASS feConvolveMatrixElement.edgeMode.baseVal = 4 threw exception Error: SVG_INV ALID_VALUE_ERR: DOM SVG Exception 1. 23 PASS feConvolveMatrixElement.edgeMode.baseVal = 4 threw exception SVG_INVALID_VA LUE_ERR: An invalid value was passed to an operation or assigned to an attribute ..
24 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_NONE 24 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_NONE
25 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "none" 25 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "none"
26 PASS feConvolveMatrixElement.edgeMode.baseVal = -1 threw exception Error: SVG_IN VALID_VALUE_ERR: DOM SVG Exception 1. 26 PASS feConvolveMatrixElement.edgeMode.baseVal = -1 threw exception SVG_INVALID_V ALUE_ERR: An invalid value was passed to an operation or assigned to an attribut e..
27 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_NONE 27 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_NONE
28 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "none" 28 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "none"
29 PASS feConvolveMatrixElement.edgeMode.baseVal = 0 threw exception Error: SVG_INV ALID_VALUE_ERR: DOM SVG Exception 1. 29 PASS feConvolveMatrixElement.edgeMode.baseVal = 0 threw exception SVG_INVALID_VA LUE_ERR: An invalid value was passed to an operation or assigned to an attribute ..
30 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_NONE 30 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_NONE
31 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "none" 31 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "none"
32 32
33 Switch to 'duplicate' 33 Switch to 'duplicate'
34 PASS feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_E DGEMODE_DUPLICATE is SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE 34 PASS feConvolveMatrixElement.edgeMode.baseVal = SVGFEConvolveMatrixElement.SVG_E DGEMODE_DUPLICATE is SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE
35 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_DUPLICATE 35 PASS feConvolveMatrixElement.edgeMode.baseVal is SVGFEConvolveMatrixElement.SVG_ EDGEMODE_DUPLICATE
36 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "duplicate" 36 PASS feConvolveMatrixElement.getAttribute('edgeMode') is "duplicate"
37 PASS successfullyParsed is true 37 PASS successfullyParsed is true
38 38
39 TEST COMPLETE 39 TEST COMPLETE
40 40
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698