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