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