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

Side by Side Diff: LayoutTests/svg/dom/SVGAnimatedEnumeration-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 SVGAnimatedEnumeration API - utilizing the clipPathUnits pr operty of SVGClipPathElement 1 This test checks the SVGAnimatedEnumeration API - utilizing the clipPathUnits pr operty of SVGClipPathElement
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 clipPathUnits value 7 Check initial clipPathUnits value
8 PASS clipPathElement.clipPathUnits.toString() is "[object SVGAnimatedEnumeration ]" 8 PASS clipPathElement.clipPathUnits.toString() is "[object SVGAnimatedEnumeration ]"
9 PASS typeof(clipPathElement.clipPathUnits.baseVal) is "number" 9 PASS typeof(clipPathElement.clipPathUnits.baseVal) is "number"
10 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE 10 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE
11 11
12 Check that enumerations are static, caching value in a local variable and modify ing it, should have no effect 12 Check that enumerations are static, caching value in a local variable and modify ing it, should have no effect
13 PASS enumRef is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX 13 PASS enumRef is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX
14 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE 14 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE
15 15
16 Check assigning various valid and invalid values 16 Check assigning various valid and invalid values
17 PASS clipPathElement.clipPathUnits.baseVal = 3 threw exception Error: SVG_INVALI D_VALUE_ERR: DOM SVG Exception 1. 17 PASS clipPathElement.clipPathUnits.baseVal = 3 threw exception SVG_INVALID_VALUE _ERR: An invalid value was passed to an operation or assigned to an attribute..
18 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE 18 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE
19 PASS clipPathElement.clipPathUnits.baseVal = -1 threw exception Error: SVG_INVAL ID_VALUE_ERR: DOM SVG Exception 1. 19 PASS clipPathElement.clipPathUnits.baseVal = -1 threw exception SVG_INVALID_VALU E_ERR: An invalid value was passed to an operation or assigned to an attribute..
20 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE 20 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE
21 PASS clipPathElement.clipPathUnits.baseVal = '1' is "1" 21 PASS clipPathElement.clipPathUnits.baseVal = '1' is "1"
22 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE 22 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE
23 PASS clipPathElement.clipPathUnits.baseVal = 'aString' threw exception Error: SV G_INVALID_VALUE_ERR: DOM SVG Exception 1. 23 PASS clipPathElement.clipPathUnits.baseVal = 'aString' threw exception SVG_INVAL ID_VALUE_ERR: An invalid value was passed to an operation or assigned to an attr ibute..
24 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE 24 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_USERSPA CEONUSE
25 PASS clipPathElement.clipPathUnits.baseVal = 2 is SVGUnitTypes.SVG_UNIT_TYPE_OBJ ECTBOUNDINGBOX 25 PASS clipPathElement.clipPathUnits.baseVal = 2 is SVGUnitTypes.SVG_UNIT_TYPE_OBJ ECTBOUNDINGBOX
26 PASS clipPathElement.clipPathUnits.baseVal = clipPathElement threw exception Err or: SVG_INVALID_VALUE_ERR: DOM SVG Exception 1. 26 PASS clipPathElement.clipPathUnits.baseVal = clipPathElement threw exception SVG _INVALID_VALUE_ERR: An invalid value was passed to an operation or assigned to a n attribute..
27 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX 27 PASS clipPathElement.clipPathUnits.baseVal is SVGUnitTypes.SVG_UNIT_TYPE_OBJECTB OUNDINGBOX
28 PASS successfullyParsed is true 28 PASS successfullyParsed is true
29 29
30 TEST COMPLETE 30 TEST COMPLETE
31 31
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGAnimatedEnumeration-SVGTextPathElement-expected.txt ('k') | LayoutTests/svg/dom/SVGColor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698