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

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

Issue 2357463002: Consolidate read-only exception throwing for SVG*TearOffs (Closed)
Patch Set: Baseline updates Created 4 years, 2 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 transformList.getItem(0).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2. 0 0.0 0.0 2.0 0.0 0.0]" 9 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_SCALE matrix=[2. 0 0.0 0.0 2.0 0.0 0.0]"
10 PASS transformList.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix =[1.0 0.0 0.0 1.0 10.0 10.0]" 10 PASS transformList.getItem(1).toString() is "type=SVG_TRANSFORM_TRANSLATE matrix =[1.0 0.0 0.0 1.0 10.0 10.0]"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_SKEWX matrix=[1. 0 0.0 1.0 1.0 0.0 0.0]" 131 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_SKEWX matrix=[1. 0 0.0 1.0 1.0 0.0 0.0]"
132 PASS circle1.getAttribute('transform') is "skewX(45)" 132 PASS circle1.getAttribute('transform') is "skewX(45)"
133 133
134 Test uncommon arguments for appendItem() 134 Test uncommon arguments for appendItem()
135 PASS transformList.appendItem(30) threw exception TypeError: Failed to execute ' appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.. 135 PASS transformList.appendItem(30) threw exception TypeError: Failed to execute ' appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'..
136 PASS transformList.appendItem('aString') threw exception TypeError: Failed to ex ecute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransfo rm'.. 136 PASS transformList.appendItem('aString') threw exception TypeError: Failed to ex ecute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransfo rm'..
137 PASS transformList.appendItem(circle1) threw exception TypeError: Failed to exec ute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform '.. 137 PASS transformList.appendItem(circle1) threw exception TypeError: Failed to exec ute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform '..
138 PASS transformList.appendItem(null) threw exception TypeError: Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'.. 138 PASS transformList.appendItem(null) threw exception TypeError: Failed to execute 'appendItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'..
139 139
140 Testing animVal clear throws 140 Testing animVal clear throws
141 PASS circle1.transform.animVal.clear() threw exception NoModificationAllowedErro r: Failed to execute 'clear' on 'SVGTransformList': The object is read-only.. 141 PASS circle1.transform.animVal.clear() threw exception NoModificationAllowedErro r: Failed to execute 'clear' on 'SVGTransformList': This object is read-only..
142 PASS transformList.clear() is undefined. 142 PASS transformList.clear() is undefined.
143 143
144 Creating new SVGTransform, with 45 deg rotation about x=50, y=100 and append it to the transform list 144 Creating new SVGTransform, with 45 deg rotation about x=50, y=100 and append it to the transform list
145 PASS (transform = svg.createSVGTransform()).toString() is "type=SVG_TRANSFORM_MA TRIX matrix=[1.0 0.0 0.0 1.0 0.0 0.0]" 145 PASS (transform = svg.createSVGTransform()).toString() is "type=SVG_TRANSFORM_MA TRIX matrix=[1.0 0.0 0.0 1.0 0.0 0.0]"
146 PASS transform.setRotate(45, 50, 100) is undefined. 146 PASS transform.setRotate(45, 50, 100) is undefined.
147 PASS transformList.appendItem(transform).toString() is "type=SVG_TRANSFORM_ROTAT E matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]" 147 PASS transformList.appendItem(transform).toString() is "type=SVG_TRANSFORM_ROTAT E matrix=[0.7 0.7 -0.7 0.7 85.4 -6.1]"
148 PASS transformList.numberOfItems is 1 148 PASS transformList.numberOfItems is 1
149 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_ROTATE matrix=[0 .7 0.7 -0.7 0.7 85.4 -6.1]" 149 PASS transformList.getItem(0).toString() is "type=SVG_TRANSFORM_ROTATE matrix=[0 .7 0.7 -0.7 0.7 85.4 -6.1]"
150 PASS circle1.getAttribute('transform') is "rotate(45 50 100)" 150 PASS circle1.getAttribute('transform') is "rotate(45 50 100)"
151 PASS successfullyParsed is true 151 PASS successfullyParsed is true
152 152
153 TEST COMPLETE 153 TEST COMPLETE
154 154
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698