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