Changeset 236274 in webkit
- Timestamp:
- Sep 20, 2018 12:31:29 PM (6 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 32 added
- 5 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r236273 r236274 1 2018-09-20 Frederic Wang <fwang@igalia.com> 2 3 Synchronize CSSOM View test suite against upstream WPT 4 https://bugs.webkit.org/show_bug.cgi?id=189787 5 6 Reviewed by Antonio Gomes. 7 8 * tests-options.json: Mark smooth scrolling tests as slow. 9 * ios/TestExpectations: Mark as failing since frames are not scrollable on iOS. 10 1 11 2018-09-20 Justin Michaud <justin_michaud@apple.com> 2 12 -
trunk/LayoutTests/imported/w3c/ChangeLog
r236231 r236274 1 2018-09-20 Frederic Wang <fwang@igalia.com> 2 3 Synchronize CSSOM View test suite against upstream WPT 4 https://bugs.webkit.org/show_bug.cgi?id=189787 5 6 Reviewed by Antonio Gomes. 7 8 * web-platform-tests/css/cssom-view/META.yml: Added. 9 * web-platform-tests/css/cssom-view/OWNERS: Removed. 10 * web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl-expected.html: Added. 11 * web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html: Added. 12 * web-platform-tests/css/cssom-view/cssom-view-window-screen-interface-expected.txt: 13 * web-platform-tests/css/cssom-view/cssom-view-window-screen-interface.html: 14 * web-platform-tests/css/cssom-view/dom-element-scroll-expected.txt: Added. 15 * web-platform-tests/css/cssom-view/dom-element-scroll.html: Added. 16 * web-platform-tests/css/cssom-view/elementFromPoint-mixed-font-sizes-expected.txt: Added. 17 * web-platform-tests/css/cssom-view/elementFromPoint-mixed-font-sizes.html: Added. 18 * web-platform-tests/css/cssom-view/interfaces-expected.txt: 19 * web-platform-tests/css/cssom-view/interfaces.html: 20 * web-platform-tests/css/cssom-view/media-query-list-interface-expected.txt: Removed. 21 * web-platform-tests/css/cssom-view/media-query-list-interface.xht: Removed. 22 * web-platform-tests/css/cssom-view/resources/w3c-import.log: 23 * web-platform-tests/css/cssom-view/scroll-behavior-default-css-expected.txt: Added. 24 * web-platform-tests/css/cssom-view/scroll-behavior-default-css.html: Added. 25 * web-platform-tests/css/cssom-view/scroll-behavior-element-expected.txt: Added. 26 * web-platform-tests/css/cssom-view/scroll-behavior-element.html: Added. 27 * web-platform-tests/css/cssom-view/scroll-behavior-main-frame-root-expected.txt: Added. 28 * web-platform-tests/css/cssom-view/scroll-behavior-main-frame-root.html: Added. 29 * web-platform-tests/css/cssom-view/scroll-behavior-main-frame-window-expected.txt: Added. 30 * web-platform-tests/css/cssom-view/scroll-behavior-main-frame-window.html: Added. 31 * web-platform-tests/css/cssom-view/scroll-behavior-scrollintoview-nested-expected.txt: Added. 32 * web-platform-tests/css/cssom-view/scroll-behavior-scrollintoview-nested.html: Added. 33 * web-platform-tests/css/cssom-view/scroll-behavior-smooth-positions-expected.txt: Added. 34 * web-platform-tests/css/cssom-view/scroll-behavior-smooth-positions.html: Added. 35 * web-platform-tests/css/cssom-view/scroll-behavior-subframe-root-expected.txt: Added. 36 * web-platform-tests/css/cssom-view/scroll-behavior-subframe-root.html: Added. 37 * web-platform-tests/css/cssom-view/scroll-behavior-subframe-window-expected.txt: Added. 38 * web-platform-tests/css/cssom-view/scroll-behavior-subframe-window.html: Added. 39 * web-platform-tests/css/cssom-view/scrollIntoView-vertical-rl-writing-mode-expected.txt: Added. 40 * web-platform-tests/css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html: Added. 41 * web-platform-tests/css/cssom-view/support/scroll-behavior.js: Added. 42 (observeScrolling): 43 (waitForScrollEnd): 44 (scrollNode): 45 (scrollWindow): 46 * web-platform-tests/css/cssom-view/support/support/w3c-import.log: 47 * web-platform-tests/css/cssom-view/support/w3c-import.log: 48 * web-platform-tests/css/cssom-view/table-client-props-expected.txt: Added. 49 * web-platform-tests/css/cssom-view/table-client-props.html: Added. 50 * web-platform-tests/css/cssom-view/table-offset-props-expected.txt: Added. 51 * web-platform-tests/css/cssom-view/table-offset-props.html: Added. 52 * web-platform-tests/css/cssom-view/table-scroll-props-expected.txt: Added. 53 * web-platform-tests/css/cssom-view/table-scroll-props.html: Added. 54 * web-platform-tests/css/cssom-view/w3c-import.log: 55 * web-platform-tests/css/cssom-view/window-interface-expected.txt: Removed. 56 * web-platform-tests/css/cssom-view/window-interface.xht: Removed. 57 1 58 2018-09-19 YUHAN WU <yuhan_wu@apple.com> 2 59 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-view-window-screen-interface-expected.txt
r232903 r236274 1 1 2 PASS Screen.availWidth is readonly3 PASS Screen.availHeight is readonly4 PASS Screen.width is readonly5 PASS Screen.height is readonly6 PASS Screen.colorDepth is readonly7 PASS Screen.pixelDepth is readonly8 2 PASS window.screen.width >= 0 && window.screen.width < 6000000 9 3 PASS window.screen.height >= 0 && window.screen.height < 6000000 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-view-window-screen-interface.html
r232903 r236274 14 14 <div id="log"></div> 15 15 <script> 16 /*test readonly*/17 test(function(){assert_readonly(window.screen, "availWidth");}, "Screen.availWidth is readonly");18 test(function(){assert_readonly(window.screen, "availHeight");}, "Screen.availHeight is readonly");19 test(function(){assert_readonly(window.screen, "width");}, "Screen.width is readonly");20 test(function(){assert_readonly(window.screen, "height");}, "Screen.height is readonly");21 test(function(){assert_readonly(window.screen, "colorDepth");}, "Screen.colorDepth is readonly");22 test(function(){assert_readonly(window.screen, "pixelDepth");}, "Screen.pixelDepth is readonly");23 24 25 16 test(function(){assert_true(window.screen.width >= 0 && window.screen.width < 6000000);}, 26 17 "window.screen.width >= 0 && window.screen.width < 6000000"); -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/interfaces-expected.txt
r235889 r236274 1 CONSOLE MESSAGE: line 482: callback not yet supported2 CONSOLE MESSAGE: line 482: callback not yet supported3 CONSOLE MESSAGE: line 482: callback not yet supported4 CONSOLE MESSAGE: line 482: callback not yet supported5 CONSOLE MESSAGE: line 482: callback not yet supported6 CONSOLE MESSAGE: line 482: callback not yet supported7 CONSOLE MESSAGE: line 482: callback not yet supported8 1 9 2 CSSOM View IDL tests 10 3 11 4 12 PASS Test driver 13 PASS Partial interface Window: original interface defined 14 PASS Partial interface Document: original interface defined 15 PASS Partial interface Element: original interface defined 16 PASS Partial interface HTMLElement: original interface defined 17 PASS Partial interface HTMLImageElement: original interface defined 18 PASS Partial interface Range: original interface defined 19 PASS HTMLElement interface: attribute offsetParent 20 PASS HTMLElement interface: attribute offsetTop 21 PASS HTMLElement interface: attribute offsetLeft 22 PASS HTMLElement interface: attribute offsetWidth 23 PASS HTMLElement interface: attribute offsetHeight 24 PASS HTMLElement interface: document.createElement('div') must inherit property "offsetParent" with the proper type 25 PASS HTMLElement interface: document.createElement('div') must inherit property "offsetTop" with the proper type 26 PASS HTMLElement interface: document.createElement('div') must inherit property "offsetLeft" with the proper type 27 PASS HTMLElement interface: document.createElement('div') must inherit property "offsetWidth" with the proper type 28 PASS HTMLElement interface: document.createElement('div') must inherit property "offsetHeight" with the proper type 29 PASS Element interface: document.createElement('div') must inherit property "getClientRects()" with the proper type 30 PASS Element interface: document.createElement('div') must inherit property "getBoundingClientRect()" with the proper type 31 PASS Element interface: document.createElement('div') must inherit property "scrollIntoView([object Object],[object Object])" with the proper type 32 PASS Element interface: calling scrollIntoView([object Object],[object Object]) on document.createElement('div') with too few arguments must throw TypeError 33 PASS Element interface: document.createElement('div') must inherit property "scroll(ScrollToOptions)" with the proper type 34 PASS Element interface: calling scroll(ScrollToOptions) on document.createElement('div') with too few arguments must throw TypeError 35 PASS Element interface: document.createElement('div') must inherit property "scroll(unrestricted double, unrestricted double)" with the proper type 36 PASS Element interface: calling scroll(unrestricted double, unrestricted double) on document.createElement('div') with too few arguments must throw TypeError 37 PASS Element interface: document.createElement('div') must inherit property "scrollTo(ScrollToOptions)" with the proper type 38 PASS Element interface: calling scrollTo(ScrollToOptions) on document.createElement('div') with too few arguments must throw TypeError 39 PASS Element interface: document.createElement('div') must inherit property "scrollTo(unrestricted double, unrestricted double)" with the proper type 40 PASS Element interface: calling scrollTo(unrestricted double, unrestricted double) on document.createElement('div') with too few arguments must throw TypeError 41 PASS Element interface: document.createElement('div') must inherit property "scrollBy(ScrollToOptions)" with the proper type 42 PASS Element interface: calling scrollBy(ScrollToOptions) on document.createElement('div') with too few arguments must throw TypeError 43 PASS Element interface: document.createElement('div') must inherit property "scrollBy(unrestricted double, unrestricted double)" with the proper type 44 PASS Element interface: calling scrollBy(unrestricted double, unrestricted double) on document.createElement('div') with too few arguments must throw TypeError 45 PASS Element interface: document.createElement('div') must inherit property "scrollTop" with the proper type 46 PASS Element interface: document.createElement('div') must inherit property "scrollLeft" with the proper type 47 PASS Element interface: document.createElement('div') must inherit property "scrollWidth" with the proper type 48 PASS Element interface: document.createElement('div') must inherit property "scrollHeight" with the proper type 49 PASS Element interface: document.createElement('div') must inherit property "clientTop" with the proper type 50 PASS Element interface: document.createElement('div') must inherit property "clientLeft" with the proper type 51 PASS Element interface: document.createElement('div') must inherit property "clientWidth" with the proper type 52 PASS Element interface: document.createElement('div') must inherit property "clientHeight" with the proper type 53 FAIL Element interface: document.createElement('div') must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain 54 FAIL Element interface: calling getBoxQuads(BoxQuadOptions) on document.createElement('div') with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain 55 FAIL Element interface: document.createElement('div') must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain 56 FAIL Element interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document.createElement('div') with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain 57 FAIL Element interface: document.createElement('div') must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain 58 FAIL Element interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createElement('div') with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain 59 FAIL Element interface: document.createElement('div') must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain 60 FAIL Element interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document.createElement('div') with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain 61 PASS HTMLImageElement interface: attribute x 62 PASS HTMLImageElement interface: attribute y 63 PASS HTMLImageElement interface: document.createElement('img') must inherit property "x" with the proper type 64 PASS HTMLImageElement interface: document.createElement('img') must inherit property "y" with the proper type 65 PASS HTMLElement interface: document.createElement('img') must inherit property "offsetParent" with the proper type 66 PASS HTMLElement interface: document.createElement('img') must inherit property "offsetTop" with the proper type 67 PASS HTMLElement interface: document.createElement('img') must inherit property "offsetLeft" with the proper type 68 PASS HTMLElement interface: document.createElement('img') must inherit property "offsetWidth" with the proper type 69 PASS HTMLElement interface: document.createElement('img') must inherit property "offsetHeight" with the proper type 70 PASS Element interface: document.createElement('img') must inherit property "getClientRects()" with the proper type 71 PASS Element interface: document.createElement('img') must inherit property "getBoundingClientRect()" with the proper type 72 PASS Element interface: document.createElement('img') must inherit property "scrollIntoView([object Object],[object Object])" with the proper type 73 PASS Element interface: calling scrollIntoView([object Object],[object Object]) on document.createElement('img') with too few arguments must throw TypeError 74 PASS Element interface: document.createElement('img') must inherit property "scroll(ScrollToOptions)" with the proper type 75 PASS Element interface: calling scroll(ScrollToOptions) on document.createElement('img') with too few arguments must throw TypeError 76 PASS Element interface: document.createElement('img') must inherit property "scroll(unrestricted double, unrestricted double)" with the proper type 77 PASS Element interface: calling scroll(unrestricted double, unrestricted double) on document.createElement('img') with too few arguments must throw TypeError 78 PASS Element interface: document.createElement('img') must inherit property "scrollTo(ScrollToOptions)" with the proper type 79 PASS Element interface: calling scrollTo(ScrollToOptions) on document.createElement('img') with too few arguments must throw TypeError 80 PASS Element interface: document.createElement('img') must inherit property "scrollTo(unrestricted double, unrestricted double)" with the proper type 81 PASS Element interface: calling scrollTo(unrestricted double, unrestricted double) on document.createElement('img') with too few arguments must throw TypeError 82 PASS Element interface: document.createElement('img') must inherit property "scrollBy(ScrollToOptions)" with the proper type 83 PASS Element interface: calling scrollBy(ScrollToOptions) on document.createElement('img') with too few arguments must throw TypeError 84 PASS Element interface: document.createElement('img') must inherit property "scrollBy(unrestricted double, unrestricted double)" with the proper type 85 PASS Element interface: calling scrollBy(unrestricted double, unrestricted double) on document.createElement('img') with too few arguments must throw TypeError 86 PASS Element interface: document.createElement('img') must inherit property "scrollTop" with the proper type 87 PASS Element interface: document.createElement('img') must inherit property "scrollLeft" with the proper type 88 PASS Element interface: document.createElement('img') must inherit property "scrollWidth" with the proper type 89 PASS Element interface: document.createElement('img') must inherit property "scrollHeight" with the proper type 90 PASS Element interface: document.createElement('img') must inherit property "clientTop" with the proper type 91 PASS Element interface: document.createElement('img') must inherit property "clientLeft" with the proper type 92 PASS Element interface: document.createElement('img') must inherit property "clientWidth" with the proper type 93 PASS Element interface: document.createElement('img') must inherit property "clientHeight" with the proper type 94 FAIL Element interface: document.createElement('img') must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain 95 FAIL Element interface: calling getBoxQuads(BoxQuadOptions) on document.createElement('img') with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain 96 FAIL Element interface: document.createElement('img') must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain 97 FAIL Element interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document.createElement('img') with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain 98 FAIL Element interface: document.createElement('img') must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain 99 FAIL Element interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createElement('img') with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain 100 FAIL Element interface: document.createElement('img') must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain 101 FAIL Element interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document.createElement('img') with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain 102 PASS Window interface: operation matchMedia(CSSOMString) 103 PASS Window interface: attribute screen 104 FAIL Window interface: operation moveTo(long, long) assert_equals: property has wrong .length expected 2 but got 0 105 FAIL Window interface: operation moveBy(long, long) assert_equals: property has wrong .length expected 2 but got 0 106 FAIL Window interface: operation resizeTo(long, long) assert_equals: property has wrong .length expected 2 but got 0 107 FAIL Window interface: operation resizeBy(long, long) assert_equals: property has wrong .length expected 2 but got 0 108 PASS Window interface: attribute innerWidth 109 PASS Window interface: attribute innerHeight 110 PASS Window interface: attribute scrollX 111 PASS Window interface: attribute pageXOffset 112 PASS Window interface: attribute scrollY 113 PASS Window interface: attribute pageYOffset 114 PASS Window interface: operation scroll(ScrollToOptions) 115 PASS Window interface: operation scroll(unrestricted double, unrestricted double) 116 PASS Window interface: operation scrollTo(ScrollToOptions) 117 PASS Window interface: operation scrollTo(unrestricted double, unrestricted double) 118 PASS Window interface: operation scrollBy(ScrollToOptions) 119 PASS Window interface: operation scrollBy(unrestricted double, unrestricted double) 120 PASS Window interface: attribute screenX 121 PASS Window interface: attribute screenY 122 PASS Window interface: attribute outerWidth 123 PASS Window interface: attribute outerHeight 124 PASS Window interface: attribute devicePixelRatio 125 PASS Window interface: window must inherit property "matchMedia(CSSOMString)" with the proper type 126 PASS Window interface: calling matchMedia(CSSOMString) on window with too few arguments must throw TypeError 127 PASS Window interface: window must inherit property "screen" with the proper type 128 PASS Window interface: window must inherit property "moveTo(long, long)" with the proper type 129 FAIL Window interface: calling moveTo(long, long) on window with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { 130 fn.apply(obj, args); 131 }" did not throw 132 PASS Window interface: window must inherit property "moveBy(long, long)" with the proper type 133 FAIL Window interface: calling moveBy(long, long) on window with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { 134 fn.apply(obj, args); 135 }" did not throw 136 PASS Window interface: window must inherit property "resizeTo(long, long)" with the proper type 137 FAIL Window interface: calling resizeTo(long, long) on window with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { 138 fn.apply(obj, args); 139 }" did not throw 140 PASS Window interface: window must inherit property "resizeBy(long, long)" with the proper type 141 FAIL Window interface: calling resizeBy(long, long) on window with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { 142 fn.apply(obj, args); 143 }" did not throw 144 PASS Window interface: window must inherit property "innerWidth" with the proper type 145 PASS Window interface: window must inherit property "innerHeight" with the proper type 146 PASS Window interface: window must inherit property "scrollX" with the proper type 147 PASS Window interface: window must inherit property "pageXOffset" with the proper type 148 PASS Window interface: window must inherit property "scrollY" with the proper type 149 PASS Window interface: window must inherit property "pageYOffset" with the proper type 150 PASS Window interface: window must inherit property "scroll(ScrollToOptions)" with the proper type 151 PASS Window interface: calling scroll(ScrollToOptions) on window with too few arguments must throw TypeError 152 PASS Window interface: window must inherit property "scroll(unrestricted double, unrestricted double)" with the proper type 153 PASS Window interface: calling scroll(unrestricted double, unrestricted double) on window with too few arguments must throw TypeError 154 PASS Window interface: window must inherit property "scrollTo(ScrollToOptions)" with the proper type 155 PASS Window interface: calling scrollTo(ScrollToOptions) on window with too few arguments must throw TypeError 156 PASS Window interface: window must inherit property "scrollTo(unrestricted double, unrestricted double)" with the proper type 157 PASS Window interface: calling scrollTo(unrestricted double, unrestricted double) on window with too few arguments must throw TypeError 158 PASS Window interface: window must inherit property "scrollBy(ScrollToOptions)" with the proper type 159 PASS Window interface: calling scrollBy(ScrollToOptions) on window with too few arguments must throw TypeError 160 PASS Window interface: window must inherit property "scrollBy(unrestricted double, unrestricted double)" with the proper type 161 PASS Window interface: calling scrollBy(unrestricted double, unrestricted double) on window with too few arguments must throw TypeError 162 PASS Window interface: window must inherit property "screenX" with the proper type 163 PASS Window interface: window must inherit property "screenY" with the proper type 164 PASS Window interface: window must inherit property "outerWidth" with the proper type 165 PASS Window interface: window must inherit property "outerHeight" with the proper type 166 PASS Window interface: window must inherit property "devicePixelRatio" with the proper type 167 PASS WorkerGlobalScope interface: existence and properties of interface object 168 PASS DedicatedWorkerGlobalScope interface: existence and properties of interface object 169 PASS SharedWorkerGlobalScope interface: existence and properties of interface object 170 PASS WorkerNavigator interface: existence and properties of interface object 171 PASS WorkerLocation interface: existence and properties of interface object 172 PASS Document interface: operation elementFromPoint(double, double) 173 PASS Document interface: operation elementsFromPoint(double, double) 174 FAIL Document interface: operation caretPositionFromPoint(double, double) assert_own_property: interface prototype object missing non-static operation expected property "caretPositionFromPoint" missing 175 PASS Document interface: attribute scrollingElement 176 FAIL Document interface: operation getBoxQuads(BoxQuadOptions) assert_own_property: interface prototype object missing non-static operation expected property "getBoxQuads" missing 177 FAIL Document interface: operation convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertQuadFromNode" missing 178 FAIL Document interface: operation convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertRectFromNode" missing 179 FAIL Document interface: operation convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertPointFromNode" missing 180 PASS Document interface: document must inherit property "elementFromPoint(double, double)" with the proper type 181 PASS Document interface: calling elementFromPoint(double, double) on document with too few arguments must throw TypeError 182 PASS Document interface: document must inherit property "elementsFromPoint(double, double)" with the proper type 183 PASS Document interface: calling elementsFromPoint(double, double) on document with too few arguments must throw TypeError 184 FAIL Document interface: document must inherit property "caretPositionFromPoint(double, double)" with the proper type assert_inherits: property "caretPositionFromPoint" not found in prototype chain 185 FAIL Document interface: calling caretPositionFromPoint(double, double) on document with too few arguments must throw TypeError assert_inherits: property "caretPositionFromPoint" not found in prototype chain 186 PASS Document interface: document must inherit property "scrollingElement" with the proper type 187 FAIL Document interface: document must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain 188 FAIL Document interface: calling getBoxQuads(BoxQuadOptions) on document with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain 189 FAIL Document interface: document must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain 190 FAIL Document interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain 191 FAIL Document interface: document must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain 192 FAIL Document interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain 193 FAIL Document interface: document must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain 194 FAIL Document interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain 195 PASS Element interface: operation getClientRects() 196 PASS Element interface: operation getBoundingClientRect() 197 PASS Element interface: operation scrollIntoView([object Object],[object Object]) 198 PASS Element interface: operation scroll(ScrollToOptions) 199 PASS Element interface: operation scroll(unrestricted double, unrestricted double) 200 PASS Element interface: operation scrollTo(ScrollToOptions) 201 PASS Element interface: operation scrollTo(unrestricted double, unrestricted double) 202 PASS Element interface: operation scrollBy(ScrollToOptions) 203 PASS Element interface: operation scrollBy(unrestricted double, unrestricted double) 204 PASS Element interface: attribute scrollTop 205 PASS Element interface: attribute scrollLeft 206 PASS Element interface: attribute scrollWidth 207 PASS Element interface: attribute scrollHeight 208 PASS Element interface: attribute clientTop 209 PASS Element interface: attribute clientLeft 210 PASS Element interface: attribute clientWidth 211 PASS Element interface: attribute clientHeight 212 FAIL Element interface: operation getBoxQuads(BoxQuadOptions) assert_own_property: interface prototype object missing non-static operation expected property "getBoxQuads" missing 213 FAIL Element interface: operation convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertQuadFromNode" missing 214 FAIL Element interface: operation convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertRectFromNode" missing 215 FAIL Element interface: operation convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertPointFromNode" missing 216 PASS Element interface: document.createElementNS('x', 'y') must inherit property "getClientRects()" with the proper type 217 PASS Element interface: document.createElementNS('x', 'y') must inherit property "getBoundingClientRect()" with the proper type 218 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollIntoView([object Object],[object Object])" with the proper type 219 PASS Element interface: calling scrollIntoView([object Object],[object Object]) on document.createElementNS('x', 'y') with too few arguments must throw TypeError 220 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scroll(ScrollToOptions)" with the proper type 221 PASS Element interface: calling scroll(ScrollToOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError 222 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scroll(unrestricted double, unrestricted double)" with the proper type 223 PASS Element interface: calling scroll(unrestricted double, unrestricted double) on document.createElementNS('x', 'y') with too few arguments must throw TypeError 224 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollTo(ScrollToOptions)" with the proper type 225 PASS Element interface: calling scrollTo(ScrollToOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError 226 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollTo(unrestricted double, unrestricted double)" with the proper type 227 PASS Element interface: calling scrollTo(unrestricted double, unrestricted double) on document.createElementNS('x', 'y') with too few arguments must throw TypeError 228 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollBy(ScrollToOptions)" with the proper type 229 PASS Element interface: calling scrollBy(ScrollToOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError 230 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollBy(unrestricted double, unrestricted double)" with the proper type 231 PASS Element interface: calling scrollBy(unrestricted double, unrestricted double) on document.createElementNS('x', 'y') with too few arguments must throw TypeError 232 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollTop" with the proper type 233 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollLeft" with the proper type 234 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollWidth" with the proper type 235 PASS Element interface: document.createElementNS('x', 'y') must inherit property "scrollHeight" with the proper type 236 PASS Element interface: document.createElementNS('x', 'y') must inherit property "clientTop" with the proper type 237 PASS Element interface: document.createElementNS('x', 'y') must inherit property "clientLeft" with the proper type 238 PASS Element interface: document.createElementNS('x', 'y') must inherit property "clientWidth" with the proper type 239 PASS Element interface: document.createElementNS('x', 'y') must inherit property "clientHeight" with the proper type 240 FAIL Element interface: document.createElementNS('x', 'y') must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain 241 FAIL Element interface: calling getBoxQuads(BoxQuadOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain 242 FAIL Element interface: document.createElementNS('x', 'y') must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain 243 FAIL Element interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain 244 FAIL Element interface: document.createElementNS('x', 'y') must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain 245 FAIL Element interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain 246 FAIL Element interface: document.createElementNS('x', 'y') must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain 247 FAIL Element interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document.createElementNS('x', 'y') with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain 248 FAIL Text interface: operation getBoxQuads(BoxQuadOptions) assert_own_property: interface prototype object missing non-static operation expected property "getBoxQuads" missing 249 FAIL Text interface: operation convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertQuadFromNode" missing 250 FAIL Text interface: operation convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertRectFromNode" missing 251 FAIL Text interface: operation convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) assert_own_property: interface prototype object missing non-static operation expected property "convertPointFromNode" missing 252 FAIL Text interface: document.createTextNode('x') must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type assert_inherits: property "getBoxQuads" not found in prototype chain 253 FAIL Text interface: calling getBoxQuads(BoxQuadOptions) on document.createTextNode('x') with too few arguments must throw TypeError assert_inherits: property "getBoxQuads" not found in prototype chain 254 FAIL Text interface: document.createTextNode('x') must inherit property "convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertQuadFromNode" not found in prototype chain 255 FAIL Text interface: calling convertQuadFromNode(DOMQuadInit, GeometryNode, ConvertCoordinateOptions) on document.createTextNode('x') with too few arguments must throw TypeError assert_inherits: property "convertQuadFromNode" not found in prototype chain 256 FAIL Text interface: document.createTextNode('x') must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertRectFromNode" not found in prototype chain 257 FAIL Text interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createTextNode('x') with too few arguments must throw TypeError assert_inherits: property "convertRectFromNode" not found in prototype chain 258 FAIL Text interface: document.createTextNode('x') must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type assert_inherits: property "convertPointFromNode" not found in prototype chain 259 FAIL Text interface: calling convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions) on document.createTextNode('x') with too few arguments must throw TypeError assert_inherits: property "convertPointFromNode" not found in prototype chain 260 PASS Range interface: operation getClientRects() 261 PASS Range interface: operation getBoundingClientRect() 262 PASS Range interface: new Range() must inherit property "getClientRects()" with the proper type 263 PASS Range interface: new Range() must inherit property "getBoundingClientRect()" with the proper type 264 FAIL MediaQueryList interface: existence and properties of interface object assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 265 FAIL MediaQueryList interface object length assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 266 FAIL MediaQueryList interface object name assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 267 FAIL MediaQueryList interface: existence and properties of interface prototype object assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 268 FAIL MediaQueryList interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 269 FAIL MediaQueryList interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 270 FAIL MediaQueryList interface: attribute media assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 271 FAIL MediaQueryList interface: attribute matches assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 272 FAIL MediaQueryList interface: operation addListener(EventListener) assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 273 FAIL MediaQueryList interface: operation removeListener(EventListener) assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 274 FAIL MediaQueryList interface: attribute onchange assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 275 FAIL MediaQueryList must be primary interface of matchMedia('all') assert_own_property: self does not have own property "MediaQueryList" expected property "MediaQueryList" missing 276 PASS Stringification of matchMedia('all') 277 PASS MediaQueryList interface: matchMedia('all') must inherit property "media" with the proper type 278 PASS MediaQueryList interface: matchMedia('all') must inherit property "matches" with the proper type 279 PASS MediaQueryList interface: matchMedia('all') must inherit property "addListener(EventListener)" with the proper type 280 FAIL MediaQueryList interface: calling addListener(EventListener) on matchMedia('all') with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { 281 fn.apply(obj, args); 282 }" did not throw 283 PASS MediaQueryList interface: matchMedia('all') must inherit property "removeListener(EventListener)" with the proper type 284 FAIL MediaQueryList interface: calling removeListener(EventListener) on matchMedia('all') with too few arguments must throw TypeError assert_throws: Called with 0 arguments function "function () { 285 fn.apply(obj, args); 286 }" did not throw 287 FAIL MediaQueryList interface: matchMedia('all') must inherit property "onchange" with the proper type assert_inherits: property "onchange" not found in prototype chain 288 FAIL MediaQueryListEvent interface: existence and properties of interface object assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing 289 FAIL MediaQueryListEvent interface object length assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing 290 FAIL MediaQueryListEvent interface object name assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing 291 FAIL MediaQueryListEvent interface: existence and properties of interface prototype object assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing 292 FAIL MediaQueryListEvent interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing 293 FAIL MediaQueryListEvent interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing 294 FAIL MediaQueryListEvent interface: attribute media assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing 295 FAIL MediaQueryListEvent interface: attribute matches assert_own_property: self does not have own property "MediaQueryListEvent" expected property "MediaQueryListEvent" missing 296 FAIL MediaQueryListEvent must be primary interface of new MediaQueryListEvent('change') assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: MediaQueryListEvent" 297 FAIL Stringification of new MediaQueryListEvent('change') assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: MediaQueryListEvent" 298 FAIL MediaQueryListEvent interface: new MediaQueryListEvent('change') must inherit property "media" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: MediaQueryListEvent" 299 FAIL MediaQueryListEvent interface: new MediaQueryListEvent('change') must inherit property "matches" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "ReferenceError: Can't find variable: MediaQueryListEvent" 300 PASS Screen interface: existence and properties of interface object 301 PASS Screen interface object length 302 PASS Screen interface object name 303 PASS Screen interface: existence and properties of interface prototype object 304 PASS Screen interface: existence and properties of interface prototype object's "constructor" property 305 PASS Screen interface: existence and properties of interface prototype object's @@unscopables property 306 PASS Screen interface: attribute availWidth 307 PASS Screen interface: attribute availHeight 308 PASS Screen interface: attribute width 309 PASS Screen interface: attribute height 310 PASS Screen interface: attribute colorDepth 311 PASS Screen interface: attribute pixelDepth 312 PASS Screen must be primary interface of screen 313 PASS Stringification of screen 314 PASS Screen interface: screen must inherit property "availWidth" with the proper type 315 PASS Screen interface: screen must inherit property "availHeight" with the proper type 316 PASS Screen interface: screen must inherit property "width" with the proper type 317 PASS Screen interface: screen must inherit property "height" with the proper type 318 PASS Screen interface: screen must inherit property "colorDepth" with the proper type 319 PASS Screen interface: screen must inherit property "pixelDepth" with the proper type 320 FAIL CaretPosition interface: existence and properties of interface object assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 321 FAIL CaretPosition interface object length assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 322 FAIL CaretPosition interface object name assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 323 FAIL CaretPosition interface: existence and properties of interface prototype object assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 324 FAIL CaretPosition interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 325 FAIL CaretPosition interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 326 FAIL CaretPosition interface: attribute offsetNode assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 327 FAIL CaretPosition interface: attribute offset assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 328 FAIL CaretPosition interface: operation getClientRect() assert_own_property: self does not have own property "CaretPosition" expected property "CaretPosition" missing 329 FAIL CaretPosition must be primary interface of document.caretPositionFromPoint(5, 5) assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" 330 FAIL Stringification of document.caretPositionFromPoint(5, 5) assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" 331 FAIL CaretPosition interface: document.caretPositionFromPoint(5, 5) must inherit property "offsetNode" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" 332 FAIL CaretPosition interface: document.caretPositionFromPoint(5, 5) must inherit property "offset" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" 333 FAIL CaretPosition interface: document.caretPositionFromPoint(5, 5) must inherit property "getClientRect()" with the proper type assert_equals: Unexpected exception when evaluating object expected null but got object "TypeError: document.caretPositionFromPoint is not a function. (In 'document.caretPositionFromPoint(5, 5)', 'document.caretPositionFromPoint' is undefined)" 5 FAIL idl_test setup promise_test: Unhandled rejection with value: object "Got an error before parsing any named definition: Unrecognised tokens, line 1 (tokens: "{\"error\": {\"message\"") 6 [ 7 { 8 "type": "{", 9 "value": "{", 10 "trivia": "" 11 }, 12 { 13 "type": "string", 14 "value": "\"error\"", 15 "trivia": "" 16 }, 17 { 18 "type": ":", 19 "value": ":", 20 "trivia": "" 21 }, 22 { 23 "type": "{", 24 "value": "{", 25 "trivia": " " 26 }, 27 { 28 "type": "string", 29 "value": "\"message\"", 30 "trivia": "" 31 } 32 ]" 33 FAIL Partial interface Window: original interface defined assert_true: Original interface should be defined expected true got false 34 FAIL Partial interface Document: original interface defined assert_true: Original interface should be defined expected true got false 35 FAIL Partial interface Element: original interface defined assert_true: Original interface should be defined expected true got false 36 FAIL Partial interface HTMLElement: original interface defined assert_true: Original interface should be defined expected true got false 37 FAIL Partial interface HTMLImageElement: original interface defined assert_true: Original interface should be defined expected true got false 38 FAIL Partial interface Range: original interface defined assert_true: Original interface should be defined expected true got false 334 39 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/interfaces.html
r232903 r236274 16 16 17 17 <script> 18 "use strict";18 'use strict'; 19 19 20 function doTest([html, dom, uievents, cssom, cssom_view]) { 20 const waitForLoad = new Promise(resolve => { addEventListener('load', resolve); }); 21 21 22 var idlArray = new IdlArray(); 23 var svg = "interface SVGElement : Element {};"; 24 idlArray.add_untested_idls(html + dom + svg + cssom); 25 idlArray.add_untested_idls(uievents, { only: [ 26 'UIEvent', 27 'UIEventInit', 28 'MouseEvent', 29 'MouseEventInit', 30 'EventModifierInit'] 31 }); 32 idlArray.add_idls(cssom_view); 22 idl_test( 23 ['cssom-view'], 24 ['css-pseudo', 'cssom', 'uievents', 'SVG', 'html', 'dom'], 25 async idlArray => { 26 idlArray.add_objects({ 27 Window: ['window'], 28 MediaQueryList: ['matchMedia("all")'], 29 MediaQueryListEvent: ['new MediaQueryListEvent("change")'], 30 Screen: ['screen'], 31 Document: ['document'], 32 CaretPosition: ['document.caretPositionFromPoint(5, 5)'], 33 Element: ['document.createElementNS("x", "y")'], 34 HTMLElement: ['document.createElement("div")'], 35 HTMLImageElement: ['document.createElement("img")'], 36 Range: ['new Range()'], 37 // MouseEvent: ['new MouseEvent("foo")'], 38 Text: ['document.createTextNode("x")'], 39 // CSSPseudoElement: [], 40 }); 33 41 34 idlArray.add_objects({ 35 "Window": ["window"], 36 "MediaQueryList": ["matchMedia('all')"], 37 "MediaQueryListEvent": ["new MediaQueryListEvent('change')"], 38 "Screen": ["screen"], 39 "Document": ["document"], 40 "CaretPosition": ["document.caretPositionFromPoint(5, 5)"], 41 "Element": ["document.createElementNS('x', 'y')"], 42 "HTMLElement": ["document.createElement('div')"], 43 "HTMLImageElement": ["document.createElement('img')"], 44 "Range": ["new Range()"], 45 // "MouseEvent": ["new MouseEvent('foo')"], 46 "Text": ["document.createTextNode('x')"], 47 // "CSSPseudoElement": [], 48 }); 49 idlArray.test(); 50 }; 51 52 function fetchData(url) { 53 return fetch(url).then((response) => response.text()); 54 } 55 56 function waitForLoad() { 57 return new Promise(function(resolve) { 58 addEventListener("load", resolve); 59 }); 60 } 61 62 promise_test(function() { 63 // Have to wait for onload 64 return Promise.all([fetchData("/interfaces/html.idl"), 65 fetchData("/interfaces/dom.idl"), 66 fetchData("/interfaces/uievents.idl"), 67 fetchData("/interfaces/cssom.idl"), 68 fetchData("/interfaces/cssom-view.idl"), 69 waitForLoad()]) 70 .then(doTest); 71 }, "Test driver"); 72 42 await waitForLoad; 43 } 44 ); 73 45 </script> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/resources/w3c-import.log
r232903 r236274 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/support/support/w3c-import.log
r232903 r236274 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/support/w3c-import.log
r232903 r236274 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 39 39 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/support/ruler-v-100px.png 40 40 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/support/ruler-v-50px.png 41 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/support/scroll-behavior.js 41 42 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/support/square-purple.png 42 43 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/support/square-teal.png -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/w3c-import.log
r232903 r236274 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 19 19 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/GetBoundingRect.html 20 20 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/HTMLBody-ScrollArea_quirksmode.html 21 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/META.yml 21 22 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/MediaQueryList-001.html 22 23 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/MediaQueryList-with-empty-string.html 23 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/OWNERS24 24 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/Screen-pixelDepth-Screen-colorDepth001.html 25 25 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-001.html 26 26 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-002.html 27 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl-expected.html 28 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html 27 29 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-getBoxQuads-001.html 28 30 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-getClientRects-002.html … … 30 32 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-view-img-attributes-001.html 31 33 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/cssom-view-window-screen-interface.html 34 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/dom-element-scroll.html 32 35 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint-001.html 33 36 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint-002.html 34 37 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint-003.html 35 38 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint-dynamic-anon-box.html 39 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint-mixed-font-sizes.html 36 40 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint-parameters.html 37 41 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint.html … … 53 57 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/matchMedia.xht 54 58 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/matchMediaAddListener.html 55 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/media-query-list-interface.xht56 59 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/mouseEvent.html 57 60 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/negativeMargins.html 58 61 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/offsetParent_element_test.html 59 62 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/offsetTopLeftInScrollableParent.html 63 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-default-css.html 64 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-element.html 65 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-main-frame-root.html 66 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-main-frame-window.html 67 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-scrollintoview-nested.html 68 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-smooth-positions.html 60 69 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-smooth.html 70 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-subframe-root.html 71 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-subframe-window.html 61 72 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scroll-no-layout-box.html 62 73 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-scrollMargin.html … … 64 75 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-shadow.html 65 76 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-smooth.html 77 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollIntoView-vertical-rl-writing-mode.html 66 78 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollTop-display-change-expected.html 67 79 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollTop-display-change.html … … 76 88 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollingElement.html 77 89 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/scrollintoview.html 90 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/table-client-props.html 91 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/table-offset-props.html 92 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/table-scroll-props.html 78 93 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/ttwf-js-cssomview-getclientrects-length.html 79 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/window-interface.xht80 94 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/window-screen-height-immutable.html 81 95 /LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/window-screen-height.html -
trunk/LayoutTests/platform/ios/TestExpectations
r236225 r236274 2658 2658 webkit.org/b/5991 imported/w3c/web-platform-tests/css/cssom-view/scrolling-quirks-vs-nonquirks.html [ Failure ] 2659 2659 2660 webkit.org/b/149264 imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-subframe-root.html [ Failure ] 2661 webkit.org/b/149264 imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-subframe-window.html [ Failure ] 2662 2660 2663 # Variation fonts are not implemented earlier than iOS 11. 2661 2664 fast/text/variations [ Pass Failure ImageOnlyFailure ] -
trunk/LayoutTests/tests-options.json
r232903 r236274 423 423 "slow" 424 424 ], 425 "imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-default-css.html": [ 426 "slow" 427 ], 428 "imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-element.html": [ 429 "slow" 430 ], 431 "imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-main-frame-root.html": [ 432 "slow" 433 ], 434 "imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-main-frame-window.html": [ 435 "slow" 436 ], 437 "imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-scrollintoview-nested.html": [ 438 "slow" 439 ], 440 "imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-smooth-positions.html": [ 441 "slow" 442 ], 443 "imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-subframe-root.html": [ 444 "slow" 445 ], 446 "imported/w3c/web-platform-tests/css/cssom-view/scroll-behavior-subframe-window.html": [ 447 "slow" 448 ], 425 449 "imported/w3c/web-platform-tests/dom/nodes/Document-characterSet-normalization.html": [ 426 450 "slow"
Note: See TracChangeset
for help on using the changeset viewer.