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