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