scrollingcoordinator/ios/ui-scrolling-tree.html is a Flaky Failure on iPad
[WebKit-https.git] / LayoutTests / ChangeLog
1 2019-10-21  Simon Fraser  <simon.fraser@apple.com>
2
3         scrollingcoordinator/ios/ui-scrolling-tree.html is a Flaky Failure on iPad
4         https://bugs.webkit.org/show_bug.cgi?id=203119
5         rdar://problem/52970947
6
7         Reviewed by Wenson Hsieh.
8
9         iPad viewport heuristics (WebPage::immediatelyShrinkToFitContent()) run on a zero-delay
10         timer after page load, which races with this test getting the UI-side scrolling tree
11         and makes the test flakey.
12
13         Fix by turning off the heuristics with "contentMode=mobile". Also fix the test
14         to use UIHelper to get the scrolling tree.
15
16         * platform/ipad/TestExpectations:
17         * platform/ipad/scrollingcoordinator/ios/ui-scrolling-tree-expected.txt:
18         * scrollingcoordinator/ios/ui-scrolling-tree.html:
19
20 2019-10-21  Simon Fraser  <simon.fraser@apple.com>
21
22         [iOS WK2] Support hiding iframe scrollbars via ::-webkit-scrollbar style
23         https://bugs.webkit.org/show_bug.cgi?id=203178
24
25         Reviewed by Dean Jackson.
26
27         Tests that dumps the scrolling tree.
28
29         * fast/scrolling/ios/scrollbar-hiding-iframes-expected.txt: Added.
30         * fast/scrolling/ios/scrollbar-hiding-iframes.html: Added.
31
32 2019-10-21  youenn fablet  <youenn@apple.com>
33
34         Share code between AudioDestinationIOS and AudioDestinationMac
35         https://bugs.webkit.org/show_bug.cgi?id=203047
36         <rdar://problem/56340866>
37
38         Reviewed by Eric Carlson.
39
40         * fast/mediastream/getUserMedia-webaudio-expected.txt:
41         * fast/mediastream/getUserMedia-webaudio.html:
42
43 2019-10-21  Chris Dumez  <cdumez@apple.com>
44
45         XMLHttpRequest should not prevent entering the back/forward cache
46         https://bugs.webkit.org/show_bug.cgi?id=203107
47         <rdar://problem/56438647>
48
49         Reviewed by Youenn Fablet.
50
51         Add more test coverage.
52
53         * TestExpectations:
54         * fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt:
55         * fast/xmlhttprequest/xmlhttprequest-open-after-iframe-onload-remove-self.html:
56         * http/tests/navigation/page-cache-xhr-in-loading-iframe-expected.txt: Added.
57         * http/tests/navigation/page-cache-xhr-in-loading-iframe.html: Added.
58         * http/tests/navigation/resources/page-cache-xhr-in-loading-iframe.html: Added.
59
60 2019-10-21  Alicia Boya García  <aboya@igalia.com>
61
62         [MSE][GStreamer] Revert WebKitMediaSrc rework temporarily
63         https://bugs.webkit.org/show_bug.cgi?id=203078
64
65         Reviewed by Carlos Garcia Campos.
66
67         * platform/gtk/TestExpectations:
68
69 2019-10-19  Ryosuke Niwa  <rniwa@webkit.org>
70
71         Flaky Test: fast/events/resize-subframe-in-rendering-update.html
72         https://bugs.webkit.org/show_bug.cgi?id=203140
73         <rdar://problem/56415948>
74
75         Reviewed by Wenson Hsieh.
76
77         Removed the assertion in setTimeout to avoid flakiness. There isn't a way to deterministically order
78         callbacks of setTimeout and requestAnimationFrame for this test for now.
79
80         * fast/events/resize-subframe-in-rendering-update-expected.txt:
81         * fast/events/resize-subframe-in-rendering-update.html:
82
83 2019-10-19  Chris Dumez  <cdumez@apple.com>
84
85         FileReader should not prevent entering the back/forward cache
86         https://bugs.webkit.org/show_bug.cgi?id=203106
87
88         Reviewed by Geoffrey Garen.
89
90         Add layout test coverage.
91
92         * TestExpectations:
93         * fast/files/file-reader-back-forward-cache-expected.txt: Added.
94         * fast/files/file-reader-back-forward-cache.html: Added.
95
96 2019-10-19  Ryosuke Niwa  <rniwa@webkit.org>
97
98         Integrate media query evaluation into HTML5 event loop
99         https://bugs.webkit.org/show_bug.cgi?id=203134
100         <rdar://problem/56396316>
101
102         Reviewed by Antti Koivisto.
103
104         Added tests for listening to accessiblity related media queries without having any style rules
105         get affected by those media queries so that we can catch any future regressions. For now,
106         changing accessiblity settings seem to always schedule a rendering update so there is nothing to do
107         when these accessibility settings do change.
108
109         * fast/media/media-query-list-07.html: Fixed the test to be compatible with new behavior.
110         * fast/media/mq-inverted-colors-live-update-for-listener-expected.txt: Added.
111         * fast/media/mq-inverted-colors-live-update-for-listener.html: Added.
112         * fast/media/mq-prefers-reduced-motion-live-update-for-listener-expected.txt: Added.
113         * fast/media/mq-prefers-reduced-motion-live-update-for-listener.html: Added.
114
115 2019-10-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
116
117         [SVG2]: Remove the SVGExternalResourcesRequired interface
118         https://bugs.webkit.org/show_bug.cgi?id=191293
119
120         Reviewed by Simon Fraser.
121
122         * platform/gtk/TestExpectations:
123         The script-change-externalResourcesRequired-while-loading.svg has to be
124         removed and it was flaky on all platforms.
125
126         * platform/gtk/imported/w3c/web-platform-tests/svg/import/types-dom-04-b-manual-expected.txt:
127         * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
128         * platform/ios-simulator/imported/w3c/web-platform-tests/svg/import/types-dom-04-b-manual-expected.txt:
129         * platform/ios/TestExpectations:
130         * platform/ios/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
131         * platform/mac/TestExpectations:
132         * platform/mac/imported/w3c/web-platform-tests/svg/import/types-dom-04-b-manual-expected.txt:
133         * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
134         * platform/win/TestExpectations:
135         * platform/win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
136         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-04-b-manual-expected.txt:
137         * platform/wpe/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
138         * svg/W3C-SVG-1.1-SE/types-dom-04-b.svg:
139         Use the preserveAlpha property of <feConvolveMatrix> element to test
140         SVGAnimatedBoolean.
141
142         * svg/animations/animate-externalResourcesRequired-no-load-event-expected.txt: Removed.
143         * svg/animations/animate-externalResourcesRequired-no-load-event.html: Removed.
144         * svg/custom/path-domsubtreemodified-crash.html:
145
146         * svg/dom/SVGAnimatedBoolean-expected.txt:
147         * svg/dom/SVGAnimatedBoolean.html:
148         Use the preserveAlpha property of <feConvolveMatrix> element to test
149         SVGAnimatedBoolean.
150
151         * svg/dom/SVGScriptElement/script-change-externalResourcesRequired-while-loading-expected.txt: Removed.
152         * svg/dom/SVGScriptElement/script-change-externalResourcesRequired-while-loading.svg: Removed.
153         * svg/dom/SVGScriptElement/script-load-and-error-events.svg:
154         * svg/dom/SVGScriptElement/script-onerror-bubbling.svg:
155         * svg/dom/SVGScriptElement/script-reexecution.svg:
156         * svg/dynamic-updates/SVGUseElement-dom-href1-attr.html:
157
158 2019-10-18  Jiewen Tan  <jiewen_tan@apple.com>
159
160         [WebAuthn] Warn users when no credentials are found
161         https://bugs.webkit.org/show_bug.cgi?id=203147
162         <rdar://problem/55931123>
163
164         Reviewed by Brent Fulgham.
165
166         Adds new tests for CtapAuthenticator::tryDowngrade enhancement.
167
168         * http/wpt/webauthn/public-key-credential-get-failure-hid.https-expected.txt:
169         * http/wpt/webauthn/public-key-credential-get-failure-hid.https.html:
170
171 2019-10-18  Russell Epstein  <repstein@apple.com>
172
173         [ Mac Debug WK1 ] REGRESSION (r251262?): fast/scrolling/latching/scroll-select-bottom-test.html is a Flaky Failure
174         https://bugs.webkit.org/show_bug.cgi?id=203176
175
176         Unreviewed Test Gardening.
177
178         * platform/mac-wk1/TestExpectations:
179
180 2019-10-18  Russell Epstein  <repstein@apple.com>
181
182         [ Mac WK1 ] REGRESSION (r251261): Layout Test inspector/console/webcore-logging.html is consistently Failing
183         https://bugs.webkit.org/show_bug.cgi?id=203173
184
185         Unreviewed Test Gardening.
186
187         * platform/mac-wk1/TestExpectations:
188
189 2019-10-18  Truitt Savell  <tsavell@apple.com>
190
191         Layout Test inspector/layers/layers-for-node.html is flaky
192         https://bugs.webkit.org/show_bug.cgi?id=203171
193
194         unreviewed test gardening
195
196         * platform/mac/TestExpectations:
197
198 2019-10-18  Ryosuke Niwa  <rniwa@webkit.org>
199
200         [iOS] REGRESSION(r251269): fast/events/ios/rotation/do-not-shrink-to-fit-content-after-rotation.html and fast/events/ios/rotation/layout-viewport-during-safari-type-rotation.html fail
201         https://bugs.webkit.org/show_bug.cgi?id=203162
202         <rdar://problem/56418459>
203
204         Reviewed by Simon Fraser.
205
206         Rebaselined the test now that the order of execution of orientationchange and resize events have changed.
207
208         * fast/events/ios/rotation/layout-viewport-during-safari-type-rotation-expected.txt:
209
210 2019-10-18  Devin Rousso  <drousso@apple.com>
211
212         Web Inspector: Elements: allow WebKit engineers to edit UserAgent shadow trees
213         https://bugs.webkit.org/show_bug.cgi?id=203159
214
215         Reviewed by Brian Burg.
216
217         * inspector/dom/setAllowEditingUserAgentShadowTrees.html: Added.
218         * inspector/dom/setAllowEditingUserAgentShadowTrees-expected.txt: Added.
219
220 2019-10-17  Dean Jackson  <dino@apple.com>
221
222         texImage2D for a half-float texture only accepts null
223         https://bugs.webkit.org/show_bug.cgi?id=169999
224         <rdar://problem/31713571>
225
226         Reviewed by Simon Fraser.
227
228         Add a new test, and update the expected results of existing tests.
229
230         * fast/canvas/webgl/oes-texture-half-float-uint16-expected.txt: Added.
231         * fast/canvas/webgl/oes-texture-half-float-uint16.html: Added.
232         * webgl/2.0.0/conformance/extensions/oes-texture-half-float-expected.txt:
233         * webgl/2.0.0/conformance2/extensions/ext-color-buffer-float-expected.txt:
234         * webgl/2.0.0/conformance2/textures/misc/tex-new-formats-expected.txt:
235
236 2019-10-18  Daniel Bates  <dabates@apple.com>
237
238         fast/events/ios/forward-delete-in-editable.html is a flaky failure
239         https://bugs.webkit.org/show_bug.cgi?id=203049
240         <rdar://problem/52969457>
241
242         Reviewed by Wenson Hsieh.
243
244         Now that <rdar://problem/45772078> is fixed we can write the test such that we check the test
245         result after we receive a DOM key up for the forward delete. Currently the test makes use of a
246         workaround that incorrectly assumes that the keyboard will call back into WebKit to perform the
247         forward deletion before the web process blur()s the field. This is not guaranteed to happen.
248         Instead wait until we receive a DOM key up for the delete key.
249
250         * fast/events/ios/forward-delete-in-editable.html:
251
252 2019-10-18  Daniel Bates  <dabates@apple.com>
253
254         Layout Test http/tests/security/contentSecurityPolicy/iframe-allowed-when-loaded-via-javascript-url.html is flaky
255         https://bugs.webkit.org/show_bug.cgi?id=202481
256         <rdar://problem/55916200>
257
258         Reviewed by Youenn Fablet.
259
260         Have the iframe's document call testRunner.notifyDone() instead of assuming that the document will
261         be loaded by the next turn of the event loop.
262
263         * http/tests/security/contentSecurityPolicy/iframe-allowed-when-loaded-via-javascript-url.html:
264
265 2019-10-18  Daniel Bates  <dabates@apple.com>
266
267         REGRESSION (r241747): [iOS] Adjust default SVG focus ring width to match width for HTML documents
268         https://bugs.webkit.org/show_bug.cgi?id=203011
269
270         Reviewed by Wenson Hsieh.
271
272         Remove the test imported/blink/svg/custom/focus-ring-2.svg now that it passes, again.
273
274         * platform/ios/TestExpectations:
275
276 2019-10-18  Jer Noble  <jer.noble@apple.com>
277
278         Add experimental HDR MediaCapabilities support.
279         https://bugs.webkit.org/show_bug.cgi?id=203113
280
281         Reviewed by Eric Carlson.
282
283         * media/mediacapabilities/mock-decodingInfo-alphaChannel-expected.txt:
284         * media/mediacapabilities/mock-decodingInfo-hdr-expected.txt: Added.
285         * media/mediacapabilities/mock-decodingInfo-hdr.html: Added.
286         * platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr-expected.txt: Added.
287         * platform/mac/media/mediacapabilities/hevc-decodingInfo-hdr.html: Added.
288
289 2019-10-18  Jiewen Tan  <jiewen_tan@apple.com>
290
291         [WebAuthn] Implement AuthenticatorCancel
292         https://bugs.webkit.org/show_bug.cgi?id=191523
293         <rdar://problem/55920204>
294
295         Reviewed by Brent Fulgham.
296
297         Modified one of the error message that is no longer emitted.
298
299         * http/wpt/webauthn/public-key-credential-create-failure.https.html:
300         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html:
301         * http/wpt/webauthn/public-key-credential-get-failure.https.html:
302         * http/wpt/webauthn/public-key-credential-get-success-hid.https.html:
303
304 2019-10-18  Ryosuke Niwa  <rniwa@webkit.org>
305
306         Flaky Test: fast/events/resize-subframe-in-rendering-update.html
307         https://bugs.webkit.org/show_bug.cgi?id=203140
308
309         Reviewed by Simon Fraser.
310
311         The flakiness was caused by the race condition between rAF and setTimeout. In many cases,
312         setTimeout was getting scheduled after the next rAF and prevented some assertions to run in time.
313
314         Fixed the flakiness by moving setTimeout to outside the setTimeout in which tests run so that
315         those assertions would always run.
316
317         Rebaselined the test since these assertions in setTimeout are now always included in the results.
318
319         * fast/events/resize-subframe-in-rendering-update-expected.txt:
320         * fast/events/resize-subframe-in-rendering-update.html:
321
322 2019-10-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
323
324         Load event must be fired only for the SVG structurally external elements and the outermost SVG element
325         https://bugs.webkit.org/show_bug.cgi?id=203044
326
327         Reviewed by Simon Fraser.
328
329         * fast/dom/crash-moving-subtree-between-documents.html:
330         * fast/dom/focus-style-resolution.html:
331         * fast/html/marquee-reparent-check.html:
332         The SVGElement element should not fire "load" event. Set the HTML <body>
333         element's "onload" event handler to be the function which was set to the
334         SVGElement's "onload" event handler.
335
336         * svg/custom/image-load-event-expected.html: Added.
337         * svg/custom/image-load-event.html: Added.
338         Images with external resources or data URIs must fire load events once
339         the data is loaded or decoded.
340
341         * svg/custom/loadevents-async-expected.txt: Removed.
342         * svg/custom/loadevents-async.html: Removed.
343         * svg/custom/loadevents-capturing-expected.txt: Removed.
344         * svg/custom/loadevents-capturing.svg: Removed.
345         * svg/custom/loadevents-externalresourcesrequired-displaynone-expected.txt: Removed.
346         * svg/custom/loadevents-externalresourcesrequired-displaynone.svg: Removed.
347         * svg/custom/loadevents-externalresourcesrequired-expected.txt: Removed.
348         * svg/custom/loadevents-externalresourcesrequired.svg: Removed.
349         * svg/custom/loadevents-normal-displaynone-expected.txt: Removed.
350         * svg/custom/loadevents-normal-displaynone.svg: Removed.
351         * svg/custom/loadevents-normal-expected.txt: Removed.
352         * svg/custom/loadevents-normal.svg: Removed.
353         These tests were implementing the SVG1.1 SVGLoad event interactivity:
354         https://www.w3.org/TR/SVG11/interact.html where every SVG element had to
355         fire the SVGLoad event once it parsed its closing tag. SVG structurally
356         external elements were firing load events when the corresponding external
357         resources had finished loading but only if externalResourcesRequired = true.
358
359         * svg/dom/SVGScriptElement/script-load-and-error-events.svg:
360         This test had two wrong assumptions:
361         1) The SVG structurally external element fires a load event when parsing
362         the children finishes. Then they may fire another load or error event if
363         externalResourcesRequired = true.        
364         2) The outermost SVG element will not fire its load event unless all the
365         children fires their load events correctly.
366
367 2019-10-18  Russell Epstein  <repstein@apple.com>
368
369         REGRESSION (r251262): Layout Test scrollingcoordinator/ios/non-stable-viewport-scroll.html is a Flaky Failure
370         https://bugs.webkit.org/show_bug.cgi?id=203157
371
372         Unreviewed Test Gardening.
373
374         * platform/ios-simulator-wk2/TestExpectations: Marked
375         scrollingcoordinator/ios/non-stable-viewport-scroll.html as flaky
376
377 2019-10-18  Kate Cheney  <katherine_cheney@apple.com>
378
379         [iOS] Layout Test http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html is frequently failing or timing out (198185)
380         https://bugs.webkit.org/show_bug.cgi?id=198185
381         <rdar://problem/51074251>
382
383         Reviewed by Youenn Fablet.
384
385         Fixes a flaky failure caused by test results being checked before data
386         records have finished processing. This patch uses a callback to
387         ensure data processing has finished before continuing.
388
389         * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html:
390         * platform/ios-wk2/TestExpectations:
391
392 2019-10-18  Truitt Savell  <tsavell@apple.com>
393
394         REGRESSION: Layout Test webgl/many-contexts.html is a flaky timeout on Mojave
395         https://bugs.webkit.org/show_bug.cgi?id=198867
396
397         Unreviewed test gardening
398
399         * platform/mac/TestExpectations:
400
401 2019-10-17  Wenson Hsieh  <wenson_hsieh@apple.com>
402
403         [Clipboard API] Support navigator.clipboard.read()
404         https://bugs.webkit.org/show_bug.cgi?id=203021
405
406         Reviewed by Ryosuke Niwa.
407
408         * editing/async-clipboard/clipboard-change-data-while-reading-expected.txt: Added.
409         * editing/async-clipboard/clipboard-change-data-while-reading.html: Added.
410
411         Add a new layout test to verify that if the platform pasteboard changes in the middle of a DOM paste access
412         request, the promise returned by Clipboard.read() should reject, and the page should not receive any clipboard
413         items.
414
415         * editing/async-clipboard/clipboard-read-basic-expected.txt: Added.
416         * editing/async-clipboard/clipboard-read-basic.html: Added.
417
418         Add a new layout test to exercise Clipboard.read(). Since we don't support reading data from clipboard items
419         yet, this only checks the types of each pasteboard item. This test additionally ensures that the ClipboardItems
420         returned from the API are the same between calls to Clipboard.read() if the data hasn't changed.
421
422         * editing/async-clipboard/resources/async-clipboard-helpers.js:
423         (writeToClipboardUsingDataTransfer):
424
425         Add a new helper to synchronously write data to the clipboard using execCommand and DataTransfer API.
426
427         (async.triggerProgrammaticPaste):
428
429         Add a new helper to trigger programmatic paste by activating the given element or location. Also receives an
430         array of options (which, for now, just supports a single option to change the pasteboard when granting DOM paste
431         access).
432
433         * platform/ios-wk1/TestExpectations: Skip clipboard-change-data-while-reading.html for now in WebKit1.
434         * platform/mac-wk1/TestExpectations: Skip clipboard-change-data-while-reading.html for now in WebKit1.
435         * platform/win/TestExpectations: Skip the new layout tests on Windows for now.
436
437 2019-10-17  Chris Dumez  <cdumez@apple.com>
438
439         Don't put pages that have not reached the non-visually empty layout milestone in the back/forward cache
440         https://bugs.webkit.org/show_bug.cgi?id=203108
441         <rdar://problem/56375671>
442
443         Reviewed by Geoff Garen.
444
445         * http/tests/navigation/page-cache-pending-load.html:
446         Tweak test to add the stylesheet to the body instead of the head since a document
447         with a pending stylesheet before the body qualifies as visually empty. The test
448         would be flaky otherwise.
449
450 2019-10-17  Simon Fraser  <simon.fraser@apple.com>
451
452         Only include "deep color" in layer tree dumps if a tests requests it
453         https://bugs.webkit.org/show_bug.cgi?id=203125
454
455         Reviewed by Tim Horton.
456
457         * TestExpectations:
458         * compositing/contents-format/deep-color-backing-store-expected.txt: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt.
459         * compositing/contents-format/deep-color-backing-store.html: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html.
460         * compositing/contents-format/ipad/deep-color-backing-store-expected.txt: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt.
461         * compositing/contents-format/ipad/deep-color-backing-store.html: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html.
462         * compositing/contents-format/iphone-7/deep-color-backing-store-expected.txt: Copied from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt.
463         * compositing/contents-format/iphone-7/deep-color-backing-store.html: Renamed from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color.html.
464         * platform/ipad/TestExpectations:
465         * platform/iphone-7/TestExpectations: Added.
466         * platform/mac-wk1/compositing/contents-format/deep-color-backing-store-expected.txt: Renamed from LayoutTests/platform/iphone-7/tiled-drawing/compositing-layers-deep-color-expected.txt.
467
468 2019-10-17  Simon Fraser  <simon.fraser@apple.com>
469
470         REGRESSION (r243347) Layout tests fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on* are flakey
471         https://bugs.webkit.org/show_bug.cgi?id=203122
472         rdar://problem/50058173
473
474         Reviewed by Wenson Hsieh.
475         
476         Rewrite these tests to wait for scrolling to finish, since the overflow is now accelerated and we need
477         to wait for momentum to end.
478
479         Also have them use UIHelper, factoring a function to work with overflow as well as document scroll.
480
481         * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-block-expected.txt:
482         * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-block.html:
483         * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-document-expected.txt:
484         * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-document.html:
485         * resources/ui-helper.js:
486         (window.UIHelper.callFunctionAndWaitForEvent):
487         (window.UIHelper.callFunctionAndWaitForScrollToFinish):
488         (window.UIHelper.callFunctionAndWaitForTargetScrollToFinish.return.new.Promise):
489         (window.UIHelper.callFunctionAndWaitForTargetScrollToFinish):
490         (window.UIHelper.callFunctionAndWaitForScrollToFinish.return.new.Promise): Deleted.
491
492 2019-10-17  Dean Jackson  <dino@apple.com>
493
494         ctx.font = "" asserts in CSS parser
495         https://bugs.webkit.org/show_bug.cgi?id=203127
496         <rdar://problem/56391016>
497
498         Reviewed by Devin Rousso.
499
500         Copy the updated test from my WPT pull request. Once this
501         is merged into WPT, we won't need this version.
502
503         * http/wpt/2dcontext/text-styles/2d.text.font.parse.invalid-expected.txt: Added.
504         * http/wpt/2dcontext/text-styles/2d.text.font.parse.invalid.html: Added.
505         * http/wpt/resources/canvas-tests.css: Added.
506         * http/wpt/resources/canvas-tests.js: Added.
507
508 2019-10-17  Ryosuke Niwa  <rniwa@webkit.org>
509
510         Integrate resize event with HTML5 event loop
511         https://bugs.webkit.org/show_bug.cgi?id=202964
512
513         Reviewed by Geoffrey Garen.
514
515         Added a regression test and fixed an existing test to work with the new behavior.
516
517         * fast/events/resize-subframe-in-rendering-update-expected.txt: Added.
518         * fast/events/resize-subframe-in-rendering-update.html: Added.
519         * fast/shadow-dom/trusted-event-scoped-flags.html:
520
521 2019-10-17  Tim Horton  <timothy_horton@apple.com>
522
523         Land a missing test baseline
524
525         * fast/forms/ios/inputmode-none-with-hardware-keyboard-expected.txt: Added.
526
527 2019-10-17  Simon Fraser  <simon.fraser@apple.com>
528
529         [ Mojave+ ] Layout Test compositing/fixed-with-main-thread-scrolling.html is a flaky timeout
530         https://bugs.webkit.org/show_bug.cgi?id=198757
531
532         Reviewed by Tim Horton.
533         
534         Remove expectation for compositing/fixed-with-main-thread-scrolling.html.
535
536         * platform/mac-wk2/TestExpectations:
537
538 2019-10-17  Sihui Liu  <sihui_liu@apple.com>
539
540         Using version 1 CFRunloopSource for faster task dispatch
541         https://bugs.webkit.org/show_bug.cgi?id=202874
542
543         Reviewed by Geoffrey Garen.
544
545         Fix a flaky test.
546
547         * inspector/css/pseudo-creation-expected.txt:
548         * inspector/css/pseudo-creation.html:
549
550 2019-10-17  Ryosuke Niwa  <rniwa@webkit.org>
551
552         Make requestIdleCallback suspendable
553         https://bugs.webkit.org/show_bug.cgi?id=203023
554
555         Reviewed by Chris Dumez.
556
557         * requestidlecallback/requestidlecallback-in-page-cache-expected.txt: Added.
558         * requestidlecallback/requestidlecallback-in-page-cache.html: Added.
559         * requestidlecallback/resources: Added.
560         * requestidlecallback/resources/page-cache-helper.html: Added.
561
562 2019-10-17  Dirk Schulze  <krit@webkit.org>
563
564         transform-box: content-box, stroke-box missing
565         https://bugs.webkit.org/show_bug.cgi?id=201892
566
567         Reviewed by Simon Fraser.
568
569         * fast/css/transform-box-parsing.html:
570         * svg/transforms/svg-transform-box-expected.html:
571         * svg/transforms/svg-transform-box.html:
572         * transforms/transform-box-expected.html: Added.
573         * transforms/transform-box.html: Added.
574
575 2019-10-17  Simon Fraser  <simon.fraser@apple.com>
576
577         [iOS Sim] Layout Test scrollingcoordinator/ios/ui-scroll-fixed.html is a flaky failure
578         https://bugs.webkit.org/show_bug.cgi?id=196612
579         rdar://problem/49612867
580
581         Reviewed by Antti Koivisto.
582         
583         This test hit a really obscure bug where a combination of an immediate scroll, and
584         an ancestor reposition left the layer position of a position:fixed layer unchanged.
585         The position of this layer in the UI process had been previously modified by
586         the scrolling tree for the scroll, but because the WebContent-side mutations left
587         the actual position unchanged, we'd never apply a new position via a commit, so left
588         the layer in the wrong location.
589         
590         Removing the m_wasScrolledByDelegatedScrollingSincePreviousCommit check in ScrollingTree::applyLayerPositionsAfterCommit()
591         fixes this, but has perf implications. Alternative fixes require complex state tracking.
592         Since this is so hard to hit with noisy user scrolling, just change the test to avoid
593         the perfect storm of scrolls and offsets.
594
595         * platform/ios-simulator-wk2/TestExpectations:
596         * scrollingcoordinator/ios/ui-scroll-fixed-expected.html:
597         * scrollingcoordinator/ios/ui-scroll-fixed.html:
598
599 2019-10-17  Truitt Savell  <tsavell@apple.com>
600
601         Unreviewed, rolling out r251231.
602
603         This test is still very flakey on all platforms.
604
605         Reverted changeset:
606
607         "[GStreamer] media/video-seek-after-end.html is no longer
608         flakey"
609         https://bugs.webkit.org/show_bug.cgi?id=203079
610         https://trac.webkit.org/changeset/251231
611
612 2019-10-17  Truitt Savell  <tsavell@apple.com>
613
614         Unreviewed, rolling out r251245.
615
616         Addressing this issue differently
617
618         Reverted changeset:
619
620         "Marking media/video-seek-after-end.html as failing"
621         https://bugs.webkit.org/show_bug.cgi?id=203111
622         https://trac.webkit.org/changeset/251245
623
624 2019-10-17  Truitt Savell  <tsavell@apple.com>
625
626         Marking media/video-seek-after-end.html as failing 
627         https://bugs.webkit.org/show_bug.cgi?id=203111
628
629         Unreviewed test gardening.
630
631         * platform/mac/TestExpectations:
632
633 2019-10-17  Simon Fraser  <simon.fraser@apple.com>
634
635         Two fast/scrolling/ios/touch-scroll* tests failing in iOS 13
636         https://bugs.webkit.org/show_bug.cgi?id=203070
637         rdar://problem/51756254
638
639         Reviewed by Wenson Hsieh.
640         
641         For some reason the uiController.dragFromPointToPoint() in these tests was too long
642         to trigger scrolling (maybe an OS change). Fix them to use UIHelper and a shorter
643         duration, and also to not be sensitive to the exact distance scrolled.
644
645         * fast/scrolling/ios/touch-scroll-pointer-events-none-expected.txt:
646         * fast/scrolling/ios/touch-scroll-pointer-events-none.html:
647         * fast/scrolling/ios/touch-scroll-visibility-hidden-expected.txt:
648         * fast/scrolling/ios/touch-scroll-visibility-hidden.html:
649         * platform/ios-wk2/TestExpectations:
650         * resources/ui-helper.js:
651         (window.UIHelper.dragFromPointToPoint):
652
653 2019-10-17  Simon Fraser  <simon.fraser@apple.com>
654
655         REGRESSION (r245483) [iPad Simulator] 2 Layout tests fast/scrolling/ios/overflow-scroll-inherited.html fast/scrolling/ios/overflow-scrolling-touch-enabled-stacking.html are failing
656         https://bugs.webkit.org/show_bug.cgi?id=203069
657         rdar://problem/51868813
658
659         Reviewed by Zalan Bujtas.
660
661         Add new result for overflow-scroll-inherited.html, since -webkit-overflow-scrolling:touch is a no-op
662         on iPad on iOS 13.
663
664         We can't have different image references for different devices, so keep overflow-scrolling-touch-enabled-stacking.html
665         as an image failure.
666
667         * platform/ipad-12/fast/scrolling/ios/overflow-scroll-inherited-expected.txt: Added.
668         * platform/ipad/TestExpectations:
669         * platform/ipad/fast/scrolling/ios/overflow-scroll-inherited-expected.txt: Added.
670
671 2019-10-17  Myles C. Maxfield  <mmaxfield@apple.com>
672
673         Make fast/text/font-cursive-italic-cjk.html more robust
674         https://bugs.webkit.org/show_bug.cgi?id=203072
675
676         Reviewed by Alexey Proskuryakov.
677
678         Instead of naming STKaiti by name, we can just use an -expected-mismatch test.
679
680         * fast/text/font-cursive-italic-cjk-2-expected.html: Removed.
681         * fast/text/font-cursive-italic-cjk-2.html: Removed.
682         * fast/text/font-cursive-italic-cjk-expected-mismatch.html: Added.
683         * fast/text/font-cursive-italic-cjk-expected.html: Removed.
684         * fast/text/font-cursive-italic-cjk.html:
685         * platform/mac/TestExpectations:
686
687 2019-10-17  Charlie Turner  <cturner@igalia.com>
688
689         [GStreamer] media/video-seek-after-end.html is no longer flakey
690         https://bugs.webkit.org/show_bug.cgi?id=203079
691
692         Unreviewed test gardening
693
694         * TestExpectations:
695
696 2019-10-17  Devin Rousso  <drousso@apple.com>
697
698         Web Inspector: rework frontend agent construction to allow commands/events to be controlled by the related target's type
699         https://bugs.webkit.org/show_bug.cgi?id=200384
700         <rdar://problem/53850352>
701
702         Reviewed by Joseph Pecoraro.
703
704         * inspector/canvas/requestShaderSource-webgl.html:
705         * inspector/canvas/updateShader-webgl:
706         * inspector/page/overrideSetting.html:
707         * inspector/page/overrideSetting-ICECandidateFilteringEnabled.html:
708         * inspector/page/overrideSetting-MockCaptureDevicesEnabled.html:
709         * inspector/runtime/parse.html:
710         Replace all instances of `DomainAgent.Enum` with `InspectorBackend.domains.Domain.Enum`.
711
712         * inspector/audit/run.html:
713         * inspector/audit/version.html:
714         * inspector/recording/version.html:
715         Use new `InspectorBackend` methods.
716
717         * inspector/unit-tests/target-manager.html:
718         * inspector/unit-tests/target-manager-expected.txt:
719         * inspector/worker/console-basic.html:
720         * inspector/worker/debugger-pause.html:
721         * inspector/worker/debugger-scripts.html:
722         * inspector/worker/debugger-shared-breakpoint.html:
723         * inspector/worker/resources-in-worker.html:
724         * inspector/worker/resources/dom-debugger-utilities.js:
725         * inspector/worker/runtime-basic.html:
726         * http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts.html:
727         Replace `WI.Target.Type` with `WI.TargetType`.
728
729         * inspector/dom/inspect.html:
730         * inspector/dom/inspect-expected.txt:
731         Rewrite test since faking events from the backend now requires a target.
732
733         * inspector/unit-tests/set-utilities.html:
734         * inspector/unit-tests/set-utilities-expected.txt:
735         Add tests for `Set.prototype.addAll`.
736
737 2019-10-16  Chris Dumez  <cdumez@apple.com>
738
739         Rename PageCache to BackForwardCache
740         https://bugs.webkit.org/show_bug.cgi?id=203048
741
742         Reviewed by Alex Christensen.
743
744         Rename PageCache to BackForwardCache for clarity and consistency with the UIProcess's WebBackForwardCache.
745
746         * animations/resume-after-page-cache.html:
747         * compositing/accelerated-layers-after-back.html:
748         * compositing/iframes/page-cache-layer-tree.html:
749         * compositing/page-cache-back-crash.html:
750         * compositing/show-composited-iframe-on-back-button.html:
751         * editing/mac/input/unconfirmed-text-navigation-with-page-cache.html:
752         * fast/canvas/webgl/canvas-webgl-page-cache.html:
753         * fast/css/fontloader-page-cache.html:
754         * fast/dom/DeviceMotion/no-page-cache.html:
755         * fast/dom/DeviceOrientation/event-after-navigation.html:
756         * fast/dom/DeviceOrientation/no-page-cache.html:
757         * fast/dom/Window/timer-resume-on-navigation-back.html:
758         * fast/events/onunload-back-to-page-cache.html:
759         * fast/events/pagehide-timeout.html:
760         * fast/events/pagehide-xhr-open.html:
761         * fast/events/pageshow-pagehide-on-back-cached-with-frames.html:
762         * fast/events/pageshow-pagehide-on-back-cached.html:
763         * fast/events/suspend-timers.html:
764         * fast/forms/autocomplete-off-with-default-value-does-not-clear.html:
765         * fast/frames/frame-crash-with-page-cache.html:
766         * fast/frames/frame-unload-navigate-and-setTimeout-assert-fail.html:
767         * fast/frames/page-hide-document-open.html:
768         * fast/frames/restoring-page-cache-should-not-run-scripts-via-style-update.html:
769         * fast/frames/restoring-page-cache-should-not-run-scripts.html:
770         * fast/harness/page-cache-crash-on-data-urls.html:
771         * fast/harness/use-page-cache.html:
772         * fast/history/back-from-page-with-focused-iframe.html:
773         * fast/history/go-back-to-iframe-with-plugin.html:
774         * fast/history/go-back-to-object-subframe.html:
775         * fast/history/history-back-while-pdf-in-pagecache.html:
776         * fast/history/page-cache-MessagePort-pending-message.html:
777         * fast/history/page-cache-after-window-open.html:
778         * fast/history/page-cache-back-navigation-crash.html:
779         * fast/history/page-cache-clearing-expected.txt:
780         * fast/history/page-cache-clearing.html:
781         * fast/history/page-cache-closed-audiocontext.html:
782         * fast/history/page-cache-createImageBitmap.html:
783         * fast/history/page-cache-createObjectURL-using-open-panel.html:
784         * fast/history/page-cache-createObjectURL.html:
785         * fast/history/page-cache-destroy-document.html:
786         * fast/history/page-cache-element-state-focused.html:
787         * fast/history/page-cache-execute-script-during-restore.html:
788         * fast/history/page-cache-geolocation-active-oneshot.html:
789         * fast/history/page-cache-geolocation-active-watcher.html:
790         * fast/history/page-cache-geolocation.html:
791         * fast/history/page-cache-iframe-js-url.html:
792         * fast/history/page-cache-indexed-closed-db.html:
793         * fast/history/page-cache-indexed-opened-db.html:
794         * fast/history/page-cache-media-source-closed-2.html:
795         * fast/history/page-cache-media-source-closed.html:
796         * fast/history/page-cache-media-source-opened.html:
797         * fast/history/page-cache-navigate-during-restore.html:
798         * fast/history/page-cache-notification-non-suspendable.html:
799         * fast/history/page-cache-notification-suspendable.html:
800         * fast/history/page-cache-removed-source-buffer.html:
801         * fast/history/page-cache-running-audiocontext.html:
802         * fast/history/page-cache-subframes-with-provisional-load.html:
803         * fast/history/page-cache-suspended-audiocontext.html:
804         * fast/history/page-cache-webdatabase-no-transaction-db.html:
805         * fast/history/page-cache-webdatabase-pending-transaction.html:
806         * fast/history/page-cache-with-opener.html:
807         * fast/history/pagehide-remove-iframe-crash.html:
808         * fast/history/resources/page-cache-window-with-iframe.html:
809         * fast/history/resources/page-cache-window-with-opener.html:
810         * fast/history/timed-refresh-in-cached-frame.html:
811         * fast/images/animated-gif-restored-from-bfcache.html:
812         * fast/loader/frames-with-unload-handlers-in-page-cache.html:
813         * fast/loader/image-in-page-cache.html:
814         * fast/loader/input-element-page-cache-crash.html:
815         * fast/loader/navigate-with-new-target-after-back-forward-navigation.html:
816         * fast/loader/navigate-with-post-to-new-target-after-back-forward-navigation.html:
817         * fast/loader/scroll-position-restored-on-back.html:
818         * fast/loader/stateobjects/no-popstate-when-back-to-stateless-entry-with-page-cache.html:
819         * fast/loader/stateobjects/popstate-fires-with-page-cache.html:
820         * fast/loader/unschedule-relayout-after-unload.html:
821         * fast/loader/window-properties-restored-from-page-cache.html:
822         * fast/mediastream/RTCPeerConnection-page-cache.html:
823         * fast/overflow/horizontal-scroll-after-back.html:
824         * fast/scrolling/iframe-scrollable-after-back.html:
825         * fast/scrolling/ios/scroll-events-back-forward-after-pageshow.html:
826         * fast/scrolling/ios/scroll-events-back-forward.html:
827         * fast/scrolling/ios/touch-scroll-back-forward.html:
828         * fast/scrolling/overflow-scrollable-after-back.html:
829         * fast/scrolling/page-cache-back-overflow-scroll-restore.html:
830         * fast/text-autosizing/ios/text-autosizing-after-back.html:
831         * fast/viewport/ios/viewport-shrink-to-fit-on-new-navigation.html:
832         * fast/viewport/viewport-128.html:
833         * fast/workers/worker-page-cache.html:
834         * http/tests/cache/display-image-unset-allows-cached-image-load.html:
835         * http/tests/eventsource/eventsource-page-cache-connected.html:
836         * http/tests/eventsource/eventsource-page-cache-connecting.html:
837         * http/tests/loading/main-resource-delegates-on-back-navigation.html:
838         * http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html:
839         * http/tests/loading/unfinished-main-resource-back-to-cached-page-callbacks.html:
840         * http/tests/media/reload-after-dialog.html:
841         * http/tests/navigation/go-back-to-error-page.html:
842         * http/tests/navigation/https-in-page-cache.html:
843         * http/tests/navigation/https-no-store-subframe-in-page-cache.html:
844         * http/tests/navigation/image-load-in-pagehide-handler.html:
845         * http/tests/navigation/page-cache-domcache-pending-promise.html:
846         * http/tests/navigation/page-cache-domcachestorage-pending-promise.html:
847         * http/tests/navigation/page-cache-failed-xhr.html:
848         * http/tests/navigation/page-cache-fontfaceset.html:
849         * http/tests/navigation/page-cache-fragment-referrer.html:
850         * http/tests/navigation/page-cache-iframe-no-current-historyItem.html:
851         * http/tests/navigation/page-cache-iframe-provisional-load-async-delegates.html:
852         * http/tests/navigation/page-cache-iframe-provisional-load.html:
853         * http/tests/navigation/page-cache-pending-image-load-cache-partition.html:
854         * http/tests/navigation/page-cache-pending-image-load.html:
855         * http/tests/navigation/page-cache-pending-load.html:
856         * http/tests/navigation/page-cache-pending-ping-load-cross-origin.html:
857         * http/tests/navigation/page-cache-pending-ping-load-same-origin.html:
858         * http/tests/navigation/page-cache-requestAnimationFrame.html:
859         * http/tests/navigation/page-cache-xhr-in-pagehide.html:
860         * http/tests/navigation/page-cache-xhr.html:
861         * http/tests/navigation/resources/https-in-page-cache-3.html:
862         * http/tests/navigation/subframe-pagehide-handler-starts-load.html:
863         * http/tests/navigation/subframe-pagehide-handler-starts-load2.html:
864         * http/tests/security/cross-origin-window-open-insert-script.html:
865         * http/tests/security/cross-origin-window-open-javascript-url.html:
866         * http/tests/security/navigate-when-restoring-cached-page.html:
867         * http/tests/security/xss-DENIED-click-and-form-submission-from-inactive-domwindow.html:
868         * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html:
869         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
870         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html:
871         * http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html:
872         * http/tests/websocket/tests/hybi/closed-when-entering-page-cache.html:
873         * http/tests/websocket/tests/hybi/stop-on-resume-in-error-handler.html:
874         * http/tests/workers/service/client-added-to-clients-when-restored-from-page-cache.html:
875         * http/tests/workers/service/client-removed-from-clients-while-in-page-cache.html:
876         * http/tests/workers/service/page-cache-service-worker-pending-promise.https.html:
877         * http/tests/workers/service/page-caching.html:
878         * http/wpt/beacon/support/sendBeacon-onpagehide-window.html:
879         * legacy-animation-engine/animations/resume-after-page-cache.html:
880         * loader/go-back-cached-main-resource.html:
881         * loader/go-back-to-different-window-size.html:
882         * media/crash-closing-page-with-media-as-plugin-fallback.html:
883         * media/media-source/media-source-page-cache.html:
884         * media/restore-from-page-cache.html:
885         * platform/ios/ios/fixed/fixed-back-forward.html:
886         * plugins/crash-restoring-plugin-page-from-page-cache.html:
887         * plugins/frameset-with-plugin-frame.html:
888         * plugins/netscape-plugin-page-cache-works.html:
889         * storage/indexeddb/IDBRequest-page-cache.html:
890         * storage/indexeddb/IDBTransaction-page-cache.html:
891         * swipe/basic-cached-back-swipe.html:
892         * swipe/main-frame-pinning-requirement.html:
893         * swipe/pushState-cached-back-swipe.html:
894         * swipe/pushState-programmatic-back-while-swiping-crash.html:
895         * swipe/pushstate-with-manual-scrollrestoration.html:
896         * tiled-drawing/scrolling/null-parent-back-crash.html:
897         * tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration.html:
898         * webrtc/datachannel/datachannel-page-cache-send.html:
899         * webrtc/datachannel/datachannel-page-cache.html:
900
901 2019-10-16  Tim Horton  <timothy_horton@apple.com>
902
903         iOS: inputmode=none is not respected with a hardware keyboard attached
904         https://bugs.webkit.org/show_bug.cgi?id=203061
905
906         Reviewed by Daniel Bates.
907
908         * fast/forms/ios/inputmode-none-with-hardware-keyboard.html: Added.
909         Clone inputmode-none.html to inputmode-none-with-hardware-keyboard.html
910         and remove the line to faux-detach the hardware keyboard.
911
912 2019-10-16  John Wilander  <wilander@apple.com>
913
914         Resource Load Statistics (experimental): Block all third-party cookies on websites without prior user interaction
915         https://bugs.webkit.org/show_bug.cgi?id=203017
916         <rdar://problem/56262708>
917
918         Reviewed by Alex Christensen.
919
920         * http/tests/resourceLoadStatistics/third-party-cookie-blocking-on-sites-without-user-interaction-database-expected.txt: Added.
921         * http/tests/resourceLoadStatistics/third-party-cookie-blocking-on-sites-without-user-interaction-database.html: Added.
922         * http/tests/resourceLoadStatistics/third-party-cookie-blocking-on-sites-without-user-interaction-expected.txt: Added.
923         * http/tests/resourceLoadStatistics/third-party-cookie-blocking-on-sites-without-user-interaction.html: Added.
924
925 2019-10-16  Russell Epstein  <repstein@apple.com>
926
927         Correct TestExpectations from r251119.
928         https://bugs.webkit.org/show_bug.cgi?id=202826
929
930         Unreviewed Test Gardening.
931
932         * platform/ios/TestExpectations:
933
934 2019-10-16  Rob Buis  <rbuis@igalia.com>
935
936         Remove duplicate MathML tests
937         https://bugs.webkit.org/show_bug.cgi?id=202979
938
939         Reviewed by Frédéric Wang.
940
941         Remove mo-form-dynamic.html, this got imported
942         as presentation-markup/operators/mo-form-dynamic.html.
943
944         Remove mo-form-minus-plus.html, this got imported
945         as presentation-markup/operators/mo-form-minus-plus.html.
946
947         Remove mo-form-fallback.html, this got imported
948         as presentation-markup/operators/mo-form-fallback.html.
949
950         * mathml/presentation/mo-form-dynamic-expected.html: Removed.
951         * mathml/presentation/mo-form-dynamic-expected.html: Removed.
952         * mathml/presentation/mo-form-dynamic.html: Removed.
953         * mathml/presentation/mo-form-fallback-expected.html: Removed.
954         * mathml/presentation/mo-form-fallback.html: Removed.
955         * mathml/presentation/mo-form-minus-plus-expected.html: Removed.
956         * mathml/presentation/mo-form-minus-plus.html: Removed.
957
958 2019-10-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
959
960         image/apng not recognized in source tag
961         https://bugs.webkit.org/show_bug.cgi?id=202785
962
963         Reviewed by Dean Jackson.
964
965         * TestExpectations: Remove test imported/w3c/web-platform-tests/apng/supported-in-source-type.html
966         from the list of expected failures.
967
968 2019-10-15  Kate Cheney  <katherine_cheney@apple.com>
969
970         REGRESSION (~244100) [Mac WK2 Debug] Layout Test http/tests/resourceLoadStatistics/prune-statistics.html is a flaky failure (197285)
971         https://bugs.webkit.org/show_bug.cgi?id=197285
972         <rdar://problem/50208370>
973
974         Reviewed by Chris Dumez.
975
976         Remove a "skipped" expectation for a previously flaky test that should 
977         be fixed by this patch.
978         * platform/mac-wk2/TestExpectations:
979
980 2019-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
981
982         editing/async-clipboard/clipboard-item-basic.html is a flaky failure on macOS and iOS
983         https://bugs.webkit.org/show_bug.cgi?id=203015
984
985         Reviewed by Tim Horton.
986
987         This test, for the most part, finishes and dumps its final output before a couple of (intentionally) rejected
988         promises finish and log their uncaught rejections to the console. In the case where we lose this race and the
989         console messages happen earlier, we end up with a text diff failure.
990
991         Avoid this issue by making sure that we catch these promise rejections.
992
993         * editing/async-clipboard/clipboard-item-basic.html:
994
995         Also give this test a tiny bit more variety, by making one of the promises reject immediately, while the other
996         still waits for a short delay (50 ms).
997
998 2019-10-15  Carlos Alberto Lopez Perez  <clopez@igalia.com>
999
1000         Import apng testcases from WPT.
1001         https://bugs.webkit.org/show_bug.cgi?id=202783
1002
1003         Reviewed by Simon Fraser.
1004
1005         Import apng tests from WTP
1006
1007         * TestExpectations: Mark the new imported test as failing. One already
1008         has a fix and the other would pass once the support for reftest-wait
1009         is implemented in the tooling.
1010
1011 2019-10-15  Peng Liu  <peng.liu6@apple.com>
1012
1013         [Picture-in-Picture Web API] Implement HTMLVideoElement.requestPictureInPicture() / Document.exitPictureInPicture()
1014         https://bugs.webkit.org/show_bug.cgi?id=201024
1015
1016         Reviewed by Eric Carlson.
1017
1018         Skip imported/w3c/web-platform-tests/picture-in-picture because of http://webkit.org/b/202617.
1019
1020         * TestExpectations:
1021         * tests-options.json:
1022
1023 2019-10-15  Dean Jackson  <dino@apple.com>
1024
1025         Layout test fast/events/touch/ios/passive-by-default-on-document-and-window.html is a flaky failure on Internal iOS Testers
1026         https://bugs.webkit.org/show_bug.cgi?id=202858
1027         <rdar://51829520>
1028
1029         Update expected results.
1030
1031         * fast/events/touch/ios/passive-by-default-on-document-and-window-expected.txt:
1032
1033 2019-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
1034
1035         REGRESSION: editing/async-clipboard/clipboard-interfaces.html is failing in WebKit1
1036         https://bugs.webkit.org/show_bug.cgi?id=202940
1037         <rdar://problem/56262298>
1038
1039         Reviewed by Ryosuke Niwa.
1040
1041         * editing/async-clipboard/clipboard-interfaces.html:
1042         * editing/async-clipboard/clipboard-item-basic.html:
1043         * editing/async-clipboard/clipboard-wrapper-stays-alive.html:
1044
1045         Tweak a few layout tests to actually turn the experimental feature on (this previously worked because
1046         experimental feature flags are already on by default in WebKit2).
1047
1048         * platform/ios-wk1/TestExpectations:
1049         * platform/mac-wk1/TestExpectations:
1050         * platform/win/TestExpectations:
1051
1052         Unskip and unmark these layout tests as failing in WebKit1 on iOS, macOS, and Windows.
1053
1054 2019-10-15  Dean Jackson  <dino@apple.com>
1055
1056         Reset maxCanvasPixelMemory between tests
1057         https://bugs.webkit.org/show_bug.cgi?id=202941
1058         <rdar://problem/56260865>
1059
1060         Attempt to fix flakiness.
1061
1062         * fast/canvas/canvas-too-large-to-draw-expected.txt:
1063         * fast/canvas/canvas-too-large-to-draw.html:
1064
1065 2019-10-15  Wenson Hsieh  <wenson_hsieh@apple.com>
1066
1067         [Clipboard API] Implement getType() for ClipboardItems created from bindings
1068         https://bugs.webkit.org/show_bug.cgi?id=202943
1069
1070         Reviewed by Tim Horton.
1071
1072         Add a new layout test to verify that we can create and ask ClipboardItems for data. Exercises the following
1073         corner cases:
1074         - Promise rejection when returning item data.
1075         - Resolving promises to incorrect data types.
1076         - Setting types to custom strings (including emojis and non-ASCII characters).
1077         - Returning values with emojis and non-ASCII characters.
1078         - Resolving promises using both Blobs and DOMStrings.
1079         - Delayed promise rejection/resolution (using setTimeout).
1080
1081         * editing/async-clipboard/clipboard-item-basic-expected.txt: Added.
1082         * editing/async-clipboard/clipboard-item-basic.html: Added.
1083         * editing/async-clipboard/resources/async-clipboard-helpers.js: Added.
1084
1085         Add a resource file with some helper functions for creating blobs, and loading images and text from blobs.
1086
1087         * platform/win/TestExpectations:
1088
1089         Temporarily mark a test as failing; I'll fix this and some other failing tests in a followup. See
1090         <https://webkit.org/b/202940>.
1091
1092 2019-10-15  Rob Buis  <rbuis@igalia.com>
1093
1094         Remove duplicate MathML tests
1095         https://bugs.webkit.org/show_bug.cgi?id=202979
1096
1097         Reviewed by Frédéric Wang.
1098
1099         Remove mo-paint-lspace-rspace.html, this got imported
1100         as presentation-markup/operators/mo-paint-lspace-rspace.html.
1101
1102         Remove mo-movablelimits.html, this got imported
1103         as presentation-markup/operators/mo-movablelimits.html.
1104
1105         Remove mo-movablelimits-dynamic.html, this got imported as
1106         presentation-markup/operators/mo-movablelimits-dynamic.html.
1107
1108         Remove mo-movablelimits-default.html, this got imported as
1109         presentation-markup/operators/mo-movablelimits-default.html.
1110
1111         Remove direction.html, this got imported as
1112         presentation-markup/direction/direction.html.
1113
1114         Remove direction-token.html, this got imported as
1115         presentation-markup/direction/direction-token.html.
1116
1117         Remove direction-overall.html, this got imported as
1118         presentation-markup/direction/direction-overall.html.
1119
1120         Remove inferred-mrow-baseline.html, this got imported as
1121         presentation-markup/mrow/inferred-mrow-baseline.html.
1122
1123         Remove inferred-mrow-stretchy.html, this got imported as
1124         presentation-markup/mrow/inferred-mrow-stretchy.html.
1125
1126         * mathml/presentation/direction-expected.html: Removed.
1127         * mathml/presentation/direction-overall-expected.html: Removed.
1128         * mathml/presentation/direction-overall.html: Removed.
1129         * mathml/presentation/direction-token-expected.html: Removed.
1130         * mathml/presentation/direction-token.html: Removed.
1131         * mathml/presentation/direction.html: Removed.
1132         * mathml/presentation/inferred-mrow-baseline-expected.txt: Removed.
1133         * mathml/presentation/inferred-mrow-baseline.html: Removed.
1134         * mathml/presentation/inferred-mrow-stretchy-expected.txt: Removed.
1135         * mathml/presentation/inferred-mrow-stretchy.html: Removed.
1136         * mathml/presentation/mo-movablelimits-default-expected.html: Removed.
1137         * mathml/presentation/mo-movablelimits-default.html: Removed.
1138         * mathml/presentation/mo-movablelimits-dynamic-expected.html: Removed.
1139         * mathml/presentation/mo-movablelimits-dynamic.html: Removed.
1140         * mathml/presentation/mo-movablelimits-expected.html: Removed.
1141         * mathml/presentation/mo-movablelimits.html: Removed.
1142         * mathml/presentation/mo-paint-lspace-rspace-expected.html: Removed.
1143         * mathml/presentation/mo-paint-lspace-rspace.html: Removed.
1144
1145 2019-10-14  Ryosuke Niwa  <rniwa@webkit.org>
1146
1147         Import W3C tests for requestidlecallback
1148         https://bugs.webkit.org/show_bug.cgi?id=202946
1149
1150         Reviewed by Wenson Hsieh.
1151
1152         * tests-options.json:
1153
1154 2019-10-14  Said Abou-Hallawa  <sabouhallawa@apple.com>
1155
1156         Outsets for referenced SVG filters are always zero
1157         https://bugs.webkit.org/show_bug.cgi?id=202826
1158
1159         Reviewed by Simon Fraser.
1160
1161         * css3/filters/svg-blur-filter-clipped-expected.html: Added.
1162         * css3/filters/svg-blur-filter-clipped.html: Added.
1163         * platform/ios/TestExpectations:
1164
1165 2019-10-14  Myles C. Maxfield  <mmaxfield@apple.com>
1166
1167         [Mac] Update fast/text/font-cursive-italic-cjk-2.html for Catalina
1168         https://bugs.webkit.org/show_bug.cgi?id=202779
1169         <rdar://problem/54317204>
1170
1171         Unreviewed gardening.
1172
1173         * platform/mac/TestExpectations:
1174
1175 2019-10-14  Chris Dumez  <cdumez@apple.com>
1176
1177         [ iOS13 ] Layout test imported/w3c/web-platform-tests/html/dom/idlharness.https.html is consistently Failing
1178         https://bugs.webkit.org/show_bug.cgi?id=202960
1179         <rdar://problem/56267775>
1180
1181         Unreviewed, unskip test and land new iOS baseline instead.
1182
1183         * TestExpectations:
1184         * platform/ios-wk2/TestExpectations:
1185         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: Added.
1186
1187 2019-10-14  Russell Epstein  <repstein@apple.com>
1188
1189         [ iOS13 ] Layout test imported/w3c/web-platform-tests/html/dom/idlharness.https.html is consistently Failing (202960)
1190         https://bugs.webkit.org/show_bug.cgi?id=202960
1191
1192         Unreviewed Test Gardening.
1193
1194         * platform/ios-wk2/TestExpectations: Changed expectation from Crash
1195         to Failure for imported/w3c/web-platform-tests/html/dom/idlharness.https.html
1196
1197 2019-10-14  Truitt Savell  <tsavell@apple.com>
1198
1199         Mass Marking failing tests on Windows
1200
1201         Unreviewed test gardening.
1202
1203         * platform/win/TestExpectations:
1204
1205 2019-10-14  Truitt Savell  <tsavell@apple.com>
1206
1207         Unreviewed, rolling out r251081.
1208
1209         Broke macOS and iOS builds
1210
1211         Reverted changeset:
1212
1213         "transform-box: content-box, stroke-box missing"
1214         https://bugs.webkit.org/show_bug.cgi?id=201892
1215         https://trac.webkit.org/changeset/251081
1216
1217 2019-10-14  Dean Jackson  <dino@apple.com>
1218
1219         Reset maxCanvasPixelMemory between tests
1220         https://bugs.webkit.org/show_bug.cgi?id=202941
1221         <rdar://problem/56260865>
1222
1223         Reviewed by Wenson Hsieh.
1224
1225         Swap the order of the tests, because a previous test might have
1226         already allocated canvas memory that is sitting around.
1227
1228         * fast/canvas/canvas-too-large-to-draw.html:
1229
1230 2019-10-14  Myles C. Maxfield  <mmaxfield@apple.com>
1231
1232         [Mac] Update fast/text/font-cursive-italic-cjk-2.html for Catalina
1233         https://bugs.webkit.org/show_bug.cgi?id=202779
1234         <rdar://problem/54317204>
1235
1236         Reviewed by Alexey Proskuryakov.
1237
1238         The platform-specific generic font family mappings changed. Luckily, we already had a (skipped) test that tests the new mappings.
1239
1240         * platform/mac/TestExpectations:
1241
1242 2019-10-14  Myles C. Maxfield  <mmaxfield@apple.com>
1243
1244         [Cocoa] REGRESSION (r245672): Contenteditable with optical sizing freezes Safari
1245         https://bugs.webkit.org/show_bug.cgi?id=202262
1246
1247         Reviewed by Tim Horton.
1248
1249         * fast/forms/contenteditable-font-optical-size-expected.txt: Added.
1250         * fast/forms/contenteditable-font-optical-size.html: Added.
1251
1252 2019-10-14  Russell Epstein  <russell_e@apple.com>
1253
1254         Unreviewed, rolling out r251081.
1255
1256         Broke macOS and iOS builds.
1257
1258         Reverted changeset:
1259
1260         "transform-box: content-box, stroke-box missing"
1261         https://bugs.webkit.org/show_bug.cgi?id=201892
1262         https://trac.webkit.org/changeset/251081
1263
1264 2019-10-14  Eric Carlson  <eric.carlson@apple.com>
1265
1266         [ Mac ] REGRESSION (r243033) Assertion failed: m_logger Layout Test imported/w3c/web-platform-tests/mst-content-hint/MediaStreamTrack-contentHint.html is a flaky crash
1267         https://bugs.webkit.org/show_bug.cgi?id=196517
1268         <rdar://problem/49540704>
1269
1270         Unreviewed, unskipping a passing test.
1271
1272         * platform/mac/TestExpectations: Unskip MediaStreamTrack-contentHint.html.
1273
1274 2019-10-14  Truitt Savell  <tsavell@apple.com>
1275
1276         Remove expectations for fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard.html
1277         <rdar://problem/52699318>
1278
1279         Unreviewed test gardening.
1280
1281         * platform/ios-wk2/TestExpectations:
1282
1283 2019-10-14  Dirk Schulze  <krit@webkit.org>
1284
1285         transform-box: content-box, stroke-box missing
1286         https://bugs.webkit.org/show_bug.cgi?id=201892
1287
1288         Reviewed by Simon Fraser.
1289
1290         * fast/css/transform-box-parsing.html:
1291         * svg/transforms/svg-transform-box-expected.html:
1292         * svg/transforms/svg-transform-box.html:
1293         * transforms/transform-box-expected.html: Added.
1294         * transforms/transform-box.html: Added.
1295
1296 2019-10-14  Rob Buis  <rbuis@igalia.com>
1297
1298         Replace reftest scripts-height.html with script tests
1299         https://bugs.webkit.org/show_bug.cgi?id=159423
1300
1301         Reviewed by Frédéric Wang.
1302
1303         Remove the expected result as well.
1304
1305         * mathml/presentation/scripts-height-expected.html: Removed.
1306
1307 2019-10-14  youenn fablet  <youenn@apple.com>
1308
1309         Reuse existing web processes for running service workers
1310         https://bugs.webkit.org/show_bug.cgi?id=202195
1311
1312         Reviewed by Chris Dumez.
1313
1314         * http/tests/workers/service/resources/postmessage-after-sw-process-crash.js:
1315         (async.doTest):
1316         * http/tests/workers/service/resources/postmessage-after-terminate.js:
1317         (async.doTest):
1318         * http/tests/workers/service/resources/postmessage-after-terminating-hung-worker.js:
1319         (async.doTest):
1320         * http/wpt/service-workers/online.https.html:
1321         * http/wpt/service-workers/service-worker-different-process.https-expected.txt: Added.
1322         * http/wpt/service-workers/service-worker-different-process.https.html: Added.
1323         * http/wpt/service-workers/service-worker-process-worker.js: Added.
1324
1325 2019-10-12  Ryosuke Niwa  <rniwa@webkit.org>
1326
1327         [iOS] Crash in WebCore::DOMWindow::incrementScrollEventListenersCount
1328         https://bugs.webkit.org/show_bug.cgi?id=202878
1329
1330         Reviewed by Alex Christensen.
1331
1332         Added a regression test for the crash.
1333
1334         * fast/events/scroll-event-on-document-without-window-expected.txt: Added.
1335         * fast/events/scroll-event-on-document-without-window.html: Added.
1336
1337 2019-10-12  Ryosuke Niwa  <rniwa@webkit.org>
1338
1339         Invoke callback registered by requestIdleCallback
1340         https://bugs.webkit.org/show_bug.cgi?id=202824
1341
1342         Reviewed by Antti Koivisto.
1343
1344         Added basic regression tests. The second test (requestidlecallback-is-not-called-when-canceled.html)
1345         found a spec bug (https://github.com/w3c/requestidlecallback/issues/83).
1346
1347         * requestidlecallback/requestidlecallback-is-called-expected.txt: Added.
1348         * requestidlecallback/requestidlecallback-is-called.html: Added.
1349         * requestidlecallback/requestidlecallback-is-not-called-when-canceled-expected.txt: Added.
1350         * requestidlecallback/requestidlecallback-is-not-called-when-canceled.html: Added.
1351
1352 2019-10-11  Ryosuke Niwa  <rniwa@webkit.org>
1353
1354         [iOS Debug] Layout Test editing/execCommand/print.html is crashing
1355         https://bugs.webkit.org/show_bug.cgi?id=196654
1356         <rdar://problem/49652875>
1357
1358         Removed the skip expectation since the test is no longer crashing in my local testing.
1359
1360         * platform/ios-simulator-wk2/TestExpectations:
1361
1362 2019-10-11  Devin Rousso  <drousso@apple.com>
1363
1364         Web Inspector: Debugger: support pattern blackboxing
1365         https://bugs.webkit.org/show_bug.cgi?id=198855
1366
1367         Reviewed by Timothy Hatcher.
1368
1369         * inspector/debugger/setShouldBlackboxURL.html:
1370         * inspector/debugger/setShouldBlackboxURL-expected.txt:
1371
1372 2019-10-11  Devin Rousso  <drousso@apple.com>
1373
1374         Web Inspector: Elements: Computed: show shorthand properties in addition to longhand ones
1375         https://bugs.webkit.org/show_bug.cgi?id=200554
1376
1377         Reviewed by Matt Baker.
1378
1379         * inspector/css/getComputedStyleForNode.html: Added.
1380         * inspector/css/getComputedStyleForNode-expected.txt: Added.
1381
1382 2019-10-11  Andy Estes  <aestes@apple.com>
1383
1384         [iOS] Unreviewed test gardening
1385
1386         * platform/ios/TestExpectations: Removed failing expectation.
1387         * platform/ios/quicklook/numbers-09-expected.txt: Reset expected result.
1388
1389 2019-10-11  Andy Estes  <aestes@apple.com>
1390
1391         [iOS] Unreviewed iPad test expectation gardening.
1392
1393         Un-skip tests in http/tests/paymentrequest/ that no longer time out on iPad.
1394
1395         * platform/ipad/TestExpectations:
1396
1397 2019-10-11  Dean Jackson  <dino@apple.com>
1398
1399         REGRESSION (r244239) Layout Test fast/canvas/canvas-too-large-to-draw.html is failing
1400         https://bugs.webkit.org/show_bug.cgi?id=202870
1401         <rdar://51862629>
1402
1403         Reviewed by Simon Fraser.
1404
1405         The output from this test depends on the amount of RAM on the system, so
1406         modify it to specify a limit for testing which will give reproducible results.
1407
1408         * fast/canvas/canvas-too-large-to-draw-expected.txt:
1409         * fast/canvas/canvas-too-large-to-draw.html:
1410         * platform/ios/fast/canvas/canvas-too-large-to-draw-expected.txt: Removed.
1411         * platform/ipad/TestExpectations:
1412
1413 2019-10-11  Peng Liu  <peng.liu6@apple.com>
1414
1415         Layout Test media/W3C/audio/events/event_progress.html is flaky
1416         https://bugs.webkit.org/show_bug.cgi?id=181966
1417         <rdar://problem/51449034>
1418
1419         Reviewed by Alexey Proskuryakov.
1420
1421         Use the option {once: true} in addEventListener instead of a variable to avoid
1422         executing the event handler more than once.
1423
1424         * media/W3C/audio/events/event_order_loadstart_progress.html:
1425         * media/W3C/audio/events/event_progress.html:
1426         * media/W3C/audio/events/event_progress_manual.html:
1427         * media/W3C/video/events/event_order_loadstart_progress.html:
1428         * media/W3C/video/events/event_progress.html:
1429         * media/W3C/video/events/event_progress_manual.html:
1430
1431 2019-10-11  Dean Jackson  <dino@apple.com>
1432
1433         Layout Test fast/events/touch/ios/tap-with-passive-listener-inside-active-listener.html is a Flaky Failure
1434         https://bugs.webkit.org/show_bug.cgi?id=202867
1435         <rdar://52968736>
1436
1437         Reviewed by Wenson Hsieh.
1438
1439         From the failing results, it looks like the event listener for touchend was firing
1440         after the uiScriptController returned its result, which is strange.
1441         I was unable to reproduce this, so I rewrote the test to use UIHelper, which
1442         hopefully will improve the situation (although... is basically the same code).
1443
1444         * fast/events/touch/ios/tap-with-passive-listener-inside-active-listener-expected.txt:
1445         * fast/events/touch/ios/tap-with-passive-listener-inside-active-listener.html:
1446
1447 2019-10-10  Joseph Pecoraro  <pecoraro@apple.com>
1448
1449         Web Inspector: Local Resource Overrides: UI for overriding image and font resource content
1450         https://bugs.webkit.org/show_bug.cgi?id=202016
1451         <rdar://problem/55541475>
1452
1453         Reviewed by Devin Rousso.
1454
1455         * inspector/unit-tests/mimetype-utilities-expected.txt:
1456         * inspector/unit-tests/mimetype-utilities.html:
1457         Test new utilities.
1458
1459         * http/tests/inspector/network/fetch-response-body.html:
1460         * http/tests/inspector/network/xhr-response-body.html:
1461         Renamed utilities.
1462
1463 2019-10-11  Dean Jackson  <dino@apple.com>
1464
1465         Layout test fast/events/touch/ios/tap-with-active-listener-inside-window-with-passive-listener.html is a flaky failure
1466         https://bugs.webkit.org/show_bug.cgi?id=202863
1467         <rdar://51724211>
1468
1469         Reviewed by Tim Horton.
1470
1471         Another case where we are getting more touchmoves during a drag than we expected.
1472         However, this time we still want to listen, and we can't use { once: true } because
1473         there are multiple sequential drags. Instead, keep a list of the moves we've seen and
1474         only output the first one.
1475
1476         Also, remove the coordinate logging for the move, since it might not be consistent.
1477
1478         * fast/events/touch/ios/tap-with-active-listener-inside-window-with-passive-listener-expected.txt:
1479         * fast/events/touch/ios/tap-with-active-listener-inside-window-with-passive-listener.html:
1480
1481 2019-10-11  Chris Dumez  <cdumez@apple.com>
1482
1483         Pages frequently fail to enter the back/forward cache due to frames with a quick redirect coming
1484         https://bugs.webkit.org/show_bug.cgi?id=202768
1485         <rdar://problem/56132022>
1486
1487         Reviewed by Alex Christensen.
1488
1489         Add lauout test coverage.
1490
1491         * fast/history/page-cache-iframe-js-url-expected.txt: Added.
1492         * fast/history/page-cache-iframe-js-url.html: Added.
1493
1494 2019-10-11  Kate Cheney  <katherine_cheney@apple.com>
1495
1496         Get StorageAccess API features working on SQLite database implementation (195422)
1497         https://bugs.webkit.org/show_bug.cgi?id=195422
1498         <rdar://problem/54213519>
1499
1500         Reviewed by Brent Fulgham.
1501
1502         This patch migrates tests in http/tests/storageAccess to use the ITP
1503         SQLite Database to ensure the storageAccess API features are working.
1504         Additionally, the Safari UI flow was manually tested for the database
1505         using tlstestwebkit.org (no automated tests exist for this).
1506
1507         It also updates the test expectations for two tests that consistently
1508         timeout on the flakiness dashboard and will be looked into in a
1509         separate radar.
1510
1511         Most storageAccess tests are skipped on ios because of incompatibility
1512         with recognizing user interaction.
1513
1514         * http/tests/storageAccess/deny-storage-access-under-opener-database-expected.txt: Added.
1515         * http/tests/storageAccess/deny-storage-access-under-opener-database.html: Added.
1516         * http/tests/storageAccess/deny-storage-access-under-opener-if-auto-dismiss-database-expected.txt: Added.
1517         * http/tests/storageAccess/deny-storage-access-under-opener-if-auto-dismiss-database.html: Added.
1518         * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database-expected.txt: Added.
1519         * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-database.html: Added.
1520         * http/tests/storageAccess/deny-without-prompt-preserves-gesture-database-expected.txt: Added.
1521         * http/tests/storageAccess/deny-without-prompt-preserves-gesture-database.html: Added.
1522         * http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-database-expected.txt: Added.
1523         * http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-database.html: Added.
1524         * http/tests/storageAccess/grant-with-prompt-preserves-gesture-database-expected.txt: Added.
1525         * http/tests/storageAccess/grant-with-prompt-preserves-gesture-database.html: Added.
1526         * http/tests/storageAccess/has-storage-access-crash-database-expected.txt: Added.
1527         * http/tests/storageAccess/has-storage-access-crash-database.html: Added.
1528         * http/tests/storageAccess/has-storage-access-false-by-default-database-expected.txt: Added.
1529         * http/tests/storageAccess/has-storage-access-false-by-default-database.html: Added.
1530         * http/tests/storageAccess/has-storage-access-false-by-default-ephemeral-database-expected.txt: Added.
1531         * http/tests/storageAccess/has-storage-access-false-by-default-ephemeral-database.html: Added.
1532         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction-database-expected.txt: Added.
1533         * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction-database.html: Added.
1534         * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database-expected.txt: Added.
1535         * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-database.html: Added.
1536         * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database-expected.txt: Added.
1537         * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-database.html: Added.
1538         * http/tests/storageAccess/remove-requesting-iframe-database-expected.txt: Added.
1539         * http/tests/storageAccess/remove-requesting-iframe-database.html: Added.
1540         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-database-expected.txt: Added.
1541         * http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-database.html: Added.
1542         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-database-expected.txt: Added.
1543         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-database.html: Added.
1544         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-database-expected.txt: Added.
1545         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-and-access-from-right-frame-database.html: Added.
1546         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame-database-expected.txt: Added.
1547         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame-database.html: Added.
1548         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-database-expected.txt: Added.
1549         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-database.html: Added.
1550         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-database-expected.txt: Added.
1551         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction-database.html: Added.
1552         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-database-expected.txt: Added.
1553         * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-nested-iframe-database.html: Added.
1554         * http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-database-expected.txt: Added.
1555         * http/tests/storageAccess/request-and-grant-access-then-detach-should-not-have-access-database.html: Added.
1556         * http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database-expected.txt: Added.
1557         * http/tests/storageAccess/request-and-grant-access-then-navigate-cross-site-should-not-have-access-database.html: Added.
1558         * http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-database-expected.txt: Added.
1559         * http/tests/storageAccess/request-and-grant-access-then-navigate-same-site-should-have-access-database.html: Added.
1560         * http/tests/storageAccess/request-storage-access-crash-database-expected.txt: Added.
1561         * http/tests/storageAccess/request-storage-access-crash-database.html: Added.
1562         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin-database-expected.txt: Added.
1563         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin-database.html: Added.
1564         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token-database-expected.txt: Added.
1565         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-allow-token-database.html: Added.
1566         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture-database-expected.txt: Added.
1567         * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-without-user-gesture-database.html: Added.
1568         * http/tests/storageAccess/request-storage-access-same-origin-iframe-database-expected.txt: Added.
1569         * http/tests/storageAccess/request-storage-access-same-origin-iframe-database.html: Added.
1570         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-database-expected.txt: Added.
1571         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-database.html: Added.
1572         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token-database-expected.txt: Added.
1573         * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe-without-allow-token-database.html: Added.
1574         * http/tests/storageAccess/request-storage-access-top-frame-database-expected.txt: Added.
1575         * http/tests/storageAccess/request-storage-access-top-frame-database.html: Added.
1576         * platform/ios/TestExpectations:
1577         * platform/mac-wk2/TestExpectations:
1578
1579 2019-10-11  Antti Koivisto  <antti@apple.com>
1580
1581         Position::upstream/downstream should not need to call ensureLineBoxes
1582         https://bugs.webkit.org/show_bug.cgi?id=202203
1583
1584         Reviewed by Zalan Bujtas.
1585
1586         Some additional end of line whitespaces.
1587
1588         * TestExpectations:
1589
1590         Skip imported/w3c/web-platform-tests/css/css-text/white-space/pre-wrap-013.html.
1591
1592         This test starts failing because soft linebreak clears the trailing whitespace run.
1593         The failing behavior aligns simple path with the complex path. The existing textarea-pre-wrap-013.html
1594         test (which takes the complex path) is already skipped because of this.
1595
1596         * platform/mac/fast/forms/targeted-frame-submission-expected.txt:
1597         * platform/mac/fast/forms/textarea-scroll-height-expected.txt:
1598         * platform/mac/fast/loader/text-document-wrapping-expected.txt:
1599         * platform/mac/fast/parser/open-comment-in-textarea-expected.txt:
1600         * platform/mac/http/tests/misc/acid3-expected.txt:
1601         * platform/mac/http/tests/navigation/javascriptlink-frames-expected.txt:
1602
1603 2019-10-11  Dean Jackson  <dino@apple.com>
1604
1605         Layout test fast/events/touch/ios/passive-by-default-on-document-and-window.html is a flaky failure on Internal iOS Testers
1606         https://bugs.webkit.org/show_bug.cgi?id=202858
1607         <rdar://51829520>
1608
1609         Reviewed by Tim Horton.
1610
1611         We can't guarantee how many touchmove events we'll get for a drag, so
1612         this was flaky. Easiest thing to do is remove the listeners, since they
1613         aren't an important part of the test. (We could have removed them on
1614         firing too, which we do for the similar test that exercises the case
1615         where we don't use the default options)
1616
1617         * fast/events/touch/ios/passive-by-default-on-document-and-window-expected.txt:
1618         * fast/events/touch/ios/passive-by-default-on-document-and-window.html:
1619
1620 2019-10-11  Dean Jackson  <dino@apple.com>
1621
1622         REGRESSION: fast/events/touch/ios/long-press-on-image.html is failing
1623         https://bugs.webkit.org/show_bug.cgi?id=202845
1624         <rdar://51717197>
1625
1626         Reviewed by Antoine Quint.
1627
1628         This test failed because images no longer pop up action sheets, but
1629         instead use context menus.
1630
1631         We no longer need to test the actions in the context menu here, since
1632         it is covered by the TestWebKitAPI/Tests/WebKitCocoa/ContextMenus test.
1633
1634         However, we can still use this test to ensure we are getting a
1635         context menu on the correct element.
1636
1637         * fast/events/touch/ios/long-press-on-image-expected.txt:
1638         * fast/events/touch/ios/long-press-on-image.html:
1639         * platform/iphone-7/fast/events/touch/force-press-on-link.html: This
1640         test currently fails and needs to be rewritten (rdar://problem/52699530),
1641         but at least update it to use the new data from the Internal API.
1642
1643 2019-10-11  Peng Liu  <peng.liu6@apple.com>
1644
1645         Layout Test media/W3C/audio/events/event_progress.html is flaky
1646         https://bugs.webkit.org/show_bug.cgi?id=181966
1647
1648         Reviewed by Eric Carlson.
1649
1650         It is possible that video/audio elements fire "progress" event again
1651         when the event handler is still processing the previous "progress" event.
1652         We need to ignore all the events except the first one to make sure
1653         the test cases generate consistent output.
1654
1655         In addition, this patch fixes some errors in JS file names and function parameters.
1656
1657         * http/tests/resources/js-test-pre.js:
1658         (isSuccessfullyParsed):
1659         * media/W3C/audio/events/event_order_loadstart_progress.html:
1660         * media/W3C/audio/events/event_progress.html:
1661         * media/W3C/audio/events/event_progress_manual.html:
1662         * media/W3C/video/events/event_order_loadstart_progress.html:
1663         * media/W3C/video/events/event_progress.html:
1664         * media/W3C/video/events/event_progress_manual.html:
1665         * media/W3C/w3cwrapper.js:
1666         * platform/ios/TestExpectations:
1667         * platform/mac/TestExpectations:
1668         * resources/js-test-pre.js:
1669         (isSuccessfullyParsed):
1670
1671 2019-10-11  Bjorn Melinder  <bjornm@spotify.com>
1672
1673         OfflineAudioContext does not validate allocation of destination buffer
1674         https://bugs.webkit.org/show_bug.cgi?id=177259
1675
1676         Reviewed by Eric Carlson.
1677
1678         Moved the allocation of the destination buffer to the static
1679         OfflineAudioContext::create method where we are able to handle a failed
1680         allocation properly and return an Exception. This change handles both
1681         negative lengths as well as too large lengths where the memory cannot
1682         be allocated.
1683
1684         * webaudio/offlineaudiocontext-constructor-expected.txt:
1685         * webaudio/offlineaudiocontext-constructor.html:
1686
1687 2019-10-11  Chris Lord  <clord@igalia.com>
1688
1689         Flaky test: imported/w3c/web-platform-tests/offscreen-canvas/compositing/2d.composite.canvas.destination-in.html
1690         https://bugs.webkit.org/show_bug.cgi?id=202801
1691
1692         Reviewed by Alexey Proskuryakov.
1693
1694         More OffscreenCanvas tests failing due to unhandled Promise rejection.
1695         See also bug #202782.
1696
1697         * TestExpectations:
1698
1699 2019-10-11  Miguel Gomez  <magomez@igalia.com>
1700
1701         Unreviewed GTK and WPE gardening after r251001. Removing crash expectations after
1702         bug 202784 was fixed.
1703
1704         * platform/gtk/TestExpectations:
1705         * platform/wpe/TestExpectations:
1706
1707 2019-10-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1708
1709         Import css/css-images WPT tests
1710         https://bugs.webkit.org/show_bug.cgi?id=200210
1711
1712         Reviewed by Simon Fraser.
1713
1714         Import css/css-images tests
1715
1716         * TestExpectations: Mark the new imported ref-tests that fail and a test that crashes.
1717
1718 2019-10-10  Myles C. Maxfield  <mmaxfield@apple.com>
1719
1720         [Cocoa] font-family:system-ui on Chinese systems don't get Chinese quote marks
1721         https://bugs.webkit.org/show_bug.cgi?id=202778
1722         <rdar://problem/52594556>
1723
1724         Reviewed by Simon Fraser.
1725
1726         * platform/mac/TestExpectations:
1727
1728 2019-10-10  Chris Dumez  <cdumez@apple.com>
1729
1730         Unreviewed, tweak test to address flakiness on WK1.
1731
1732         * media/media-source/media-source-page-cache-expected.txt:
1733         * media/media-source/media-source-page-cache.html:
1734
1735 2019-10-10  Youenn Fablet  <youenn@apple.com>
1736
1737         Do not timeout a load intercepted by service worker that receives a response
1738         https://bugs.webkit.org/show_bug.cgi?id=202787
1739
1740         Reviewed by Chris Dumez.
1741
1742         * http/wpt/service-workers/fetch-timeout-worker.js: Added.
1743         (async.doTest):
1744         * http/wpt/service-workers/fetch-timeout.https-expected.txt: Added.
1745         * http/wpt/service-workers/fetch-timeout.https.html: Added.
1746         * http/wpt/service-workers/resources/lengthy-pass.py:
1747         (main):
1748
1749 2019-10-10  Myles C. Maxfield  <mmaxfield@apple.com>
1750
1751         FontFaceSet's ready promise is not always resolved
1752         https://bugs.webkit.org/show_bug.cgi?id=202548
1753
1754         Reviewed by Youenn Fablet.
1755
1756         * fast/text/fontfaceset-ready-not-fired-expected.txt: Added.
1757         * fast/text/fontfaceset-ready-not-fired.html: Added.
1758         * fast/text/fontfaceset-ready-not-fired-2-expected.txt: Added.
1759         * fast/text/fontfaceset-ready-not-fired-2.html: Added.
1760
1761 2019-10-10  Wenson Hsieh  <wenson_hsieh@apple.com>
1762
1763         pointerevents/ios/touch-action-pinch-zoom-allows-zooming.html is failing after r250361
1764         https://bugs.webkit.org/show_bug.cgi?id=202777
1765         <rdar://problem/56128421>
1766
1767         Reviewed by Tim Horton.
1768
1769         This layout test is intended to verify that pinching to zoom out in an element with `touch-action: pinch-zoom`
1770         will cause the page scale to change (i.e. decrease). This test works on iPhone, where the initial-scale meta
1771         viewport property is respected. However, a desktop viewport configuration is used by default on iPad, which
1772         ignores the initial-scale property by default.
1773
1774         Prior to r250361, we would always try and scale down content to fit within the viewport, such that the initial
1775         scale in this layout test on iPad would be approximately 0.384; this meant that the test would pass, regardless
1776         of whether it even attempted to pinch zoom at all, since it would always pass the `pageScale != 1` assertion.
1777
1778         However, after r250361, we now no longer attempt to scale down to fit the viewport when the content width is
1779         excessively large (the maximum width breakpoint is 1920px), which makes the initial scale 1. This layout test
1780         makes the content width 2000px, which exceeds this maximum width limit and causes us to avoid shrinking to fit.
1781         This means that we'll end up failing the pageScale assertion and timing out as a result.
1782
1783         To fix this, simply mark the test as `contentMode=mobile`, such that even on iPad, we'll respect the
1784         initial-scale meta viewport property, and the test will actually pinch to zoom the page out as expected.
1785
1786         * pointerevents/ios/touch-action-pinch-zoom-allows-zooming.html:
1787
1788 2019-10-10  Wenson Hsieh  <wenson_hsieh@apple.com>
1789
1790         Support programmatic paste requests on macOS
1791         https://bugs.webkit.org/show_bug.cgi?id=202773
1792         <rdar://problem/48957166>
1793
1794         Reviewed by Tim Horton.
1795
1796         Refactors existing layout tests for programmatic paste requests on iOS, such that they now run in both iOS and
1797         macOS. See below for more details.
1798
1799         * TestExpectations:
1800         * editing/pasteboard/dom-paste/dom-paste-confirmation-expected.txt: Renamed from LayoutTests/editing/pasteboard/ios/dom-paste-confirmation-expected.txt.
1801         * editing/pasteboard/dom-paste/dom-paste-confirmation.html: Renamed from LayoutTests/editing/pasteboard/ios/dom-paste-confirmation.html.
1802         * editing/pasteboard/dom-paste/dom-paste-consecutive-confirmations-expected.txt: Added.
1803         * editing/pasteboard/dom-paste/dom-paste-consecutive-confirmations.html: Renamed from LayoutTests/editing/pasteboard/ios/dom-paste-consecutive-confirmations.html.
1804         * editing/pasteboard/dom-paste/dom-paste-rejection-expected.txt: Added.
1805         * editing/pasteboard/dom-paste/dom-paste-rejection.html: Renamed from LayoutTests/editing/pasteboard/ios/dom-paste-rejection.html.
1806         * editing/pasteboard/dom-paste/dom-paste-requires-user-gesture-expected.txt: Renamed from LayoutTests/editing/pasteboard/ios/dom-paste-requires-user-gesture-expected.txt.
1807         * editing/pasteboard/dom-paste/dom-paste-requires-user-gesture.html: Renamed from LayoutTests/editing/pasteboard/ios/dom-paste-requires-user-gesture.html.
1808         * editing/pasteboard/dom-paste/dom-paste-same-origin-expected.txt: Renamed from LayoutTests/editing/pasteboard/ios/dom-paste-same-origin-expected.txt.
1809         * editing/pasteboard/dom-paste/dom-paste-same-origin.html: Renamed from LayoutTests/editing/pasteboard/ios/dom-paste-same-origin.html.
1810         * editing/pasteboard/dom-paste/resources/dom-paste-helper.js: Added.
1811
1812         Re-word some of these layout tests' descriptions to reference "clicks or taps", instead of just "taps", and also
1813         replace mentions of "callout bars" with platform-agnostic "menus".
1814
1815         (return.new.Promise.):
1816         (async._waitForOrTriggerPasteMenu):
1817         (async.triggerPasteMenuAfterActivatingLocation):
1818         (async.waitForPasteMenu):
1819
1820         Refactor these testing helpers to support both iOS and macOS:
1821
1822         (1) Replace code that finds callout bar menu items and synthesizes taps on iOS, with code that instead chooses a
1823         menu item with the given title (in this case, "Paste"). This is supported on both macOS and iOS, where we invoke
1824         the NSMenuItem's action and dismiss the menu item, and find and tap the callout bar menu item, respectively.
1825
1826         (2) Implement UIScriptController::activateAtPoint, which is used as a cross-platform way of activating an
1827         element at the given point. On iOS, this taps the given location, and on macOS, this moves the mouse to that
1828         location and then simulates a click (mouse down and mouse up). In a subsequent patch, we should additionally use
1829         this in the implementation of UIHelper.activateAt().
1830
1831         * editing/pasteboard/ios/dom-paste-consecutive-confirmations-expected.txt: Removed.
1832         * editing/pasteboard/ios/dom-paste-rejection-expected.txt: Removed.
1833         * editing/pasteboard/ios/resources/dom-paste-helper.js: Removed.
1834         * platform/ios-wk2/TestExpectations:
1835         * platform/ios/TestExpectations:
1836         * platform/mac-wk2/TestExpectations:
1837         * platform/win/TestExpectations:
1838         * platform/wincairo/TestExpectations:
1839
1840         Skip editing/pasteboard/dom-paste everywhere for now, except for macOS and iOS WebKit2.
1841
1842 2019-10-10  Chris Lord  <clord@igalia.com>
1843
1844         Flaky Test: imported/w3c/web-platform-tests/offscreen-canvas/drawing-images-to-the-canvas/2d.drawImage.floatsource.html
1845         https://bugs.webkit.org/show_bug.cgi?id=202782
1846
1847         Reviewed by Youenn Fablet.
1848
1849         Some OffscreenCanvas tests are failing due to unhandled Promise
1850         rejection from unimplemented API. Mark this, and other tests that are
1851         affected with DumpJSConsoleLogInStdErr.
1852
1853         * TestExpectations:
1854
1855 2019-10-10  Chris Dumez  <cdumez@apple.com>
1856
1857         DOMCacheStorage should not prevent pages from entering the back/forward cache
1858         https://bugs.webkit.org/show_bug.cgi?id=202608
1859
1860         Reviewed by Youenn Fablet.
1861
1862         Add layout test coverage.
1863
1864         * http/tests/navigation/page-cache-domcachestorage-pending-promise-expected.txt: Added.
1865         * http/tests/navigation/page-cache-domcachestorage-pending-promise.html: Added.
1866
1867 2019-10-10  Miguel Gomez  <magomez@igalia.com>
1868
1869         Unreviewed GTK and WPE gardening after r250954.
1870
1871         * platform/gtk/TestExpectations:
1872         * platform/wpe/TestExpectations:
1873
1874 2019-10-09  Yury Semikhatsky  <yurys@chromium.org>
1875
1876         LayoutTest inspector/dom-debugger/node-removed.html is flaky
1877         https://bugs.webkit.org/show_bug.cgi?id=154610
1878         <rdar://problem/24801209>
1879
1880         Reviewed by Matt Baker.
1881
1882         Reenabled the test on all platforms.
1883
1884         The test was missing call to Debugger.setBreakpointsActive. Apparently at the time
1885         it was written calling Debugger.setBreakpoint automatically activated breakpoint but
1886         the behavior changed over time. I also removed some unnecessary code.
1887
1888         * inspector/dom-debugger/node-removed-expected.txt:
1889         * inspector/dom-debugger/node-removed.html:
1890         * platform/gtk/TestExpectations:
1891         * platform/mac/TestExpectations:
1892
1893 2019-10-09  Myles C. Maxfield  <mmaxfield@apple.com>
1894
1895         Make fast/text/complex-initial-advance.html more robust
1896         https://bugs.webkit.org/show_bug.cgi?id=202708
1897
1898         Unreviewed follow up to r250884.
1899
1900         Makes test robust enough to pass on Mojave.
1901
1902         * fast/text/complex-initial-advance-expected.html:
1903         * fast/text/complex-initial-advance.html:
1904
1905 2019-10-09  John Wilander  <wilander@apple.com>
1906
1907         IsLoggedIn: Add as experimental feature
1908         https://bugs.webkit.org/show_bug.cgi?id=202707
1909         <rdar://problem/56095064>
1910
1911         Reviewed by Brent Fulgham and Chris Dumez.
1912
1913         IsLoggedIn was proposed to the WebAppSec WG at TPAC 2019.
1914         So far there is only an explainer posted to the mailing list:
1915         https://lists.w3.org/Archives/Public/public-webappsec/2019Sep/0004.html
1916
1917         * http/tests/is-logged-in/available-in-secure-contexts.https-expected.txt: Added.
1918         * http/tests/is-logged-in/available-in-secure-contexts.https.html: Added.
1919         * http/tests/is-logged-in/unavailable-in-insecure-contexts-expected.txt: Added.
1920         * http/tests/is-logged-in/unavailable-in-insecure-contexts.html: Added.
1921         * platform/ios-device-wk1/TestExpectations:
1922         * platform/ios-simulator-wk1/TestExpectations:
1923         * platform/ios-wk1/TestExpectations:
1924         * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt:
1925         * platform/mac-wk1/TestExpectations:
1926         * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt:
1927         * platform/wincairo-wk1/TestExpectations:
1928
1929 2019-10-09  Zalan Bujtas  <zalan@apple.com>
1930
1931         [iOS] LayoutTest fast/events/touch/ios/double-tap-for-double-click2.html is timing out
1932         https://bugs.webkit.org/show_bug.cgi?id=202765
1933         <rdar://problem/56123067>
1934
1935         Reviewed by Wenson Hsieh.
1936
1937         Currently when a dblclick handler is dynamically registered while executing the click handler, we don't always pick up the newly added handler (see webkit.org/b/202766).
1938         Modify the test so that it passes consistently (and still preserve the dynamic behavior).
1939
1940         * fast/events/touch/ios/double-tap-for-double-click2.html:
1941
1942 2019-10-09  Jiewen Tan  <jiewen_tan@apple.com>
1943
1944         [WebAuthn] Move the mock testing entrance to Internals
1945         https://bugs.webkit.org/show_bug.cgi?id=202560
1946         <rdar://problem/55973793>
1947
1948         Reviewed by Chris Dumez.
1949
1950         * http/wpt/webauthn/ctap-hid-failure.https.html:
1951         * http/wpt/webauthn/ctap-hid-success.https.html:
1952         * http/wpt/webauthn/ctap-nfc-failure.https.html:
1953         * http/wpt/webauthn/idl.https.html:
1954         * http/wpt/webauthn/public-key-credential-create-failure-hid-silent.https.html:
1955         * http/wpt/webauthn/public-key-credential-create-failure-hid.https.html:
1956         * http/wpt/webauthn/public-key-credential-create-failure-local-silent.https.html:
1957         * http/wpt/webauthn/public-key-credential-create-failure-local.https.html:
1958         * http/wpt/webauthn/public-key-credential-create-failure-nfc.https.html:
1959         * http/wpt/webauthn/public-key-credential-create-failure-u2f-silent.https.html:
1960         * http/wpt/webauthn/public-key-credential-create-failure-u2f.https.html:
1961         * http/wpt/webauthn/public-key-credential-create-failure.https.html:
1962         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html:
1963         * http/wpt/webauthn/public-key-credential-create-success-local.https.html:
1964         * http/wpt/webauthn/public-key-credential-create-success-nfc.https.html:
1965         * http/wpt/webauthn/public-key-credential-create-success-u2f.https.html:
1966         * http/wpt/webauthn/public-key-credential-get-failure-hid-silent.https.html:
1967         * http/wpt/webauthn/public-key-credential-get-failure-hid.https.html:
1968         * http/wpt/webauthn/public-key-credential-get-failure-local-silent.https.html:
1969         * http/wpt/webauthn/public-key-credential-get-failure-local.https.html:
1970         * http/wpt/webauthn/public-key-credential-get-failure-nfc.https.html:
1971         * http/wpt/webauthn/public-key-credential-get-failure-u2f-silent.https.html:
1972         * http/wpt/webauthn/public-key-credential-get-failure-u2f.https.html:
1973         * http/wpt/webauthn/public-key-credential-get-failure.https.html:
1974         * http/wpt/webauthn/public-key-credential-get-success-hid.https.html:
1975         * http/wpt/webauthn/public-key-credential-get-success-local.https.html:
1976         * http/wpt/webauthn/public-key-credential-get-success-nfc.https.html:
1977         * http/wpt/webauthn/public-key-credential-get-success-u2f.https.html:
1978         * http/wpt/webauthn/resources/public-key-credential-ip-address.https.html:
1979
1980 2019-10-09  Dean Jackson  <dino@apple.com>
1981
1982         Layout test fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html is a flaky failure on Internal iOS testers
1983         https://bugs.webkit.org/show_bug.cgi?id=202770
1984         <rdar://51715312>
1985
1986         Reviewed by Megan Gardner.
1987
1988         Remove the touchmove listeners after firing once, because we can't
1989         tell exactly how many we'll get for a drag.
1990
1991         * fast/events/touch/ios/passive-by-default-overridden-on-document-and-window.html:
1992
1993 2019-10-09  Sihui Liu  <sihui_liu@apple.com>
1994
1995         IndexedDB: include size of index records in size estimate of put/add task
1996         https://bugs.webkit.org/show_bug.cgi?id=202483
1997
1998         Reviewed by Geoffrey Garen.
1999
2000         * platform/mac-wk1/TestExpectations:
2001         * platform/win/TestExpectations:
2002         * platform/wincairo/TestExpectations:
2003         * storage/indexeddb/request-size-estimate-expected.txt: Added.
2004         * storage/indexeddb/request-size-estimate.html: Added.
2005         * storage/indexeddb/resources/request-size-estimate.js: Added.
2006         (randomKey):
2007         (randomPropertyValue):
2008         (createObject):
2009         (prepareDatabase):
2010         (onOpenSuccess):
2011
2012 2019-10-09  Chris Dumez  <cdumez@apple.com>
2013
2014         Youtube.com is unable to enter the back/forward cache on macOS
2015         https://bugs.webkit.org/show_bug.cgi?id=202754
2016         <rdar://problem/56117666>
2017
2018         Reviewed by Eric Carlson.
2019
2020         Add layout test coverage.
2021
2022         * media/media-source/media-source-page-cache-expected.txt: Added.
2023         * media/media-source/media-source-page-cache.html: Added.
2024
2025 2019-10-09  Truitt Savell  <tsavell@apple.com>
2026
2027         Mark crypto/workers/subtle/aes-indexeddb.html as a timeout on Mojave Release wk2
2028         https://bugs.webkit.org/show_bug.cgi?id=202500
2029
2030         Unreviewed test gardening.
2031
2032         * platform/mac-wk2/TestExpectations:
2033
2034 2019-10-09  Zalan Bujtas  <zalan@apple.com>
2035
2036         RunResolver::rangeForRendererWithOffsets should check for range end
2037         https://bugs.webkit.org/show_bug.cgi?id=202761
2038         <rdar://problem/55917924>
2039
2040         Reviewed by Antti Koivisto.
2041
2042         * fast/text/simple-line-layout-range-check-end-expected.txt: Added.
2043         * fast/text/simple-line-layout-range-check-end.html: Added.
2044
2045 2019-10-09  Antoine Quint  <graouts@apple.com>
2046
2047         [iOS] Layout Test fast/events/touch/ios/touchstart-and-touchend-outside-touchmove-target.html is Timing Out
2048         https://bugs.webkit.org/show_bug.cgi?id=202759
2049         <rdar://problem/56122388>
2050
2051         Reviewed by Dean Jackson.
2052
2053         This test would be run after fast/events/touch/ios/touchmove-cancelable-after-touchstart.html which does not
2054         cleanly finish its simulated touch gesture with a touchend. Now that it does both tests can run one after the
2055         other reliably.
2056
2057         * fast/events/touch/ios/touchmove-cancelable-after-touchstart.html:
2058
2059 2019-10-09  Alicia Boya García  <aboya@igalia.com>
2060
2061         [MSE][GStreamer] Fix video sometimes not appearing
2062         https://bugs.webkit.org/show_bug.cgi?id=201401
2063
2064         Reviewed by Xabier Rodriguez-Calvar.
2065
2066         Added an exact expectation picture to avoid errors in the test runner
2067         (only a fuzzy match is expected, and different platforms render video
2068         with slightly different colors).
2069
2070         * platform/mac/imported/w3c/web-platform-tests/media-source/mediasource-video-is-visible-expected.html: Added.
2071         * platform/mac/TestExpectations:
2072
2073 2019-10-09  Dean Jackson  <dino@apple.com>
2074
2075         REGRESSION (r250755): fast/events/ios/ipad/fast-click-not-always.html is Failing
2076         https://bugs.webkit.org/show_bug.cgi?id=202760
2077         <rdar://56079585>
2078
2079         Reviewed by Antoine Quint.
2080
2081         Update the preference name.
2082
2083         * fast/events/ios/ipad/fast-click-not-always.html:
2084
2085 2019-10-09  Alicia Boya García  <aboya@igalia.com>
2086
2087         Unreviewed minor WinCairo test gardening
2088         https://bugs.webkit.org/show_bug.cgi?id=187762
2089
2090         * platform/win/TestExpectations:
2091         * platform/wincairo/TestExpectations:
2092
2093 2019-10-09  Eric Carlson  <eric.carlson@apple.com>
2094
2095         [ Mac WK2 ] Layout Test fast/mediastream/MediaStreamTrack-getSettings.html is a flaky failure
2096         https://bugs.webkit.org/show_bug.cgi?id=196400
2097         <rdar://problem/49567579>
2098
2099         Reviewed by Youenn Fablet.
2100
2101         * fast/mediastream/MediaStreamTrack-getSettings.html: Cleanup test.
2102         * platform/mac-wk2/TestExpectations: Unskip test.
2103
2104 2019-10-09  Dean Jackson  <dino@apple.com>
2105
2106         Layout Test webgl/2.0.0/conformance/glsl/misc/shaders-with-invariance.html is failing since ANGLE roll
2107         https://bugs.webkit.org/show_bug.cgi?id=201784
2108         <rdar://problem/55358159>
2109
2110         Reviewed by Antoine Quint.
2111
2112         This test needed updating.
2113
2114         * platform/ios/TestExpectations:
2115         * webgl/2.0.0/resources/webgl_test_files/conformance/glsl/misc/shaders-with-invariance.html:
2116
2117 2019-10-09  Alicia Boya García  <aboya@igalia.com>
2118
2119         [GTK] Unreviewed test gardening
2120         https://bugs.webkit.org/show_bug.cgi?id=202751
2121
2122         * TestExpectations:
2123         * platform/gtk/TestExpectations:
2124         * platform/gtk/accessibility/gtk/xml-roles-exposed-expected.txt: Added.
2125         * platform/gtk/accessibility/roles-exposed-expected.txt:
2126         * platform/gtk/fast/tokenizer/script_extra_close-expected.txt:
2127         * platform/wpe/TestExpectations:
2128
2129 2019-10-09  Miguel Gomez  <magomez@igalia.com>
2130
2131         Unreviewed WPE gardening after r250889.
2132
2133         * platform/wpe/TestExpectations:
2134         * platform/wpe/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
2135         * platform/wpe/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt:
2136         * platform/wpe/imported/w3c/web-platform-tests/html/dom/reflection-text-expected.txt:
2137
2138 2019-10-09  youenn fablet  <youenn@apple.com>
2139
2140         Remove testRunner.setWebRTCUnifiedPlanEnabled
2141         https://bugs.webkit.org/show_bug.cgi?id=202700
2142
2143         Reviewed by Eric Carlson.
2144
2145         Remove legacy tests and migrate simulcast test to unified plan.
2146
2147         * fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html:
2148         * platform/gtk/TestExpectations:
2149         * webrtc/simulcast-h264.html:
2150         * webrtc/video-addLegacyTransceiver.html: Removed.
2151         * webrtc/video-with-receiver.html: Removed.
2152
2153 2019-10-09  Antti Koivisto  <antti@apple.com>
2154
2155         [CSS Shadow Parts] Allow exporting single part with multiple names using exportparts attribute
2156         https://bugs.webkit.org/show_bug.cgi?id=202719
2157
2158         Reviewed by Ryosuke Niwa.
2159
2160         * fast/css/shadow-parts/exportparts-syntax-expected.txt:
2161
2162 2019-10-08  Jiewen Tan  <jiewen_tan@apple.com>
2163
2164         Partially undo r250811
2165         https://bugs.webkit.org/show_bug.cgi?id=202715
2166         <rdar://problem/56084287>
2167
2168         Reviewed by Chris Dumez.
2169
2170         Some rebaselines.
2171
2172         * crypto/workers/subtle/ec-postMessage-worker-expected.txt:
2173         * crypto/workers/subtle/hrsa-postMessage-worker-expected.txt:
2174         * crypto/workers/subtle/rsa-postMessage-worker-expected.txt:
2175
2176 2019-10-08  Justin Fan  <justin_fan@apple.com>
2177
2178         WebGPU tests are skipped on iOS
2179         https://bugs.webkit.org/show_bug.cgi?id=192889
2180
2181         Unreviewed test expectation updates.
2182
2183         Unskip WebGPU tests on iOS devices while skipping on simulator.
2184
2185         * platform/ios-simulator/TestExpectations:
2186         * platform/ios/TestExpectations:
2187
2188 2019-10-08  Myles C. Maxfield  <mmaxfield@apple.com>
2189
2190         Make fast/text/complex-initial-advance.html more robust
2191         https://bugs.webkit.org/show_bug.cgi?id=202708
2192         <rdar://problem/49539493>
2193
2194         Reviewed by Tim Horton.
2195
2196         We are hitting floating point precision issues. Fortunately, the part of the text that is
2197         hitting these issues isn't actually necessary for the test.
2198
2199         * fast/text/complex-initial-advance-expected.html:
2200         * fast/text/complex-initial-advance.html:
2201         * platform/mac/TestExpectations:
2202
2203 2019-10-08  Devin Rousso  <drousso@apple.com>
2204
2205         Web Inspector: Canvas: modifications to shader modules can be shared between vertex/fragment shaders
2206         https://bugs.webkit.org/show_bug.cgi?id=202031
2207
2208         Reviewed by Dean Jackson.
2209
2210         * inspector/canvas/updateShader-webgpu-sharedVertexFragment.html: Added.
2211         * inspector/canvas/updateShader-webgpu-sharedVertexFragment-expected.txt: Added.
2212
2213         * platform/gtk/TestExpectations:
2214         * platform/ios/TestExpectations:
2215         * platform/mac-wk1/TestExpectations:
2216         * platform/mac/TestExpectations:
2217         * platform/win/TestExpectations:
2218         * platform/wincairo/TestExpectations:
2219         * platform/wpe/TestExpectations:
2220
2221 2019-10-08  Yury Semikhatsky  <yurys@chromium.org>
2222
2223         Web Inspector: inspector/layers/layers-for-node.html and  inspector/timeline/line-column.html are flaky
2224         https://bugs.webkit.org/show_bug.cgi?id=202649
2225
2226         Reviewed by Devin Rousso.
2227
2228         Unflake a couple of inspector protocol tests. r250655 replaced Timer-based queue
2229         with RunLoop-based one for inspector message dispatching. The tests apparently relied
2230         on the timing of the message delivery and had been less flaky before. Updated the tests
2231         to wait for explicit signals rather than relying on event timing.
2232
2233         * inspector/layers/layers-for-node-expected.txt:
2234         * inspector/layers/layers-for-node.html: Updated the test to wait for the first
2235         LayerTree.layerTreeDidChange event before requesting initial layer tree.
2236
2237         Also after adding a node wait for next RAF to avoid flakiness.
2238
2239         * inspector/timeline/line-column-expected.txt:
2240         * inspector/timeline/line-column.html: There a style recalc event
2241         which appears intermittently in the recorded profile making the test
2242         flaky. To avoid that dump only events that are always present.
2243
2244 2019-10-08  Kate Cheney  <katherine_cheney@apple.com>
2245
2246         Implement Telemetry and Dumping Routines for SQLite backend (195088)
2247         https://bugs.webkit.org/show_bug.cgi?id=195088
2248         <rdar://problem/54213407>
2249
2250         Reviewed by John Wilander.
2251
2252         Updated the current testing for telemetry which only tested 3
2253         statistics. With this patch it now tests 10 statistics.
2254         * http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database-expected.txt: Added.
2255         * http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database.html: Added.
2256         * http/tests/resourceLoadStatistics/telemetry-generation-basic-functionality-database-expected.txt: Added.
2257         * http/tests/resourceLoadStatistics/telemetry-generation-basic-functionality-database.html: Added.
2258
2259 2019-10-08  Antti Koivisto  <antti@apple.com>
2260
2261         [CSS Shadow Parts] Add test for exportparts list syntax
2262         https://bugs.webkit.org/show_bug.cgi?id=202695
2263
2264         Reviewed by Ryosuke Niwa.
2265
2266         The test shows that we don't handle exporting same part under multiple names correctly.
2267
2268         * fast/css/shadow-parts/exportparts-syntax-expected.txt: Added.
2269         * fast/css/shadow-parts/exportparts-syntax.html: Added.
2270
2271 2019-10-08  Antti Koivisto  <antti@apple.com>
2272
2273         [CSS Shadow Parts] Fix style invalidation with class selector and ::before and ::after
2274         https://bugs.webkit.org/show_bug.cgi?id=202694
2275
2276         Reviewed by Ryosuke Niwa.
2277
2278         * fast/css/shadow-parts/invalidation-class-before-after-expected.txt: Added.
2279         * fast/css/shadow-parts/invalidation-class-before-after.html: Added.
2280
2281 2019-10-08  youenn fablet  <youenn@apple.com>
2282
2283         MediaStreamTrack should be a PlatformMediaSessionClient instead of MediaStream
2284         https://bugs.webkit.org/show_bug.cgi?id=202631
2285
2286         Reviewed by Eric Carlson.
2287
2288         * fast/mediastream/audio-track-enabled.html:
2289
2290 2019-10-08  Brady Eidson  <beidson@apple.com>
2291
2292         Service Worker Fetch events should time out.
2293         https://bugs.webkit.org/show_bug.cgi?id=202188
2294
2295         Reviewed by Alex Christensen.
2296
2297         * http/tests/workers/service/basic-timeout.https-expected.txt: Added.
2298         * http/tests/workers/service/basic-timeout.https.html: Added.
2299         * http/tests/workers/service/resources/basic-timeout-worker.js: Added.
2300         (event.event.request.url.indexOf):
2301         * http/tests/workers/service/resources/basic-timeout.js: Added.
2302         (async.test.finishThisTest):
2303         (async.test.try):
2304         (async.test.try.checkSuccessAgain):
2305         (async.test):
2306         * http/tests/workers/service/resources/succeed-fallback-check.php: Added.
2307         * http/tests/workers/service/resources/timeout-fallback.html: Added.
2308
2309 2019-10-08  Alexey Shvayka  <shvaikalesh@gmail.com>
2310
2311         Accept two values in the overflow shorthand
2312         https://bugs.webkit.org/show_bug.cgi?id=184691
2313
2314         Reviewed by Simon Fraser.
2315
2316         * fast/css/cssText-shorthand-expected.txt:
2317         * fast/css/getComputedStyle/getComputedStyle-overflow-expected.txt:
2318         * fast/css/getComputedStyle/getComputedStyle-overflow.html:
2319         * platform/ios/fast/css/invalidation-errors-2-expected.txt:
2320         * platform/ios/fast/css/invalidation-errors-expected.txt:
2321         * platform/mac/fast/css/invalidation-errors-2-expected.txt:
2322         * platform/mac/fast/css/invalidation-errors-expected.txt:
2323
2324 2019-10-08  Ali Juma  <ajuma@chromium.org>
2325
2326         Unreviewed test gardening
2327
2328         * TestExpectations:
2329
2330 2019-10-08  Jiewen Tan  <jiewen_tan@apple.com>
2331
2332         Unreviewed, test gardening
2333
2334         * TestExpectations:
2335         * platform/ios-simulator/TestExpectations:
2336
2337 2019-10-08  Antoine Quint  <graouts@apple.com>
2338
2339         fast/events/touch/ios/mouse-events-dispatch-with-touch.html is timing out on iOS
2340         https://bugs.webkit.org/show_bug.cgi?id=202688
2341         <rdar://problem/52700396>
2342
2343         Reviewed by Dean Jackson.
2344
2345         Since this test was originally added, the behavior of simulated mouse events changed to not dispatch any event when there is more than a
2346         single active touch on the screen. This test needs to be adapted to this new behavior.
2347
2348         * fast/events/touch/ios/mouse-events-dispatch-with-touch.html:
2349
2350 2019-10-08  Youenn Fablet  <youenn@apple.com>
2351
2352         Simplify data channel buffer amount low tests
2353         https://bugs.webkit.org/show_bug.cgi?id=202693
2354
2355         Reviewed by Eric Carlson.
2356
2357         Neither of these tests need to handle a remoteChannel.
2358         Remove the related code and remove variables that are also unneeded.
2359
2360         * webrtc/datachannel/bufferedAmountLowThreshold-default.html:
2361         * webrtc/datachannel/bufferedAmountLowThreshold.html:
2362
2363 2019-10-08  Wenson Hsieh  <wenson_hsieh@apple.com>
2364
2365         [Clipboard API] Introduce bindings for the async Clipboard API
2366         https://bugs.webkit.org/show_bug.cgi?id=202622
2367         <rdar://problem/56038126>
2368
2369         Reviewed by Ryosuke Niwa.
2370
2371         * editing/async-clipboard/clipboard-interfaces-expected.txt: Added.
2372         * editing/async-clipboard/clipboard-interfaces.html: Added.
2373
2374         Add a new test to sanity check the new clipboard API interfaces and interface extensions.
2375
2376         * editing/async-clipboard/clipboard-wrapper-stays-alive-expected.txt: Added.
2377         * editing/async-clipboard/clipboard-wrapper-stays-alive.html: Added.
2378
2379         Add a new test to make sure that the clipboard wrapper stays alive between GC passes, even when the clipboard's
2380         navigator is kept alive, independently of its window object.
2381
2382         * fast/dom/navigator-detached-no-crash-expected.txt:
2383         * platform/ios-wk1/TestExpectations:
2384         * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt:
2385         * platform/mac-wk1/TestExpectations:
2386         * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt:
2387         * platform/mac/fast/dom/navigator-detached-no-crash-expected.txt:
2388         * platform/win/fast/dom/navigator-detached-no-crash-expected.txt:
2389         * platform/wincairo/fast/dom/navigator-detached-no-crash-expected.txt:
2390
2391         Update an existing layout test to include "navigator.clipboard".
2392
2393 2019-10-08  Ali Juma  <ajuma@chromium.org>
2394
2395         Import autofocus Web Platform Tests
2396         https://bugs.webkit.org/show_bug.cgi?id=202641
2397
2398         Reviewed by Ryosuke Niwa.
2399
2400         * platform/ios-wk2/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering-expected.txt: Added.
2401         * platform/mac-wk1/imported/w3c/web-platform-tests/html/interaction/focus/the-autofocus-attribute/update-the-rendering-expected.txt: Added.
2402
2403 2019-10-08  Antti Koivisto  <antti@apple.com>
2404
2405         [CSS Shadow Parts] Implement style invalidation
2406         https://bugs.webkit.org/show_bug.cgi?id=202632
2407
2408         Reviewed by Ryosuke Niwa.
2409
2410         Add some tests to verify class mutations and combinators with ::part and exportpart.
2411
2412         * fast/css/shadow-parts/invalidation-class-descendant-combinator-expected.txt: Added.
2413         * fast/css/shadow-parts/invalidation-class-descendant-combinator-export-expected.txt: Added.
2414         * fast/css/shadow-parts/invalidation-class-descendant-combinator-export.html: Added.
2415         * fast/css/shadow-parts/invalidation-class-descendant-combinator.html: Added.
2416         * fast/css/shadow-parts/invalidation-class-sibling-combinator-expected.txt: Added.
2417         * fast/css/shadow-parts/invalidation-class-sibling-combinator-export-expected.txt: Added.
2418         * fast/css/shadow-parts/invalidation-class-sibling-combinator-export.html: Added.
2419         * fast/css/shadow-parts/invalidation-class-sibling-combinator.html: Added.
2420
2421 2019-10-08  Antti Koivisto  <antti@apple.com>
2422
2423         [CSS Shadow Parts] Internal shadow pseudo elements should work with ::part
2424         https://bugs.webkit.org/show_bug.cgi?id=202620
2425
2426         Reviewed by Ryosuke Niwa.
2427
2428         Note that imported/w3c/web-platform-tests/css/css-shadow-parts/interaction-with-pseudo-elements.html placeholder subtest still
2429         won't pass because we we don't support getComputedStyle for internal pseudo elements. Visually it now work fully.
2430
2431         * TestExpectations:
2432
2433         Unskip imported/w3c/web-platform-tests/css/css-shadow-parts/interaction-with-placeholder.html
2434
2435 2019-10-07  Ryosuke Niwa  <rniwa@webkit.org>
2436
2437         Add IDL for requestIdleCallback
2438         https://bugs.webkit.org/show_bug.cgi?id=202653
2439
2440         Reviewed by Geoffrey Garen.
2441
2442         Added basic tests for validating requestIdleCallback is enabled or disabled, and its identifier starts at 1 in each document.
2443
2444         * requestidlecallback: Added.
2445         * requestidlecallback/requestidlecallback-enabled-expected.txt: Added.
2446         * requestidlecallback/requestidlecallback-enabled.html: Added.
2447         * requestidlecallback/requestidlecallback-id-expected.txt: Added.
2448         * requestidlecallback/requestidlecallback-id.html: Added.
2449         * requestidlecallback/requestidlecallback-not-enabled-expected.txt: Added.
2450         * requestidlecallback/requestidlecallback-not-enabled.html: Added.
2451
2452 2019-10-07  Jiewen Tan  <jiewen_tan@apple.com>
2453
2454         Only wrapping CryptoKeys for IDB during serialization
2455         https://bugs.webkit.org/show_bug.cgi?id=202500
2456         <rdar://problem/52445927>
2457
2458         Reviewed by Chris Dumez.
2459
2460         Adds a new test aes-indexeddb.html to do idb in workers and makes
2461         other tests more deterministic.
2462
2463         * crypto/workers/subtle/aes-indexeddb-expected.txt: Added.
2464         * crypto/workers/subtle/aes-indexeddb.html: Added.
2465         * crypto/workers/subtle/ec-postMessage-worker-expected.txt:
2466         * crypto/workers/subtle/ec-postMessage-worker.html:
2467         * crypto/workers/subtle/hrsa-postMessage-worker-expected.txt:
2468         * crypto/workers/subtle/hrsa-postMessage-worker.html:
2469         * crypto/workers/subtle/resources/aes-indexeddb.js: Added.
2470         * crypto/workers/subtle/rsa-postMessage-worker-expected.txt:
2471         * crypto/workers/subtle/rsa-postMessage-worker.html:
2472
2473 2019-10-07  Kate Cheney  <katherine_cheney@apple.com>
2474
2475         Domain relationships in the ITP Database should be inserted in a single query and ignore repeat insert attempts. (202604)
2476         https://bugs.webkit.org/show_bug.cgi?id=202604
2477         <rdar://problem/55995831>
2478
2479         Reviewed by Chris Dumez.
2480
2481         Edited the merge-statistics tests to also test the list-insertion
2482         change made in this patch. Also added a new test to ensure repeat
2483         inserts only result in one entry in the database.
2484
2485         * http/tests/resourceLoadStatistics/many-inserts-only-insert-once-expected.txt: Added.
2486         * http/tests/resourceLoadStatistics/many-inserts-only-insert-once.html: Added.
2487         * http/tests/resourceLoadStatistics/merge-statistic-does-not-overwrite-database.html:
2488         * http/tests/resourceLoadStatistics/merge-statistic-does-overwrite-database-expected.txt:
2489         * http/tests/resourceLoadStatistics/merge-statistic-does-overwrite-database.html:
2490         * http/tests/resourceLoadStatistics/merge-statistic-does-partially-overwrite-database.html:
2491
2492 2019-10-07  Sihui Liu  <sihui_liu@apple.com>
2493
2494         ASSERTION FAILED: m_transactionOperationsInProgressQueue.first() == &operation in IDBTransaction::operationCompletedOnClient
2495         https://bugs.webkit.org/show_bug.cgi?id=202552
2496
2497         Reviewed by Alex Christensen.
2498
2499         * storage/indexeddb/resources/storage-limit.js:
2500         (onOpenSuccess.request.onerror):
2501         * storage/indexeddb/storage-limit-expected.txt:
2502
2503 2019-10-07  Ryosuke Niwa  <rniwa@webkit.org>
2504
2505         focus pseudo class should match a shadow host whose shadow tree contains the focused element
2506         https://bugs.webkit.org/show_bug.cgi?id=202432
2507
2508         Reviewed by Antti Koivisto.
2509
2510         Added W3C style testharness tests and ref tests.
2511
2512         * fast/shadow-dom/direct-focus-pseudo-does-not-match-in-author-stylesheet-expected.txt: Added.
2513         * fast/shadow-dom/direct-focus-pseudo-does-not-match-in-author-stylesheet.html: Added.
2514         * fast/shadow-dom/focus-pseudo-matches-on-shadow-host-expected.txt: Added.
2515         * fast/shadow-dom/focus-pseudo-matches-on-shadow-host.html: Added.
2516         * fast/shadow-dom/focus-pseudo-on-shadow-host-1-expected.html: Added.
2517         * fast/shadow-dom/focus-pseudo-on-shadow-host-1.html: Added.
2518         * fast/shadow-dom/focus-pseudo-on-shadow-host-2-expected.html: Added.
2519         * fast/shadow-dom/focus-pseudo-on-shadow-host-2.html: Added.
2520         * fast/shadow-dom/focus-pseudo-on-shadow-host-3-expected.html: Added.
2521         * fast/shadow-dom/focus-pseudo-on-shadow-host-3.html: Added.
2522
2523 2019-10-07  Chris Dumez  <cdumez@apple.com>
2524
2525         DOMCache should not prevent pages from entering the back/forward cache
2526         https://bugs.webkit.org/show_bug.cgi?id=202590
2527
2528         Reviewed by Youenn Fablet.
2529
2530         Add layout test coverage.
2531
2532         * TestExpectations:
2533         * http/tests/navigation/page-cache-domcache-pending-promise-expected.txt: Added.
2534         * http/tests/navigation/page-cache-domcache-pending-promise.html: Added.
2535
2536 2019-10-07  Alexey Shvayka  <shvaikalesh@gmail.com>
2537
2538         Sync web-platform-tests/css/css-overflow from upstream
2539         https://bugs.webkit.org/show_bug.cgi?id=202635
2540
2541         Reviewed by Youenn Fablet.
2542
2543         Sync web-platform-tests/css/css-overflow from upstream 819a234d3dd3.
2544
2545         * TestExpectations:
2546
2547 2019-10-07  Chris Dumez  <cdumez@apple.com>
2548
2549         PendingImageBitmap should not prevent entering the back/forward cache
2550         https://bugs.webkit.org/show_bug.cgi?id=202585
2551
2552         Reviewed by Tim Horton.
2553
2554         Add layout test coverage.
2555
2556         * TestExpectations:
2557         * fast/history/page-cache-createImageBitmap-expected.txt: Added.
2558         * fast/history/page-cache-createImageBitmap.html: Added.
2559
2560 2019-10-07  Antoine Quint  <graouts@apple.com>
2561
2562         [macOS WK2 Debug ] Flaky Test: animations/play-state-in-shorthand.html
2563         https://bugs.webkit.org/show_bug.cgi?id=192501
2564
2565         Reviewed by Simon Fraser.
2566
2567         This test used to rely on timers to check the computed style at various animation times and also to check the "animation-play-state"
2568         to "paused" via the "animation" shorthand CSS property. This was flaky by design since timers could not fire with high enough fidelity
2569         to ensure the animation time matched the expectation. With the availability of the Web Animations API, we can simply use the "playState"
2570         property on the Animation object reflecting the CSS animation to check that the change is accounted for.
2571
2572         * animations/play-state-in-shorthand-expected.txt:
2573         * animations/play-state-in-shorthand.html:
2574         * platform/ios-simulator-wk2/TestExpectations:
2575         * platform/mac/TestExpectations:
2576
2577 2019-10-07  Dirk Schulze  <krit@webkit.org>
2578
2579         clip-path: <geometry-box> mapping incorrect
2580         https://bugs.webkit.org/show_bug.cgi?id=202075
2581
2582         Reviewed by Simon Fraser.
2583
2584         For HTML elements:
2585         - stroke-box, view-box consistently compute to border-box
2586         - fill-box computes to content-box
2587
2588         * css3/masking/clip-path-border-radius-fill-box-001-expected.html: Added.
2589         * css3/masking/clip-path-border-radius-fill-box-001.html: Added.
2590         * css3/masking/clip-path-border-radius-stroke-box-000-expected.html: Added.
2591         * css3/masking/clip-path-border-radius-stroke-box-000.html: Added.
2592         * css3/masking/clip-path-border-radius-view-box-000-expected.html: Added.
2593         * css3/masking/clip-path-border-radius-view-box-000.html: Added.
2594
2595 2019-10-07  Chris Lord  <clord@igalia.com>
2596
2597         Import OffscreenCanvas Web Platform Tests
2598         https://bugs.webkit.org/show_bug.cgi?id=202513
2599
2600         Reviewed by Žan Doberšek.
2601
2602         * TestExpectations:
2603
2604 2019-10-06  Ryosuke Niwa  <rniwa@webkit.org>
2605
2606         attachShadow should support attaching a shadow root to a main element
2607         https://bugs.webkit.org/show_bug.cgi?id=197726
2608
2609         Reviewed by Antti Koivisto.
2610
2611         Added a test for attachShadow.
2612
2613         * fast/shadow-dom/attach-shadow-to-elements-expected.txt: Added.
2614         * fast/shadow-dom/attach-shadow-to-elements.html: Added.
2615
2616 2019-10-04  Chris Dumez  <cdumez@apple.com>
2617
2618         Allow pages using EventSource to enter the back/forward cache
2619         https://bugs.webkit.org/show_bug.cgi?id=202370
2620         <rdar://problem/55853142>
2621
2622         Reviewed by Geoffrey Garen.
2623
2624         Add layout test coverage.
2625
2626         * http/tests/eventsource/eventsource-page-cache-connected-expected.txt: Added.
2627         * http/tests/eventsource/eventsource-page-cache-connected.html: Added.
2628         * http/tests/eventsource/eventsource-page-cache-connecting-expected.txt: Added.
2629         * http/tests/eventsource/eventsource-page-cache-connecting.html: Added.
2630         * http/tests/eventsource/resources/infinite-event-stream.php: Added.
2631
2632 2019-10-04  Chris Dumez  <cdumez@apple.com>
2633
2634         ServiceWorkerContainer should never prevent a page from entering the back/forward cache
2635         https://bugs.webkit.org/show_bug.cgi?id=202603
2636
2637         Reviewed by Geoff Garen.
2638
2639         Add layout test coverage.
2640
2641         * http/tests/workers/service/page-cache-service-worker-pending-promise.https-expected.txt: Added.
2642         * http/tests/workers/service/page-cache-service-worker-pending-promise.https.html: Added.
2643
2644 2019-10-04  Chris Dumez  <cdumez@apple.com>
2645
2646         Allow pages using IDBIndex to enter the PageCache
2647         https://bugs.webkit.org/show_bug.cgi?id=202430
2648         <rdar://problem/55887918>
2649
2650         Reviewed by Geoffrey Garen.
2651
2652         Extend layout test coverage.
2653
2654         * storage/indexeddb/IDBTransaction-page-cache-expected.txt:
2655         * storage/indexeddb/IDBTransaction-page-cache.html:
2656
2657 2019-10-04  Truitt Savell  <tsavell@apple.com>
2658
2659         Layout Test imported/w3c/web-platform-tests/2dcontext/line-styles/2d.line.cap.round.html is failing
2660         https://bugs.webkit.org/show_bug.cgi?id=202598
2661
2662         Unreviewed test gardening.
2663
2664         * platform/mac/TestExpectations:
2665
2666 2019-10-04  Joonghun Park  <jh718.park@samsung.com>
2667
2668         Negative radii in radial gradients should be rejected.
2669         https://bugs.webkit.org/show_bug.cgi?id=202412
2670
2671         Per the spec, https://drafts.csswg.org/css-images-3/#radial-gradients
2672         "Negative values are invalid.",
2673         we reject negative radii values in radial-gradient.
2674
2675         This patch rejects negative radii during radial-gradient parsing
2676         for both webkit prefixed and non-prefixed ones.
2677
2678         Reviewed by Antti Koivisto.
2679
2680         * imported/blink/css-parser/webkit-gradient-expected.txt: Added.
2681         * imported/blink/css-parser/webkit-gradient.html: Added.
2682
2683 2019-10-04  youenn fablet  <youenn@apple.com>
2684
2685         AbortSignal does not always emit the abort signal
2686         https://bugs.webkit.org/show_bug.cgi?id=201871
2687         <rdar://problem/55451712>
2688
2689         Reviewed by Chris Dumez.
2690
2691         * http/tests/fetch/abort-signal-gc-expected.txt: Added.
2692         * http/tests/fetch/abort-signal-gc.html: Added.
2693
2694 2019-10-04  youenn fablet  <youenn@apple.com>
2695
2696         Allow to suspend RTCPeerConnection when not connected
2697         https://bugs.webkit.org/show_bug.cgi?id=202403
2698
2699         Reviewed by Chris Dumez.
2700
2701         * webrtc/datachannel/datachannel-page-cache-expected.txt: Added.
2702         * webrtc/datachannel/datachannel-page-cache-send-expected.txt: Added.
2703         * webrtc/datachannel/datachannel-page-cache-send.html: Added.
2704         * webrtc/datachannel/datachannel-page-cache.html: Added.
2705
2706 2019-10-04  Chris Lord  <clord@igalia.com>
2707
2708         Import 2dcontext Web Platform Tests
2709         https://bugs.webkit.org/show_bug.cgi?id=179191
2710         <rdar://problem/35320416>
2711
2712         Reviewed by Žan Doberšek.
2713
2714         * TestExpectations:
2715         * platform/gtk/TestExpectations:
2716         * platform/ios/TestExpectations:
2717         * platform/ios/imported/w3c/web-platform-tests/2dcontext/drawing-images-to-the-canvas/drawimage_html_image-expected.txt: Added.
2718         * platform/mac/TestExpectations:
2719         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.cone.bottom-expected.txt: Added.
2720         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.cone.cylinder-expected.txt: Added.
2721         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.cone.front-expected.txt: Added.
2722         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.cone.shape1-expected.txt: Added.
2723         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.cone.top-expected.txt: Added.
2724         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.inside1-expected.txt: Added.
2725         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.inside2-expected.txt: Added.
2726         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.inside3-expected.txt: Added.
2727         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.outside1-expected.txt: Added.
2728         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.outside2-expected.txt: Added.
2729         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.outside3-expected.txt: Added.
2730         * platform/mac/imported/w3c/web-platform-tests/2dcontext/fill-and-stroke-styles/2d.gradient.radial.touch2-expected.txt: Added.
2731         * platform/mac/imported/w3c/web-platform-tests/2dcontext/line-styles/2d.line.cap.round-expected.txt: Added.
2732         * platform/win/TestExpectations:
2733         * platform/wpe/TestExpectations:
2734
2735 2019-10-04  Ryosuke Niwa  <rniwa@webkit.org>
2736
2737         A newly inserted element doesn't get assigned to a named slot if slot assignments had already happened
2738         https://bugs.webkit.org/show_bug.cgi?id=199733
2739
2740         Reviewed by Antti Koivisto.
2741
2742         Added ref tests.
2743
2744         * fast/shadow-dom/add-slotted-element-after-assignment-1-expected.html: Added.
2745         * fast/shadow-dom/add-slotted-element-after-assignment-1.html: Added.
2746         * fast/shadow-dom/add-slotted-element-after-assignment-2-expected.html: Added.
2747         * fast/shadow-dom/add-slotted-element-after-assignment-2.html: Added.
2748         * fast/shadow-dom/add-slotted-element-after-assignment-3-expected.html: Added.
2749         * fast/shadow-dom/add-slotted-element-after-assignment-3.html: Added.
2750
2751 2019-10-03  Ryosuke Niwa  <rniwa@webkit.org>
2752
2753         Resync WPT shadow DOM tests
2754         https://bugs.webkit.org/show_bug.cgi?id=202497
2755
2756         Rubber-stamped by Sam Weinig.
2757
2758         Added a failing expectation. Also skipped focus tests on iOS for now since sending tab key via UIController
2759         doesn't seem to move the focus on iOS somehow even though manual testing seems to work.
2760
2761         * TestExpectations:
2762         * platform/ios/TestExpectations:
2763         * /platform/mac-highsierra-wk1/imported/w3c/web-platform-tests/mathml/relations/html5-tree/tabindex-002-expected.txt: Added.
2764
2765 2019-10-03  Chris Dumez  <cdumez@apple.com>
2766
2767         Allow pages using FontFaceSet to enter the back/forward cache
2768         https://bugs.webkit.org/show_bug.cgi?id=202476
2769
2770         Reviewed by Myles C. Maxfield.
2771
2772         Add layout test coverage.
2773
2774         * http/tests/navigation/page-cache-fontfaceset-expected.txt: Added.
2775         * http/tests/navigation/page-cache-fontfaceset.html: Added.
2776         * http/tests/navigation/resources/page-cache-fontfaceset-iframe.html: Added.
2777
2778 2019-10-03  Chris Dumez  <cdumez@apple.com>
2779
2780         Provisional / scheduled loads in subframes should not prevent a page from entering the back/forward cache
2781         https://bugs.webkit.org/show_bug.cgi?id=202474
2782
2783         Reviewed by Alex Christensen.
2784
2785         Add layout test coverage.
2786
2787         * fast/history/page-cache-subframes-with-provisional-load-expected.txt: Added.
2788         * fast/history/page-cache-subframes-with-provisional-load.html: Added.
2789
2790 2019-10-03  Chris Dumez  <cdumez@apple.com>
2791
2792         XMLHttpRequest sometimes prevents pages from entering the back/forward cache
2793         https://bugs.webkit.org/show_bug.cgi?id=202434
2794         <rdar://problem/55890340>
2795
2796         Reviewed by Geoffrey Garen.
2797
2798         Add layout test coverage.
2799
2800         * http/tests/navigation/page-cache-failed-xhr-expected.txt: Added.
2801         * http/tests/navigation/page-cache-failed-xhr.html: Added.
2802         * http/tests/navigation/resources/page-cache-failed-xhr-frame.html: Added.
2803
2804 2019-10-03  John Wilander  <wilander@apple.com>
2805
2806         Resource Load Statistics: Downgrade document.referrer for all third-party iframes
2807         https://bugs.webkit.org/show_bug.cgi?id=202506
2808         <rdar://problem/55786397>
2809
2810         Reviewed by Brent Fulgham.
2811
2812         The tests that are not new rely on document.referrer and so they are made to turn off
2813         ITP before they run to maintain a full referrer.
2814
2815         * http/tests/media/media-stream/enumerate-devices-source-id.html:
2816         * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http.html:
2817         * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https.html:
2818         * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin.html:
2819         * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html:
2820         * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https.html:
2821         * http/tests/referrer-policy-iframe/no-referrer/same-origin.html:
2822         * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html:
2823         * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html:
2824         * http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html:
2825         * http/tests/referrer-policy-iframe/origin/cross-origin-http-http.html:
2826         * http/tests/referrer-policy-iframe/origin/cross-origin-http.https.html:
2827         * http/tests/referrer-policy-iframe/origin/same-origin.html:
2828         * http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html:
2829         * http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html:
2830         * http/tests/referrer-policy-iframe/same-origin/same-origin.html:
2831         * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html:
2832         * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html:
2833         * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html:
2834         * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html:
2835         * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html:
2836         * http/tests/referrer-policy-iframe/strict-origin/same-origin.html:
2837         * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http.html:
2838         * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https.html:
2839         * http/tests/referrer-policy-iframe/unsafe-url/same-origin.html:
2840         * http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http-http.html:
2841         * http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http.https.html:
2842         * http/tests/referrer-policy/no-referrer-when-downgrade/same-origin.html:
2843         * http/tests/referrer-policy/no-referrer/cross-origin-http-http.html:
2844         * http/tests/referrer-policy/no-referrer/cross-origin-http.https.html:
2845         * http/tests/referrer-policy/no-referrer/same-origin.html:
2846         * http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http-http.html:
2847         * http/tests/referrer-policy/origin-when-cross-origin/cross-origin-http.https.html:
2848         * http/tests/referrer-policy/origin-when-cross-origin/same-origin.html:
2849         * http/tests/referrer-policy/origin/cross-origin-http-http.html:
2850         * http/tests/referrer-policy/origin/cross-origin-http.https.html:
2851         * http/tests/referrer-policy/origin/same-origin.html:
2852         * http/tests/referrer-policy/same-origin/cross-origin-http-http.html:
2853         * http/tests/referrer-policy/same-origin/cross-origin-http.https.html:
2854         * http/tests/referrer-policy/same-origin/same-origin.html:
2855         * http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http-http.html:
2856         * http/tests/referrer-policy/strict-origin-when-cross-origin/cross-origin-http.https.html:
2857         * http/tests/referrer-policy/strict-origin-when-cross-origin/same-origin.html:
2858         * http/tests/referrer-policy/strict-origin/cross-origin-http-http.html:
2859         * http/tests/referrer-policy/strict-origin/cross-origin-http.https.html:
2860         * http/tests/referrer-policy/strict-origin/same-origin.html:
2861         * http/tests/referrer-policy/unsafe-url/cross-origin-http-http.html:
2862         * http/tests/referrer-policy/unsafe-url/cross-origin-http.https.html:
2863         * http/tests/referrer-policy/unsafe-url/same-origin.html:
2864         * http/tests/resourceLoadStatistics/downgrade-document-referrer-nested-third-party-iframe-expected.txt: Added.
2865         * http/tests/resourceLoadStatistics/downgrade-document-referrer-nested-third-party-iframe.html: Added.
2866         * http/tests/resourceLoadStatistics/downgrade-document-referrer-third-party-iframe-expected.txt: Added.
2867         * http/tests/resourceLoadStatistics/downgrade-document-referrer-third-party-iframe.html: Added.
2868         * http/tests/resourceLoadStatistics/leave-empty-document-referrer-alone-third-party-iframe-expected.txt: Added.
2869         * http/tests/resourceLoadStatistics/leave-empty-document-referrer-alone-third-party-iframe.html: Added.
2870         * http/tests/resourceLoadStatistics/resources/nest-iframe-report-document-referrer.html: Added.
2871         * http/tests/resourceLoadStatistics/resources/report-document-referrer.html: Added.
2872
2873 2019-10-03  Antoine Quint  <graouts@apple.com>
2874
2875         REGRESSION: touchend doesn't trigger on element when touch is released outside of its bounds
2876         https://bugs.webkit.org/show_bug.cgi?id=202527
2877         <rdar://55883213>
2878
2879         Reviewed by Dean Jackson.
2880
2881         Add a test that checks a scenario where an element that listens to "touchstart", "touchmove" and "touchend" events
2882         is only the target of move-phase touches but neither start and end phases. The code change that fixes the reported
2883         issue where the "touchend" wouldn't be dispatched is done in Internal.
2884
2885         * pointerevents/utils.js:
2886         (EventTracker.prototype.handleEvent):
2887         (EventTracker.prototype._handleTouchEvent):
2888
2889 2019-10-03  youenn fablet  <youenn@apple.com>
2890
2891         Regression: iOS 13.1 MediaStreamTrack.enabled = false kills audio track
2892         https://bugs.webkit.org/show_bug.cgi?id=202405
2893         <rdar://problem/55922616>
2894
2895         Reviewed by Eric Carlson.
2896
2897         * fast/mediastream/audio-track-enabled-expected.txt: Added.
2898         * fast/mediastream/audio-track-enabled.html: Added.
2899
2900 2019-10-03  youenn fablet  <youenn@apple.com>
2901
2902         http/tests/security/navigate-when-restoring-cached-page.html should not use RTCPeerConnection to not enter in page cache
2903         https://bugs.webkit.org/show_bug.cgi?id=202521
2904
2905         Reviewed by Chris Dumez.
2906
2907         Make use of new internals API to prevent the page to go in page cache.
2908
2909         * http/tests/security/navigate-when-restoring-cached-page.html:
2910
2911 2019-10-03  Jiewen Tan  <jiewen_tan@apple.com>
2912
2913         Support googleLegacyAppidSupport extension
2914         https://bugs.webkit.org/show_bug.cgi?id=202427
2915         <rdar://problem/55887473>
2916
2917         Reviewed by Brent Fulgham.
2918
2919         Add tests to confirm the googleLegacyAppidSupport extension is ignored for RP ID != google.com.
2920
2921         * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt:
2922         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html:
2923
2924 2019-10-03  Yury Semikhatsky  <yurys@chromium.org>
2925
2926         Web Inspector: tests under LayoutTests/inspector/debugger are flaky
2927         https://bugs.webkit.org/show_bug.cgi?id=137131
2928         <rdar://problem/18461335>
2929
2930         Reviewed by Devin Rousso.
2931
2932         Enable inspector/debugger tests on GTK.
2933
2934         * inspector/debugger/breakpoints/resolved-dump-all-pause-locations-expected.txt: Rebaselined the test
2935         after changes in the breakpoint resolution code. Now the output on GTK is the same as on Mac.
2936         * platform/gtk/TestExpectations:
2937
2938 2019-10-03  Joonghun Park  <pjh0718@gmail.com>
2939
2940         CSS ellipse() doesn't accept single <shape-radius>
2941         https://bugs.webkit.org/show_bug.cgi?id=181745
2942
2943         CSS ellipse() should only accept 0 or 2 radii.
2944         The corresponding csswg discussion is
2945         https://github.com/w3c/csswg-drafts/issues/2175.
2946         Remove the layout tests duplicated with the wpt ported version ones.
2947
2948         Reviewed by Antti Koivisto.
2949
2950         * css3/shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015-expected.html: Removed.
2951         * css3/shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-015.html: Removed.
2952         * css3/shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017-expected.html: Removed.
2953         * css3/shapes/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-017.html: Removed.
2954         * css3/shapes/shape-outside/values/shape-outside-ellipse-001-expected.txt: Removed.
2955         * css3/shapes/shape-outside/values/shape-outside-ellipse-001.html: Removed.
2956         * css3/shapes/shape-outside/values/shape-outside-ellipse-005-expected.txt: Removed.
2957         * css3/shapes/shape-outside/values/shape-outside-ellipse-005.html: Removed.
2958         * css3/shapes/shape-outside/values/shape-outside-ellipse-010-expected.txt: Removed.
2959         * css3/shapes/shape-outside/values/shape-outside-ellipse-010.html: Removed.
2960         * css3/shapes/shape-outside/values/shape-outside-ellipse-011-expected.txt: Removed.
2961         * css3/shapes/shape-outside/values/shape-outside-ellipse-011.html: Removed.
2962         * fast/shapes/parsing/parsing-shape-outside-expected.txt:
2963         * fast/shapes/parsing/parsing-test-utils.js:
2964         * platform/gtk/TestExpectations:
2965         * platform/ios/TestExpectations:
2966
2967 2019-10-03  Miguel Gomez  <magomez@igalia.com>
2968
2969         [WPE] Unreviewed WPE gardening after r250642
2970         https://bugs.webkit.org/show_bug.cgi?id=202515
2971
2972         Unreviewed WPE gardening after r250642. Adding some missing results and updating
2973         some expectations.
2974
2975         * platform/wpe/TestExpectations:
2976         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-grad-24-f-manual-expected.txt: Added.
2977         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-grad-stops-01-f-manual-expected.txt: Added.
2978         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-01-b-manual-expected.txt: Added.
2979         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-02-f-manual-expected.txt: Added.
2980         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-03-f-manual-expected.txt: Added.
2981         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-04-f-manual-expected.txt: Added.
2982         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-05-f-manual-expected.txt: Added.
2983         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-06-f-manual-expected.txt: Added.
2984         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-07-f-manual-expected.txt: Added.
2985         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-08-f-manual-expected.txt: Added.
2986         * platform/wpe/imported/w3c/web-platform-tests/svg/import/pservers-pattern-09-f-manual-expected.txt: Added.
2987         * platform/wpe/imported/w3c/web-platform-tests/svg/import/render-elems-01-t-manual-expected.txt: Added.
2988         * platform/wpe/imported/w3c/web-platform-tests/svg/import/render-elems-02-t-manual-expected.txt: Added.
2989         * platform/wpe/imported/w3c/web-platform-tests/svg/import/render-elems-03-t-manual-expected.txt: Added.
2990         * platform/wpe/imported/w3c/web-platform-tests/svg/import/render-elems-06-t-manual-expected.txt: Added.
2991         * platform/wpe/imported/w3c/web-platform-tests/svg/import/render-elems-07-t-manual-expected.txt: Added.
2992         * platform/wpe/imported/w3c/web-platform-tests/svg/import/render-elems-08-t-manual-expected.txt: Added.
2993         * platform/wpe/imported/w3c/web-platform-tests/svg/import/render-groups-01-b-manual-expected.txt: Added.
2994         * platform/wpe/imported/w3c/web-platform-tests/svg/import/render-groups-03-t-manual-expected.txt: Added.
2995         * platform/wpe/imported/w3c/web-platform-tests/svg/import/script-handle-01-b-manual-expected.txt: Added.
2996         * platform/wpe/imported/w3c/web-platform-tests/svg/import/script-handle-02-b-manual-expected.txt: Added.
2997         * platform/wpe/imported/w3c/web-platform-tests/svg/import/script-handle-03-b-manual-expected.txt: Added.
2998         * platform/wpe/imported/w3c/web-platform-tests/svg/import/script-handle-04-b-manual-expected.txt: Added.
2999         * platform/wpe/imported/w3c/web-platform-tests/svg/import/script-specify-01-f-manual-expected.txt: Added.
3000         * platform/wpe/imported/w3c/web-platform-tests/svg/import/script-specify-02-f-manual-expected.txt: Added.
3001         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-circle-01-t-manual-expected.txt: Added.
3002         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-circle-02-t-manual-expected.txt: Added.
3003         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-ellipse-01-t-manual-expected.txt: Added.
3004         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-ellipse-02-t-manual-expected.txt: Added.
3005         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-ellipse-03-f-manual-expected.txt: Added.
3006         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-grammar-01-f-manual-expected.txt: Added.
3007         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-intro-01-t-manual-expected.txt: Added.
3008         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-intro-02-f-manual-expected.txt: Added.
3009         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-line-01-t-manual-expected.txt: Added.
3010         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-line-02-f-manual-expected.txt: Added.
3011         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-polygon-01-t-manual-expected.txt: Added.
3012         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-polygon-02-t-manual-expected.txt: Added.
3013         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-polygon-03-t-manual-expected.txt: Added.
3014         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-polyline-01-t-manual-expected.txt: Added.
3015         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-polyline-02-t-manual-expected.txt: Added.
3016         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-rect-02-t-manual-expected.txt: Added.
3017         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-rect-03-t-manual-expected.txt: Added.
3018         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-rect-04-f-manual-expected.txt: Added.
3019         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-rect-05-f-manual-expected.txt: Added.
3020         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-rect-06-f-manual-expected.txt: Added.
3021         * platform/wpe/imported/w3c/web-platform-tests/svg/import/shapes-rect-07-f-manual-expected.txt: Added.
3022         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-cond-01-t-manual-expected.txt: Added.
3023         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-cond-02-t-manual-expected.txt: Added.
3024         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-cond-03-t-manual-expected.txt: Added.
3025         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-cond-overview-02-f-manual-expected.txt: Added.
3026         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-cond-overview-03-f-manual-expected.txt: Added.
3027         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-cond-overview-04-f-manual-expected.txt: Added.
3028         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-cond-overview-05-f-manual-expected.txt: Added.
3029         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-defs-01-t-manual-expected.txt: Added.
3030         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-02-b-manual-expected.txt: Added.
3031         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-03-b-manual-expected.txt: Added.
3032         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-04-b-manual-expected.txt: Added.
3033         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-05-b-manual-expected.txt: Added.
3034         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-06-b-manual-expected.txt: Added.
3035         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-07-f-manual-expected.txt: Added.
3036         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-08-f-manual-expected.txt: Added.
3037         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-11-f-manual-expected.txt: Added.
3038         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-12-b-manual-expected.txt: Added.
3039         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-13-f-manual-expected.txt: Added.
3040         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-14-f-manual-expected.txt: Added.
3041         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-15-f-manual-expected.txt: Added.
3042         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-16-f-manual-expected.txt: Added.
3043         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-17-f-manual-expected.txt: Added.
3044         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-18-f-manual-expected.txt: Added.
3045         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-19-f-manual-expected.txt: Added.
3046         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-dom-20-f-manual-expected.txt: Added.
3047         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-frag-01-t-manual-expected.txt: Added.
3048         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-frag-02-t-manual-expected.txt: Added.
3049         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-frag-03-t-manual-expected.txt: Added.
3050         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-frag-04-t-manual-expected.txt: Added.
3051         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-frag-05-t-manual-expected.txt: Added.
3052         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-frag-06-t-manual-expected.txt: Added.
3053         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-group-01-t-manual-expected.txt: Added.
3054         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-group-02-b-manual-expected.txt: Added.
3055         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-group-03-t-manual-expected.txt: Added.
3056         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-01-t-manual-expected.txt: Added.
3057         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-02-b-manual-expected.txt: Added.
3058         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-03-t-manual-expected.txt: Added.
3059         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-04-t-manual-expected.txt: Added.
3060         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-05-b-manual-expected.txt: Added.
3061         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-06-t-manual-expected.txt: Added.
3062         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-07-t-manual-expected.txt: Added.
3063         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-08-t-manual-expected.txt: Added.
3064         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-09-t-manual-expected.txt: Added.
3065         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-10-t-manual-expected.txt: Added.
3066         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-11-b-manual-expected.txt: Added.
3067         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-12-b-manual-expected.txt: Added.
3068         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-13-f-manual-expected.txt: Added.
3069         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-14-f-manual-expected.txt: Added.
3070         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-15-f-manual-expected.txt: Added.
3071         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-16-f-manual-expected.txt: Added.
3072         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-17-b-manual-expected.txt: Added.
3073         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-18-f-manual-expected.txt: Added.
3074         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-image-19-f-manual-expected.txt: Added.
3075         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-svg-01-f-manual-expected.txt: Added.
3076         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-svg-02-f-manual-expected.txt: Added.
3077         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-svg-03-f-manual-expected.txt: Added.
3078         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-symbol-01-b-manual-expected.txt: Added.
3079         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-03-t-manual-expected.txt: Added.
3080         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-04-b-manual-expected.txt: Added.
3081         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-05-b-manual-expected.txt: Added.
3082         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-06-b-manual-expected.txt: Added.
3083         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-07-b-manual-expected.txt: Added.
3084         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-08-b-manual-expected.txt: Added.
3085         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-09-b-manual-expected.txt: Added.
3086         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-10-f-manual-expected.txt: Added.
3087         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-11-f-manual-expected.txt: Added.
3088         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-12-f-manual-expected.txt: Added.
3089         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-13-f-manual-expected.txt: Added.
3090         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-14-f-manual-expected.txt: Added.
3091         * platform/wpe/imported/w3c/web-platform-tests/svg/import/struct-use-15-f-manual-expected.txt: Added.
3092         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-class-01-f-manual-expected.txt: Added.
3093         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-01-b-manual-expected.txt: Added.
3094         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-02-b-manual-expected.txt: Added.
3095         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-03-b-manual-expected.txt: Added.
3096         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-04-f-manual-expected.txt: Added.
3097         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-05-b-manual-expected.txt: Added.
3098         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-06-b-manual-expected.txt: Added.
3099         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-07-f-manual-expected.txt: Added.
3100         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-08-f-manual-expected.txt: Added.
3101         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-09-f-manual-expected.txt: Added.
3102         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-css-10-f-manual-expected.txt: Added.
3103         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-elem-01-b-manual-expected.txt: Added.
3104         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-inherit-01-b-manual-expected.txt: Added.
3105         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-pres-01-t-manual-expected.txt: Added.
3106         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-pres-02-f-manual-expected.txt: Added.
3107         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-pres-03-f-manual-expected.txt: Added.
3108         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-pres-04-f-manual-expected.txt: Added.
3109         * platform/wpe/imported/w3c/web-platform-tests/svg/import/styling-pres-05-f-manual-expected.txt: Added.
3110         * platform/wpe/imported/w3c/web-platform-tests/svg/import/svgdom-over-01-f-manual-expected.txt: Added.
3111         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-align-01-b-manual-expected.txt: Added.
3112         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-align-02-b-manual-expected.txt: Added.
3113         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-align-03-b-manual-expected.txt: Added.
3114         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-align-04-b-manual-expected.txt: Added.
3115         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-align-05-b-manual-expected.txt: Added.
3116         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-align-06-b-manual-expected.txt: Added.
3117         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-align-07-t-manual-expected.txt: Added.
3118         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-align-08-b-manual-expected.txt: Added.
3119         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-altglyph-01-b-manual-expected.txt: Added.
3120         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-altglyph-02-b-manual-expected.txt: Added.
3121         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-altglyph-03-b-manual-expected.txt: Added.
3122         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-bidi-01-t-manual-expected.txt: Added.
3123         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-deco-01-b-manual-expected.txt: Added.
3124         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-dom-01-f-manual-expected.txt: Added.
3125         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-dom-02-f-manual-expected.txt: Added.
3126         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-dom-03-f-manual-expected.txt: Added.
3127         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-dom-04-f-manual-expected.txt: Added.
3128         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-dom-05-f-manual-expected.txt: Added.
3129         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-fonts-02-t-manual-expected.txt: Added.
3130         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-fonts-03-t-manual-expected.txt: Added.
3131         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-fonts-04-t-manual-expected.txt: Added.
3132         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-fonts-05-f-manual-expected.txt: Added.
3133         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-fonts-202-t-manual-expected.txt: Added.
3134         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-fonts-203-t-manual-expected.txt: Added.
3135         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-fonts-204-t-manual-expected.txt: Added.
3136         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-02-b-manual-expected.txt: Added.
3137         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-03-b-manual-expected.txt: Added.
3138         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-04-t-manual-expected.txt: Added.
3139         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-05-t-manual-expected.txt: Added.
3140         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-06-t-manual-expected.txt: Added.
3141         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-07-t-manual-expected.txt: Added.
3142         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-09-b-manual-expected.txt: Added.
3143         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-10-f-manual-expected.txt: Added.
3144         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-11-t-manual-expected.txt: Added.
3145         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-intro-12-t-manual-expected.txt: Added.
3146         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-path-01-b-manual-expected.txt: Added.
3147         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-path-02-b-manual-expected.txt: Added.
3148         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-spacing-01-b-manual-expected.txt: Added.
3149         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-01-b-manual-expected.txt: Added.
3150         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-04-t-manual-expected.txt: Added.
3151         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-05-t-manual-expected.txt: Added.
3152         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-06-t-manual-expected.txt: Added.
3153         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-07-t-manual-expected.txt: Added.
3154         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-08-b-manual-expected.txt: Added.
3155         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-09-t-manual-expected.txt: Added.
3156         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-10-t-manual-expected.txt: Added.
3157         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-11-t-manual-expected.txt: Added.
3158         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-text-12-t-manual-expected.txt: Added.
3159         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-tref-01-b-manual-expected.txt: Added.
3160         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-tref-02-b-manual-expected.txt: Added.
3161         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-tref-03-b-manual-expected.txt: Added.
3162         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-tselect-01-b-manual-expected.txt: Added.
3163         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-tselect-02-f-manual-expected.txt: Added.
3164         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-tselect-03-f-manual-expected.txt: Added.
3165         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-tspan-01-b-manual-expected.txt: Added.
3166         * platform/wpe/imported/w3c/web-platform-tests/svg/import/text-tspan-02-b-manual-expected.txt: Added.
3167         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-basic-01-f-manual-expected.txt: Added.
3168         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-basic-02-f-manual-expected.txt: Added.
3169         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-01-b-manual-expected.txt: Added.
3170         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-02-f-manual-expected.txt: Added.
3171         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-03-b-manual-expected.txt: Added.
3172         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-04-b-manual-expected.txt: Added.
3173         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-05-b-manual-expected.txt: Added.
3174         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-06-f-manual-expected.txt: Added.
3175         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-07-f-manual-expected.txt: Added.
3176         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-08-f-manual-expected.txt: Added.
3177         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-svgfittoviewbox-01-f-manual-expected.txt: Added.
3178         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-svglengthlist-01-f-manual-expected.txt: Added.
3179         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-svgnumberlist-01-f-manual-expected.txt: Added.
3180         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-svgstringlist-01-f-manual-expected.txt: Added.
3181         * platform/wpe/imported/w3c/web-platform-tests/svg/import/types-dom-svgtransformable-01-f-manual-expected.txt: Added.
3182         * platform/wpe/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
3183         * platform/wpe/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
3184         * platform/wpe/svg/W3C-SVG-1.1/render-elems-03-t-expected.txt:
3185         * platform/wpe/svg/custom/preserve-aspect-ratio-syntax-expected.txt:
3186         * platform/wpe/svg/custom/viewbox-syntax-expected.txt:
3187         * platform/wpe/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
3188         * platform/wpe/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
3189
3190 2019-10-02  Myles C. Maxfield  <mmaxfield@apple.com>
3191
3192         REGRESSION (r245672): <select> dropdown with text-rendering: optimizeLegibility freezes Safari
3193         https://bugs.webkit.org/show_bug.cgi?id=202198
3194
3195         Reviewed by Tim Horton.
3196
3197         * fast/forms/select-font-optical-size-expected.txt: Added.
3198         * fast/forms/select-font-optical-size.html: Added.
3199
3200 2019-10-02  Kate Cheney  <katherine_cheney@apple.com>
3201
3202         Updated resource load statistics are never merged into the SQLite Database backend (202372).
3203         https://bugs.webkit.org/show_bug.cgi?id=202372
3204         <rdar://problem/55854542>
3205
3206         Reviewed by Brent Fulgham. 
3207
3208         Added layout tests to test succesful merging of resource load
3209         statistics into SQLite backend.
3210
3211         * http/tests/resourceLoadStatistics/merge-statistic-does-not-overwrite-database-expected.txt: Added.
3212         * http/tests/resourceLoadStatistics/merge-statistic-does-not-overwrite-database.html: Added.
3213         * http/tests/resourceLoadStatistics/merge-statistic-does-overwrite-database-expected.txt: Added.
3214         * http/tests/resourceLoadStatistics/merge-statistic-does-overwrite-database.html: Added.
3215         * http/tests/resourceLoadStatistics/merge-statistic-does-partially-overwrite-database-expected.txt: Added.
3216         * http/tests/resourceLoadStatistics/merge-statistic-does-partially-overwrite-database.html: Added.
3217
3218 2019-10-02  Miguel Gomez  <magomez@igalia.com>
3219
3220         [WPE] Unreviewed gardening: add new expectations after r250602
3221         https://bugs.webkit.org/show_bug.cgi?id=202461
3222
3223         Unreviewed WPE gardening. Add missing results after r250276.
3224
3225         * platform/wpe/imported/w3c/web-platform-tests/svg/: Added.
3226
3227 2019-10-02  Yury Semikhatsky  <yurys@chromium.org>
3228
3229         Web Inspector: Debugger: support emulateUserGesture parameter in Debugger.evaluateOnCallFrame
3230         https://bugs.webkit.org/show_bug.cgi?id=200272
3231         <rdar://problem/53797509>
3232
3233         Reviewed by Devin Rousso.
3234
3235         User interaction inspector tests were accidentally disabled on both WebKit1 and WebKit2.
3236         Marking them as passing on WebKit2.
3237
3238         * platform/wk2/TestExpectations:
3239
3240 2019-10-02  Carlos Garcia Campos  <cgarcia@igalia.com>
3241
3242         Unreviewed GTK gardening. Add missing results after r250276.
3243
3244         * platform/gtk/imported/w3c/web-platform-tests/svg/: Added.
3245
3246 2019-10-01  Alexey Shvayka  <shvaikalesh@gmail.com>
3247
3248         [win-ews] No such file or directory: u'/cygdrive/C/cygwin/home/buildbot/WebKit/WebKitBuild/Release/bin32/layout-test-results/pywebsocket.ws.log-out.txt'
3249         https://bugs.webkit.org/show_bug.cgi?id=188640
3250
3251         Reviewed by Alex Christensen.
3252
3253         WebSocket server is now fixed, tests should pass. 
3254
3255         Reverted changeset:
3256
3257         "Unreviewed test gardening"
3258         https://bugs.webkit.org/show_bug.cgi?id=188640
3259         https://trac.webkit.org/changeset/234933
3260
3261 2019-10-01  John Wilander  <wilander@apple.com>
3262
3263         Storage Access API: document.hasStorageAccess() should return true when the cookie policy allows access
3264         https://bugs.webkit.org/show_bug.cgi?id=202435
3265         <rdar://problem/55718526>
3266
3267         Reviewed by Brent Fulgham.
3268
3269         WebKit's Storage Access API implementation has so far only looked at whether ITP is
3270         blocking cookie access or not. However, the default cookie policy is still in
3271         effect underneath ITP. document.hasStorageAccess() should return true if the
3272         third-party:
3273         a) is not classified by ITP, and
3274         b) has cookies which implies it can use cookies as third-party according to the
3275         default cookie policy.
3276
3277         * http/tests/storageAccess/has-storage-access-false-by-default-ephemeral-expected.txt: Added.
3278         * http/tests/storageAccess/has-storage-access-false-by-default-ephemeral.html: Copied from LayoutTests/http/tests/storageAccess/has-storage-access-true-if-feature-off.html.
3279         * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral-expected.txt: Added.
3280         * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-ephemeral.html: Copied from LayoutTests/http/tests/storageAccess/has-storage-access-true-if-feature-off.html.
3281         * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies-expected.txt: Added.
3282         * http/tests/storageAccess/has-storage-access-true-if-third-party-has-cookies.html: Renamed from LayoutTests/http/tests/storageAccess/has-storage-access-true-if-feature-off.html.
3283         * platform/ios/TestExpectations:
3284         * platform/mac-wk2/TestExpectations:
3285
3286 2019-10-01  Rob Buis  <rbuis@igalia.com>
3287
3288         [Mac] Layout Test imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location.any.html fails
3289         https://bugs.webkit.org/show_bug.cgi?id=202350
3290
3291         Reviewed by Alex Christensen.
3292
3293         Remove expectation for non-existing tests.
3294
3295         * platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-expected.txt: Removed.
3296         * platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt: Removed.
3297         * platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-worker-expected.txt: Removed.
3298
3299 2019-10-01  Andres Gonzalez  <andresg_22@apple.com>
3300
3301         Support accessibility for <figure> element on iOS.
3302         https://bugs.webkit.org/show_bug.cgi?id=202272
3303
3304         Reviewed by Aakash Jain.
3305
3306         Fix for WK1 test, rebasing.
3307         * platform/mac/accessibility/roles-exposed-expected.txt:
3308
3309 2019-10-01  Antti Koivisto  <antti@apple.com>
3310
3311         Import WPT tests for CSS Shadow Parts
3312         https://bugs.webkit.org/show_bug.cgi?id=202393
3313
3314         Reviewed by Antoine Quint.
3315
3316         * TestExpectations:
3317
3318 2019-10-01  Joonghun Park  <jh718.park@samsung.com>
3319
3320         Make table's clientWidth/Height include its border sizes.
3321         https://bugs.webkit.org/show_bug.cgi?id=200974
3322
3323         WebKit doesn't have table wrapper box currently
3324         while Gecko has it,
3325         so this CL tries to mimic the behavior that
3326         clientWidth/Height refers to table wrapper box
3327         which doesn't have borders applied to itself
3328         and table grid box has the borders.
3329
3330         This CL adds table's border sizes
3331         to clientWidth/Height
3332         at |LayoutBox::PixelSnappedClientWidth/Height|.
3333
3334         As a result of this CL, table's clientWidth/Height
3335         and offsetWidth/Height are equal now, respectively.
3336
3337         The corresponding csswg discussion is
3338         https://github.com/w3c/csswg-drafts/issues/4245.
3339
3340         Reviewed by Antti Koivisto.
3341
3342         * fast/table/border-collapsing/bug236727-expected.txt: Added.
3343         * fast/table/border-collapsing/bug236727.html: Added.
3344
3345 2019-09-30  Devin Rousso  <drousso@apple.com>
3346
3347         Web Inspector: JS Formatter: unexpected newlines added inside template string expression
3348         https://bugs.webkit.org/show_bug.cgi?id=202374
3349
3350         Reviewed by Joseph Pecoraro.
3351
3352         * inspector/formatting/resources/javascript-tests/template-strings.js:
3353         * inspector/formatting/resources/javascript-tests/template-strings-expected.js:
3354
3355 2019-09-30  Saam Barati  <sbarati@apple.com>
3356
3357         Inline caching is wrong for custom accessors and custom values
3358         https://bugs.webkit.org/show_bug.cgi?id=201994
3359         <rdar://problem/50850326>
3360
3361         Reviewed by Yusuke Suzuki.
3362
3363         * js/dom/custom-accessor-redefine-expected.txt: Added.
3364         * js/dom/custom-accessor-redefine.html: Added.
3365
3366 2019-09-30  Chris Dumez  <cdumez@apple.com>
3367
3368         IDBTransaction / IDBObjectStore should not prevent a page from entering the back / forward cache
3369         https://bugs.webkit.org/show_bug.cgi?id=202291
3370         <rdar://problem/55760106>
3371
3372         Reviewed by Geoffrey Garen.
3373
3374         Add layout test coverage.
3375
3376         * storage/indexeddb/IDBTransaction-page-cache.html: Added.
3377
3378 2019-09-30  Chris Dumez  <cdumez@apple.com>
3379
3380         Pages with Web Workers cannot enter the back / forward cache
3381         https://bugs.webkit.org/show_bug.cgi?id=202296
3382         <rdar://problem/55764073>
3383
3384         Reviewed by Jer Noble.
3385
3386         Add layout test coverage.
3387
3388         * fast/workers/worker-page-cache-expected.txt: Added.
3389         * fast/workers/worker-page-cache.html: Added.
3390
3391 2019-09-28  Said Abou-Hallawa  <sabouhallawa@apple.com>
3392
3393         Crash when removing the target element while animating its attributes
3394         https://bugs.webkit.org/show_bug.cgi?id=202247
3395
3396         Reviewed by Darin Adler.
3397
3398         * svg/animations/animate-and-remove-target-element-expected.txt: Added.
3399         * svg/animations/animate-and-remove-target-element.html: Added.
3400
3401 2019-09-27  Chris Dumez  <cdumez@apple.com>
3402
3403         Pages using WebGLRenderingContext fail to enter the back/forward cache
3404         https://bugs.webkit.org/show_bug.cgi?id=202318
3405         <rdar://problem/55783612>
3406
3407         Reviewed by Tim Horton.
3408
3409         Add layout test coverage.
3410
3411         * fast/canvas/webgl/canvas-webgl-page-cache-expected.txt: Added.
3412         * fast/canvas/webgl/canvas-webgl-page-cache.html: Added.
3413
3414 2019-09-27  Andres Gonzalez  <andresg_22@apple.com>
3415
3416         Support accessibility for <figure> element on iOS.
3417         https://bugs.webkit.org/show_bug.cgi?id=202272
3418         <rdar://problem/54789907>
3419
3420         Reviewed by Chris Fleizach.
3421
3422         * accessibility/ios-simulator/figure-element-expected.txt: Added.
3423         * accessibility/ios-simulator/figure-element.html: Added.
3424
3425 2019-09-27  Truitt Savell  <tsavell@apple.com>
3426
3427         fast/images/async-image-multiple-clients-repaint.html
3428         https://bugs.webkit.org/show_bug.cgi?id=202328
3429
3430         Unreviewed test gardening
3431
3432         * platform/ios/TestExpectations:
3433
3434 2019-09-27  Chris Dumez  <cdumez@apple.com>
3435
3436         Allow pages served over HTTPS with `Cache-Control: no-store` header to enter the back/forward cache
3437         https://bugs.webkit.org/show_bug.cgi?id=202314
3438         <rdar://problem/55783482>
3439
3440         Reviewed by Alex Christensen.
3441
3442         Update existing test to reflect behavior change.
3443
3444         * http/tests/navigation/https-in-page-cache-expected.txt:
3445         * http/tests/navigation/resources/https-in-page-cache-1.php:
3446
3447 2019-09-27  Alexey Shvayka  <shvaikalesh@gmail.com>
3448
3449         Non-standard Error properties should not be enumerable
3450         https://bugs.webkit.org/show_bug.cgi?id=198975
3451
3452         Reviewed by Ross Kirsling.
3453
3454         * inspector/debugger/resources/exception.js: Introduce `stringifyError` helper.
3455         * inspector/debugger/setPauseOnExceptions-all.html:
3456         * inspector/debugger/setPauseOnExceptions-none.html:
3457         * inspector/debugger/setPauseOnExceptions-uncaught.html:
3458         * js/exception-properties-expected.txt:
3459         * js/script-tests/exception-properties.js:
3460
3461 2019-09-27  Said Abou-Hallawa  <sabouhallawa@apple.com>
3462
3463         [iOS]: When inserting a photo and then inserting auto-corrected text, the photo is removed
3464         https://bugs.webkit.org/show_bug.cgi?id=202294
3465