Unreviewed, rolling out r245058.
[WebKit-https.git] / LayoutTests / ChangeLog
1 2019-05-08  Ryan Haddad  <ryanhaddad@apple.com>
2
3         Unreviewed, rolling out r245058.
4
5         Causes crashes under ASan / GuardMalloc
6
7         Reverted changeset:
8
9         "Implement backing-sharing in compositing layers, allowing
10         overlap layers to paint into the backing store of another
11         layer"
12         https://bugs.webkit.org/show_bug.cgi?id=197561
13         https://trac.webkit.org/changeset/245058
14
15 2019-05-08  Tim Horton  <timothy_horton@apple.com>
16
17         Unreviewed test rebaselines.
18
19         * platform/ios/editing/deleting/smart-delete-paragraph-003-expected.txt:
20         * platform/ios/editing/pasteboard/smart-paste-paragraph-003-expected.txt:
21         I over-did it with my rebaselines earlier.
22
23 2019-05-08  Alicia Boya García  <aboya@igalia.com>
24
25         [GTK] Unreviewed test gardening
26         https://bugs.webkit.org/show_bug.cgi?id=197717
27
28         * platform/gtk/TestExpectations:
29         * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt:
30         * platform/gtk/inspector/css/shadow-scoped-style-expected.txt: Removed.
31         * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt:
32
33 2019-05-08  Tim Horton  <timothy_horton@apple.com>
34
35         iOS: Selection is dismissed even if click is preventDefault()'d
36         https://bugs.webkit.org/show_bug.cgi?id=197686
37         <rdar://problem/49398824>
38
39         Reviewed by Wenson Hsieh.
40
41         * editing/selection/ios/clear-selection-after-tapping-on-element-with-no-click-handler-expected.txt: Added.
42         * editing/selection/ios/clear-selection-after-tapping-on-element-with-no-click-handler.html: Added.
43         * editing/selection/ios/persist-selection-after-tapping-on-element-with-click-handler-expected.txt: Added.
44         * editing/selection/ios/persist-selection-after-tapping-on-element-with-click-handler.html: Added.
45         New tests.
46
47         * platform/ios/editing/deleting/smart-delete-paragraph-003-expected.txt:
48         * platform/ios/editing/pasteboard/smart-paste-paragraph-003-expected.txt:
49         Rebaseline since we changed the timing of editing callbacks by changing where the selection happens.
50
51 2019-05-08  Wenson Hsieh  <wenson_hsieh@apple.com>
52
53         [iOS] Add a quirk to synthesize mouse events when modifying the selection
54         https://bugs.webkit.org/show_bug.cgi?id=197683
55         <rdar://problem/48003980>
56
57         Reviewed by Tim Horton.
58
59         Adds a new layout test to enable the site-specific quirk and verify that mouse events are dispatched when
60         changing selection, both via the callout menu and by moving the selection grabber using gestures.
61
62         * editing/selection/ios/dispatch-mouse-events-when-modifying-selection-quirk-expected.txt: Added.
63         * editing/selection/ios/dispatch-mouse-events-when-modifying-selection-quirk.html: Added.
64         * resources/ui-helper.js:
65         (window.UIHelper.waitForMenuToHide.return.new.Promise):
66         (window.UIHelper.waitForMenuToHide):
67
68         Introduce a new helper method to wait for the menu to hide (on iOS, this refers to the callout menu).
69
70 2019-05-07  Ryan Haddad  <ryanhaddad@apple.com>
71
72         Unreviewed test gardening for Mojave.
73
74         * platform/mac-wk2/TestExpectations: Skip two webgl tests that time out very frequently.
75
76 2019-05-08  Simon Fraser  <simon.fraser@apple.com>
77
78         Implement backing-sharing in compositing layers, allowing overlap layers to paint into the backing store of another layer
79         https://bugs.webkit.org/show_bug.cgi?id=197561
80         <rdar://problem/50445998>
81
82         Reviewed by Antti Koivisto.
83         
84         New tests for backing sharing, and new baselines of tests whose behavior is changed.
85
86         Scrolling tree tests that would be invalidate by sharing are changed to defeat sharing by adding
87         compositing layers early in stacking order.
88
89         * TestExpectations:
90         * compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt:
91         * compositing/layer-creation/overflow-scroll-overlap-expected.txt:
92         * compositing/layer-creation/overflow-scroll-overlap.html:
93         * compositing/overflow/scrolling-content-clip-to-viewport.html:
94         * compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt:
95         * compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt.
96         * compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller.html: Added.
97         * compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller-expected.txt: Added.
98         * compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller.html: Added.
99         * compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow-expected.txt: Added.
100         * compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow.html: Copied from LayoutTests/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow.html.
101         * compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness-expected.txt: Added.
102         * compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness.html: Added.
103         * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping-expected.txt: Added.
104         * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping.html: Added.
105         * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt: Added.
106         * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping.html: Added.
107         * compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt.
108         * compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll.html: Added.
109         * compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt.
110         * compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content.html: Added.
111         * compositing/shared-backing/overflow-scroll/scrolled-contents-unconstrained-clip-expected.html: Added.
112         * compositing/shared-backing/overflow-scroll/scrolled-contents-unconstrained-clip.html: Added.
113         * compositing/shared-backing/overflow-scroll/shared-layer-clipping-expected.html: Added.
114         * compositing/shared-backing/overflow-scroll/shared-layer-clipping.html: Added.
115         * compositing/shared-backing/overflow-scroll/shared-layer-composited-bounds-expected.txt: Added.
116         * compositing/shared-backing/overflow-scroll/shared-layer-composited-bounds.html: Added.
117         * compositing/shared-backing/overflow-scroll/shared-layer-nested-relative-stacking-expected.txt: Added.
118         * compositing/shared-backing/overflow-scroll/shared-layer-nested-relative-stacking.html: Added.
119         * compositing/shared-backing/overflow-scroll/shared-layer-repaint-expected.txt: Added.
120         * compositing/shared-backing/overflow-scroll/shared-layer-repaint.html: Added.
121         * compositing/shared-backing/partial-compositing-update-expected.txt: Added.
122         * compositing/shared-backing/partial-compositing-update.html: Added.
123         * compositing/shared-backing/partial-compositing-update2-expected.txt: Added.
124         * compositing/shared-backing/partial-compositing-update2.html: Added.
125         * compositing/shared-backing/remove-sharing-layer-expected.txt: Added.
126         * compositing/shared-backing/remove-sharing-layer.html: Added.
127         * compositing/shared-backing/sharing-cached-clip-rects-expected.txt: Added.
128         * compositing/shared-backing/sharing-cached-clip-rects.html: Added.
129         * platform/ios-wk2/TestExpectations:
130         * platform/ios-wk2/compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt.
131         * platform/ios-wk2/compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller-expected.txt: Added.
132         * platform/ios-wk2/compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow-expected.txt: Added.
133         * platform/ios-wk2/compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness-expected.txt: Added.
134         * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping-expected.txt: Added.
135         * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt: Added.
136         * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt.
137         * platform/ios-wk2/compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt.
138         * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt:
139         * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt:
140         * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt:
141         * platform/ios-wk2/scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt:
142         * platform/ios/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt:
143         * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt:
144         * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt:
145         * platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt:
146         * platform/mac-wk1/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt:
147         * platform/mac-wk2/TestExpectations:
148         * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt:
149         * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt:
150         * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt:
151         * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow.html:
152         * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt:
153         * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow.html:
154         * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt:
155         * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow.html:
156         * scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt:
157         * scrollingcoordinator/scrolling-tree/positioned-nodes-complex.html:
158
159 2019-05-08  Wenson Hsieh  <wenson_hsieh@apple.com>
160
161         TestRunnerWKWebView's menu callbacks should be cleared upon UI script completion
162         https://bugs.webkit.org/show_bug.cgi?id=197685
163
164         Reviewed by Alex Christensen.
165
166         Adjust a couple of existing layout tests such that they don't rely on didShowMenuCallback and
167         didHideMenuCallback sticking around across UI scripts. Currently, these layout tests do the following:
168
169         1. Run a UI script that registers menu callback handlers.
170         2. Run a subsequent UI script that will cause the callback handlers to be fired (e.g. clicking on an element).
171
172         After making the change in the test runner to clear menu callbacks upon script completion, callbacks registered
173         in step (1) are now unregistered when step (2) completes. Instead, we can rewrite this test logic so that
174         they're driven by a single UI script.
175
176         * editing/pasteboard/ios/dom-paste-consecutive-confirmations.html:
177         * editing/pasteboard/ios/dom-paste-requires-user-gesture.html:
178
179         Instead of using internals.withUserGesture, put the test logic under a click handler (which is inside the scope
180         of a user gesture token), and then use requestAnimationFrame to schedule a second programmatic paste that is
181         outside the scope of user interaction. As opposed to setTimeout, requestAnimationFrame does not propagate the
182         current user gesture token.
183
184         * editing/pasteboard/ios/resources/dom-paste-helper.js:
185         (return.new.Promise.):
186         (async._waitForOrTriggerPasteMenu):
187
188 2019-05-08  Rob Buis  <rbuis@igalia.com>
189
190         Link prefetch not useful for top-level navigation
191         https://bugs.webkit.org/show_bug.cgi?id=195623
192
193         Reviewed by Youenn Fablet.
194
195         Verify that prefetching a cross-domain top-level main resource
196         is cached in the prefetch cache and only loaded once, and that non
197         top-level prefetches keep the old behavior.
198
199         * http/tests/cache/link-prefetch-main-resource-expected.txt: Added.
200         * http/tests/cache/link-prefetch-main-resource-iframe-expected.txt: Added.
201         * http/tests/cache/link-prefetch-main-resource-iframe.html: Added.
202         * http/tests/cache/link-prefetch-main-resource.html: Added.
203         * http/tests/cache/resources/prefetched-main-resource-iframe.php: Added.
204         * http/tests/cache/resources/prefetched-main-resource.php: Added.
205         * http/tests/contentextensions/prefetch-blocked-expected.txt: Added.
206         * http/tests/contentextensions/prefetch-blocked.html: Added.
207         * http/tests/contentextensions/prefetch-blocked.html.json: Added.
208         * platform/mac-wk1/TestExpectations:
209         * platform/win/TestExpectations:
210
211 2019-05-08  Jiewen Tan  <jiewen_tan@apple.com>
212
213         Unreviewed, a build fix after r245043
214
215         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html:
216         * http/wpt/webauthn/public-key-credential-get-success-hid.https.html:
217
218 2019-05-07  Jiewen Tan  <jiewen_tan@apple.com>
219
220         [WebAuthN] A new request should always suppress the pending request if any
221         https://bugs.webkit.org/show_bug.cgi?id=191517
222         <rdar://problem/46888222>
223
224         Reviewed by Brent Fulgham.
225
226         * http/wpt/webauthn/public-key-credential-create-failure.https-expected.txt:
227         * http/wpt/webauthn/public-key-credential-create-failure.https.html:
228         * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt:
229         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html:
230         * http/wpt/webauthn/public-key-credential-get-failure.https-expected.txt:
231         * http/wpt/webauthn/public-key-credential-get-failure.https.html:
232         * http/wpt/webauthn/public-key-credential-get-success-hid.https-expected.txt:
233         * http/wpt/webauthn/public-key-credential-get-success-hid.https.html:
234         * http/wpt/webauthn/resources/new-page.html: Added.
235
236 2019-05-07  Youenn Fablet  <youenn@apple.com>
237
238         Video stream freeze on front camera orientation changing
239         https://bugs.webkit.org/show_bug.cgi?id=197227
240         <rdar://problem/50175498>
241
242         Reviewed by Eric Carlson.
243
244         * webrtc/video-rotation-expected.txt:
245         * webrtc/video-rotation.html:
246
247 2019-05-07  Brent Fulgham  <bfulgham@apple.com>
248
249         Correct JSON parser to address unterminated escape character
250         https://bugs.webkit.org/show_bug.cgi?id=197582
251         <rdar://problem/50459177>
252
253         Reviewed by Alex Christensen.
254
255         * applicationmanifest/display-mode-bad-manifest-expected.txt:
256         * applicationmanifest/display-mode-bad-manifest.html:
257         * applicationmanifest/resources/bad.manifest: Added.
258         * js/resources/JSON-parse.js: Add test case for unterminated escape.
259         * js/dom/JSON-parse-expected.txt: Add new test case.
260         * TestWebKitAPI/Tests/WTF/JSONValue.cpp: Add new false test case
261           for unterminated escape character.
262
263 2019-05-07  John Wilander  <wilander@apple.com>
264
265         Storage Access API: Make two changes requested by developers and complete refactoring and cleanup
266         https://bugs.webkit.org/show_bug.cgi?id=197648
267         <rdar://problem/50527493>
268
269         Reviewed by Chris Dumez.
270
271         The changed test cases have had calls to WebCore::Internals::setUserGrantsStorageAccess() removed
272         since it was dead code.
273
274         One of the new tests, deny-with-prompt-does-not-preserve-gesture.html, is marked [ Skip ] for now since
275         we lack the ability to click "Don't allow" in the prompt. I wanted to include the test anyway so that
276         we have it. I have done a manual test to make sure the code does the right thing for this case.
277
278         * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-expected.txt: Added.
279         * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture.html: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html.
280         * http/tests/storageAccess/deny-without-prompt-preserves-gesture-expected.txt: Added.
281         * http/tests/storageAccess/deny-without-prompt-preserves-gesture.html: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html.
282         * http/tests/storageAccess/grant-with-prompt-preserves-gesture-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window-expected.txt.
283         * http/tests/storageAccess/grant-with-prompt-preserves-gesture.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html.
284         * http/tests/storageAccess/has-storage-access-true-if-feature-off-expected.txt: Added.
285         * http/tests/storageAccess/has-storage-access-true-if-feature-off.html: Added.
286         * http/tests/storageAccess/resources/request-storage-access-and-immediately-postmessage-iframe.html:
287         * http/tests/storageAccess/resources/request-storage-access-iframe-and-pop-window.html:
288         * http/tests/storageAccess/resources/request-storage-access-iframe.html:
289         * http/tests/storageAccess/resources/request-storage-access-without-user-gesture-iframe.html:
290         * http/tests/storageAccess/resources/self-navigating-frame-after-granted-access.html:
291         * platform/mac-wk2/TestExpectations:
292             Added expectations for the new tests.
293
294 2019-05-07  Antti Koivisto  <antti@apple.com>
295
296         <body> with overflow:hidden shouldn't be keyboard scrollable on iOS
297         https://bugs.webkit.org/show_bug.cgi?id=197659
298
299         Reviewed by Antoine Quint.
300
301         * fast/scrolling/ios/body-overflow-hidden-keyboard-expected.html: Added.
302         * fast/scrolling/ios/body-overflow-hidden-keyboard.html: Added.
303
304 2019-05-07  Ryan Haddad  <ryanhaddad@apple.com>
305
306         media/W3C/video/events/event_progress.html is flaky.
307         https://bugs.webkit.org/show_bug.cgi?id=175678
308
309         Unreviewed test gardening.
310
311         * platform/ios/TestExpectations: Mark test as flaky.
312         * platform/mac/TestExpectations: Ditto.
313         * platform/wk2/TestExpectations: Remove old WK2-only expectation.
314
315 2019-05-07  Chris Dumez  <cdumez@apple.com>
316
317         fast/dom/frame-src-javascript-url-async.html is flaky
318         https://bugs.webkit.org/show_bug.cgi?id=197664
319
320         Unreviewed, tweak test so that it is no longer flaky.
321
322         * fast/dom/frame-src-javascript-url-async-expected.txt:
323         * fast/dom/frame-src-javascript-url-async.html:
324
325 2019-05-07  Ryan Haddad  <ryanhaddad@apple.com>
326
327         [macOS / iOS Debug] Layout Test imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-getStats.https.html a flaky failure
328         https://bugs.webkit.org/show_bug.cgi?id=197662
329
330         Unreviewed test gardening.
331
332         * platform/ios-wk2/TestExpectations: Mark test as flaky.
333         * platform/mac-wk2/TestExpectations: Ditto.
334
335 2019-05-07  Antti Koivisto  <antti@apple.com>
336
337         <body> with overflow:hidden CSS is scrollable on iOS
338         https://bugs.webkit.org/show_bug.cgi?id=153852
339         <rdar://problem/38715356>
340
341         Reviewed by Antoine Quint.
342
343         * fast/scrolling/ios/body-overflow-hidden-expected.html: Added.
344         * fast/scrolling/ios/body-overflow-hidden-frame-expected.html: Added.
345         * fast/scrolling/ios/body-overflow-hidden-frame.html: Added.
346         * fast/scrolling/ios/body-overflow-hidden.html: Added.
347
348 2019-05-07  Youenn Fablet  <youenn@apple.com>
349
350         Import WPT referrer-policy tests
351         https://bugs.webkit.org/show_bug.cgi?id=197321
352
353         Reviewed by Alex Christensen.
354
355         fix-197321
356
357         * TestExpectations:
358
359 2019-05-06  Andres Gonzalez  <andresg_22@apple.com>
360
361         Hitpoint for link which spans two lines in web content is incorrect
362         https://bugs.webkit.org/show_bug.cgi?id=197511
363         <rdar://problem/49971483>
364
365         Reviewed by Chris Fleizach.
366
367         - Added LayoutTest.
368
369         * accessibility/ios-simulator/links-activation-expected.txt: Added.
370         * accessibility/ios-simulator/links-activation.html: Added.
371         * accessibility/links-activation-expected.txt: Added.
372         * accessibility/links-activation.html: Added.
373
374 2019-05-06  Youenn Fablet  <youenn@apple.com>
375
376         WebAudio Node JS wrappers should not be collected if events can be fired
377         https://bugs.webkit.org/show_bug.cgi?id=197533
378
379         Reviewed by Jer Noble.
380
381         * webaudio/webaudio-gc-expected.txt: Added.
382         * webaudio/webaudio-gc.html: Added.
383
384 2019-05-06  Ryan Haddad  <ryanhaddad@apple.com>
385
386         REGRESSION: Layout test imported/w3c/web-platform-tests/resource-timing/resource-timing-level1.sub.html is frequently failing on EWS
387         https://bugs.webkit.org/show_bug.cgi?id=197473
388
389         Unreviewed test gardening.
390
391         * platform/ios/TestExpectations: Mark test as flaky on iOS.
392
393 2019-05-06  Antoine Quint  <graouts@apple.com>
394
395         Tests under pointerevents/ios are flaky
396         https://bugs.webkit.org/show_bug.cgi?id=197624
397
398         Reviewed by Dean Jackson.
399
400         Tests under pointerevents/ios generate touches that use UIScriptController may not succeed if ran in multiple iterations or in a specific
401         order due to not ensuring that all touches are released when the test completes. We now ensure that we do when running swipes, taps, and pinches.
402
403         * pointerevents/ios/pointer-events-dispatch-on-stylus.html: Use the new ui.tapStylus() method to generate a tap with the stylus which ensures all
404         touches are removed upon completion.
405         * pointerevents/ios/pointer-events-dispatch-on-touch.html: Use a tap to ensure all touches are removed upon completion.
406         * pointerevents/ios/pointer-events-implicit-capture-has-pointer-capture-in-pointer-down.html: Use a tap to ensure all touches are removed upon completion.
407         * pointerevents/ios/pointer-events-implicit-capture-release-exception.html: Use a tap to ensure all touches are removed upon completion.
408         * pointerevents/ios/pointer-events-implicit-capture-release.html: Use a tap to ensure all touches are removed upon completion.
409         * pointerevents/ios/pointer-events-prevent-default-allows-click-event.html: Ensure both the "click" event and the tap generation have succeeded before
410         marking the test as complete.
411         * pointerevents/ios/pointer-events-set-pointer-capture-exceptions.html: Use a tap to ensure all touches are removed upon completion.
412         * pointerevents/ios/touch-action-none-link-traversal.html: Ensure both the "load" event and the tap generation have succeeded before marking the test
413         as complete.
414         * pointerevents/ios/touch-action-pan-x-pan-y.html: Remove the requestAnimationFrame() call since ui.swipe() now resolves its promise once all touches
415         have completed.
416         * pointerevents/ios/touch-action-pan-x.html: Remove the requestAnimationFrame() call since ui.swipe() now resolves its promise once all touches
417         have completed.
418         * pointerevents/ios/touch-action-pan-y.html: Remove the requestAnimationFrame() call since ui.swipe() now resolves its promise once all touches
419         have completed.
420         * pointerevents/ios/touch-action-pinch-zoom-allows-zooming.html: Remove the requestAnimationFrame() call since ui.pinchOut() now resolves its promise
421         once all touches have completed.
422         * pointerevents/ios/touch-action-pointercancel-pan-x.html: We don't need to track "pointermove" events since dispatch of "pointercancel" is asynchronous
423         and the number of "pointermove" events prior to its dispatch can legitimately vary.
424         * pointerevents/ios/touch-action-pointercancel-pan-y.html: We don't need to track "pointermove" events since dispatch of "pointercancel" is asynchronous
425         and the number of "pointermove" events prior to its dispatch can legitimately vary.
426         * pointerevents/utils.js:
427         (const.ui.new.UIController.prototype.swipe): Wait until the swipe is complete before resolving the promise.
428         (const.ui.new.UIController.prototype.pinchOut): Use a custom sequence to ensure that the pinch releases touches upon completion.
429         (const.ui.new.UIController.prototype.tapStylus): Introduce this new method to perform a stylus tap which ensures all touches are complete before resolving
430         the promise.
431         (const.ui.new.UIController.prototype.beginTouches): Deleted.
432         (const.ui.new.UIController.prototype.beginStylus): Deleted.
433
434 2019-05-06  Truitt Savell  <tsavell@apple.com>
435
436         Fix typo in https://trac.webkit.org/changeset/244962/webkit
437         https://bugs.webkit.org/show_bug.cgi?id=136627
438
439         Unreviewed test gardening.
440
441         * platform/mac/TestExpectations:
442
443 2019-05-06  Truitt Savell  <tsavell@apple.com>
444
445         mark media/track/track-cue-rendering-vertical.html as failing for Mojave after r244891 unmarked it. 
446         https://bugs.webkit.org/show_bug.cgi?id=136627
447
448         Unreviewed test gardening. 
449
450         * platform/mac/TestExpectations:
451
452 2019-05-04  Tadeu Zagallo  <tzagallo@apple.com>
453
454         TypedArrays should not store properties that are canonical numeric indices
455         https://bugs.webkit.org/show_bug.cgi?id=197228
456         <rdar://problem/49557381>
457
458         Reviewed by Saam Barati.
459
460         * fast/canvas/canvas-ImageData-behaviour-expected.txt:
461         * fast/canvas/canvas-ImageData-behaviour.js:
462
463 2019-05-04  Per Arne Vollan  <pvollan@apple.com>
464
465         [Win10] Some tests are failing only on specific machines
466         https://bugs.webkit.org/show_bug.cgi?id=197509
467
468         Unreviewed test gardening.
469
470         * platform/win/TestExpectations:
471
472 2019-05-03  Simon Fraser  <simon.fraser@apple.com>
473
474         [macOS] Fix programmatic scrolling with async overflow scroll
475         https://bugs.webkit.org/show_bug.cgi?id=197590
476
477         Reviewed by Sam Weinig.
478
479         Tests for programmatic scrolling of overflow and iframes.
480
481         * scrollingcoordinator/mac/programmatic-frame-scroll-expected.html: Added.
482         * scrollingcoordinator/mac/programmatic-frame-scroll.html: Added.
483         * scrollingcoordinator/mac/programmatic-overflow-scroll-expected.html: Added.
484         * scrollingcoordinator/mac/programmatic-overflow-scroll.html: Added.
485
486 2019-05-03  Jiewen Tan  <jiewen_tan@apple.com>
487
488         [WebAuthN] A focused document should be required
489         https://bugs.webkit.org/show_bug.cgi?id=197543
490         <rdar://problem/50430989>
491
492         Reviewed by Brent Fulgham.
493
494         * http/wpt/webauthn/public-key-credential-same-origin-with-ancestors.https.html:
495         * http/wpt/webauthn/public-key-credential-unfocused-document.https-expected.txt: Added.
496         * http/wpt/webauthn/public-key-credential-unfocused-document.https.html: Copied from LayoutTests/http/wpt/webauthn/public-key-credential-same-origin-with-ancestors.https.html.
497         * http/wpt/webauthn/resources/last-layer-frame.https.html:
498         * http/wpt/webauthn/resources/second-layer-frame.https.html:
499
500 2019-05-03  Youenn Fablet  <youenn@apple.com>
501
502         [iOS] set the default maximum camera count to 1 for enumerateDevices
503         https://bugs.webkit.org/show_bug.cgi?id=197566
504
505         Reviewed by Eric Carlson.
506
507         * fast/mediastream/get-user-media-device-id.html:
508
509 2019-05-03  Youenn Fablet  <youenn@apple.com>
510
511         Cache.add and Cache.addAll should compute a correct response body size
512         https://bugs.webkit.org/show_bug.cgi?id=197464
513
514         Reviewed by Chris Dumez.
515
516         * http/wpt/cache-storage/cache-quota-add.any-expected.txt: Added.
517         * http/wpt/cache-storage/cache-quota-add.any.html: Added.
518         * http/wpt/cache-storage/cache-quota-add.any.js: Added.
519
520 2019-05-03  Youenn Fablet  <youenn@apple.com>
521
522         LayoutTest imported/w3c/web-platform-tests/xhr/event-upload-progress-crossorigin.htm is a flaky failure
523         https://bugs.webkit.org/show_bug.cgi?id=182849
524         <rdar://problem/50353372>
525
526         Reviewed by Alex Christensen.
527
528         * platform/mac-wk2/TestExpectations:
529
530 2019-05-03  Devin Rousso  <drousso@apple.com>
531
532         Web Inspector: Record actions performed on WebGL2RenderingContext
533         https://bugs.webkit.org/show_bug.cgi?id=176008
534         <rdar://problem/34213884>
535
536         Reviewed by Joseph Pecoraro.
537
538         * inspector/canvas/recording-webgl2.html: Added.
539         * inspector/canvas/recording-webgl2-expected.txt: Added.
540         * inspector/canvas/recording-webgl2-snapshots.html: Added.
541         * inspector/canvas/recording-webgl2-snapshots-expected.txt: Added.
542
543         * TestExpectations:
544         * platform/gtk/TestExpectations:
545         * platform/mac/TestExpectations:
546         * platform/win/TestExpectations:
547         * platform/wincairo/TestExpectations:
548
549 2019-05-02  Ryosuke Niwa  <rniwa@webkit.org>
550
551         Make focusing-element-with-tabindex-by-tap-or-click.html more robust on iOS
552         https://bugs.webkit.org/show_bug.cgi?id=197548
553
554         Reviewed by Wenson Hsieh.
555
556         There was a race between the time the editable element was focused and the keyboard was brought up
557         to when the next non-editable element was focused. Made the test explicitly wait for the keyboard
558         to come up and go down between test cases to make it more robust.
559
560         * fast/events/focusing-element-with-tabindex-by-tap-or-click.html:
561
562 2019-05-02  Chris Dumez  <cdumez@apple.com>
563
564         Add test coverage for <rdar://problem/49731231>
565         https://bugs.webkit.org/show_bug.cgi?id=196730
566         <rdar://problem/49731231>
567
568         Reviewed by Ryosuke Niwa.
569
570         * http/tests/security/showModalDialog-sync-cross-origin-page-load-expected.txt: Added.
571         * http/tests/security/showModalDialog-sync-cross-origin-page-load.html: Added.
572
573 2019-05-02  Chris Dumez  <cdumez@apple.com>
574
575         Setting a frame's src to a javascript URL should not run it synchronously
576         https://bugs.webkit.org/show_bug.cgi?id=197466
577
578         Reviewed by Darin Adler.
579
580         * fast/dom/frame-src-javascript-url-async-expected.txt: Added.
581         * fast/dom/frame-src-javascript-url-async.html: Added.
582         Add layout test coverage for the fact that the javascript URL is executed asynchronously
583         whether set during parsing or later via JS. Also makes sure that executing the javascript
584         URL asynchronously does not replace the frame's window. This test passes in both Chrome
585         and Firefox.
586
587         * imported/blink/fast/frames/navigation-in-pagehide.html:
588         Re-sync this test from the Blink repository.
589
590         * fast/dom/Element/id-in-frameset-expected.txt:
591         * fast/dom/Element/id-in-frameset.html:
592         * fast/dom/insertedIntoDocument-iframe-expected.txt:
593         * fast/dom/javascript-url-exception-isolation-expected.txt:
594         * fast/dom/javascript-url-exception-isolation.html:
595         * fast/dom/no-assert-for-malformed-js-url-attribute-expected.txt:
596         * fast/dom/resources/javascript-url-crash-function-iframe.html:
597         * fast/frames/adopt-from-created-document.html:
598         * fast/frames/out-of-document-iframe-has-child-frame.html:
599         * fast/loader/javascript-url-iframe-remove-on-navigate-async-delegate.html:
600         * fast/loader/javascript-url-iframe-remove-on-navigate.html:
601         * fast/loader/unload-mutation-crash.html:
602         * fast/parser/resources/set-parent-to-javascript-url.html:
603         * fast/parser/xml-error-adopted.xml:
604         * http/tests/navigation/lockedhistory-iframe-expected.txt:
605         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt:
606         * http/tests/security/contentSecurityPolicy/javascript-url-allowed-expected.txt:
607         * http/tests/security/contentSecurityPolicy/javascript-url-blocked-by-default-src-star-expected.txt:
608         * http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt:
609         * http/tests/security/javascriptURL/xss-ALLOWED-from-javascript-url-sub-frame-2-level.html:
610         * http/tests/security/javascriptURL/xss-ALLOWED-from-javascript-url-sub-frame.html:
611         * http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-from-javscript-url.html:
612         * imported/blink/loader/iframe-sync-loads-expected.txt:
613         * js/dom/call-base-resolution.html:
614         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt:
615         Update / Rebaseline existing tests to reflect behavior change. I ran those tests in Firefox and Chrome to confirm that our behavior
616         is indeed aligned.
617
618 2019-05-02  Gary Katsevman  <git@gkatsev.com>
619
620         WebVTT: vertical cue text alignment is the wrong way around
621         https://bugs.webkit.org/show_bug.cgi?id=136627
622         <rdar://problem/49725538>
623
624         Reviewed by Eric Carlson.
625
626         * platform/ios/media/track/track-cue-rendering-vertical-expected.txt:
627         * platform/mac/TestExpectations: Unskipped test.
628         * platform/mac/media/track/track-cue-rendering-vertical-expected.png: Removed.
629         * platform/mac/media/track/track-cue-rendering-vertical-expected.txt:
630
631 2019-05-02  Truitt Savell  <tsavell@apple.com>
632
633         [ Sierra Release WK2 ] Layout Test fast/workers/worker-cloneport.html is flaky
634         https://bugs.webkit.org/show_bug.cgi?id=191644
635
636         Unreviewed test gardening.
637
638         * platform/mac-wk2/TestExpectations: Remove expectation. 
639
640 2019-05-02  Miguel Gomez  <magomez@igalia.com>
641
642         Unreviewed GTK+ gardening after r244868.
643
644         * platform/gtk/TestExpectations:
645
646 2019-05-02  Per Arne Vollan  <pvollan@apple.com>
647
648         [Win10] Some tests are failing only on specific machines
649         https://bugs.webkit.org/show_bug.cgi?id=197509
650
651         Unreviewed test gardening.
652
653         * platform/win/TestExpectations:
654
655 2019-05-01  Devin Rousso  <drousso@apple.com>
656
657         Unreviewed, fix test failures after r242992.
658         <rdar://problem/50383600>
659
660         * inspector/console/console-screenshot.html:
661         * inspector/console/console-screenshot-expected.txt:
662         Don't print the dataURL in the expectation file.
663
664 2019-05-01  Jiewen Tan  <jiewen_tan@apple.com>
665
666         [WebAuthN] Adopt SecurityOrigin::isMatchingRegistrableDomainSuffix()
667         https://bugs.webkit.org/show_bug.cgi?id=197481
668
669         Reviewed by Brent Fulgham.
670
671         * http/wpt/webauthn/public-key-credential-create-failure.https.html:
672         * http/wpt/webauthn/public-key-credential-get-failure.https.html:
673         * http/wpt/webauthn/public-key-credential-ip-address-expected.txt: Added.
674         * http/wpt/webauthn/public-key-credential-ip-address.html: Added.
675         * http/wpt/webauthn/resources/public-key-credential-ip-address.https.html: Added.
676
677 2019-05-01  Devin Rousso  <drousso@apple.com>
678
679         Unreviewed, fix test failures after r242809.
680         <rdar://problem/50383600>
681
682         * inspector/canvas/recording-html-2d.html:
683         * inspector/canvas/recording-html-2d-expected.txt:
684         Don't print the dataURL in the expectation file.
685
686 2019-05-01  Justin Fan  <justin_fan@apple.com>
687
688         Update WebGPU class names based on sketch.idl
689         https://bugs.webkit.org/show_bug.cgi?id=194260
690
691         Reviewed by Dean Jackson.
692
693         Update all exposed Web GPU interface names to GPU* prefix.
694
695         * webgpu/adapter-options.html:
696         * webgpu/bind-groups-expected.txt:
697         * webgpu/bind-groups.html:
698         * webgpu/buffer-resource-triangles.html:
699         * webgpu/js/webgpu-functions.js:
700         (beginBasicRenderPass):
701         * webgpu/map-read-buffers.html:
702         * webgpu/map-write-buffers.html:
703         * webgpu/pipeline-layouts-expected.txt:
704         * webgpu/pipeline-layouts.html:
705         * webgpu/queue-creation-expected.txt:
706         * webgpu/queue-creation.html:
707         * webgpu/render-command-encoding-expected.txt:
708         * webgpu/render-command-encoding.html:
709         * webgpu/render-pipelines-expected.txt:
710         * webgpu/render-pipelines.html:
711         * webgpu/textures-textureviews.html:
712         * webgpu/webgpu-enabled.html:
713
714 2019-05-01  Zalan Bujtas  <zalan@apple.com>
715
716         [iOS] Unreviewed test gardening.
717
718         * platform/ios-wk2/fast/block/margin-collapse/103-expected.txt:
719         * platform/ios/compositing/overflow/theme-affects-visual-overflow-expected.txt:
720         * platform/ios/fast/block/margin-collapse/103-expected.txt:
721         * platform/ios/fast/parser/bad-xml-slash-expected.txt:
722         * platform/ios/tables/mozilla/bugs/bug4527-expected.txt:
723
724 2019-05-01  Wenson Hsieh  <wenson_hsieh@apple.com>
725
726         REGRESSION(r244494): editing/pasteboard/5761530-1.html is flaky due to a simple line layout bug
727         https://bugs.webkit.org/show_bug.cgi?id=197438
728         <rdar://problem/50348091>
729
730         Reviewed by Zalan Bujtas.
731
732         Work around the simple line layout bug in the flaky layout test by disabling simple line layout.
733
734         * editing/pasteboard/5761530-1.html:
735
736 2019-05-01  Ryosuke Niwa  <rniwa@webkit.org>
737
738         [iOS] Element::focus and Element::scrollIntoView do not clamp scroll positions
739         https://bugs.webkit.org/show_bug.cgi?id=197211
740
741         Reviewed by Simon Fraser.
742
743         Added tests for scrolling via Element.prototype.focus and Element.prototype.scrollIntoView.
744
745         * fast/scrolling/ios/programmatic-scroll-via-focus-should-clamp-top-expected.txt: Added.
746         * fast/scrolling/ios/programmatic-scroll-via-focus-should-clamp-top.html: Added.
747         * fast/scrolling/ios/programmatic-scroll-via-scrollIntoView-inside-iframe-should-clamp-top-expected.txt: Added.
748         * fast/scrolling/ios/programmatic-scroll-via-scrollIntoView-inside-iframe-should-clamp-top.html: Added.
749         * fast/scrolling/ios/programmatic-scroll-via-scrollIntoView-should-clamp-top-expected.txt: Added.
750         * fast/scrolling/ios/programmatic-scroll-via-scrollIntoView-should-clamp-top.html: Added.
751         * platform/ios-wk2/fast/dom/focus-contenteditable-expected.txt: Rebaselined the output now that the scroll position
752         is properly clamped.
753         * platform/ios-wk2/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint-expected.txt: Rebaselined as one
754         more test case is passing.
755
756 2019-05-01  Wenson Hsieh  <wenson_hsieh@apple.com>
757
758         [iOS] Add a version of viewport shrink-to-fit heuristics that preserves page layout
759         https://bugs.webkit.org/show_bug.cgi?id=197342
760         <rdar://problem/50063091>
761
762         Reviewed by Tim Horton.
763
764         Introduces new layout tests, and adjusts some existing tests. See comments below.
765
766         * fast/viewport/ios/shrink-to-fit-content-constant-width-expected.txt: Added.
767         * fast/viewport/ios/shrink-to-fit-content-constant-width.html: Added.
768
769         Add a new layout test to exercise the scenario where a constant width viewport narrower than the view is used.
770
771         * fast/viewport/ios/shrink-to-fit-content-large-width-breakpoint-expected.txt: Added.
772         * fast/viewport/ios/shrink-to-fit-content-large-width-breakpoint.html: Added.
773
774         Add a new layout test to exercise the scenario where a responsive website that lays out larger than the view
775         width ends up with even more horizontal scrolling when laying out at the initial content width. In this
776         scenario, we shouldn't try to expand the viewport to try and encompass the content width, since that would only
777         induce even worse horizontal scrolling.
778
779         * fast/viewport/ios/shrink-to-fit-content-no-viewport-expected.txt: Added.
780         * fast/viewport/ios/shrink-to-fit-content-no-viewport.html: Added.
781
782         Add a new layout test for the case where there is no viewport, but content lays out wider than the view.
783
784         * fast/viewport/ios/shrink-to-fit-content-responsive-viewport-with-horizontal-overflow-expected.txt: Added.
785         * fast/viewport/ios/shrink-to-fit-content-responsive-viewport-with-horizontal-overflow.html: Added.
786
787         Add a new layout test for the case where the page has opted for a responsive viewport (device-width, initial
788         scale 1), but has laid out wider than the viewport anyways. In this case, we want to shrink the contents down to
789         fit inside the view.
790
791         * fast/viewport/ios/shrink-to-fit-content-temporary-overflow-expected.txt: Added.
792         * fast/viewport/ios/shrink-to-fit-content-temporary-overflow.html: Added.
793
794         Add a new layout test to exercise the case where, during page load, content width temporarily increases, and
795         then decreases such that it once again fits within the viewport. In this case, we don't want to expand the
796         viewport to be as wide as the large temporary width of the page.
797
798         * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt:
799         * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden.html:
800         * fast/viewport/ios/width-is-device-width-overflowing-expected.txt:
801         * fast/viewport/ios/width-is-device-width-overflowing.html:
802
803         Tweak these 2 existing layout tests to include "shrink-to-fit=no", to prevent the new heuristics from shrinking
804         the page to fit on device classes that use native viewports by default.
805
806         * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt:
807         * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-expected.txt:
808
809 2019-05-01  Zalan Bujtas  <zalan@apple.com>
810
811         [iOS] Star rating is covered with a black circle when writing a review on Yelp
812         https://bugs.webkit.org/show_bug.cgi?id=197469
813         <rdar://problem/48094446>
814
815         Reviewed by Dean Jackson.
816
817         * fast/forms/radio-and-checkbox-checked-with-no-appearance-expected.html: Added.
818         * fast/forms/radio-and-checkbox-checked-with-no-appearance.html: Added.
819
820 2019-05-01  Ryan Haddad  <ryanhaddad@apple.com>
821
822         REGRESSION: Layout test imported/w3c/web-platform-tests/resource-timing/resource-timing-level1.sub.html is frequently failing on Mac-ews
823         https://bugs.webkit.org/show_bug.cgi?id=197473
824
825         Unreviewed test gardening.
826
827         * platform/mac/TestExpectations:
828
829 2019-05-01  Truitt Savell  <tsavell@apple.com>
830
831         Win10 failing or flakey tests need to be given expectations to allow for new EWS
832         https://bugs.webkit.org/show_bug.cgi?id=197471
833
834         Unreviewed test Gardening
835
836         * platform/win/TestExpectations:
837
838 2019-05-01  Darin Adler  <darin@apple.com>
839
840         WebKit has too much of its own UTF-8 code and should rely more on ICU's UTF-8 support
841         https://bugs.webkit.org/show_bug.cgi?id=195535
842
843         Reviewed by Alexey Proskuryakov.
844
845         * css3/escape-dom-api-expected.txt:
846         * fast/text/dangling-surrogates-expected.txt:
847         * js/dom/webidl-type-mapping-expected.txt:
848         * js/invalid-utf8-in-syntax-error-expected.txt:
849         Updated expected results to have the Unicode replacement character in cases where the
850         text contains unpaired surrogates. The tests are still doing the same operations, and
851         still getting the same results, but the text output no longer includes illegal UTF-8.
852
853         * js/invalid-utf8-in-syntax-error.html: Added. Before adding this, the test was
854         run, but unlike the rest of the tests in this directory, was only run as part of
855         run-javascriptcore-tests. There are two reasons for adding this. One is to be
856         consistent with the rest of the tests here and run a second time as part of the
857         broader WebKit tests. The second is that we can now use "--reset-results" to generate
858         new expected results, something that run-webkit-tests has but run-javascriptcore-tests
859         does not have.
860
861 2019-05-01  Shawn Roberts  <sroberts@apple.com>
862
863         Unreviewed, rolling out r244821.
864
865         Causing 4 Test262 failures on JSC Release and Debug
866
867         Reverted changeset:
868
869         "WebKit has too much of its own UTF-8 code and should rely
870         more on ICU's UTF-8 support"
871         https://bugs.webkit.org/show_bug.cgi?id=195535
872         https://trac.webkit.org/changeset/244821
873
874 2019-05-01  Youenn Fablet  <youenn@apple.com>
875
876         Reject/throw when calling AudioContext methods on a stopped AudioContext
877         https://bugs.webkit.org/show_bug.cgi?id=197391
878
879         Reviewed by Eric Carlson.
880
881         * http/wpt/webaudio/audiocontext-stopped-expected.txt: Added.
882         * http/wpt/webaudio/audiocontext-stopped.html: Added.
883         * http/wpt/webaudio/resources/audiocontext-stopped-iframe.html: Added.
884         * platform/win/TestExpectations: Skip test for win.
885
886 2019-05-01  Youenn Fablet  <youenn@apple.com>
887
888         Enable Fetch Keep Alive by default
889         https://bugs.webkit.org/show_bug.cgi?id=197331
890
891         Reviewed by Alex Christensen.
892
893         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/basic/keepalive-expected.txt: Added.
894
895 2019-05-01  Eric Carlson  <eric.carlson@apple.com>
896
897         XMLHttpRequest should propagate user gestures for media playback
898         https://bugs.webkit.org/show_bug.cgi?id=197428
899         <rdar://problem/46677392>
900
901         Reviewed by Jer Noble.
902
903         * fast/events/popup-blocking-timers5-expected.txt:
904         * fast/events/popup-blocking-timers5.html: Decrease the timer interval from 1000 to 900
905         because the user gesture is invalidated based on wall clock time.
906         * fast/events/popup-blocking-timers6-expected.txt:
907         * fast/events/popup-blocking-timers6.html: Increase the timer interval from 1001 to 1100
908         because the user gesture is invalidated based on wall clock time.
909         * http/tests/media/user-gesture-preserved-across-xmlhttprequest-expected.txt: Added.
910         * http/tests/media/user-gesture-preserved-across-xmlhttprequest.html: Added.
911
912 2019-04-29  Darin Adler  <darin@apple.com>
913
914         WebKit has too much of its own UTF-8 code and should rely more on ICU's UTF-8 support
915         https://bugs.webkit.org/show_bug.cgi?id=195535
916
917         Reviewed by Alexey Proskuryakov.
918
919         * css3/escape-dom-api-expected.txt:
920         * fast/text/dangling-surrogates-expected.txt:
921         * js/dom/webidl-type-mapping-expected.txt:
922         * js/invalid-utf8-in-syntax-error-expected.txt:
923         Updated expected results to have the Unicode replacement character in cases where the
924         text contains unpaired surrogates. The tests are still doing the same operations, and
925         still getting the same results, but the text output no longer includes illegal UTF-8
926         because the WTF changes affect the code path that DumpRenderTree and WebKitTestRunner
927         use to produce the text output.
928
929         * js/invalid-utf8-in-syntax-error.html: Added. Before adding this, the test was
930         run, but unlike the rest of the tests in this directory, was only run as part of
931         run-javascriptcore-tests. There are two reasons for adding this. One is to be
932         consistent with the rest of the tests here and run a second time as part of the
933         broader WebKit tests. The second is that we can now use "--reset-results" to generate
934         new expected results, something that run-webkit-tests has but run-javascriptcore-tests
935         does not have.
936
937 2019-04-30  Myles C. Maxfield  <mmaxfield@apple.com>
938
939         font-weight: 1000 is not parsed successfully
940         https://bugs.webkit.org/show_bug.cgi?id=197427
941
942         Reviewed by Dean Jackson.
943
944         * platform/win/TestExpectations: Windows disables variation fonts, so requires values to be divisible by 100
945         * fast/text/font-weight-1-1000-expected.txt: Added.
946         * fast/text/font-weight-1-1000.html: Added.
947
948 2019-04-30  Commit Queue  <commit-queue@webkit.org>
949
950         Unreviewed, rolling out r244806.
951         https://bugs.webkit.org/show_bug.cgi?id=197446
952
953         Causing Test262 and JSC test failures on multiple builds
954         (Requested by ShawnRoberts on #webkit).
955
956         Reverted changeset:
957
958         "TypeArrays should not store properties that are canonical
959         numeric indices"
960         https://bugs.webkit.org/show_bug.cgi?id=197228
961         https://trac.webkit.org/changeset/244806
962
963 2019-04-30  Youenn Fablet  <youenn@apple.com>
964
965         [macOS WK1] ASSERTION FAILED: formData in WebCore::ResourceRequest::doUpdateResourceHTTPBody()
966         https://bugs.webkit.org/show_bug.cgi?id=196864
967         <rdar://problem/49854497>
968
969         Reviewed by Alex Christensen.
970
971         * platform/mac-wk1/TestExpectations:
972
973 2019-04-30  Shawn Roberts  <sroberts@apple.com>
974
975         imported/w3c/web-platform-tests/xhr/event-upload-progress-crossorigin.htm is a flaky failure
976         https://bugs.webkit.org/show_bug.cgi?id=182849
977
978         Unreviewed test gardening.
979
980         * platform/ios-simulator-wk2/TestExpectations: Updating expectations for flaky failure on iOS
981
982 2019-04-30  Tadeu Zagallo  <tzagallo@apple.com>
983
984         TypeArrays should not store properties that are canonical numeric indices
985         https://bugs.webkit.org/show_bug.cgi?id=197228
986         <rdar://problem/49557381>
987
988         Reviewed by Darin Adler.
989
990         * fast/canvas/canvas-ImageData-behaviour-expected.txt:
991         * fast/canvas/canvas-ImageData-behaviour.js:
992
993 2019-04-30  Commit Queue  <commit-queue@webkit.org>
994
995         Unreviewed, rolling out r244774.
996         https://bugs.webkit.org/show_bug.cgi?id=197431
997
998         Causing assertion failures on debug queues (Requested by
999         ShawnRoberts on #webkit).
1000
1001         Reverted changeset:
1002
1003         "Reject/throw when calling AudioContext methods on a stopped
1004         AudioContext"
1005         https://bugs.webkit.org/show_bug.cgi?id=197391
1006         https://trac.webkit.org/changeset/244774
1007
1008 2019-04-30  Alex Christensen  <achristensen@webkit.org>
1009
1010         Add WKContentRuleList ping resource-type
1011         https://bugs.webkit.org/show_bug.cgi?id=197325
1012         <rdar://problem/49841404>
1013
1014         Reviewed by Geoff Garen.
1015
1016         * http/tests/contentextensions/block-ping-resource-type-raw--expected.txt: Copied from LayoutTests/http/tests/contentextensions/block-ping-expected.txt.
1017         * http/tests/contentextensions/block-ping-resource-type-raw.html: Copied from LayoutTests/http/tests/contentextensions/block-ping.html.
1018         * http/tests/contentextensions/block-ping-resource-type-raw.html.json: Copied from LayoutTests/http/tests/contentextensions/block-ping.html.json.
1019         * http/tests/contentextensions/block-ping-resource-type-ping-expected.txt: Copied from LayoutTests/http/tests/contentextensions/block-ping-expected.txt.
1020         * http/tests/contentextensions/block-ping-resource-type-ping.html: Copied from LayoutTests/http/tests/contentextensions/block-ping.html.
1021         * http/tests/contentextensions/block-ping-resource-type-ping.html.json: Copied from LayoutTests/http/tests/contentextensions/block-ping.html.json.
1022
1023 2019-04-30  Shawn Roberts  <sroberts@apple.com>
1024
1025         Fixing typo in https://trac.webkit.org/changeset/244780/webkit.
1026
1027         Unreviewed test gardening.
1028
1029         * platform/mac/TestExpectations:
1030
1031 2019-04-30  Shawn Roberts  <sroberts@apple.com>
1032
1033         scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html is a flaky failure
1034         https://bugs.webkit.org/show_bug.cgi?id=197425
1035
1036         Unreviewed test gardening.
1037
1038         * platform/mac-wk2/TestExpectations: Updating expectations for flaky failure
1039
1040 2019-04-30  Shawn Roberts  <sroberts@apple.com>
1041
1042         animations/play-state-in-shorthand.html is a flaky failure
1043         https://bugs.webkit.org/show_bug.cgi?id=192501
1044
1045         Unreviewed test gardening.
1046
1047         * platform/ios-simulator-wk2/TestExpectations: Updating expectations for flaky failure
1048         * platform/mac/TestExpectations: Ditto
1049
1050 2019-04-30  Justin Fan  <justin_fan@apple.com>
1051
1052         [WebGPU] Move 'gpu' API entry point from DOMWindow to Navigator
1053         https://bugs.webkit.org/show_bug.cgi?id=197348
1054
1055         Reviewed by Myles C. Maxfield.
1056
1057         WebGPU is now accessed through navigator.gpu instead of window.gpu.
1058         Add webgpu-enabled-in-worker to ensure workers can access WebGPU.
1059
1060         * webgpu/adapter-options.html:
1061         * webgpu/js/create-worker-device.js: Added.
1062         (async.tryCreateDevice):
1063         * webgpu/js/webgpu-functions.js:
1064         (async.getBasicDevice):
1065         * webgpu/queue-creation.html:
1066         * webgpu/webgpu-enabled-in-worker-expected.txt: Added.
1067         * webgpu/webgpu-enabled-in-worker.html: Added.
1068         * webgpu/webgpu-enabled.html:
1069         * webgpu/whlsl.html:
1070
1071         Add navigator.gpu to expectations for navigator-detached-no-crash.
1072         * fast/dom/navigator-detached-no-crash-expected.txt:
1073         * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt:
1074         * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt:
1075
1076 2019-04-30  Youenn Fablet  <youenn@apple.com>
1077
1078         Update WPT service-worker resource-timing test to use hosts[alt]
1079         https://bugs.webkit.org/show_bug.cgi?id=197329
1080
1081         Reviewed by Chris Dumez.
1082
1083         * TestExpectations:
1084
1085 2019-04-30  Zalan Bujtas  <zalan@apple.com>
1086
1087         Double-tapping a post to like doesn't work on Instagram.com (needs 'dblclick' event)
1088         https://bugs.webkit.org/show_bug.cgi?id=197347
1089         <rdar://problem/49393423>
1090
1091         Reviewed by Wenson Hsieh.
1092
1093         * fast/events/touch/ios/double-tap-for-double-click1-expected.txt: Added.
1094         * fast/events/touch/ios/double-tap-for-double-click1.html: Added.
1095         * fast/events/touch/ios/double-tap-for-double-click2-expected.txt: Added.
1096         * fast/events/touch/ios/double-tap-for-double-click2.html: Added.
1097
1098 2019-04-30  Youenn Fablet  <youenn@apple.com>
1099
1100         Reject/throw when calling AudioContext methods on a stopped AudioContext
1101         https://bugs.webkit.org/show_bug.cgi?id=197391
1102
1103         Reviewed by Eric Carlson.
1104
1105         * http/wpt/webaudio/audiocontext-stopped-expected.txt: Added.
1106         * http/wpt/webaudio/audiocontext-stopped.html: Added.
1107         * http/wpt/webaudio/resources/audiocontext-stopped-iframe.html: Added.
1108         * platform/win/TestExpectations: Skip test for win.
1109
1110 2019-04-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1111
1112         [GTK] Support prefers-color-scheme media query
1113         https://bugs.webkit.org/show_bug.cgi?id=196685
1114
1115         Reviewed by Michael Catanzaro.
1116
1117         Unskip css-dark-mode tests and add platform specific results for some of the tests using the supported color
1118         scheme feature.
1119
1120         * platform/gtk/TestExpectations:
1121         * platform/gtk/css-dark-mode/color-scheme-css-expected.txt: Added.
1122         * platform/gtk/css-dark-mode/color-scheme-meta-expected.txt: Added.
1123         * platform/gtk/css-dark-mode/default-colors-expected.txt: Added.
1124         * platform/gtk/css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt: Added.
1125         * platform/gtk/css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt: Added.
1126         * platform/gtk/css-dark-mode/prefers-color-scheme-expected.txt: Added.
1127
1128 2019-04-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1129
1130         Unreviewed GTK gardening. Rebaseline tests after r244635.
1131
1132         * platform/gtk/css3/selectors3/html/css3-modsel-24-expected.png:
1133         * platform/gtk/css3/selectors3/html/css3-modsel-24-expected.txt:
1134         * platform/gtk/css3/selectors3/html/css3-modsel-68-expected.png:
1135         * platform/gtk/css3/selectors3/html/css3-modsel-68-expected.txt:
1136         * platform/gtk/css3/selectors3/xhtml/css3-modsel-24-expected.png:
1137         * platform/gtk/css3/selectors3/xhtml/css3-modsel-24-expected.txt:
1138         * platform/gtk/css3/selectors3/xhtml/css3-modsel-68-expected.png:
1139         * platform/gtk/css3/selectors3/xhtml/css3-modsel-68-expected.txt:
1140         * platform/gtk/css3/selectors3/xml/css3-modsel-24-expected.png:
1141         * platform/gtk/css3/selectors3/xml/css3-modsel-24-expected.txt:
1142         * platform/gtk/css3/selectors3/xml/css3-modsel-68-expected.png:
1143         * platform/gtk/css3/selectors3/xml/css3-modsel-68-expected.txt:
1144         * platform/gtk/fast/forms/basic-inputs-expected.png:
1145         * platform/gtk/fast/forms/basic-inputs-expected.txt:
1146         * platform/gtk/fast/forms/basic-textareas-expected.png:
1147         * platform/gtk/fast/forms/basic-textareas-expected.txt:
1148         * platform/gtk/fast/forms/basic-textareas-quirks-expected.png:
1149         * platform/gtk/fast/forms/basic-textareas-quirks-expected.txt:
1150         * platform/gtk/fast/forms/disabled-select-change-index-expected.png:
1151         * platform/gtk/fast/forms/disabled-select-change-index-expected.txt:
1152         * platform/gtk/fast/forms/file/file-input-disabled-expected.png:
1153         * platform/gtk/fast/forms/file/file-input-disabled-expected.txt:
1154         * platform/gtk/fast/forms/input-appearance-disabled-expected.png:
1155         * platform/gtk/fast/forms/input-appearance-disabled-expected.txt:
1156         * platform/gtk/fast/forms/input-disabled-color-expected.png:
1157         * platform/gtk/fast/forms/input-disabled-color-expected.txt:
1158         * platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
1159         * platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.txt:
1160
1161 2019-04-29  Truitt Savell  <tsavell@apple.com>
1162
1163         Unreviewed, rolling out r244755.
1164
1165         Casued several test failures on iOS
1166
1167         Reverted changeset:
1168
1169         "Double-tapping a post to like doesn't work on Instagram.com
1170         (needs 'dblclick' event)"
1171         https://bugs.webkit.org/show_bug.cgi?id=197347
1172         https://trac.webkit.org/changeset/244755
1173
1174 2019-04-29  Zalan Bujtas  <zalan@apple.com>
1175
1176         Double-tapping a post to like doesn't work on Instagram.com (needs 'dblclick' event)
1177         https://bugs.webkit.org/show_bug.cgi?id=197347
1178         <rdar://problem/49393423>
1179
1180         Reviewed by Wenson Hsieh.
1181
1182         * fast/events/touch/ios/double-tap-for-double-click1-expected.txt: Added.
1183         * fast/events/touch/ios/double-tap-for-double-click1.html: Added.
1184         * fast/events/touch/ios/double-tap-for-double-click2-expected.txt: Added.
1185         * fast/events/touch/ios/double-tap-for-double-click2.html: Added.
1186
1187 2019-04-30  Simon Fraser  <simon.fraser@apple.com>
1188
1189         Transform is sometimes left in a bad state after an animation
1190         https://bugs.webkit.org/show_bug.cgi?id=197401
1191         rdar://problem/48179186
1192
1193         Reviewed by Dean Jackson.
1194         
1195         Share code between all the overlap tests that work by creating dot matrices, and strip
1196         out the transforms from the layer tree dumps, because they can vary with timing in these
1197         tests.
1198
1199         * compositing/animation/transform-after-animation-expected.html: Added.
1200         * compositing/animation/transform-after-animation.html: Added.
1201         * compositing/backing/backing-store-attachment-empty-keyframe-expected.txt:
1202         * compositing/layer-creation/animation-overlap-with-children.html:
1203         * compositing/layer-creation/mismatched-rotated-transform-animation-overlap-expected.txt:
1204         * compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html:
1205         * compositing/layer-creation/mismatched-rotated-transform-transition-overlap.html:
1206         * compositing/layer-creation/mismatched-transform-transition-overlap.html:
1207         * compositing/layer-creation/multiple-keyframes-animation-overlap-expected.txt:
1208         * compositing/layer-creation/multiple-keyframes-animation-overlap.html:
1209         * compositing/layer-creation/resources/compositing-overlap-utils.js: Added.
1210         (makeDots):
1211         (layerTreeWithoutTransforms):
1212         (dumpLayers):
1213         * compositing/layer-creation/scale-rotation-animation-overlap-expected.txt:
1214         * compositing/layer-creation/scale-rotation-animation-overlap.html:
1215         * compositing/layer-creation/scale-rotation-transition-overlap.html:
1216         * compositing/layer-creation/translate-animation-overlap-expected.txt:
1217         * compositing/layer-creation/translate-animation-overlap.html:
1218         * compositing/layer-creation/translate-scale-animation-overlap-expected.txt:
1219         * compositing/layer-creation/translate-scale-animation-overlap.html:
1220         * compositing/layer-creation/translate-scale-transition-overlap.html:
1221         * compositing/layer-creation/translate-transition-overlap.html:
1222         * legacy-animation-engine/compositing/backing/backing-store-attachment-empty-keyframe-expected.txt:
1223         * legacy-animation-engine/compositing/backing/backing-store-attachment-empty-keyframe.html:
1224         * legacy-animation-engine/compositing/backing/transform-transition-from-outside-view-expected.txt:
1225         * legacy-animation-engine/compositing/layer-creation/animation-overlap-with-children.html:
1226         * legacy-animation-engine/compositing/layer-creation/mismatched-rotated-transform-animation-overlap-expected.txt:
1227         * legacy-animation-engine/compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html:
1228         * legacy-animation-engine/compositing/layer-creation/mismatched-rotated-transform-transition-overlap-expected.txt:
1229         * legacy-animation-engine/compositing/layer-creation/mismatched-rotated-transform-transition-overlap.html:
1230         * legacy-animation-engine/compositing/layer-creation/mismatched-transform-transition-overlap-expected.txt:
1231         * legacy-animation-engine/compositing/layer-creation/mismatched-transform-transition-overlap.html:
1232         * legacy-animation-engine/compositing/layer-creation/multiple-keyframes-animation-overlap-expected.txt:
1233         * legacy-animation-engine/compositing/layer-creation/multiple-keyframes-animation-overlap.html:
1234         * legacy-animation-engine/compositing/layer-creation/scale-rotation-animation-overlap-expected.txt:
1235         * legacy-animation-engine/compositing/layer-creation/scale-rotation-animation-overlap.html:
1236         * legacy-animation-engine/compositing/layer-creation/scale-rotation-transition-overlap-expected.txt:
1237         * legacy-animation-engine/compositing/layer-creation/scale-rotation-transition-overlap.html:
1238         * legacy-animation-engine/compositing/layer-creation/translate-animation-overlap-expected.txt:
1239         * legacy-animation-engine/compositing/layer-creation/translate-animation-overlap.html:
1240         * legacy-animation-engine/compositing/layer-creation/translate-scale-animation-overlap-expected.txt:
1241         * legacy-animation-engine/compositing/layer-creation/translate-scale-animation-overlap.html:
1242         * legacy-animation-engine/compositing/layer-creation/translate-scale-transition-overlap-expected.txt:
1243         * legacy-animation-engine/compositing/layer-creation/translate-scale-transition-overlap.html:
1244         * legacy-animation-engine/compositing/layer-creation/translate-transition-overlap-expected.txt:
1245         * legacy-animation-engine/compositing/layer-creation/translate-transition-overlap.html:
1246         * platform/ios/compositing/layer-creation/scale-rotation-animation-overlap-expected.txt:
1247
1248 2019-04-29  Javier Fernandez  <jfernandez@igalia.com>
1249
1250         line should not be broken before the first space after a word
1251         https://bugs.webkit.org/show_bug.cgi?id=197278
1252
1253         Reviewed by Myles C. Maxfield.
1254
1255         Added a few Skip (due to unimplemented features) and Failure (break-all related
1256         issues) entries for some of the tests added by this patch.
1257
1258         * TestExpectations:
1259
1260 2019-04-29  Youenn Fablet  <youenn@apple.com>
1261
1262         getDisplayMedia should be called on user gesture
1263         https://bugs.webkit.org/show_bug.cgi?id=197356
1264
1265         Reviewed by Eric Carlson.
1266
1267         * fast/mediastream/media-stream-page-muted.html:
1268         * fast/mediastream/screencapture-user-gesture-expected.txt: Added.
1269         * fast/mediastream/screencapture-user-gesture.html: Added.
1270         * http/tests/media/media-stream/get-display-media-iframe-allow-attribute-expected.txt:
1271         * http/tests/media/media-stream/get-display-media-iframe-allow-attribute.html:
1272         * http/tests/media/media-stream/get-display-media-prompt.html:
1273         * http/tests/media/media-stream/resources/get-display-media-devices-iframe.html:
1274
1275         * resources/testharnessreport.js:
1276
1277 2019-04-29  Simon Fraser  <simon.fraser@apple.com>
1278
1279         REGRESSION (r238090): animation on https://www.robotodyssey.online gets stuck; site broken
1280         https://bugs.webkit.org/show_bug.cgi?id=197381
1281         <rdar://problem/50308128>
1282
1283         Reviewed by Zalan Bujtas.
1284
1285         * compositing/style-change/clip-path-change-expected.html: Added.
1286         * compositing/style-change/clip-path-change.html: Added.
1287
1288 2019-04-29  Youenn Fablet  <youenn@apple.com>
1289
1290         RTCTrackEvent should be delayed until the whole remote description is set
1291         https://bugs.webkit.org/show_bug.cgi?id=196808
1292         <rdar://problem/49802649>
1293
1294         Reviewed by Eric Carlson.
1295
1296         * webrtc/video-addTrack.html:
1297
1298 2019-04-29  Javier Fernandez  <jfernandez@igalia.com>
1299
1300         Update the CSS Text WPT test suite
1301         https://bugs.webkit.org/show_bug.cgi?id=197326
1302
1303         Unreviewed test gardening.
1304
1305         * TestExpectations:
1306           - The break-spaces-008.html fails due to bug 197277
1307
1308 2019-04-26  Youenn Fablet  <youenn@apple.com>
1309
1310         Use normal loading path for ping loads
1311         https://bugs.webkit.org/show_bug.cgi?id=196807
1312
1313         Reviewed by Alex Christensen.
1314
1315         * TestExpectations:
1316         * http/tests/blink/sendbeacon/beacon-cross-origin.https-expected.txt:
1317         * http/tests/blink/sendbeacon/connect-src-beacon-allowed.html:
1318         * http/tests/security/contentSecurityPolicy/connect-src-beacon-allowed.html:
1319         * http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked-expected.txt:
1320         * http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked.php:
1321         * http/tests/security/contentSecurityPolicy/user-style-sheet-font-crasher-expected.txt:
1322         * http/wpt/beacon/beacon-async-error-logging-expected.txt:
1323         * http/wpt/beacon/beacon-async-error-logging.html:
1324         * http/wpt/beacon/connect-src-beacon-redirect-blocked.sub-expected.txt:
1325         * http/wpt/beacon/contentextensions/beacon-redirect-blocked-expected.txt:
1326         * http/wpt/beacon/resources/beacon-preflight.py:
1327         (respondToCORSPreflight):
1328         (main):
1329         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt:
1330
1331 2019-04-26  Youenn Fablet  <youenn@apple.com>
1332
1333         Mark some cache-storage as slow on iOS-simulator
1334         https://bugs.webkit.org/show_bug.cgi?id=197316
1335
1336         Unreviewed.
1337
1338         * platform/ios-simulator-wk2/TestExpectations:
1339
1340 2019-04-26  Shawn Roberts  <sroberts@apple.com>
1341
1342         Removing test expectation changes for tests no longer timing out
1343         https://bugs.webkit.org/show_bug.cgi?id=195719
1344
1345         Unreviewed test gardening.
1346
1347         * platform/mac-wk2/TestExpectations:
1348
1349 2019-04-26  Said Abou-Hallawa  <sabouhallawa@apple.com>
1350
1351         propertyRegistry() was not overridden for SVGFEFloodElement and SVGFEMergeElement
1352         https://bugs.webkit.org/show_bug.cgi?id=197303
1353
1354         Reviewed by Alex Christensen.
1355
1356         * svg/dom/SVGFEFloodElement-filter-standard-attributes-expected.svg: Added.
1357         * svg/dom/SVGFEFloodElement-filter-standard-attributes.svg: Added.
1358
1359 2019-04-26  Youenn Fablet  <youenn@apple.com>
1360
1361         [Mac WK2 iOS Sim] Layout Test imported/w3c/web-platform-tests/webrtc/RTCRtpReceiver-getSynchronizationSources.https.html is a flaky failure
1362         https://bugs.webkit.org/show_bug.cgi?id=196633
1363         <rdar://problem/49627667>
1364
1365         Reviewed by Alex Christensen.
1366
1367         * platform/mac-wk2/TestExpectations:
1368
1369 2019-04-26  Per Arne Vollan  <pvollan@apple.com>
1370
1371         Layout Test fast/harness/render-tree-as-text-options.html is failing
1372         https://bugs.webkit.org/show_bug.cgi?id=197310
1373
1374         Unreviewed test gardening.
1375
1376         * platform/win/TestExpectations:
1377
1378 2019-04-26  Takashi Komori  <Takashi.Komori@sony.com>
1379
1380         [Curl] Fix Curl Request Scheduler not to release wrong Curl handle when request is cancelled.
1381         https://bugs.webkit.org/show_bug.cgi?id=191650
1382
1383         Reviewed by Fujii Hironori.
1384
1385         * http/tests/misc/repeat-open-cancel-expected.txt: Added.
1386         * http/tests/misc/repeat-open-cancel.html: Added.
1387
1388 2019-04-25  Myles C. Maxfield  <mmaxfield@apple.com>
1389
1390         [iOS] Implement idempotent mode for text autosizing
1391         https://bugs.webkit.org/show_bug.cgi?id=197250
1392         <rdar://problem/50211034>
1393
1394         Reviewed by Jon Lee.
1395
1396         Add two simple tests that make sure that fonts get autosized > 1x when the layout viewport is wide,
1397         and that fonts don't get autosized when the layout viewport isn't wide.
1398
1399         We don't want to add tons of tests to test exact values because the curve will likely be tweaked
1400         in the future.
1401
1402         * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-expected.txt: Added.
1403         * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-identity-expected.txt: Added.
1404         * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-identity.html: Added.
1405         * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing.html: Added.
1406
1407 2019-04-25  Sihui Liu  <sihui_liu@apple.com>
1408
1409         [ iOS Sim ] REGRESSION (r242986) Layout Test storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html is a flaky failure
1410         https://bugs.webkit.org/show_bug.cgi?id=196357
1411         <rdar://problem/49386836>
1412
1413         Reviewed by Geoffrey Garen.
1414
1415         * platform/ios-simulator-wk2/TestExpectations:
1416         * platform/mac-wk2/TestExpectations:
1417         * platform/mac/TestExpectations:
1418
1419 2019-04-25  Shawn Roberts  <sroberts@apple.com>
1420
1421         fast/harness/render-tree-as-text-options.html Rebaselined test for windows
1422         https://bugs.webkit.org/show_bug.cgi?id=197290
1423
1424         Unreviewed test gardening.
1425
1426         * platform/win/fast/render-tree-as-text-options-expected.txt: Added.
1427
1428 2019-04-25  Frederic Wang  <fwang@igalia.com>
1429
1430         Add more tests for ios programmatic iframe scrolling with fixed/sticky layers
1431         https://bugs.webkit.org/show_bug.cgi?id=197280
1432
1433         This commit adds iOS tests for scrolling iframes containing fixed/sticky layers. They are
1434         extracted from earlier experimental patches for iOS frame scrolling but failed with the
1435         alternative patches initially landed in bug 193539 and follow-up bugs. They now pass again
1436         on trunk, so we can finally import them.
1437
1438         Reviewed by Darin Adler.
1439
1440         * fast/scrolling/ios/programmatic-scroll-iframe-010-expected.html: Added.
1441         * fast/scrolling/ios/programmatic-scroll-iframe-010.html: Added.
1442         * fast/scrolling/ios/programmatic-scroll-iframe-011-expected.html: Added.
1443         * fast/scrolling/ios/programmatic-scroll-iframe-011.html: Added.
1444         * fast/scrolling/ios/programmatic-scroll-iframe-012-expected.html: Added.
1445         * fast/scrolling/ios/programmatic-scroll-iframe-012.html: Added.
1446
1447 2019-04-25  Shawn Roberts  <sroberts@apple.com>
1448
1449         imported/w3c/web-platform-tests/visual-viewport/viewport-resize-event-on-load-overflowing-page.html is a flaky failure
1450         https://bugs.webkit.org/show_bug.cgi?id=197286
1451
1452         Unreviewed test gardening
1453
1454         * platform/mac-wk2/TestExpectations: Updating test expectations for flaky failure
1455
1456 2019-04-25  Shawn Roberts  <sroberts@apple.com>
1457
1458         http/wpt/resource-timing/rt-resources-per-frame.html is a flaky failure
1459         https://bugs.webkit.org/show_bug.cgi?id=197207
1460
1461         Unreviewed test gardening.
1462
1463         * platform/ios-simulator-wk2/TestExpectations:
1464         * platform/mac-wk2/TestExpectations: Updating test expectations for flaky failure
1465
1466 2019-04-25  Shawn Roberts  <sroberts@apple.com>
1467
1468         http/tests/resourceLoadStatistics/prune-statistics.html is a flaky failure on Debug testers
1469         https://bugs.webkit.org/show_bug.cgi?id=197285
1470
1471         Unreviewed test gardening.
1472
1473         * platform/mac-wk2/TestExpectations: Updating expectations for flaky failure
1474
1475 2019-04-25  Shawn Roberts  <sroberts@apple.com>
1476
1477         fast/css-custom-paint/animate-repaint.html is a flaky failure
1478         https://bugs.webkit.org/show_bug.cgi?id=197283
1479
1480         Unreviewed test gardening.
1481
1482         * platform/mac-wk2/TestExpectations: Updating expectations for flaky failure
1483
1484 2019-04-25  Antti Koivisto  <antti@apple.com>
1485
1486         Visited link hash should be computed only once
1487         https://bugs.webkit.org/show_bug.cgi?id=197229
1488         <rdar://problem/48438924>
1489
1490         Reviewed by Alex Christensen.
1491
1492         * fast/history/visited-href-mutation-expected.html: Added.
1493         * fast/history/visited-href-mutation.html: Added.
1494
1495 2019-04-25  Philippe Normand  <pnormand@igalia.com>
1496
1497         [GStreamer] gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed in WebCore::MediaPlayerPrivateGStreamer::paused
1498         https://bugs.webkit.org/show_bug.cgi?id=196691
1499
1500         Reviewed by Eric Carlson.
1501
1502         Unflag test no longer crashing.
1503
1504         * platform/gtk/TestExpectations:
1505         * platform/gtk/fast/replaced/border-radius-clip-expected.txt:
1506
1507 2019-04-24  Carlos Garcia Campos  <cgarcia@igalia.com>
1508
1509         [GTK] Hardcoded text color in input fields
1510         https://bugs.webkit.org/show_bug.cgi?id=126907
1511
1512         Reviewed by Michael Catanzaro.
1513
1514         Remove expectations for tests that are passing again.
1515
1516         * platform/gtk/TestExpectations:
1517
1518 2019-04-24  Simon Fraser  <simon.fraser@apple.com>
1519
1520         REGRESSION (r242132): Nested position:sticky elements move incorrectly
1521         https://bugs.webkit.org/show_bug.cgi?id=197255
1522         rdar://problem/50137744
1523
1524         Reviewed by Zalan Bujtas.
1525
1526         * scrollingcoordinator/mac/nested-sticky-expected.html: Added.
1527         * scrollingcoordinator/mac/nested-sticky.html: Added.
1528
1529 2019-04-24  Alicia Boya García  <aboya@igalia.com>
1530
1531         Unreviewed GTK test gardening
1532         https://bugs.webkit.org/show_bug.cgi?id=197261
1533
1534         * platform/gtk/TestExpectations:
1535         * platform/gtk/http/tests/inspector/network/har/har-page-expected.txt:
1536         * platform/gtk/imported/blink/media/track/media-element-move-to-new-document-assert-expected.txt: Removed.
1537
1538 2019-04-24  Commit Queue  <commit-queue@webkit.org>
1539
1540         Unreviewed, rolling out r244228.
1541         https://bugs.webkit.org/show_bug.cgi?id=197262
1542
1543         Causes compat issues (Requested by smfr on #webkit).
1544
1545         Reverted changeset:
1546
1547         "Unreviewed test gardening for Windows."
1548         https://trac.webkit.org/changeset/244228
1549
1550 2019-04-24  John Wilander  <wilander@apple.com>
1551
1552         Age out unconverted Ad Click Attributions after one week.
1553         https://bugs.webkit.org/show_bug.cgi?id=197238
1554         <rdar://problem/50177349>
1555
1556         Reviewed by Chris Dumez.
1557
1558         * http/tests/adClickAttribution/expired-attributions-removed-expected.txt: Added.
1559         * http/tests/adClickAttribution/expired-attributions-removed.html: Added.
1560
1561 2019-04-24  Simon Fraser  <simon.fraser@apple.com>
1562
1563         REGRESSION (iOS 12.2): CSS perspective property value can only be set correctly once
1564         https://bugs.webkit.org/show_bug.cgi?id=197105
1565
1566         Reviewed by Zalan Bujtas.
1567
1568         * compositing/style-change/backface-visibility-change-expected.html: Added.
1569         * compositing/style-change/backface-visibility-change.html: Added.
1570         * compositing/style-change/perspective-change-expected.html: Added.
1571         * compositing/style-change/perspective-change.html: Added.
1572         * compositing/style-change/perspective-origin-change-expected.html: Added.
1573         * compositing/style-change/perspective-origin-change.html: Added.
1574         * compositing/style-change/transform-origin-change-expected.html: Added.
1575         * compositing/style-change/transform-origin-change.html: Added.
1576         * compositing/style-change/transform-style-change-expected.html: Added.
1577         * compositing/style-change/transform-style-change.html: Added.
1578
1579 2019-04-24  Simon Fraser  <simon.fraser@apple.com>
1580
1581         Make it possible to control the renderTreeAsText output by setting options on testRunner
1582         https://bugs.webkit.org/show_bug.cgi?id=197133
1583
1584         Reviewed by Sam Weinig.
1585
1586         Add testRunner.setRenderTreeDumpOptions() and expose the subset of RenderAsTextFlag flags
1587         that make sense in testing (those that don't dump unstable data like addresses), and plumb
1588         these flags through the various framework layers.
1589
1590         Convert RenderAsTextBehavior to an OptionSet<RenderAsTextFlag>.
1591
1592         Fix code generation in WebKitTestRunner to generate bindings for IDL const values,
1593         and hand-code DumpRenderTree bindings.
1594
1595         Some cleanup of the TestRunners, using member initializers.
1596
1597         * fast/harness/render-tree-as-text-options-expected.txt: Added.
1598         * fast/harness/render-tree-as-text-options.html: Added.
1599         * resources/testrunner-constants.js: Added.
1600
1601 2019-04-24  Antoine Quint  <graouts@apple.com>
1602
1603         [iOS] Calling preventDefault() when handling a pointerdown event should not prevent panning, zooming or click event dispatch
1604         https://bugs.webkit.org/show_bug.cgi?id=195839
1605         <rdar://problem/48946154>
1606
1607         Reviewed by Brent Fulgham.
1608
1609         Modify the existing test to check that we *have* scrolled after performing a swipe gesture and calling
1610         preventDefault() while handling the pointerdown handling. We also add a new test that checks that the
1611         click event is indeed dispatched when tapping on an element and calling preventDefault() while handling
1612         the pointerdown event.
1613
1614         * pointerevents/ios/pointer-events-prevent-default-allows-click-event-expected.txt: Added.
1615         * pointerevents/ios/pointer-events-prevent-default-allows-click-event.html: Added.
1616         * pointerevents/ios/pointer-events-prevent-default-allows-scrolling-expected.txt: Added.
1617         * pointerevents/ios/pointer-events-prevent-default-allows-scrolling.html: Renamed from LayoutTests/pointerevents/ios/pointer-events-prevent-default.html.
1618         * pointerevents/ios/pointer-events-prevent-default-expected.txt: Removed.
1619
1620 2019-04-24  Frederic Wang  <fwang@igalia.com>
1621
1622         With async scrolling enabled, this MathML test asserts
1623         https://bugs.webkit.org/show_bug.cgi?id=196123
1624
1625         Reviewed by Rob Buis.
1626
1627         Add a test for each MathML layoutBlock functions/classes.
1628
1629         * mathml/mathml-overflow-crash-expected.txt: Added.
1630         * mathml/mathml-overflow-crash.html: Added.
1631
1632 2019-04-24  Cathie Chen  <cathiechen@igalia.com>
1633
1634         [Mac Debug] Layout Test resize-observer/observe-element-from-other-frame.html is a flaky failure
1635         https://bugs.webkit.org/show_bug.cgi?id=197063
1636
1637         Reviewed by Ryosuke Niwa.
1638
1639         RenderingUpdate timer might be fired after ResizeTestHelper's. This would produce a flaky failure.
1640         In order to reduce this failure, extend ResizeTestHelper.TIMEOUT like in bug 177484.
1641
1642         * resize-observer/resources/resizeTestHelper.js:
1643
1644 2019-04-24  Truitt Savell  <tsavell@apple.com>
1645
1646         Rebaseline js/dom/dom-static-property-for-in-iteration.html after r244581
1647         https://bugs.webkit.org/show_bug.cgi?id=197218
1648
1649         Unreviewed test gardening. 
1650
1651         * platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt:
1652
1653 2019-04-24  Chris Dumez  <cdumez@apple.com>
1654
1655         X-Frame-Options header should be ignored when frame-ancestors CSP directive is present
1656         https://bugs.webkit.org/show_bug.cgi?id=197226
1657         <rdar://problem/50155649>
1658
1659         Reviewed by Alex Christensen.
1660
1661         Add layout test coverage.
1662
1663         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-overrides-X-Frames-Options-expected.txt: Added.
1664         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-overrides-X-Frames-Options.html: Added.
1665         * http/tests/security/contentSecurityPolicy/resources/frame-ancestors-self-x-frame-options-deny.pl: Added.
1666
1667 2019-04-24  chris fleizach  <cfleizach@apple.com>
1668
1669         AX: Remove deprecated Accessibility Object Model events
1670         https://bugs.webkit.org/show_bug.cgi?id=197073
1671         <rdar://problem/50027819>
1672
1673         Reviewed by Ryosuke Niwa.
1674
1675         * accessibility/mac/AOM-event-accessiblesetvalue-expected.txt: Removed.
1676         * accessibility/mac/AOM-event-accessiblesetvalue.html: Removed.
1677         * accessibility/mac/AOM-events-all-expected.txt: Removed.
1678         * accessibility/mac/AOM-events-all.html: Removed.
1679         * accessibility/mac/AOM-events-expected.txt: Removed.
1680         * accessibility/mac/AOM-events-webarea-crash-expected.txt: Removed.
1681         * accessibility/mac/AOM-events-webarea-crash.html: Removed.
1682         * accessibility/mac/AOM-events.html: Removed.
1683         * accessibility/mac/replace-text-with-range-expected.txt: Replaced.
1684         * accessibility/mac/replace-text-with-range.html: Replaced.
1685
1686 2019-04-23  John Wilander  <wilander@apple.com>
1687
1688         Move Ad Click Attribution from internal feature to experimental feature
1689         https://bugs.webkit.org/show_bug.cgi?id=197218
1690         <rdar://problem/47651691>
1691
1692         Reviewed by Brent Fulgham.
1693
1694         This patch removes the TestRunner instruction for turning on the internal
1695         feature.
1696
1697         * http/tests/adClickAttribution/anchor-tag-attributes-validation.html:
1698         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority.html:
1699         * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html:
1700         * http/tests/adClickAttribution/second-attribution-converted-with-higher-priority.html:
1701         * http/tests/adClickAttribution/second-attribution-converted-with-lower-priority.html:
1702         * http/tests/adClickAttribution/second-conversion-with-higher-priority.html:
1703         * http/tests/adClickAttribution/second-conversion-with-lower-priority.html:
1704         * http/tests/adClickAttribution/send-attribution-conversion-request.html:
1705         * http/tests/adClickAttribution/store-ad-click-attribution.html:
1706         * http/tests/adClickAttribution/store-disabled-in-ephemeral-session.html:
1707         * http/tests/contentextensions/block-ad-click-attribution.html:
1708
1709 2019-04-23  John Wilander  <wilander@apple.com>
1710
1711         Remove Ad Click Attribution data when removing website data
1712         https://bugs.webkit.org/show_bug.cgi?id=197215
1713         <rdar://problem/47668988>
1714
1715         Reviewed by Chris Dumez.
1716
1717         * http/tests/adClickAttribution/clear-through-website-data-removal-expected.txt: Added.
1718         * http/tests/adClickAttribution/clear-through-website-data-removal.html: Added.
1719
1720 2019-04-23  Devin Rousso  <drousso@apple.com>
1721
1722         ContentSecurityPolicy::logToConsole should include line/column number and source location
1723         https://bugs.webkit.org/show_bug.cgi?id=114317
1724         <rdar://problem/13614617>
1725
1726         Reviewed by Timothy Hatcher.
1727
1728         * inspector/debugger/csp-exceptions.html:
1729
1730 2019-04-23  Andres Gonzalez  <andresg_22@apple.com>
1731
1732         Accessibility text search and selection API enhancements.
1733         https://bugs.webkit.org/show_bug.cgi?id=197095
1734         <rdar://problem/48181791>
1735
1736         Reviewed by Chris Fleizach.
1737
1738         - Added new test for AccessibilitySearchTextWithCriteria API.
1739         - Updated bounds-for-range expected file that includes a list of available APIs.
1740
1741         * accessibility/mac/bounds-for-range-expected.txt:
1742         * accessibility/mac/search-text/search-text-expected.txt: Added.
1743         * accessibility/mac/search-text/search-text.html: Added.
1744
1745 2019-04-23  Guy Lewin  <guy@lewin.co.il>
1746
1747         Multiple File Input Icon Set Regardless of File List
1748         https://bugs.webkit.org/show_bug.cgi?id=195537
1749
1750         Add a layout test to verify file input icon resets on change event (iOS)
1751         Change expectations according to
1752         file-reset-in-change-using-open-panel.html
1753
1754         Reviewed by Alexey Proskuryakov.
1755
1756         * fast/forms/file/file-reset-in-change-using-open-panel-with-icon-expected.html: Added.
1757         * fast/forms/file/file-reset-in-change-using-open-panel-with-icon.html: Added.
1758         * platform/win/TestExpectations:
1759         * platform/wincairo/TestExpectations:
1760
1761 2019-04-23  Devin Rousso  <drousso@apple.com>
1762
1763         Unreviewed, speculative fix for failing inspector/canvas/ tests.
1764         <rdar://problem/48248697>
1765
1766         * inspector/canvas/resources/recording-utilities.js:
1767
1768 2019-04-23  Ryosuke Niwa  <rniwa@webkit.org>
1769
1770         [iOS] element.focus() sometimes fails to reveal the focused element when it becomes editable dynamically
1771         https://bugs.webkit.org/show_bug.cgi?id=197188
1772
1773         Reviewed by Wenson Hsieh.
1774
1775         Added a regression test.
1776
1777         * editing/selection/ios/scrolling-to-focused-element-inside-iframe-expected.txt: Added.
1778         * editing/selection/ios/scrolling-to-focused-element-inside-iframe.html: Added.
1779
1780 2019-04-23  John Wilander  <wilander@apple.com>
1781
1782         Ad Click Attribution redirects to well-known location should not trigger a conversion if they are blocked by content blockers
1783         https://bugs.webkit.org/show_bug.cgi?id=197183
1784         <rdar://problem/47763188>
1785
1786         Reviewed by Alex Christensen.
1787
1788         * http/tests/contentextensions/block-ad-click-attribution-expected.txt: Added.
1789         * http/tests/contentextensions/block-ad-click-attribution.html: Added.
1790         * http/tests/contentextensions/block-ad-click-attribution.html.json: Added.
1791
1792 2019-04-23  Shawn Roberts  <sroberts@apple.com>
1793
1794         fast/selectors/matches-backtracking.html is a flaky timeout
1795         https://bugs.webkit.org/show_bug.cgi?id=197068
1796
1797         Unreviewed test gardening.
1798
1799         * platform/mac-wk2/TestExpectations: Updating expectations for flaky test
1800
1801 2019-04-23  Youenn Fablet  <youenn@apple.com>
1802
1803         REGRESSION (r240727) [ Mac iOS ] Layout Test http/tests/workers/service/basic-register-exceptions.html is flaky
1804         https://bugs.webkit.org/show_bug.cgi?id=194368
1805         <rdar://problem/47937467>
1806
1807         Reviewed by Alex Christensen.
1808
1809         Test was exiting sooner than the last registration was rejected.
1810         Make sure that the test is run until the end in a more ordered way.
1811
1812         * http/tests/workers/service/basic-register-exceptions-expected.txt:
1813         * http/tests/workers/service/resources/basic-register-exceptions.js:
1814         (async.doTest):
1815         (then): Deleted.
1816         (catch): Deleted.
1817         * platform/mac-wk2/TestExpectations:
1818
1819 2019-04-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1820
1821         [ATK] Implement AtkComponentIface scroll_to methods
1822         https://bugs.webkit.org/show_bug.cgi?id=196856
1823
1824         Reviewed by Michael Catanzaro.
1825
1826         Remove expectations for tests that are passing now.
1827
1828         * platform/gtk/TestExpectations:
1829
1830 2019-04-22  Zalan Bujtas  <zalan@apple.com>
1831
1832         [ContentChangeObserver] Some dropdown menus may close without user gesture on americanexpress.com
1833         https://bugs.webkit.org/show_bug.cgi?id=197175
1834         <rdar://problem/49613013>
1835
1836         Reviewed by Simon Fraser.
1837
1838         * fast/events/touch/ios/content-observation/mouse-out-event-should-not-fire-on-click-when-default-prevented-expected.txt: Added.
1839         * fast/events/touch/ios/content-observation/mouse-out-event-should-not-fire-on-click-when-default-prevented.html: Added.
1840
1841 2019-04-22  Justin Fan  <justin_fan@apple.com>
1842
1843         [WebGPU] Move swap chain methods from GPUDevice to GPUCanvasContext
1844         https://bugs.webkit.org/show_bug.cgi?id=197126
1845
1846         Reviewed by Dean Jackson.
1847
1848         GPUSwapChains are now configured via GPUCanvasContext instead of GPUDevice.
1849
1850         * webgpu/blend-triangle-strip.html:
1851         * webgpu/js/webgpu-functions.js:
1852         (createBasicSwapChain):
1853         * webgpu/whlsl.html:
1854
1855 2019-04-22  Carlos Garcia Campos  <cgarcia@igalia.com>
1856
1857         REGRESSION(r241289): [GTK] accessibility/removed-continuation-element-causes-crash.html and accessibility/removed-anonymous-block-child-causes-crash.html crashes
1858         https://bugs.webkit.org/show_bug.cgi?id=194630
1859
1860         Reviewed by Michael Catanzaro.
1861
1862         Remove expectations for tests that are passing now.
1863
1864         * platform/gtk/TestExpectations:
1865
1866 2019-04-20  Said Abou-Hallawa  <said@apple.com>
1867
1868         REGRESSION (r243137): SVGViewElement.viewTarget should not return a new object
1869         https://bugs.webkit.org/show_bug.cgi?id=197137
1870
1871         Reviewed by Darin Adler.
1872
1873         * svg/dom/SVGViewElement-viewTarget-expected.txt: Added.
1874         * svg/dom/SVGViewElement-viewTarget.html: Added.
1875
1876 2019-04-19  Megan Gardner  <megan_gardner@apple.com>
1877
1878         Fix Long Press Image Test
1879         https://bugs.webkit.org/show_bug.cgi?id=197130
1880         <rdar://problem/50058818>
1881
1882         Reviewed by Wenson Hsieh.
1883
1884         Fixing up test to reflect changes in https://bugs.webkit.org/show_bug.cgi?id=196833
1885
1886         * fast/events/touch/ios/long-press-on-image-expected.txt:
1887         * fast/events/touch/ios/long-press-on-image.html:
1888
1889 2019-04-19  John Wilander  <wilander@apple.com>
1890
1891         Disable Ad Click Attribution in ephemeral sessions and make sure conversion requests use an ephemeral, stateless session
1892         https://bugs.webkit.org/show_bug.cgi?id=197108
1893         <rdar://problem/49918702>
1894
1895         Reviewed by Alex Christensen.
1896
1897         Except for the details below, this patch introduces the utility functions
1898         prepareTest() and tearDownAndFinish() and all applicable tests now make use
1899         of them.
1900
1901         * http/tests/adClickAttribution/attribution-conversion-through-cross-site-image-redirect.html:
1902         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority.html:
1903         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority.html:
1904         * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session-expected.txt: Added.
1905         * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html: Copied from LayoutTests/http/tests/adClickAttribution/send-attribution-conversion-request.html.
1906         * http/tests/adClickAttribution/resources/conversionReport.php:
1907             Now tries to set a cookie in the response.
1908         * http/tests/adClickAttribution/resources/util.js: Added.
1909         (prepareTest):
1910         (tearDownAndFinish):
1911         * http/tests/adClickAttribution/second-attribution-converted-with-higher-priority.html:
1912         * http/tests/adClickAttribution/second-attribution-converted-with-lower-priority.html:
1913         * http/tests/adClickAttribution/second-conversion-with-higher-priority.html:
1914         * http/tests/adClickAttribution/second-conversion-with-lower-priority.html:
1915         * http/tests/adClickAttribution/send-attribution-conversion-request-expected.txt:
1916         * http/tests/adClickAttribution/send-attribution-conversion-request.html:
1917         * http/tests/adClickAttribution/store-ad-click-attribution.html:
1918             Now sets a cookie which is checked for it in the conversion report.
1919         * http/tests/adClickAttribution/store-disabled-in-ephemeral-session-expected.txt: Added.
1920         * http/tests/adClickAttribution/store-disabled-in-ephemeral-session.html: Copied from LayoutTests/http/tests/adClickAttribution/store-ad-click-attribution.html.
1921
1922 2019-04-19  Timothy Hatcher  <timothy@apple.com>
1923
1924         Standardize the `<meta name="color-scheme">` separator.
1925         https://bugs.webkit.org/show_bug.cgi?id=193931
1926         rdar://problem/49995929
1927
1928         Reviewed by Darin Adler.
1929
1930         * css-dark-mode/color-scheme-meta-expected.txt:
1931         * css-dark-mode/color-scheme-meta.html: Test other types of spaces like tab, newline and vertical tab.
1932
1933 2019-04-19  Ryosuke Niwa  <rniwa@webkit.org>
1934
1935         [Mac WK2] REGRESSION (r244182) editing/execCommand/change-list-type.html is a flaky failure
1936         https://bugs.webkit.org/show_bug.cgi?id=197065
1937         <rdar://problem/50021964>
1938
1939         Reviewed by Wenson Hsieh.
1940
1941         Like r244461, this test was errornosuly assuming that rAF would be enough to close the undo group
1942         in the UI process. Fixed the test by explicitly waiting for the runloop in the ui process to run
1943         by executing a UI script.
1944
1945         * editing/execCommand/change-list-type.html:
1946
1947 2019-04-19  Ryosuke Niwa  <rniwa@webkit.org>
1948
1949         REGRESSION: (r244182) Layout Test editing/execCommand/insert-nested-lists.html is flaky
1950         https://bugs.webkit.org/show_bug.cgi?id=196985
1951
1952         Reviewed by Wenson Hsieh.
1953
1954         The flakiness was caused by the test incorrectly assuming that rAF would
1955         be enough to close the undo group in the UI process.
1956
1957         Fixed the test by explicitly waiting for the runloop in the ui process to run
1958         by executing a UI script.
1959
1960         * editing/execCommand/insert-nested-lists.html:
1961
1962 2019-04-18  Megan Gardner  <megan_gardner@apple.com>
1963
1964         Update autoscroll test to lift at the end and be less flakey
1965         https://bugs.webkit.org/show_bug.cgi?id=197084
1966
1967         Test not lifting at the end caused issues for other tests.
1968         Also the positions were a bit too exact and caused the
1969         test to be flakey. These new positions should result in more consistent
1970         behaviour.
1971
1972         Reviewed by Tim Horton.
1973
1974         * fast/events/touch/ios/drag-to-autoscroll-in-single-line-editable.html:
1975
1976 2019-04-18  Justin Fan  <justin_fan@apple.com>
1977
1978         [WebGPU] Implement API default values
1979         https://bugs.webkit.org/show_bug.cgi?id=197032
1980
1981         Reviewed by Myles C. Maxfield.
1982
1983         Update WebGPU tests to use default values wherever applicable.
1984
1985         * webgpu/bind-groups.html:
1986         * webgpu/blend-triangle-strip.html:
1987         * webgpu/blit-commands.html:
1988         * webgpu/buffer-command-buffer-races.html:
1989         * webgpu/buffer-resource-triangles.html:
1990         * webgpu/color-write-mask-triangle-strip.html:
1991         * webgpu/compute-squares.html:
1992         * webgpu/depth-enabled-triangle-strip.html:
1993         * webgpu/draw-indexed-triangles.html:
1994         * webgpu/js/webgpu-functions.js:
1995         (createBasicDepthTexture):
1996         * webgpu/texture-triangle-strip.html:
1997         * webgpu/textures-textureviews.html:
1998         * webgpu/vertex-buffer-triangle-strip.html:
1999         * webgpu/whlsl.html:
2000
2001 2019-04-18  Sihui Liu  <sihui_liu@apple.com>
2002
2003         Blob type cannot be stored correctly in IDB when IDBObjectStore has autoIncrement and keyPath options
2004         https://bugs.webkit.org/show_bug.cgi?id=196128
2005         <rdar://problem/49562115>
2006
2007         Reviewed by Geoffrey Garen.
2008
2009         * storage/indexeddb/modern/objectstore-autoincrement-types-expected.txt: Added.
2010         * storage/indexeddb/modern/objectstore-autoincrement-types.html: Added.
2011         * storage/indexeddb/modern/resources/objectstore-autoincrement-types.js: Added.
2012         (prepareDatabase.event.target.onsuccess):
2013         (prepareDatabase):
2014         (compare):
2015         (runGetTest):
2016         (runGetAllTest):
2017         (get store):
2018         (testSteps):
2019
2020 2019-04-18  Timothy Hatcher  <timothy@apple.com>
2021
2022         Unreviewed test gardening.
2023
2024         * css-dark-mode/older-systems/color-scheme-css-expected.txt: Rebaselined.
2025         * css-dark-mode/older-systems/color-scheme-meta-expected.txt: Rebaselined.
2026         * fast/css/style-enumerate-properties.html: Updated count to work on Windows.
2027         * platform/mac-highsierra/css-dark-mode/prefers-color-scheme-picture-element-expected.txt: Removed.
2028         * platform/mac-sierra/css-dark-mode/prefers-color-scheme-picture-element-expected.txt: Removed.
2029
2030 2019-04-18  Shawn Roberts  <sroberts@apple.com>
2031
2032         Unreviewed manual rollout of r244248 and r244409
2033         Causing assertion failures on Mac WK2 Debug builds
2034         https://bugs.webkit.org/show_bug.cgi?id=195623
2035         
2036         * http/tests/cache/link-prefetch-main-resource-expected.txt: Removed.
2037         * http/tests/cache/link-prefetch-main-resource-iframe-expected.txt: Removed.
2038         * http/tests/cache/link-prefetch-main-resource-iframe.html: Removed.
2039         * http/tests/cache/link-prefetch-main-resource.html: Removed.
2040         * http/tests/cache/resources/prefetched-main-resource-iframe.php: Removed.
2041         * http/tests/cache/resources/prefetched-main-resource.php: Removed.
2042         * platform/mac-wk1/TestExpectations:
2043         * platform/win/TestExpectations:
2044
2045 2019-04-18  Antoine Quint  <graouts@apple.com>
2046
2047         [Mac] Unreviewed test gardening.
2048
2049         The test imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_in_frame.html is flaky on bots.
2050
2051         * platform/mac/TestExpectations:
2052
2053 2019-04-18  Antoine Quint  <graouts@apple.com>
2054
2055         [Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/pointerevent_lostpointercapture_for_disconnected_node.html
2056         https://bugs.webkit.org/show_bug.cgi?id=197004
2057
2058         Reviewed by Antti Koivisto.
2059
2060         * platform/mac/TestExpectations:
2061
2062 2019-04-17  Antoine Quint  <graouts@apple.com>
2063
2064         [Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/pointerevent_on_event_handlers.html
2065         https://bugs.webkit.org/show_bug.cgi?id=197006
2066
2067         Reviewed by Antti Koivisto.
2068
2069         * js/dom/dom-static-property-for-in-iteration-expected.txt:
2070         * platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt:
2071         * platform/mac/TestExpectations:
2072
2073 2019-04-17  Fujii Hironori  <Hironori.Fujii@sony.com>
2074
2075         Unreviewed test gardening for WinCairo port
2076
2077         Following tests expected to fail but passed constantly.
2078
2079         - css3/masking/clip-path-inset-corners.html
2080         - fast/box-shadow/box-shadow-with-zero-radius.html
2081         - storage/indexeddb/database-odd-names.html
2082         - storage/indexeddb/lazy-index-population.html
2083
2084         * platform/wincairo/TestExpectations: Unmarked them.
2085
2086 2019-04-17  Timothy Hatcher  <timothy@apple.com>
2087
2088         Standardize the `<meta name="color-scheme">` separator.
2089         https://bugs.webkit.org/show_bug.cgi?id=193931
2090
2091         Reviewed by Simon Fraser.
2092
2093         * css-dark-mode/color-scheme-meta-expected.txt:
2094         * css-dark-mode/color-scheme-meta.html:
2095         * css-dark-mode/older-syntax/supported-color-scheme-meta-expected.txt:
2096         * css-dark-mode/older-syntax/supported-color-schemes-meta.html:
2097
2098 2019-04-17  Timothy Hatcher  <timothy@apple.com>
2099
2100         Rename `supported-color-schemes` to `color-scheme`.
2101         https://bugs.webkit.org/show_bug.cgi?id=197016
2102         rdar://problem/49980259
2103
2104         Reviewed by Simon Fraser.
2105
2106         * css-dark-mode/color-scheme-css-expected.txt: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-css-expected.txt.
2107         * css-dark-mode/color-scheme-css.html: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-css.html.
2108         * css-dark-mode/color-scheme-meta-expected.txt: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-expected.txt.
2109         * css-dark-mode/color-scheme-meta.html: Renamed from LayoutTests/css-dark-mode/supported-color-schemes.html.
2110         * css-dark-mode/color-scheme-parse-expected.txt: Renamed from LayoutTests/css-dark-mode/parse-supported-color-schemes-expected.txt.
2111         * css-dark-mode/color-scheme-parse.html: Renamed from LayoutTests/css-dark-mode/parse-supported-color-schemes.html.
2112         * css-dark-mode/color-scheme-priority-expected.txt: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-priority-expected.txt.
2113         * css-dark-mode/color-scheme-priority.html: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-priority.html.
2114         * css-dark-mode/color-scheme-scrollbar-expected.txt: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-scrollbar-expected.txt.
2115         * css-dark-mode/color-scheme-scrollbar.html: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-scrollbar.html.
2116         * css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt: Copied from LayoutTests/css-dark-mode/supported-color-schemes-css-expected.txt.
2117         * css-dark-mode/older-syntax/supported-color-schemes-css.html: Copied from LayoutTests/css-dark-mode/supported-color-schemes-css.html.
2118         * css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt: Copied from LayoutTests/css-dark-mode/supported-color-schemes-expected.txt.
2119         * css-dark-mode/older-syntax/supported-color-schemes-meta.html: Copied from LayoutTests/css-dark-mode/supported-color-schemes.html.
2120         * css-dark-mode/older-systems/color-scheme-css-expected.txt: Renamed from LayoutTests/css-dark-mode/older-systems/supported-color-schemes-css-expected.txt
2121         * css-dark-mode/older-systems/color-scheme-css.html: Renamed from LayoutTests/css-dark-mode/older-systems/supported-color-schemes-css.html.
2122         * css-dark-mode/older-systems/color-scheme-meta-expected.txt: Renamed from LayoutTests/css-dark-mode/older-systems/supported-color-schemes-expected.txt.
2123         * css-dark-mode/older-systems/color-scheme-meta.html: Renamed from LayoutTests/css-dark-mode/older-systems/supported-color-schemes.html.
2124         * fast/css/style-enumerate-properties.html: Updated property count.
2125
2126 2019-04-17  Justin Fan  <justin_fan@apple.com>
2127
2128         [Web GPU] GPUComputePassEncoder::dispatch number of thread groups, not grid size
2129         https://bugs.webkit.org/show_bug.cgi?id=196984
2130
2131         Reviewed by Myles C. Maxfield.
2132
2133         * webgpu/compute-squares.html: One thread group is enough to process the data in a single pass.
2134
2135 2019-04-17  John Wilander  <wilander@apple.com>
2136
2137         Add prioritization of ad click conversions and cleaning of sent ad click conversions
2138         https://bugs.webkit.org/show_bug.cgi?id=196934
2139         <rdar://problem/49917773>
2140
2141         Reviewed by Chris Dumez.
2142
2143         * http/tests/adClickAttribution/attribution-conversion-through-cross-site-image-redirect-expected.txt:
2144         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority-expected.txt:
2145         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority-expected.txt:
2146         * http/tests/adClickAttribution/resources/getConversionData.php:
2147         * http/tests/adClickAttribution/resources/redirectToConversion.php:
2148         * http/tests/adClickAttribution/second-attribution-converted-with-higher-priority-expected.txt: Added.
2149         * http/tests/adClickAttribution/second-attribution-converted-with-higher-priority.html: Added.
2150         * http/tests/adClickAttribution/second-attribution-converted-with-lower-priority-expected.txt: Added.
2151         * http/tests/adClickAttribution/second-attribution-converted-with-lower-priority.html: Added.
2152         * http/tests/adClickAttribution/second-conversion-with-higher-priority-expected.txt: Added.
2153         * http/tests/adClickAttribution/second-conversion-with-higher-priority.html: Added.
2154         * http/tests/adClickAttribution/second-conversion-with-lower-priority-expected.txt: Added.
2155         * http/tests/adClickAttribution/second-conversion-with-lower-priority.html: Added.
2156         * http/tests/adClickAttribution/send-attribution-conversion-request-expected.txt:
2157         * http/tests/adClickAttribution/send-attribution-conversion-request.html:
2158         * http/tests/adClickAttribution/store-ad-click-attribution-expected.txt:
2159
2160 2019-04-17  Wenson Hsieh  <wenson_hsieh@apple.com>
2161
2162         REGRESSION (r244220): fast/forms/ios/inputmode-change-update-keyboard.html times out
2163         https://bugs.webkit.org/show_bug.cgi?id=197027
2164         <rdar://problem/49959227>
2165
2166         Reviewed by Megan Gardner.
2167
2168         Recently, r244220 added a mechanism to disconnect or connect the hardware keyboard from layout tests; adopt this
2169         to fix several tests that require the software keyboard to be present.
2170
2171         * fast/events/autoscroll-when-input-is-offscreen.html:
2172         * fast/forms/ios/inputmode-change-update-keyboard.html:
2173
2174 2019-04-17  Antoine Quint  <graouts@apple.com>
2175
2176         [Pointer Events WPT] Update WPT tests and provide macOS testdriver
2177         https://bugs.webkit.org/show_bug.cgi?id=197011
2178         <rdar://problem/49976553>
2179
2180         Reviewed by Dean Jackson.
2181
2182         * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_boundary_events_at_implicit_release_hoverable_pointers-expected.txt: Added.
2183         * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_capture_change_hover-expected.txt: Added.
2184         * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_in_frame-expected.txt: Added.
2185         * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_setpointercapture_relatedtarget-expected.txt: Added.
2186         * platform/mac/TestExpectations:
2187
2188 2019-04-17  Zalan Bujtas  <zalan@apple.com>
2189
2190         [ContentChangeObserver] Use aria role as a hint whether a tap should result in a synthetic click
2191         https://bugs.webkit.org/show_bug.cgi?id=196988
2192         <rdar://problem/49955328>
2193
2194         Reviewed by Simon Fraser.
2195
2196         * fast/events/touch/ios/content-observation/tap-on-input-looking-div-with-role-expected.txt: Added.
2197         * fast/events/touch/ios/content-observation/tap-on-input-looking-div-with-role.html: Added.
2198
2199 2019-04-17  Wenson Hsieh  <wenson_hsieh@apple.com>
2200
2201         REGRESSION (r243926): [iOS] Release assertion when computing editor state during an overflow scroll triggered by layout
2202         https://bugs.webkit.org/show_bug.cgi?id=197012
2203         <rdar://problem/49908848>
2204
2205         Reviewed by Simon Fraser.
2206
2207         Adds a new layout test to exercise the crash.
2208
2209         * editing/selection/overflow-scroll-while-selecting-text-expected.txt: Added.
2210         * editing/selection/overflow-scroll-while-selecting-text.html: Added.
2211
2212 2019-04-17  Alex Christensen  <achristensen@webkit.org>
2213
2214         [Mac iOS WK2] Layout Test http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html is a flaky timeout
2215         https://bugs.webkit.org/show_bug.cgi?id=196974
2216
2217         Reviewed by Brady Eidson.
2218
2219         * http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html:
2220         Make test do one thing at a time to avoid race conditions.
2221         Clean up state on the server after test is finished to prevent corrupting future test state.
2222
2223 2019-04-17  Zalan Bujtas  <zalan@apple.com>
2224
2225                 [iOS] Unreviewed gardening.
2226
2227         2 single taps in fast loading subsequent tests are recognized as double tap. Turn off double taps for content observation tests.
2228
2229         * fast/events/touch/ios/content-observation/0ms-delay-0ms-transition-on-mousemove.html:
2230         * fast/events/touch/ios/content-observation/0ms-transition-on-touch-start.html:
2231         * fast/events/touch/ios/content-observation/100ms-delay-10ms-transition-on-mousemove.html:
2232         * fast/events/touch/ios/content-observation/100ms-transition-on-touch-start.html:
2233         * fast/events/touch/ios/content-observation/10ms-delay-0ms-transition-on-mousemove.html:
2234         * fast/events/touch/ios/content-observation/10ms-delay-0ms-transition-on-touch-start.html:
2235         * fast/events/touch/ios/content-observation/10ms-delay-transition-on-touch-start-with-non-0px-end.html:
2236         * fast/events/touch/ios/content-observation/10ms-delay-transition-on-touch-start.html:
2237         * fast/events/touch/ios/content-observation/350ms-hover-intent.html:
2238         * fast/events/touch/ios/content-observation/400ms-hover-intent.html:
2239         * fast/events/touch/ios/content-observation/click-instead-of-hover-simple.html:
2240         * fast/events/touch/ios/content-observation/clickable-content-is-inside-a-container.html:
2241         * fast/events/touch/ios/content-observation/crash-on-anonymous-renderer.html:
2242         * fast/events/touch/ios/content-observation/hover-when-style-change-is-async.html:
2243         * fast/events/touch/ios/content-observation/hover-while-loading-subframe.html:
2244         * fast/events/touch/ios/content-observation/iframe-is-shown-on-hover.html:
2245         * fast/events/touch/ios/content-observation/mouse-out-event-should-fire-on-click.html:
2246         * fast/events/touch/ios/content-observation/move-content-from-offscreen.html:
2247         * fast/events/touch/ios/content-observation/new-content-covers-tap-target.html:
2248         * fast/events/touch/ios/content-observation/non-visible-becomes-visible-and-gains-new-renderer.html:
2249         * fast/events/touch/ios/content-observation/non-visible-content-gains-new-renderer.html:
2250         * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-with-opacity-and-left.html:
2251         * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-with-transition.html:
2252         * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove.html:
2253         * fast/events/touch/ios/content-observation/opacity-change-happens-on-touchstart-with-transition.html:
2254         * fast/events/touch/ios/content-observation/opacity-change-happens-on-touchstart.html:
2255         * fast/events/touch/ios/content-observation/remove-subframe-while-observing.html:
2256         * fast/events/touch/ios/content-observation/stuck-with-hover-state.html:
2257         * fast/events/touch/ios/content-observation/style-recalc-schedule-and-force-relalc.html:
2258         * fast/events/touch/ios/content-observation/tap-on-input-type-button-element.html:
2259         * fast/events/touch/ios/content-observation/tap-on-input-type-text-element.html:
2260         * fast/events/touch/ios/content-observation/transition-on-touch-start-and-remove.html:
2261         * fast/events/touch/ios/content-observation/visibility-change-after-touch-end.html:
2262         * fast/events/touch/ios/content-observation/visibility-change-happens-at-the-second-timer.html:
2263         * fast/events/touch/ios/content-observation/visibility-change-happens-on-timer-hops.html:
2264         * fast/events/touch/ios/content-observation/visibility-change-happens-while-in-mousemoved.html:
2265         * fast/events/touch/ios/content-observation/visibility-change-is-max-height-change.html:
2266         * fast/events/touch/ios/content-observation/visibility-change-on-touch-start-simple.html:
2267         * fast/events/touch/ios/content-observation/visibility-change-with-image-content.html:
2268         * fast/events/touch/ios/content-observation/visible-content-gains-new-renderer.html:
2269
2270 2019-04-17  Cathie Chen  <cathiechen@igalia.com>
2271
2272         Update the test result of resize-observer/eventloop.html.
2273         https://bugs.webkit.org/show_bug.cgi?id=197001
2274
2275         Reviewed by Frédéric Wang.
2276
2277         Since 177484 has landed, the order of requestAnimationFrame and resizeobserver callback is right.
2278         No need to mark eventloop.html as flaky.
2279
2280         * TestExpectations:
2281
2282 2019-04-16  Wenson Hsieh  <wenson_hsieh@apple.com>
2283
2284         [iOS] [WebKit2] Add support for honoring -[UIMenuItem dontDismiss]
2285         https://bugs.webkit.org/show_bug.cgi?id=196919
2286         <rdar://problem/41630459>
2287
2288         Reviewed by Tim Horton.
2289
2290         Add a new iOS layout test that installs a custom, non-dismissing action in the callout menu that enlarges text.
2291         The test then activates this custom menu item and checks that the selection rects after triggering this custom
2292         action are updated, and the callout bar is still showing.
2293
2294         * editing/selection/ios/selection-after-changing-text-with-callout-menu-expected.txt: Added.
2295         * editing/selection/ios/selection-after-changing-text-with-callout-menu.html: Added.
2296
2297         This test additionally suppresses all callout bar menu items except for the custom "Embiggen" action, to ensure
2298         that the "Embiggen" option can be tapped from the layout test without having to navigate callout bar items by
2299         tapping on the "Next" and "Show styles" buttons. This latter approach is very challenging to make reliable in
2300         automation; when navigating submenus in the callout bar, the next button can't be tapped until the current
2301         callout bar transition animation is complete, but there's no delegate method invoked or notification posted when
2302         this happens.
2303
2304         * resources/ui-helper.js:
2305         (window.UIHelper.isShowingMenu):
2306         (window.UIHelper.isDismissingMenu):
2307         (window.UIHelper.rectForMenuAction):
2308         (window.UIHelper.async.chooseMenuAction):
2309
2310         Additionally add a few more UIHelper methods.
2311
2312         (window.UIHelper):
2313
2314 2019-04-16  John Wilander  <wilander@apple.com>
2315
2316         Set test conditions closer to conversion redirect in LayoutTests/http/tests/adClickAttribution/send-attribution-conversion-request.html
2317         https://bugs.webkit.org/show_bug.cgi?id=196983
2318         <rdar://problem/49952679>
2319
2320         Unreviewed test gardening.
2321
2322         * http/tests/adClickAttribution/resources/redirectToConversion.php:
2323         * http/tests/adClickAttribution/send-attribution-conversion-request.html:
2324
2325 2019-04-16  Devin Rousso  <drousso@apple.com>
2326
2327         Unprefix -webkit-sticky
2328         https://bugs.webkit.org/show_bug.cgi?id=196962
2329         <rdar://problem/40903458>
2330
2331         Reviewed by Simon Fraser.
2332
2333         * compositing/layer-creation/no-compositing-for-sticky.html:
2334         * editing/pasteboard/copy-paste-converts-sticky.html:
2335         * editing/pasteboard/copy-paste-converts-sticky-expected.txt:
2336         * fast/block/positioning/fixed-container-with-sticky-parent.html:
2337         * fast/block/sticky-position-containing-block-crash.html:
2338         * fast/css/sticky/inflow-sticky.html:
2339         * fast/css/sticky/inline-sticky-abspos-child.html:
2340         * fast/css/sticky/inline-sticky.html:
2341         * fast/css/sticky/multiple-layers-sticky-crash.html:
2342         * fast/css/sticky/parsing-position-sticky-expected.txt:
2343         * fast/css/sticky/remove-inline-sticky-crash.html:
2344         * fast/css/sticky/remove-sticky-crash.html:
2345         * fast/css/sticky/replaced-sticky.html:
2346         * fast/css/sticky/resources/parsing-position-sticky.js:
2347         * fast/css/sticky/sticky-as-positioning-container.html:
2348         * fast/css/sticky/sticky-both-sides.html:
2349         * fast/css/sticky/sticky-bottom-overflow-padding.html:
2350         * fast/css/sticky/sticky-left-percentage.html:
2351         * fast/css/sticky/sticky-left.html:
2352         * fast/css/sticky/sticky-margins.html:
2353         * fast/css/sticky/sticky-overflowing.html:
2354         * fast/css/sticky/sticky-side-margins.html:
2355         * fast/css/sticky/sticky-stacking-context.html:
2356         * fast/css/sticky/sticky-stacking-context-expected.html:
2357         * fast/css/sticky/sticky-table-row-top.html:
2358         * fast/css/sticky/sticky-table-thead-top.html:
2359         * fast/css/sticky/sticky-top-margins.html:
2360         * fast/css/sticky/sticky-top-overflow-container-overflow.html:
2361         * fast/css/sticky/sticky-top-overflow.html:
2362         * fast/css/sticky/sticky-top-zoomed.html:
2363         * fast/css/sticky/sticky-top-zoomed-expected.html:
2364         * fast/css/sticky/sticky-top.html:
2365         * fast/css/sticky/sticky-writing-mode-horizontal-bt.html:
2366         * fast/css/sticky/sticky-writing-mode-vertical-lr.html:
2367         * fast/css/sticky/sticky-writing-mode-vertical-rl.html:
2368         * fast/multicol/newmulticol/table-section-crash.html:
2369         * fast/scrolling/ios/reconcile-layer-position-recursive.html:
2370         * fast/scrolling/rtl-scrollbars-sticky-document-2.html:
2371         * fast/scrolling/rtl-scrollbars-sticky-document.html:
2372         * fast/scrolling/rtl-scrollbars-sticky-iframe-2.html:
2373         * fast/scrolling/rtl-scrollbars-sticky-iframe.html:
2374         * fast/scrolling/rtl-scrollbars-sticky-overflow-scroll-2.html:
2375         * fast/scrolling/rtl-scrollbars-sticky-overflow-scroll.html:
2376         * fast/scrolling/sticky-to-fixed.html:
2377         * legacy-animation-engine/fast/multicol/newmulticol/table-section-crash.html:
2378         * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html:
2379         * svg/text/select-text-inside-non-static-position.html:
2380         * tiled-drawing/scrolling/sticky/negative-scroll-offset.html:
2381         * tiled-drawing/scrolling/sticky/sticky-horizontal.html:
2382         * tiled-drawing/scrolling/sticky/sticky-layers.html:
2383         * tiled-drawing/scrolling/sticky/sticky-vertical.html:
2384
2385 2019-04-16  John Wilander  <wilander@apple.com>
2386
2387         Increase timeout threshold in http/tests/adClickAttribution/send-attribution-conversion-request.html to address flakiness
2388         https://bugs.webkit.org/show_bug.cgi?id=196970
2389         <rdar://problem/49945327>
2390
2391         Unreviewed test gardening.
2392
2393         * http/tests/adClickAttribution/send-attribution-conversion-request.html:
2394             Increased test timeout from 2 seconds to 4.
2395
2396 2019-04-16  Joseph Pecoraro  <pecoraro@apple.com>
2397
2398         Unreviewed test gardening, rebaseline HAR test after r244294.
2399
2400         * http/tests/inspector/network/har/har-page-expected.txt:
2401         * http/tests/inspector/network/har/har-page.html:
2402         Update for stricter SameSite parsing.
2403
2404 2019-04-16  Shawn Roberts  <sroberts@apple.com>
2405
2406         media/W3C/video/events/event_progress_manual.html is a flaky failure
2407         https://bugs.webkit.org/show_bug.cgi?id=177663
2408
2409         Unreviewed test gardening.
2410
2411         * platform/mac-wk2/TestExpectations:
2412         * platform/mac/TestExpectations: Updating test expectations
2413
2414 2019-04-16  Ryan Haddad  <ryanhaddad@apple.com>
2415
2416         Unreviewed test gardening.
2417
2418         * platform/mac-wk1/TestExpectations: Correct a typo in bug URL.
2419
2420 2019-04-16  Philippe Normand  <pnormand@igalia.com>
2421
2422         Unreviewed, GTK gardening
2423
2424         * platform/gtk/TestExpectations:
2425         media/media-controls-accessibility.html times out since r244182.
2426
2427 2019-04-15  Antoine Quint  <graouts@apple.com>
2428
2429         [iOS] Redundant pointer events causes material design buttons to flush twice
2430         https://bugs.webkit.org/show_bug.cgi?id=196914
2431         <rdar://problem/49571860>
2432
2433         Reviewed by Dean Jackson.
2434
2435         Add a new test that listens to all pointer event types as well as click, which forces the dispatch of compatibility mouse events
2436         along with the click which would trigger duplicated pointer events prior to the source changes.
2437
2438         To ensure the new test added runs smoothly with a preceeding test that also uses ui.tap(), we add a delay to guarantee that no
2439         double-taps are seen rather two successive single taps.
2440
2441         * pointerevents/ios/pointer-event-order-expected.txt: Added.
2442         * pointerevents/ios/pointer-event-order.html: Added.
2443         * pointerevents/utils.js:
2444         (const.ui.new.UIController.prototype.tap):
2445
2446 2019-04-15  John Wilander  <wilander@apple.com>
2447
2448         Add a query string nonce to LayoutTests/http/tests/adClickAttribution/send-attribution-conversion-request.html to address flakiness
2449         https://bugs.webkit.org/show_bug.cgi?id=196955
2450
2451         Unreviewed test gardening.
2452
2453         * http/tests/adClickAttribution/resources/conversionFilePath.php:
2454         * http/tests/adClickAttribution/resources/conversionReport.php:
2455         * http/tests/adClickAttribution/resources/getConversionData.php:
2456         * http/tests/adClickAttribution/send-attribution-conversion-request.html:
2457
2458 2019-04-15  Devin Rousso  <drousso@apple.com>
2459
2460         Web Inspector: fake value descriptors for promises add a catch handler, preventing "rejectionhandled" events from being fired
2461         https://bugs.webkit.org/show_bug.cgi?id=196484
2462         <rdar://problem/49114725>
2463
2464         Reviewed by Joseph Pecoraro.
2465
2466         * inspector/runtime/promise-native-getter.html: Added.
2467         * inspector/runtime/promise-native-getter-expected.txt: Added.
2468
2469 2019-04-15  Shawn Roberts  <sroberts@apple.com>
2470
2471         storage/indexeddb/modern/gc-closes-database-private.html is a flaky timeout
2472         https://bugs.webkit.org/show_bug.cgi?id=194450
2473
2474         Unreviewed test gardening.
2475
2476         * platform/win/TestExpectations: Updating test expectations
2477
2478 2019-04-15  Shawn Roberts  <sroberts@apple.com>
2479
2480         imported/w3c/web-platform-tests/hr-time/test_cross_frame_start.html is a flaky failure
2481         https://bugs.webkit.org/show_bug.cgi?id=196944
2482
2483         Unreviewed test gardening.
2484
2485         * platform/ios-simulator-wk2/TestExpectations: Updating test expecations for flaky failure
2486
2487 2019-04-15  Joseph Pecoraro  <pecoraro@apple.com>
2488
2489         Web Inspector: SameSite parsing should be stricter
2490         https://bugs.webkit.org/show_bug.cgi?id=196927
2491         <rdar://problem/42291601>
2492
2493         Reviewed by Devin Rousso.
2494
2495         * inspector/unit-tests/cookie.html:
2496         * inspector/unit-tests/cookie-expected.txt:
2497
2498 2019-04-15  John Wilander  <wilander@apple.com>
2499
2500         Send delayed Ad Click Attribution conversion requests to the click source
2501         https://bugs.webkit.org/show_bug.cgi?id=196838
2502         <rdar://problem/47650157>
2503
2504         Reviewed by Chris Dumez and Youenn Fablet.
2505
2506         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority-expected.txt:
2507         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority-expected.txt:
2508         * http/tests/adClickAttribution/resources/conversionFilePath.php: Added.
2509         * http/tests/adClickAttribution/resources/conversionReport.php: Added.
2510         * http/tests/adClickAttribution/resources/getConversionData.php: Added.
2511         * http/tests/adClickAttribution/send-attribution-conversion-request-expected.txt: Added.
2512         * http/tests/adClickAttribution/send-attribution-conversion-request.html: Added.
2513
2514 2019-04-15  Devin Rousso  <drousso@apple.com>
2515
2516         REGRESSION (r240644): Layout Test inspector/page/overrideSetting-ICECandidateFilteringEnabled.html is a flaky timeout
2517         https://bugs.webkit.org/show_bug.cgi?id=194437
2518         <rdar://problem/48008005>
2519
2520         Reviewed by Joseph Pecoraro.
2521
2522         * inspector/page/overrideSetting-ICECandidateFilteringEnabled.html:
2523         * inspector/page/overrideSetting-ICECandidateFilteringEnabled-expected.txt:
2524
2525 2019-04-15  Said Abou-Hallawa  <said@apple.com>
2526
2527         ASSERT fires when removing a disallowed clone from the shadow tree without reseting its corresponding element
2528         https://bugs.webkit.org/show_bug.cgi?id=196895
2529
2530         Reviewed by Darin Adler.
2531
2532         * svg/custom/use-disallowed-element-clear-corresponding-element-expected.txt: Added.
2533         * svg/custom/use-disallowed-element-clear-corresponding-element.html: Added.
2534
2535 2019-04-15  Devin Rousso  <drousso@apple.com>
2536
2537         Web Inspector: DOMDebugger: "Attribute Modified" breakpoints pause after the modification occurs for the style attribute
2538         https://bugs.webkit.org/show_bug.cgi?id=196556
2539         <rdar://problem/49570681>
2540
2541         Reviewed by Timothy Hatcher.
2542
2543         * inspector/dom-debugger/attribute-modified-style.html: Added.
2544         * inspector/dom-debugger/attribute-modified-style-expected.txt: Added.
2545
2546 2019-04-15  Devin Rousso  <drousso@apple.com>
2547
2548         Web Inspector: Elements: event listener change events should only be fired for the selected node and it's ancestors
2549         https://bugs.webkit.org/show_bug.cgi?id=196887
2550         <rdar://problem/49870627>
2551
2552         Reviewed by Timothy Hatcher.
2553
2554         * inspector/dom/event-listener-inspected-node.html: Added.
2555         * inspector/dom/event-listener-inspected-node-expected.txt: Added.
2556
2557         * inspector/dom/event-listener-add-remove.html:
2558         * inspector/dom/event-listener-add-remove-expected.txt:
2559
2560 2019-04-15  Shawn Roberts  <sroberts@apple.com>
2561
2562         inspector/canvas/recording-webgl-snapshots.html is a flaky failure
2563         https://bugs.webkit.org/show_bug.cgi?id=196875
2564
2565         Unreviewed test gardening.
2566
2567         * platform/mac/TestExpectations: Updating test expectations
2568
2569 2019-04-15  Shawn Roberts  <sroberts@apple.com>
2570
2571         inspector/timeline/timeline-recording.html is a flaky failure
2572         https://bugs.webkit.org/show_bug.cgi?id=196915
2573
2574         Unreviewed test gardening.
2575
2576         * platform/mac-wk1/TestExpectations: Updating test expectations for flaky failure
2577
2578 2019-04-15  Shawn Roberts  <sroberts@apple.com>
2579
2580         Layout tests 
2581         inspector/heap/imported-snapshot.html
2582         inspector/heap/snapshot.html are flaky failures
2583         https://bugs.webkit.org/show_bug.cgi?id=155607
2584
2585         Unreviewed test gardening
2586
2587         * platform/mac/TestExpectations: Updating expectations for flaky failures
2588
2589 2019-04-11  Antoine Quint  <graouts@apple.com>
2590
2591         Ensure iOS layout traits are used for media controls in modern compatibility mode
2592         https://bugs.webkit.org/show_bug.cgi?id=196812
2593         <rdar://problem/47460637>
2594
2595         Reviewed by Dean Jackson.
2596
2597         Add a new test that enforces modern compatibility mode and checks that the iOS controls are used.
2598
2599         * media/modern-media-controls/media-controller/ios/media-controller-ios-layout-traits-modern-compatibility-mode-expected.txt: Added.
2600         * media/modern-media-controls/media-controller/ios/media-controller-ios-layout-traits-modern-compatibility-mode.html: Added.
2601
2602 2019-04-14  Fujii Hironori  <Hironori.Fujii@sony.com>
2603
2604         [WinCairo][WKL] Unreviewed test gardening.
2605
2606         * platform/wincairo-wk1/TestExpectations: Skip animation tests.
2607
2608 2019-04-14  Rob Buis  <rbuis@igalia.com>
2609
2610         Link prefetch not useful for top-level navigation
2611         https://bugs.webkit.org/show_bug.cgi?id=195623
2612
2613         Reviewed by Youenn Fablet.
2614
2615         Verify that prefetching a cross-domain top-level main resource
2616         is cached in the prefetch cache and only loaded once, and that non
2617         top-level prefetches keep the old behavior.
2618
2619         * http/tests/cache/link-prefetch-main-resource-expected.txt: Added.
2620         * http/tests/cache/link-prefetch-main-resource-iframe-expected.txt: Added.
2621         * http/tests/cache/link-prefetch-main-resource-iframe.html: Added.
2622         * http/tests/cache/link-prefetch-main-resource.html: Added.
2623         * http/tests/cache/resources/prefetched-main-resource-iframe.php: Added.
2624         * http/tests/cache/resources/prefetched-main-resource.php: Added.
2625         * platform/mac-wk1/TestExpectations:
2626         * platform/win/TestExpectations:
2627
2628 2019-04-12  Ross Kirsling  <ross.kirsling@sony.com>
2629
2630         [WinCairo][WKL] Unreviewed test gardening.
2631
2632         * platform/wincairo-wk1/TestExpectations:
2633         r244182 causes all animations tests to time out.
2634
2635 2019-04-12  Ryan Haddad  <ryanhaddad@apple.com>
2636
2637         Unreviewed test gardening for Windows.
2638
2639         * platform/win/TestExpectations:
2640
2641 2019-04-12  Simon Fraser  <simon.fraser@apple.com>
2642
2643         [iOS WK2] Make -webkit-overflow-scrolling be a no-op
2644         https://bugs.webkit.org/show_bug.cgi?id=196803
2645         rdar://problem/49078202
2646
2647         Reviewed by Antti Koivisto.
2648
2649         Rebase some tests, if I thought that non-stacking context overflow was interesting.
2650         For others, make overflow be stacking context by adding z-index.
2651         Add <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] --> to those that
2652         need it.
2653
2654         * compositing/overflow/scrolling-content-clip-to-viewport.html:
2655         * compositing/rtl/rtl-scrolling-with-transformed-descendants.html:
2656         * fast/scrolling/ios/change-scrollability-on-content-resize-nested.html:
2657         * fast/scrolling/ios/overflow-scroll-inherited-expected.txt:
2658         * fast/scrolling/ios/overflow-scrolling-ancestor-clip-size.html:
2659         * fast/scrolling/ios/overflow-scrolling-ancestor-clip.html:
2660         * fast/scrolling/ios/reconcile-layer-position-recursive-expected.txt:
2661         * fast/scrolling/ios/reconcile-layer-position-recursive.html:
2662         * fast/scrolling/ios/scrolling-content-clip-to-viewport.html:
2663         * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor.html:
2664         * fast/scrolling/ios/touch-scroll-pointer-events-none.html:
2665         * fast/scrolling/ios/touch-scroll-visibility-hidden.html:
2666         * platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt:
2667         * platform/ios/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt:
2668         * scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html:
2669         * scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html:
2670         * scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html:
2671         * scrollingcoordinator/scrolling-tree/coordinated-frame.html:
2672         * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html:
2673
2674 2019-04-12  Wenson Hsieh  <wenson_hsieh@apple.com>
2675
2676         [iOS] Software keyboard is shown too frequently on some websites
2677         https://bugs.webkit.org/show_bug.cgi?id=195856
2678         <rdar://problem/49191395>
2679
2680         Reviewed by Darin Adler.
2681
2682         Fix a failing layout test, which (among other reasons) is currently failing because support for inputmode="none"
2683         is disabled.
2684
2685         * fast/forms/ios/inputmode-none-expected.txt:
2686         * fast/forms/ios/inputmode-none.html:
2687         * resources/ui-helper.js:
2688
2689         Add a UIHelper method for attaching or detaching the hardware keyboard.
2690
2691         (window.UIHelper.setHardwareKeyboardAttached):
2692         (window.UIHelper):
2693
2694 2019-04-12  Ryan Haddad  <ryanhaddad@apple.com>
2695
2696         [macOS WK1] ASSERTION FAILED: formData in WebCore::ResourceRequest::doUpdateResourceHTTPBody()
2697         https://bugs.webkit.org/show_bug.cgi?id=196864
2698
2699         Unreviewed test gardening.
2700
2701         * platform/mac-wk1/TestExpectations: Skip test since it consistently crashes, update bug number.
2702
2703 2019-04-11  Simon Fraser  <simon.fraser@apple.com>
2704
2705         [iOS WK2] Wrong scrolling behavior for nested absolute position elements inside overflow scroll
2706         https://bugs.webkit.org/show_bug.cgi?id=196146
2707
2708         Reviewed by Antti Koivisto.
2709         
2710         Dump the scrolling tree for various configurations of positioned, overflow and stacking context
2711         elements.
2712
2713         * fast/scrolling/ios/overflow-scroll-overlap-6-expected.txt: Progressed results.
2714         * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt: Added.
2715         * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-overflow-expected.txt: Added.
2716         * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt: Added.
2717         * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: Added.
2718         * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt: Added.
2719         * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow.html: Added.
2720         * scrollingcoordinator/scrolling-tree/nested-absolute-in-overflow-expected.txt: Added.
2721         * scrollingcoordinator/scrolling-tree/nested-absolute-in-overflow.html: Added.
2722         * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt: Added.
2723         * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow.html: Added.
2724         * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: Added.
2725         * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow.html: Added.
2726
2727 2019-04-12  Manuel Rego Casasnovas  <rego@igalia.com>
2728
2729         [css-flex][css-grid] Fix synthesized baseline
2730         https://bugs.webkit.org/show_bug.cgi?id=196312
2731
2732         Reviewed by Javier Fernandez.
2733
2734         Some of the tests were not checking the right behavior changed them to test the expected one.
2735         We need new rebaselines for some tests.
2736
2737         * TestExpectations:
2738         * css3/flexbox/flexbox-baseline-margins.html:
2739         * fast/css-grid-layout/grid-baseline-expected.html:
2740         * fast/css-grid-layout/grid-baseline-margins-1-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-margins-expected.html.
2741         * fast/css-grid-layout/grid-baseline-margins-1.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-margins.html.
2742         * fast/css-grid-layout/grid-baseline-margins-2-expected.html: Added.
2743         * fast/css-grid-layout/grid-baseline-margins-2.html: Added.
2744         * fast/css-grid-layout/grid-baseline.html: This test is modified and split in two parts as it doesn't fit in the viewport.
2745         * platform/gtk/css3/flexbox/flexbox-baseline-margins-expected.png:
2746         * platform/gtk/css3/flexbox/flexbox-baseline-margins-expected.txt:
2747         * platform/ios/css3/flexbox/flexbox-baseline-margins-expected.png: Added.
2748         * platform/ios/css3/flexbox/flexbox-baseline-margins-expected.txt:
2749         * platform/mac/css3/flexbox/flexbox-baseline-margins-expected.png: Added.
2750         * platform/mac/css3/flexbox/flexbox-baseline-margins-expected.txt:
2751         * platform/win/css3/flexbox/flexbox-baseline-margins-expected.png: Added.
2752         * platform/win/css3/flexbox/flexbox-baseline-margins-expected.txt:
2753
2754 2019-04-11  Carlos Garcia Campos  <cgarcia@igalia.com>
2755
2756         [GTK] REGRESSION(r243860): Many tests failing
2757         https://bugs.webkit.org/show_bug.cgi?id=196791
2758
2759         Reviewed by Joanmarie Diggs.
2760
2761         Remove expectations for tests that pass now.
2762
2763         * platform/gtk/TestExpectations:
2764
2765 2019-04-11  Megan Gardner  <megan_gardner@apple.com>
2766
2767         Fix flaky LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html
2768         https://bugs.webkit.org/show_bug.cgi?id=196840
2769
2770         Reviewed by Tim Horton.
2771
2772         Use more stable test infrastructure to conduct input tests.
2773
2774         * fast/events/autoscroll-when-input-is-offscreen.html:
2775
2776 2019-04-11  Zalan Bujtas  <zalan@apple.com>
2777
2778         Add @page margin support
2779         https://bugs.webkit.org/show_bug.cgi?id=196680
2780         <rdar://problem/45217707>
2781
2782         Reviewed by Tim Horton.
2783
2784         * printing/page-with-10mm-left-margin-expected.pdf: Added.
2785         * printing/page-with-10mm-left-margin.html: Added.
2786         * printing/page-with-zero-margin-expected.pdf: Added.
2787         * printing/page-with-zero-margin.html: Added.
2788
2789 2019-04-09  Ryosuke Niwa  <rniwa@webkit.org>
2790
2791         [iOS] Moving backwards by word granularity does not work if the previous line was inside another block element
2792         https://bugs.webkit.org/show_bug.cgi?id=196670
2793
2794         Reviewed by Wenson Hsieh.
2795
2796         Added a test for moving and extending backwards from the beginning of a line with word & sentence granularities,
2797         and a basic set of tests forSimplifiedBackwardsTextIterator.
2798
2799         * editing/selection/extend-selection-backward-at-beginning-of-line-by-sentence-granularity-expected.txt: Added.
2800         * editing/selection/extend-selection-backward-at-beginning-of-line-by-sentence-granularity.html: Added.
2801         * editing/selection/extend-selection-backward-at-beginning-of-line-by-word-granularity-expected.txt: Added.
2802         * editing/selection/extend-selection-backward-at-beginning-of-line-by-word-granularity.html: Added.
2803         * editing/selection/move-selection-backward-at-beginning-of-line-by-sentence-granularity-expected.txt: Added.
2804         * editing/selection/move-selection-backward-at-beginning-of-line-by-sentence-granularity.html: Added.
2805         * editing/selection/move-selection-backward-at-beginning-of-line-by-word-granularity-expected.txt: Added.
2806         * editing/selection/move-selection-backward-at-beginning-of-line-by-word-granularity.html: Added.
2807         * editing/text-iterator/backwards-text-iterator-basic-expected.txt: Added.
2808         * editing/text-iterator/backwards-text-iterator-basic.html: Added.
2809
2810 2019-04-11  Wenson Hsieh  <wenson_hsieh@apple.com>
2811
2812         Allow the MediaSource API to be enabled via website policy
2813         https://bugs.webkit.org/show_bug.cgi?id=196429
2814         <rdar://problem/48774333>
2815
2816         Reviewed by Tim Horton.
2817
2818         Add an on-device layout test to ensure that enabling modern compability mode also enables MSE.
2819
2820         * TestExpectations:
2821         * fast/media/ios/ipad/enable-MediaSource-API-in-modern-compatibility-mode-expected.txt: Added.
2822         * fast/media/ios/ipad/enable-MediaSource-API-in-modern-compatibility-mode.html: Added.
2823         * platform/ios-simulator/TestExpectations:
2824         * platform/ios/TestExpectations:
2825
2826 2019-04-11  Devin Rousso  <drousso@apple.com>
2827
2828         Web Inspector: Timelines: can't reliably stop/start a recording
2829         https://bugs.webkit.org/show_bug.cgi?id=196778
2830         <rdar://problem/47606798>
2831
2832         Reviewed by Timothy Hatcher.
2833
2834         * inspector/timeline/debugger-paused-while-recording.html:
2835         * inspector/timeline/exception-in-injected-script-while-recording.html:
2836         * inspector/timeline/line-column.html:
2837         * inspector/timeline/recording-start-stop-timestamps.html:
2838         * inspector/timeline/resources/timeline-event-utilities.js:
2839         * inspector/timeline/setInstruments-programmatic-capture.html:
2840         * inspector/timeline/setInstruments-programmatic-capture-expected.txt:
2841         * inspector/timeline/timeline-recording.html:
2842
2843 2019-04-11  Carlos Garcia Campos  <cgarcia@igalia.com>
2844
2845         [GTK] Layout test accessibility/aria-hidden-false-works-in-subtrees.html fails after r184890
2846         https://bugs.webkit.org/show_bug.cgi?id=146718
2847         <rdar://problem/21722487>
2848
2849         Reviewed by Joanmarie Diggs.
2850
2851         Update test to ATK behavior, rebaseline it and remove the expectations.
2852
2853         * accessibility/aria-hidden-false-works-in-subtrees.html:
2854         * platform/gtk/TestExpectations:
2855         * platform/gtk/accessibility/aria-hidden-false-works-in-subtrees-expected.txt:
2856
2857 2019-04-10  Said Abou-Hallawa  <sabouhallawa@apple.com>
2858
2859         requestAnimationFrame should execute before the next frame
2860         https://bugs.webkit.org/show_bug.cgi?id=177484
2861
2862         Reviewed by Simon Fraser.
2863
2864         * TestExpectations:
2865         There is a slight difference between the actual DRT and the expected DRT
2866         due to animation timing change. But these two tests are not animating
2867         correctly if they are opened in Safari with web animation turned on. 
2868
2869         * accessibility/mac/selection-notification-focus-change-expected.txt:
2870         * accessibility/mac/selection-notification-focus-change.html:
2871         Remove the debug statements form notificationCallback() since the number
2872         of times this function is called back and the order of notifications are
2873         not defined. This test has been flaky and some trials were made to make 
2874         it more reliable. With this change it became flaky again.
2875
2876         * animations/animation-multiple-callbacks-timestamp.html:
2877         Fix variable names used by an error message.
2878
2879         * animations/no-style-recalc-during-accelerated-animation-expected.txt:
2880         * animations/no-style-recalc-during-accelerated-animation.html:
2881         One extra styleReclc was incurred due to the document styleRecalcTimer.
2882         I think this timer is not needed anymore. I will look at removing it in
2883         a separate patch.
2884
2885         * animations/resources/animation-test-helpers.js:
2886         (waitForAnimationToStart):
2887         The expectation that animation will start at the beginning of the next 
2888         event loop is not true anymore. The animation will start at the time the
2889         requestAnimationFrame fires.
2890
2891         * compositing/video/video-clip-change-src.html:
2892         This test loads a video data and pushes it to the encoder. Originally it
2893         used to wait 150 ms after receiving the second canplaythrough. I had to 
2894         change this timing to 250 ms.
2895
2896         * css3/filters/composited-during-animation.html:
2897         Ditto. setTimeout({...}, 0) versus requestAnimationFrame.
2898
2899         * media/media-controls-accessibility.html:
2900         Updating the accessibility button happens asynchronously, see 
2901         [WebAccessibilityObjectWrapper accessibilityPerformPressAction]. Due to
2902         changing the page update timing, this test became flaky. Originally it used
2903         to setTimeout({...}, 10) to ensure the stringValue of the mutate button
2904         was changed after it was pressed. The fix is to loop using rAF till the
2905         stringValue changes.
2906
2907         * platform/mac-wk2/accessibility/mac/selection-notification-focus-change-expected.txt: Removed.
2908         The number of time notificationCallback() is called and the order of
2909         notifications are not defined. And this is why we have two expected files:
2910         one for WK1 and the other for WK2. Since the test is now simplified, we
2911         can get rid of this duplication. We will test the minimum reliable thing
2912         we can test.
2913
2914 2019-04-10  Ryosuke Niwa  <rniwa@webkit.org>
2915
2916         Nullptr crash in CompositeEditCommand::moveParagraphs when root editable element goes away
2917         https://bugs.webkit.org/show_bug.cgi?id=193027
2918
2919         Reviewed by Wenson Hsieh.
2920
2921         Added a regression test. Note that the test works around debug assertions in moveParagraphs.
2922         These assertions are generally correct & useful unless the website does something crazy like
2923         removing the contenteditable content attribute during editing operations.
2924
2925         * editing/deleting/merge-paragraphs-null-root-editable-element-crash-expected.txt: Added.
2926         * editing/deleting/merge-paragraphs-null-root-editable-element-crash.html: Added.
2927
2928 2019-04-10  Alicia Boya García  <aboya@igalia.com>
2929
2930         [GTK] Unreviewed test gardening
2931         https://bugs.webkit.org/show_bug.cgi?id=196800
2932
2933         * platform/gtk/TestExpectations:
2934         * platform/gtk/fast/forms/auto-fill-button/input-auto-fill-button-expected.txt:
2935
2936 2019-04-10  Youenn Fablet  <youenn@apple.com>
2937
2938         [ Mojave WK2 iOS Sim ] Layout Test http/wpt/cache-storage/quota-third-party.https.html is a flaky failure
2939         https://bugs.webkit.org/show_bug.cgi?id=196358
2940         <rdar://problem/49388128>
2941
2942         Unreviewed.
2943
2944         * platform/ios-simulator-wk2/TestExpectations:
2945         Mark test as slow.
2946
2947 2019-04-10  Youenn Fablet  <youenn@apple.com>
2948
2949         SWClientConnection should not double hop to fire some events
2950         https://bugs.webkit.org/show_bug.cgi?id=196735
2951
2952         Reviewed by Alex Christensen.
2953
2954         * platform/mac-wk2/TestExpectations:
2955
2956 2019-04-10  Devin Rousso  <drousso@apple.com>
2957
2958         Web Inspector: REGRESSION (r238602): Elements: deleting the last child of a collapsed parent selects the parent's next sibling
2959         https://bugs.webkit.org/show_bug.cgi?id=192711
2960         <rdar://problem/46738990>
2961
2962         Reviewed by Timothy Hatcher.
2963
2964         Original patch by Matt Baker <mattbaker@apple.com>.
2965
2966         * inspector/table/table-remove-rows.html:
2967         * inspector/table/table-remove-rows-expected.txt:
2968
2969 2019-04-10  Devin Rousso  <drousso@apple.com>
2970
2971         Web Inspector: Elements tab: multiple selection lost after navigating to another tab
2972         https://bugs.webkit.org/show_bug.cgi?id=192681
2973         <rdar://problem/46709392>
2974
2975         Reviewed by Timothy Hatcher.
2976
2977         Orginal patch by Matt Baker <mattbaker@apple.com>.
2978
2979         * inspector/tree-outline/tree-outline-selection.html: Added.
2980         * inspector/tree-outline/tree-outline-selection-expected.txt: Added.
2981         Add `TreeOutline` tests for single and multiple selection.
2982
2983         * inspector/unit-tests/set-utilities.html:
2984         * inspector/unit-tests/set-utilities-expected.txt:
2985         Add tests for `Set.prototype.lastValue`.
2986
2987 2019-04-10  Youenn Fablet  <youenn@apple.com>
2988
2989         Layout Test http/wpt/fetch/response-opaque-clone.html is sometimes timing out on iOS simulator
2990         https://bugs.webkit.org/show_bug.cgi?id=194525
2991         <rdar://problem/48012229>
2992
2993         Reviewed by Alex Christensen.
2994
2995         Test is no longer flaky on MacOS.
2996         As per flakiness dashboard, it sometimes times out on iOS simulator.
2997         It sometimes passes after running for 20 seconds.
2998         Mark it as Slow and improve the test to output more sub-tests.
2999         Removed unnecessary removal of cache since test runner will clear them at the end of the test.
3000
3001         * http/wpt/fetch/response-opaque-clone-expected.txt:
3002         * http/wpt/fetch/response-opaque-clone.html:
3003         * platform/ios-simulator-wk2/TestExpectations:
3004
3005 2019-04-10  Justin Fan  <justin_fan@apple.com>
3006
3007         [Web GPU] Indexed drawing and GPUCommandEncoder crash prevention
3008         https://bugs.webkit.org/show_bug.cgi?id=196758
3009
3010         Reviewed by Dean Jackson.
3011
3012         Add draw-indexed-triangles to test drawing a green square using GPURenderPassEncoder::setIndexBuffer and drawIndexed.
3013
3014         * webgpu/draw-indexed-triangles-expected.html: Added.
3015         * webgpu/draw-indexed-triangles.html: Added.
3016
3017 2019-04-10  Megan Gardner  <megan_gardner@apple.com>
3018
3019         Fix text autoscrolling when typing in modern webkit
3020         https://bugs.webkit.org/show_bug.cgi?id=196718
3021
3022         Reviewed by Tim Horton.
3023
3024         * fast/events/autoscroll-when-input-is-offscreen-expected.txt: Added.
3025         * fast/events/autoscroll-when-input-is-offscreen.html: Added.
3026         * fast/events/autoscroll-with-software-keyboard-expected.txt: Added.
3027         * fast/events/autoscroll-with-software-keyboard.html: Added.
3028
3029 2019-04-10  Youenn Fablet  <youenn@apple.com>
3030
3031         Delay initialization of quota users until the first quota request
3032         https://bugs.webkit.org/show_bug.cgi?id=196467
3033
3034         Reviewed by Chris Dumez.
3035
3036         Unflake cache storage tests.
3037
3038         * TestExpectations:
3039         * platform/mac-wk2/TestExpectations:
3040
3041 2019-04-10  Philippe Normand  <pnormand@igalia.com>
3042
3043         there is no vp8 support in youtube.com/html5 page with libwebkit2gtk 2.24 (MSE enabled)
3044         https://bugs.webkit.org/show_bug.cgi?id=196615
3045
3046         Reviewed by Xabier Rodriguez-Calvar.
3047
3048         Update WPE baselines and add/unskip the
3049         imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType.html test in GTK.
3050
3051         * platform/gtk/TestExpectations:
3052         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: Copied from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt.
3053         * platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt:
3054
3055 2019-04-10  Carlos Garcia Campos  <cgarcia@igalia.com>
3056
3057         [ATK] Defer the emision of AtkObject::children-changed signal after layout is done
3058         https://bugs.webkit.org/show_bug.cgi?id=187948
3059
3060         Reviewed by Michael Catanzaro.
3061
3062         Remove expectations of accessibility/children-changed-sends-notification.html that passes now.
3063
3064         * platform/gtk/TestExpectations:
3065
3066 2019-04-10  Carlos Garcia Campos  <cgarcia@igalia.com>
3067
3068         [ATK] Test accessibility/insert-children-assert.html is crashing since added in r216980
3069         https://bugs.webkit.org/show_bug.cgi?id=172281
3070         <rdar://problem/37030990>
3071
3072         Reviewed by Joanmarie Diggs.
3073
3074         Update the test to expect the whole content text on atk and remove the test expectations.
3075
3076         * accessibility/insert-children-assert.html:
3077         * platform/gtk/TestExpectations:
3078
3079 2019-04-09  John Wilander  <wilander@apple.com>
3080
3081         Add Resource Load Statistics test case for Ping
3082         https://bugs.webkit.org/show_bug.cgi?id=196748
3083
3084         Reviewed by Alex Christensen.
3085
3086         * http/tests/resourceLoadStatistics/ping-to-prevalent-resource-expected.txt: Added.
3087         * http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html: Added.
3088
3089 2019-04-09  Megan Gardner  <megan_gardner@apple.com>
3090
3091         Turn on editing test that should pass now
3092         https://bugs.webkit.org/show_bug.cgi?id=196747
3093         <rdar://problem/38779179>
3094
3095         Reviewed by Tim Horton.
3096
3097         Just turning on a test that needed to be turns off for a while due to compatibility changes
3098         with the system.
3099
3100         * platform/ios-wk2/TestExpectations:
3101
3102 2019-04-09  Zalan Bujtas  <zalan@apple.com>
3103
3104         [AutoSizing] Avoid making text paragraphs scroll horizontally when there is a wide table
3105         https://bugs.webkit.org/show_bug.cgi?id=196743
3106         <rdar://problem/43897551>
3107
3108         Reviewed by Tim Horton.
3109
3110         * css3/viewport-percentage-lengths/vh-auto-size-expected.html:
3111         * css3/viewport-percentage-lengths/vh-auto-size.html:
3112         * fast/dynamic/crash-subtree-layout-when-auto-size-enabled.html:
3113         * fast/dynamic/mail-autosize-viewport-unit.html:
3114
3115 2019-04-09  Daniel Bates  <dabates@apple.com>
3116
3117         [iPad] Should open popover when the spacebar is pressed
3118         https://bugs.webkit.org/show_bug.cgi?id=196360
3119         <rdar://problem/49389129>
3120
3121         Reviewed by Brent Fulgham.
3122
3123         Add an iPad-specific test to ensure that pressing the spacebar opens the popover and scrolls
3124         the form control into view.
3125
3126         * fast/forms/ios/ipad/open-picker-using-keyboard-expected.txt: Added.
3127         * fast/forms/ios/ipad/open-picker-using-keyboard.html: Added.
3128         * platform/ios/TestExpectations: Skip tests in fast/forms/ios/ipad. We will unskip for iPad below.
3129         * platform/ipad/TestExpectations: Mark tests in fast/forms/ios/ipad as PASS so we run them.
3130         * resources/ui-helper.js:
3131         (window.UIHelper.waitForPopoverToPresent):
3132         (window.UIHelper.waitForPopoverToDismiss):
3133
3134 2019-04-09  Youenn Fablet  <youenn@apple.com>
3135
3136         Refresh WPT service worker expectations
3137         https://bugs.webkit.org/show_bug.cgi?id=196732
3138
3139         Reviewed by Alex Christensen.
3140
3141         * TestExpectations:
3142
3143 2019-04-09  Justin Fan  <justin_fan@apple.com>
3144
3145         [Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
3146         https://bugs.webkit.org/show_bug.cgi?id=196719
3147
3148         Reviewed by Myles C. Maxfield.
3149
3150         Add blend-color-triangle-strip to set and blend with a custom blend color on the renderpass encoder.
3151         Add viewport-scissor-rect-triangle-strip to draw a checkerboard by restricting the drawing viewport or scissor rectangle.
3152
3153         * webgpu/blend-color-triangle-strip.html: Added.
3154         * webgpu/js/webgpu-functions.js:
3155         (beginBasicRenderPass):
3156         * webgpu/viewport-scissor-rect-triangle-strip-expected.html: Added.
3157         * webgpu/viewport-scissor-rect-triangle-strip.html: Added.
3158
3159 2019-04-09  Devin Rousso  <drousso@apple.com>
3160
3161         Unreviewed, fix test failures after r239698.
3162         <rdar://problem/47223615>
3163
3164         * http/tests/inspector/network/resource-security-connection.html:
3165         Security connection information is sent as part of the metrics, not the response.
3166
3167 2019-04-09  John Wilander  <wilander@apple.com>
3168
3169         Pick up Ad Click Attribution conversions in NetworkResourceLoader::willSendRedirectedRequest()
3170         https://bugs.webkit.org/show_bug.cgi?id=196558
3171         <rdar://problem/47650245>
3172
3173         Reviewed by Youenn Fablet.
3174
3175         * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt:
3176            Enhanced the use of AdClickAttribution::MaxEntropy.
3177         * http/tests/adClickAttribution/attribution-conversion-through-cross-site-image-redirect-expected.txt: Added.
3178         * http/tests/adClickAttribution/attribution-conversion-through-cross-site-image-redirect.html: Added.
3179         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority-expected.txt: Added.
3180         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority.html: Added.
3181         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority-expected.txt: Added.
3182         * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority.html: Added.
3183         * http/tests/adClickAttribution/resources/redirectToConversion.php: Added.
3184         * http/tests/adClickAttribution/resources/redirectToConversionOnIPAddress.php: Added.
3185         * platform/ios-wk2/http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt:
3186            Enhanced the use of AdClickAttribution::MaxEntropy.
3187
3188 2019-04-09  Shawn Roberts  <sroberts@apple.com>
3189
3190         inspector/canvas/css-canvas-clients.html is a flaky failure
3191         https://bugs.webkit.org/show_bug.cgi?id=174272
3192
3193         Unreviewed test gardening
3194
3195         * platform/mac/TestExpectations: Updating expectations to unskip test and just mark as a flaky failure
3196
3197 2019-04-09  Shawn Roberts  <sroberts@apple.com>
3198
3199         inspector/console/console-time.html is a flaky failure
3200         https://bugs.webkit.org/show_bug.cgi?id=158006
3201
3202         Unreviewed test gardening.
3203
3204         * platform/mac/TestExpectations: Updating expecations for flaky failure
3205
3206 2019-04-09  Antoine Quint  <graouts@apple.com>
3207
3208         [ Mac ] REGRESSION (r237587) Layout Test compositing/visible-rect/animated-from-none.html is flaky text diff failure
3209         https://bugs.webkit.org/show_bug.cgi?id=194798
3210         <rdar://problem/48181898>
3211
3212         Reviewed by Dean Jackson.
3213
3214         When using the Web Animations engine, the best way to run code as an animation start is to use the "ready" promise, whereas
3215         DOM events are dispatched asynchronously and, in the case of this test, might have an animation progress that is greater
3216         than 0 and yield an animated transform that isn't quite the identity matrix.
3217
3218         * compositing/visible-rect/animated-from-none.html:
3219
3220 2019-04-09  Jer Noble  <jer.noble@apple.com>
3221
3222         Add test for fix of #196095
3223         https://bugs.webkit.org/show_bug.cgi?id=196097
3224
3225         Reviewed by Eric Carlson.
3226
3227         * media/track/track-in-band-metadata-display-order-expected.txt: Added.
3228         * media/track/track-in-band-metadata-display-order.html: Added.
3229
3230 2019-04-08  Chris Fleizach  <cfleizach@apple.com>
3231
3232         AX: Automatically compute accessibility labels for Apple Pay buttons
3233         https://bugs.webkit.org/show_bug.cgi?id=196661
3234
3235         Reviewed by Joanmarie Diggs.
3236
3237         * accessibility/mac/apple-pay-labels-expected.txt: Added.
3238         * accessibility/mac/apple-pay-labels.html: Added.
3239         * accessibility/mac/apple-pay-session-v4-expected.txt: Added.
3240         * accessibility/mac/apple-pay-session-v4.html: Added.
3241
3242 2019-04-08  Youenn Fablet  <youenn@apple.com>
3243
3244         Add a test to check for the service worker process name
3245         https://bugs.webkit.org/show_bug.cgi?id=196621
3246
3247         Reviewed by Chris Dumez.
3248
3249         * http/wpt/service-workers/online-worker.js:
3250         (async.doTest):
3251
3252 2019-04-08  Shawn Roberts  <sroberts@apple.com>
3253
3254         fast/parser/xml-error-adopted.xml is a flaky timeout
3255         https://bugs.webkit.org/show_bug.cgi?id=186581
3256
3257         Unreviewed test gardening.
3258
3259         * platform/ios-simulator-wk2/TestExpectations:
3260
3261 2019-04-08  Shawn Roberts  <sroberts@apple.com>
3262
3263         Fixed a typo on a test expectation
3264         https://bugs.webkit.org/show_bug.cgi?id=187391
3265
3266         Unreviewed test gardening.
3267
3268         * platform/mac-wk2/TestExpectations: Updating test expectations
3269
3270 2019-04-08  Shawn Roberts  <sroberts@apple.com>
3271
3272         inspector/canvas/css-canvas-clients.html is a constant timeout/failure
3273         https://bugs.webkit.org/show_bug.cgi?id=174272
3274
3275         Unreviewed test gardening.
3276
3277         * platform/mac/TestExpectations: Updating test expectations to skip test
3278
3279 2019-04-08  Yusuke Suzuki  <ysuzuki@apple.com>
3280
3281         Unreviewed, rolling in r243948 with test fix
3282         https://bugs.webkit.org/show_bug.cgi?id=196486
3283
3284         The test relied on the wrong EOF token's offset. This patch also fixes the test.
3285
3286         * inspector/runtime/parse-expected.txt:
3287         * inspector/runtime/parse.html:
3288
3289 2019-04-08  Antti Koivisto  <antti@apple.com>
3290
3291         Update touch-action region on property changes
3292         https://bugs.webkit.org/show_bug.cgi?id=196608
3293
3294         Reviewed by Simon Fraser.
3295
3296         * pointerevents/ios/touch-action-region-dynamic-expected.txt: Added.
3297         * pointerevents/ios/touch-action-region-dynamic.html: Added.
3298
3299 2019-04-08  Javier Fernandez  <jfernandez@igalia.com>
3300
3301         Implement white-space:break-spaces value
3302         https://bugs.webkit.org/show_bug.cgi?id=177327
3303
3304         Reviewed by Myles Maxfield and Zalan Bujtas.
3305
3306         Removed many failure expectations of tests that pass now thanks to this change.
3307
3308         The overflow-wrap-break-word-003.html tests fails in mac and iOS platforms due to an issue related to
3309         how we compute widths using 'ch' units and 'monospace' fonts. I filed bug #196169 to report the specific
3310         case of this test (break-word+pre-wrap) but the root cause it's probably the bug #196353.
3311
3312         I have submitted a PR [1] to the Web Platform Tests to change several tests that failed only if the
3313         monospace font is used, but pass with the Ahem font. Additionally, I've requested another PR [2] to
3314         add new layout tests, with the same case than overflow-wrap-break-word-003.html but using the Ahem
3315         font.
3316
3317         [1] https://github.com/web-platform-tests/wpt/pull/16137
3318         [2] https://github.com/web-platform-tests/wpt/pull/16124
3319
3320         * TestExpectations: Removed many Failure entries on tests that pass now thanks to this change.
3321         * platform/mac/TestExpectations: Added one Failure entry and filed the corresponding bug report.
3322
3323 2019-04-08  Antoine Quint  <graouts@apple.com>
3324
3325         [Web Animations] JS wrapper may be deleted while animation is yet to dispatch its finish event
3326         https://bugs.webkit.org/show_bug.cgi?id=196118
3327         <rdar://problem/46614137>
3328
3329         Reviewed by Chris Dumez.
3330
3331         Add a test that starts a short animation, sets a custom property on it, registers a "finish" event listener on it and deletes
3332         the sole reference to it in the JS world before triggering garbage collection. Prior to this fix, this test would time out
3333         because the JS wrapper would be garbage-collected prior to the animation completing and thus the event listener would not
3334         be called. To complete successfully, this test checks that it receives the event and its target is the same animation object
3335         that was originally created by checking the custom property is still set.
3336
3337         We also make sure that a test, which was found to have regressed with a previous version of this patch, uses the animation
3338         engine that it is expected to be testing.
3339
3340         * legacy-animation-engine/animations/resume-after-page-cache.html:
3341         * webanimations/js-wrapper-kept-alive-expected.txt: Added.
3342         * webanimations/js-wrapper-kept-alive.html: Added.
3343
3344 2019-04-08  Eric Liang  <ericliang@apple.com>
3345
3346         AX: <svg> elements with labels and no accessible contents are exposed as empty AXGroups
3347         https://bugs.webkit.org/show_bug.cgi?id=156774
3348
3349         Reviewed by Chris Fleizach.
3350
3351         Added tests that verify svgs shapes that are labelled are exposed as images.
3352         * accessibility/resources/apple-logo.svg: Added.
3353         * accessibility/svg-shape-labelled-expected.txt: Added.
3354         * accessibility/svg-shape-labelled.html: Added.
3355
3356 2019-04-08  Shawn Roberts  <sroberts@apple.com>
3357
3358         Layout tests imported/w3c/IndexedDB-private-browsing/idbobjectstore_createIndex7-event_order.html
3359         imported/w3c/IndexedDB-private-browsing/idbobjectstore_createIndex6-event_order.html are flaky failures
3360         https://bugs.webkit.org/show_bug.cgi?id=195961
3361
3362         Unreviewed test gardening
3363
3364         * platform/mac-wk2/TestExpectations: Updating test expectations for Debug flaky failure
3365
3366 2019-04-06  Antti Koivisto  <antti@apple.com>
3367
3368         Combine event and touch action regions into a single class
3369         https://bugs.webkit.org/show_bug.cgi?id=196644
3370         <rdar://problem/49643614>
3371
3372         Reviewed by Darin Adler.
3373
3374         * pointerevents/ios/touch-action-region-basic-expected.txt:
3375         * pointerevents/ios/touch-action-region-layers-expected.txt:
3376         * pointerevents/ios/touch-action-region-pan-x-y-expected.txt:
3377
3378 2019-04-05  Yongjun Zhang  <yongjun_zhang@apple.com>
3379
3380         We should pass minimumEffectiveDeviceWidth to web process on new page creation.
3381         https://bugs.webkit.org/show_bug.cgi?id=196077
3382         <rdar://problem/49108202>
3383
3384         Reviewed by Chris Dumez.
3385
3386         Add a layout test to verify the page shrinks to fit the window width when ignoreMetaViewport
3387         flag is turned on.
3388
3389         * fast/viewport/ios/shrink-to-fit-for-page-without-viewport-meta-expected.txt: Added.
3390         * fast/viewport/ios/shrink-to-fit-for-page-without-viewport-meta.html: Added.
3391
3392 2019-04-05  Jer Noble  <jer.noble@apple.com>
3393
3394         [Cocoa] Deactivate the audio session before the WebProcess suspends.
3395         https://bugs.webkit.org/show_bug.cgi?id=196658
3396
3397         Reviewed by Eric Carlson.
3398
3399         * platform/mac/media/audio-session-deactivated-when-suspended-expected.txt: Added.
3400         * platform/mac/media/audio-session-deactivated-when-suspended.html: Added.
3401
3402 2019-04-05  Devin Rousso  <drousso@apple.com>
3403
3404         Web Inspector: TestSuite test cases should have their own timeout to ensure tests fail with output instead of timeout by test runner
3405         https://bugs.webkit.org/show_bug.cgi?id=162814
3406         <rdar://problem/28574102>
3407
3408         Reviewed by Brian Burg.
3409
3410         * inspector/unit-tests/async-test-suite.html:
3411         * inspector/unit-tests/async-test-suite-expected.txt:
3412         * inspector/unit-tests/sync-test-suite.html:
3413         * inspector/unit-tests/sync-test-suite-expected.txt:
3414
3415         * http/tests/inspector/network/set-resource-caching-disabled-disk-cache-expected.txt:
3416         * inspector/canvas/recording-2d.html:
3417         * inspector/canvas/recording-webgl-snapshots.html:
3418         * inspector/canvas/recording-webgl.html:
3419         * inspector/canvas/resources/shaderProgram-utilities.js:
3420         (TestPage.registerInitializer.whenProgramAdded): Added.
3421         (TestPage.registerInitializer.whenProgramRemoved): Added.
3422         (TestPage.registerInitializer.window.initializeTestSuite):
3423         (TestPage.registerInitializer.window.addSimpleTestCase):
3424         (TestPage.registerInitializer.window.addParentCanvasRemovedTestCase):
3425         (TestPage.registerInitializer.awaitProgramAdded): Added.
3426         (TestPage.registerInitializer.awaitProgramRemoved): Added.
3427         * inspector/console/command-line-api-expected.txt:
3428         * inspector/console/heap-snapshot.html:
3429         * inspector/debugger/async-stack-trace-truncate-expected.txt:
3430         * inspector/debugger/pause-for-internal-scripts-expected.txt:
3431         * inspector/formatting/resources/utilities.js:
3432         (TestPage.registerInitializer.window.addFormattingTests):
3433
3434 2019-04-05  Ryan Haddad  <ryanhaddad@apple.com>
3435
3436         [Mac WK2 iOS Sim] Layout Test imported/w3c/web-platform-tests/webrtc/RTCRtpReceiver-getSynchronizationSources.https.html is a flaky failure
3437         https://bugs.webkit.org/show_bug.cgi?id=196633
3438
3439         Unreviewed test gardening.
3440
3441         * platform/ios-wk2/TestExpectations: Mark test as flaky.
3442         * platform/mac-wk2/TestExpectations: Ditto.
3443
3444 2019-04-05  Shawn Roberts  <sroberts@apple.com>
3445
3446         editing/execCommand/print.html is crashing on iOS Debug
3447         https://bugs.webkit.org/show_bug.cgi?id=196654
3448
3449         Unreviewed test gardening.
3450
3451         * platform/ios-simulator-wk2/TestExpectations: Skipping test on iOS Debug while waiting for a fix
3452
3453 2019-04-05  Diego Pino Garcia  <dpino@igalia.com>
3454
3455         [WPE] Unreviewed gardening, update unexpected passes
3456
3457         * platform/wpe/TestExpectations:
3458
3459 2019-04-04  Simon Fraser  <simon.fraser@apple.com>
3460
3461         Simple iframe scrolling test fails to get a composited scrolling frame in WebKitTestRunnerApp
3462         https://bugs.webkit.org/show_bug.cgi?id=196635
3463
3464         Reviewed by Antti Koivisto.
3465
3466         * scrollingcoordinator/ios/programmatic-frame-scroll-expected.html: Added.
3467         * scrollingcoordinator/ios/programmatic-frame-scroll.html: Added.
3468
3469 2019-04-04  Simon Fraser  <simon.fraser@apple.com>
3470
3471         [iOS WK2] REGRESSION (r242687): Programmatic scroll of overflow scroll results in bad rendering
3472         https://bugs.webkit.org/show_bug.cgi?id=195584
3473
3474         Reviewed by Zalan Bujtas.
3475
3476         Testing of programmatic scrolls in frames is prevented by webkit.org/b/196635.
3477
3478         * scrollingcoordinator/ios/programmatic-overflow-scroll-expected.html: Added.
3479         * scrollingcoordinator/ios/programmatic-overflow-scroll.html: Added.
3480         * scrollingcoordinator/ios/programmatic-page-scroll-expected.html: Added.
3481         * scrollingcoordinator/ios/programmatic-page-scroll.html: Added.
3482
3483 2019-04-04  Shawn Roberts  <sroberts@apple.com>
3484
3485         Unreviewed, rolling out r243868.
3486
3487         Causing timeouts failures on several queues
3488
3489         Reverted changeset:
3490
3491         "[Web Animations] JS wrapper may be deleted while animation is
3492         yet to dispatch its finish event"
3493         https://bugs.webkit.org/show_bug.cgi?id=196118
3494         https://trac.webkit.org/changeset/243868
3495
3496 2019-04-04  Commit Queue  <commit-queue@webkit.org>
3497
3498         Unreviewed, rolling out r243807 and r243824.
3499         https://bugs.webkit.org/show_bug.cgi?id=196611
3500