Changeset 231325 in webkit
- Timestamp:
- May 3, 2018 1:52:46 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r231274 r231325 1 2018-05-03 Chris Nardi <cnardi@chromium.org> 2 3 Remove [NoInterfaceObject] from DOMRectList 4 https://bugs.webkit.org/show_bug.cgi?id=185255 5 6 Reviewed by Chris Dumez. 7 8 Update Geometry IDL test from upstream and update expectations. 9 10 * web-platform-tests/css/geometry/interfaces-expected.txt: 11 * web-platform-tests/css/geometry/interfaces.worker-expected.txt: 12 * web-platform-tests/interfaces/geometry.idl: 13 1 14 2018-05-02 Youenn Fablet <youenn@apple.com> 2 15 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/geometry/interfaces-expected.txt
r230285 r231325 19 19 PASS DOMPointReadOnly interface: operation matrixTransform(DOMMatrixInit) 20 20 PASS Unscopable handled correctly for matrixTransform(DOMMatrixInit) on DOMPointReadOnly 21 PASS DOMPointReadOnly interface: operation toJSON() 22 PASS Unscopable handled correctly for toJSON() on DOMPointReadOnly 21 23 PASS DOMPointReadOnly must be primary interface of new DOMPointReadOnly() 22 24 PASS Stringification of new DOMPointReadOnly() … … 29 31 PASS DOMPointReadOnly interface: new DOMPointReadOnly() must inherit property "matrixTransform(DOMMatrixInit)" with the proper type 30 32 PASS DOMPointReadOnly interface: calling matrixTransform(DOMMatrixInit) on new DOMPointReadOnly() with too few arguments must throw TypeError 33 PASS DOMPointReadOnly interface: new DOMPointReadOnly() must inherit property "toJSON()" with the proper type 34 PASS Test default toJSON operation of DOMPointReadOnly 31 35 PASS DOMPoint interface: existence and properties of interface object 32 36 PASS DOMPoint interface object length … … 66 70 PASS DOMPointReadOnly interface: new DOMPoint() must inherit property "matrixTransform(DOMMatrixInit)" with the proper type 67 71 PASS DOMPointReadOnly interface: calling matrixTransform(DOMMatrixInit) on new DOMPoint() with too few arguments must throw TypeError 72 PASS DOMPointReadOnly interface: new DOMPoint() must inherit property "toJSON()" with the proper type 73 PASS Test default toJSON operation of DOMPoint 68 74 PASS DOMRectReadOnly interface: existence and properties of interface object 69 75 PASS DOMRectReadOnly interface object length … … 90 96 PASS DOMRectReadOnly interface: attribute left 91 97 PASS Unscopable handled correctly for left property on DOMRectReadOnly 98 PASS DOMRectReadOnly interface: operation toJSON() 99 PASS Unscopable handled correctly for toJSON() on DOMRectReadOnly 92 100 PASS DOMRectReadOnly must be primary interface of new DOMRectReadOnly() 93 101 PASS Stringification of new DOMRectReadOnly() … … 102 110 PASS DOMRectReadOnly interface: new DOMRectReadOnly() must inherit property "bottom" with the proper type 103 111 PASS DOMRectReadOnly interface: new DOMRectReadOnly() must inherit property "left" with the proper type 112 PASS DOMRectReadOnly interface: new DOMRectReadOnly() must inherit property "toJSON()" with the proper type 113 PASS Test default toJSON operation of DOMRectReadOnly 104 114 PASS DOMRect interface: existence and properties of interface object 105 115 PASS DOMRect interface object length … … 141 151 PASS DOMRectReadOnly interface: new DOMRect() must inherit property "bottom" with the proper type 142 152 PASS DOMRectReadOnly interface: new DOMRect() must inherit property "left" with the proper type 153 PASS DOMRectReadOnly interface: new DOMRect() must inherit property "toJSON()" with the proper type 154 PASS Test default toJSON operation of DOMRect 155 PASS DOMRectList interface: existence and properties of interface object 156 PASS DOMRectList interface object length 157 PASS DOMRectList interface object name 158 PASS DOMRectList interface: existence and properties of interface prototype object 159 PASS DOMRectList interface: existence and properties of interface prototype object's "constructor" property 160 PASS DOMRectList interface: existence and properties of interface prototype object's @@unscopables property 161 PASS DOMRectList interface: attribute length 162 PASS Unscopable handled correctly for length property on DOMRectList 163 PASS DOMRectList interface: operation item(unsigned long) 164 PASS Unscopable handled correctly for item(unsigned long) on DOMRectList 165 PASS DOMRectList must be primary interface of [object DOMRectList] 143 166 PASS Stringification of [object DOMRectList] 144 167 PASS DOMRectList interface: [object DOMRectList] must inherit property "length" with the proper type … … 165 188 PASS DOMQuad interface: operation getBounds() 166 189 PASS Unscopable handled correctly for getBounds() on DOMQuad 190 PASS DOMQuad interface: operation toJSON() 191 PASS Unscopable handled correctly for toJSON() on DOMQuad 167 192 PASS DOMQuad must be primary interface of new DOMQuad() 168 193 PASS Stringification of new DOMQuad() … … 176 201 PASS DOMQuad interface: new DOMQuad() must inherit property "p4" with the proper type 177 202 PASS DOMQuad interface: new DOMQuad() must inherit property "getBounds()" with the proper type 203 PASS DOMQuad interface: new DOMQuad() must inherit property "toJSON()" with the proper type 204 FAIL Test default toJSON operation of DOMQuad assert_true: instanceof DOMPoint expected true got false 178 205 PASS DOMMatrixReadOnly interface: existence and properties of interface object 179 206 PASS DOMMatrixReadOnly interface object length … … 267 294 PASS Unscopable handled correctly for toFloat64Array() on DOMMatrixReadOnly 268 295 PASS DOMMatrixReadOnly interface: stringifier 296 PASS DOMMatrixReadOnly interface: operation toJSON() 297 PASS Unscopable handled correctly for toJSON() on DOMMatrixReadOnly 269 298 PASS DOMMatrixReadOnly must be primary interface of new DOMMatrixReadOnly() 270 299 PASS Stringification of new DOMMatrixReadOnly() … … 324 353 PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toFloat32Array()" with the proper type 325 354 PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toFloat64Array()" with the proper type 355 PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toJSON()" with the proper type 356 PASS Test default toJSON operation of DOMMatrixReadOnly 326 357 PASS DOMMatrixReadOnly must be primary interface of DOMMatrixReadOnly.fromMatrix({is2D: false}) 327 358 PASS Stringification of DOMMatrixReadOnly.fromMatrix({is2D: false}) -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/geometry/interfaces.worker-expected.txt
r230285 r231325 19 19 PASS DOMPointReadOnly interface: operation matrixTransform(DOMMatrixInit) 20 20 PASS Unscopable handled correctly for matrixTransform(DOMMatrixInit) on DOMPointReadOnly 21 PASS DOMPointReadOnly interface: operation toJSON() 22 PASS Unscopable handled correctly for toJSON() on DOMPointReadOnly 21 23 PASS DOMPointReadOnly must be primary interface of new DOMPointReadOnly() 22 24 PASS Stringification of new DOMPointReadOnly() … … 29 31 PASS DOMPointReadOnly interface: new DOMPointReadOnly() must inherit property "matrixTransform(DOMMatrixInit)" with the proper type 30 32 PASS DOMPointReadOnly interface: calling matrixTransform(DOMMatrixInit) on new DOMPointReadOnly() with too few arguments must throw TypeError 33 PASS DOMPointReadOnly interface: new DOMPointReadOnly() must inherit property "toJSON()" with the proper type 34 PASS Test default toJSON operation of DOMPointReadOnly 31 35 PASS DOMPoint interface: existence and properties of interface object 32 36 PASS DOMPoint interface object length … … 62 66 PASS DOMPointReadOnly interface: new DOMPoint() must inherit property "matrixTransform(DOMMatrixInit)" with the proper type 63 67 PASS DOMPointReadOnly interface: calling matrixTransform(DOMMatrixInit) on new DOMPoint() with too few arguments must throw TypeError 68 PASS DOMPointReadOnly interface: new DOMPoint() must inherit property "toJSON()" with the proper type 69 PASS Test default toJSON operation of DOMPoint 64 70 PASS DOMRectReadOnly interface: existence and properties of interface object 65 71 PASS DOMRectReadOnly interface object length … … 86 92 PASS DOMRectReadOnly interface: attribute left 87 93 PASS Unscopable handled correctly for left property on DOMRectReadOnly 94 PASS DOMRectReadOnly interface: operation toJSON() 95 PASS Unscopable handled correctly for toJSON() on DOMRectReadOnly 88 96 PASS DOMRectReadOnly must be primary interface of new DOMRectReadOnly() 89 97 PASS Stringification of new DOMRectReadOnly() … … 98 106 PASS DOMRectReadOnly interface: new DOMRectReadOnly() must inherit property "bottom" with the proper type 99 107 PASS DOMRectReadOnly interface: new DOMRectReadOnly() must inherit property "left" with the proper type 108 PASS DOMRectReadOnly interface: new DOMRectReadOnly() must inherit property "toJSON()" with the proper type 109 PASS Test default toJSON operation of DOMRectReadOnly 100 110 PASS DOMRect interface: existence and properties of interface object 101 111 PASS DOMRect interface object length … … 133 143 PASS DOMRectReadOnly interface: new DOMRect() must inherit property "bottom" with the proper type 134 144 PASS DOMRectReadOnly interface: new DOMRect() must inherit property "left" with the proper type 145 PASS DOMRectReadOnly interface: new DOMRect() must inherit property "toJSON()" with the proper type 146 PASS Test default toJSON operation of DOMRect 147 PASS DOMRectList interface: existence and properties of interface object 135 148 PASS DOMQuad interface: existence and properties of interface object 136 149 PASS DOMQuad interface object length … … 153 166 PASS DOMQuad interface: operation getBounds() 154 167 PASS Unscopable handled correctly for getBounds() on DOMQuad 168 PASS DOMQuad interface: operation toJSON() 169 PASS Unscopable handled correctly for toJSON() on DOMQuad 155 170 PASS DOMQuad must be primary interface of new DOMQuad() 156 171 PASS Stringification of new DOMQuad() … … 164 179 PASS DOMQuad interface: new DOMQuad() must inherit property "p4" with the proper type 165 180 PASS DOMQuad interface: new DOMQuad() must inherit property "getBounds()" with the proper type 181 PASS DOMQuad interface: new DOMQuad() must inherit property "toJSON()" with the proper type 182 FAIL Test default toJSON operation of DOMQuad assert_true: instanceof DOMPoint expected true got false 166 183 PASS DOMMatrixReadOnly interface: existence and properties of interface object 167 184 PASS DOMMatrixReadOnly interface object length … … 255 272 PASS Unscopable handled correctly for toFloat64Array() on DOMMatrixReadOnly 256 273 PASS DOMMatrixReadOnly interface: member undefined 274 PASS DOMMatrixReadOnly interface: operation toJSON() 275 PASS Unscopable handled correctly for toJSON() on DOMMatrixReadOnly 257 276 PASS DOMMatrixReadOnly must be primary interface of new DOMMatrixReadOnly() 258 277 PASS Stringification of new DOMMatrixReadOnly() … … 313 332 PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toFloat64Array()" with the proper type 314 333 PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must not have property "undefined" 334 PASS DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toJSON()" with the proper type 335 PASS Test default toJSON operation of DOMMatrixReadOnly 315 336 PASS DOMMatrixReadOnly must be primary interface of DOMMatrixReadOnly.fromMatrix({is2D: false}) 316 337 PASS Stringification of DOMMatrixReadOnly.fromMatrix({is2D: false}) -
trunk/LayoutTests/imported/w3c/web-platform-tests/interfaces/geometry.idl
r222545 r231325 1 // GENERATED CONTENT - DO NOT EDIT 2 // Content of this file was automatically extracted from the Geometry Interfaces spec. 3 // See https://drafts.fxtf.org/geometry/ 4 1 5 [Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, 2 6 optional unrestricted double z = 0, optional unrestricted double w = 1), … … 13 17 DOMPoint matrixTransform(optional DOMMatrixInit matrix); 14 18 15 [Default] toJSON();19 [Default] object toJSON(); 16 20 }; 17 21 … … 53 57 readonly attribute unrestricted double left; 54 58 55 [Default] toJSON();59 [Default] object toJSON(); 56 60 }; 57 61 … … 77 81 }; 78 82 79 [NoInterfaceObject,80 LegacyArrayClass]81 83 interface DOMRectList { 82 84 readonly attribute unsigned long length; … … 98 100 [NewObject] DOMRect getBounds(); 99 101 100 [Default] toJSON();102 [Default] object toJSON(); 101 103 }; 102 104 … … 179 181 180 182 [Exposed=Window] stringifier; 181 [Default] toJSON();183 [Default] object toJSON(); 182 184 }; 183 185 -
trunk/Source/WebCore/ChangeLog
r231319 r231325 1 2018-05-03 Chris Nardi <cnardi@chromium.org> 2 3 Remove [NoInterfaceObject] from DOMRectList 4 https://bugs.webkit.org/show_bug.cgi?id=185255 5 6 Reviewed by Chris Dumez. 7 8 In https://github.com/w3c/fxtf-drafts/issues/233, [NoInterfaceObject] was removed 9 from DOMRectList. Remove it from our implementation to match the spec, as well as 10 Chrome and Firefox. 11 12 Updated web platform tests IDL test for the Geometry spec. 13 14 * dom/DOMRectList.idl: 15 1 16 2018-05-03 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebCore/dom/DOMRectList.idl
r217576 r231325 26 26 [ 27 27 ExportMacro=WEBCORE_EXPORT, 28 ImplementationLacksVTable, 29 NoInterfaceObject 28 ImplementationLacksVTable 30 29 ] interface DOMRectList { 31 30 readonly attribute unsigned long length;
Note: See TracChangeset
for help on using the changeset viewer.