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

Side by Side Diff: LayoutTests/svg/dom/SVGTransformList-basics-expected.txt

Issue 827373003: Drop redundant null checks in SVGListPropertyTearOffHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests and expectations Created 5 years, 11 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
OLDNEW
1 This is a test of the simple SVGTransformList API parts. 1 This is a test of the simple SVGTransformList API parts.
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 PASS circle1.transform.baseVal != circle1.transform.animVal is true 6 PASS circle1.transform.baseVal != circle1.transform.animVal is true
7 PASS circle1.transform.baseVal.numberOfItems is 2 7 PASS circle1.transform.baseVal.numberOfItems is 2
8 PASS circle1.transform.animVal.numberOfItems is 2 8 PASS circle1.transform.animVal.numberOfItems is 2
9 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" 9 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]"
10 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_ TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" 10 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_ TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 Test uncommon arguments for replaceItem() 63 Test uncommon arguments for replaceItem()
64 PASS circle1.transform.baseVal.replaceItem(30) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only 1 present.. 64 PASS circle1.transform.baseVal.replaceItem(30) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only 1 present..
65 PASS circle1.transform.baseVal.replaceItem('aString') threw exception TypeError: Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, bu t only 1 present.. 65 PASS circle1.transform.baseVal.replaceItem('aString') threw exception TypeError: Failed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, bu t only 1 present..
66 PASS circle1.transform.baseVal.replaceItem(circle1) threw exception TypeError: F ailed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only 1 present.. 66 PASS circle1.transform.baseVal.replaceItem(circle1) threw exception TypeError: F ailed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but only 1 present..
67 PASS circle1.transform.baseVal.replaceItem(null) threw exception TypeError: Fail ed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but onl y 1 present.. 67 PASS circle1.transform.baseVal.replaceItem(null) threw exception TypeError: Fail ed to execute 'replaceItem' on 'SVGTransformList': 2 arguments required, but onl y 1 present..
68 PASS circle1.transform.baseVal.replaceItem(30, 0) threw exception TypeError: Fai led to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type ' SVGTransform'.. 68 PASS circle1.transform.baseVal.replaceItem(30, 0) threw exception TypeError: Fai led to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type ' SVGTransform'..
69 PASS circle1.transform.baseVal.replaceItem('aString', 0) threw exception TypeErr or: Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.. 69 PASS circle1.transform.baseVal.replaceItem('aString', 0) threw exception TypeErr or: Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'..
70 PASS circle1.transform.baseVal.replaceItem(circle1, 0) threw exception TypeError : Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of t ype 'SVGTransform'.. 70 PASS circle1.transform.baseVal.replaceItem(circle1, 0) threw exception TypeError : Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of t ype 'SVGTransform'..
71 PASS circle1.transform.baseVal.replaceItem(null, 0) threw exception TypeError: F ailed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.. 71 PASS circle1.transform.baseVal.replaceItem(null, 0) threw exception TypeError: F ailed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'..
72
73 Test uncommon values for indexed setter
74 PASS circle1.transform.baseVal[0] = 30 threw exception TypeError: Failed to set an indexed property on 'SVGTransformList': The provided value is not of type 'SV GTransform'..
75 PASS circle1.transform.baseVal[0] = 'aString' threw exception TypeError: Failed to set an indexed property on 'SVGTransformList': The provided value is not of t ype 'SVGTransform'..
76 PASS circle1.transform.baseVal[0] = circle1 threw exception TypeError: Failed to set an indexed property on 'SVGTransformList': The provided value is not of typ e 'SVGTransform'..
77 PASS circle1.transform.baseVal[0] = null threw exception TypeError: Failed to se t an indexed property on 'SVGTransformList': The provided value is not of type ' SVGTransform'..
72 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0), 0) is circle1.transform.baseVal.getItem(0) 78 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0), 0) is circle1.transform.baseVal.getItem(0)
73 PASS circle1.transform.baseVal.numberOfItems is 4 79 PASS circle1.transform.baseVal.numberOfItems is 4
74 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" 80 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]"
75 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_ SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]" 81 PASS dumpTransform(circle1.transform.baseVal.getItem(1)) is "type=SVG_TRANSFORM_ SCALE matrix=[2.0 0.0 0.0 2.0 0.0 0.0]"
76 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_ TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]" 82 PASS dumpTransform(circle1.transform.baseVal.getItem(2)) is "type=SVG_TRANSFORM_ TRANSLATE matrix=[1.0 0.0 0.0 1.0 10.0 10.0]"
77 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_ SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]" 83 PASS dumpTransform(circle1.transform.baseVal.getItem(3)) is "type=SVG_TRANSFORM_ SKEWX matrix=[1.0 0.0 1.0 1.0 0.0 0.0]"
78 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10 ) skewX(45)" 84 PASS circle1.getAttribute('transform') is "rotate(90) scale(2 2) translate(10 10 ) skewX(45)"
79 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0), 'aString') is circle1.transform.baseVal.getItem(0) 85 PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0), 'aString') is circle1.transform.baseVal.getItem(0)
80 PASS circle1.transform.baseVal.numberOfItems is 4 86 PASS circle1.transform.baseVal.numberOfItems is 4
81 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]" 87 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 PASS dumpTransform(transform = svg.createSVGTransform()) is "type=SVG_TRANSFORM_ MATRIX matrix=[1.0 0.0 0.0 1.0 0.0 0.0]" 135 PASS dumpTransform(transform = svg.createSVGTransform()) is "type=SVG_TRANSFORM_ MATRIX matrix=[1.0 0.0 0.0 1.0 0.0 0.0]"
130 PASS transform.setRotate(45, 50, 100) is undefined. 136 PASS transform.setRotate(45, 50, 100) is undefined.
131 PASS dumpTransform(circle1.transform.baseVal.appendItem(transform)) is "type=SVG _TRANSFORM_ROTATE matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]" 137 PASS dumpTransform(circle1.transform.baseVal.appendItem(transform)) is "type=SVG _TRANSFORM_ROTATE matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]"
132 PASS circle1.transform.baseVal.numberOfItems is 1 138 PASS circle1.transform.baseVal.numberOfItems is 1
133 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ ROTATE matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]" 139 PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ ROTATE matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]"
134 PASS circle1.getAttribute('transform') is "rotate(45 50 100)" 140 PASS circle1.getAttribute('transform') is "rotate(45 50 100)"
135 PASS successfullyParsed is true 141 PASS successfullyParsed is true
136 142
137 TEST COMPLETE 143 TEST COMPLETE
138 144
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGTransformList-basics.xhtml ('k') | Source/core/svg/properties/SVGListPropertyTearOffHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698