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