[ iOS ] Layout Test scrollingcoordinator/ios/fixed-scrolling-with-keyboard.html is...
[WebKit-https.git] / LayoutTests / ChangeLog
1 2019-09-26  Russell Epstein  <repstein@apple.com>
2
3         [ iOS ] Layout Test scrollingcoordinator/ios/fixed-scrolling-with-keyboard.html is a Flaky Failure
4         https://bugs.webkit.org/show_bug.cgi?id=202283
5
6         Unreviewed Test Gardening.
7
8         * platform/ios/TestExpectations: Marked
9         scrollingcoordinator/ios/fixed-scrolling-with-keyboard.html as flaky
10
11 2019-09-26  Chris Dumez  <cdumez@apple.com>
12
13         Stop using testRunner.overridePreference() to turn on Page Cache
14         https://bugs.webkit.org/show_bug.cgi?id=202274
15
16         Reviewed by Alex Christensen.
17
18         Stop using testRunner.overridePreference() to turn on Page Cache, as this does not work
19         for WebKit2 when navigating cross-origin due to process swapping. Instead, update tests
20         to rely on `<!-- webkit-test-runner [ enablePageCache=true ] -->`.
21
22         * animations/resume-after-page-cache.html:
23         * compositing/accelerated-layers-after-back.html:
24         * compositing/iframes/page-cache-layer-tree.html:
25         * compositing/page-cache-back-crash.html:
26         * compositing/show-composited-iframe-on-back-button.html:
27         * editing/mac/input/unconfirmed-text-navigation-with-page-cache.html:
28         * fast/css/fontloader-page-cache.html:
29         * fast/dom/DeviceMotion/no-page-cache.html:
30         * fast/dom/DeviceOrientation/event-after-navigation.html:
31         * fast/dom/DeviceOrientation/no-page-cache.html:
32         * fast/dom/Window/timer-resume-on-navigation-back.html:
33         * fast/events/onunload-back-to-page-cache.html:
34         * fast/events/pagehide-timeout-expected.txt:
35         * fast/events/pagehide-timeout.html:
36         * fast/events/pagehide-xhr-open-expected.txt:
37         * fast/events/pagehide-xhr-open.html:
38         * fast/events/pageshow-pagehide-on-back-cached-with-frames.html:
39         * fast/events/pageshow-pagehide-on-back-cached.html:
40         * fast/events/suspend-timers-expected.txt:
41         * fast/events/suspend-timers.html:
42         * fast/forms/autocomplete-off-with-default-value-does-not-clear.html:
43         * fast/frames/frame-crash-with-page-cache.html:
44         * fast/frames/frame-unload-navigate-and-setTimeout-assert-fail.html:
45         * fast/frames/page-hide-document-open.html:
46         * fast/frames/restoring-page-cache-should-not-run-scripts-via-style-update.html:
47         * fast/frames/restoring-page-cache-should-not-run-scripts.html:
48         * fast/harness/page-cache-crash-on-data-urls.html:
49         * fast/harness/use-page-cache-expected.txt:
50         * fast/harness/use-page-cache.html:
51         * fast/history/back-from-page-with-focused-iframe.html:
52         * fast/history/go-back-to-iframe-with-plugin.html:
53         * fast/history/go-back-to-object-subframe.html:
54         * fast/history/history-back-while-pdf-in-pagecache.html:
55         * fast/history/page-cache-MessagePort-pending-message.html:
56         * fast/history/page-cache-after-window-open.html:
57         * fast/history/page-cache-back-navigation-crash.html:
58         * fast/history/page-cache-clearing-expected.txt:
59         * fast/history/page-cache-clearing.html:
60         * fast/history/page-cache-closed-audiocontext.html:
61         * fast/history/page-cache-createObjectURL-using-open-panel.html:
62         * fast/history/page-cache-createObjectURL.html:
63         * fast/history/page-cache-destroy-document.html:
64         * fast/history/page-cache-element-state-focused.html:
65         * fast/history/page-cache-execute-script-during-restore.html:
66         * fast/history/page-cache-geolocation-active-oneshot.html:
67         * fast/history/page-cache-geolocation-active-watcher.html:
68         * fast/history/page-cache-geolocation.html:
69         * fast/history/page-cache-indexed-closed-db.html:
70         * fast/history/page-cache-indexed-opened-db.html:
71         * fast/history/page-cache-media-source-closed-2.html:
72         * fast/history/page-cache-media-source-closed.html:
73         * fast/history/page-cache-media-source-opened.html:
74         * fast/history/page-cache-navigate-during-restore.html:
75         * fast/history/page-cache-notification-non-suspendable.html:
76         * fast/history/page-cache-notification-suspendable.html:
77         * fast/history/page-cache-removed-source-buffer.html:
78         * fast/history/page-cache-running-audiocontext.html:
79         * fast/history/page-cache-suspended-audiocontext.html:
80         * fast/history/page-cache-webdatabase-no-transaction-db-expected.txt:
81         * fast/history/page-cache-webdatabase-no-transaction-db.html:
82         * fast/history/page-cache-webdatabase-pending-transaction.html:
83         * fast/history/page-cache-with-opener.html:
84         * fast/history/pagehide-remove-iframe-crash.html:
85         * fast/history/resources/page-cache-window-with-iframe.html:
86         * fast/history/resources/page-cache-window-with-opener.html:
87         * fast/history/timed-refresh-in-cached-frame.html:
88         * fast/images/animated-gif-restored-from-bfcache.html:
89         * fast/loader/frames-with-unload-handlers-in-page-cache.html:
90         * fast/loader/image-in-page-cache.html:
91         * fast/loader/input-element-page-cache-crash.html:
92         * fast/loader/navigate-with-new-target-after-back-forward-navigation.html:
93         * fast/loader/navigate-with-post-to-new-target-after-back-forward-navigation.html:
94         * fast/loader/scroll-position-restored-on-back.html:
95         * fast/loader/stateobjects/no-popstate-when-back-to-stateless-entry-with-page-cache.html:
96         * fast/loader/stateobjects/popstate-fires-with-page-cache.html:
97         * fast/loader/unschedule-relayout-after-unload.html:
98         * fast/loader/window-properties-restored-from-page-cache.html:
99         * fast/overflow/horizontal-scroll-after-back.html:
100         * fast/scrolling/iframe-scrollable-after-back.html:
101         * fast/scrolling/ios/scroll-events-back-forward-after-pageshow.html:
102         * fast/scrolling/ios/scroll-events-back-forward.html:
103         * fast/scrolling/ios/touch-scroll-back-forward.html:
104         * fast/scrolling/overflow-scrollable-after-back.html:
105         * fast/scrolling/page-cache-back-overflow-scroll-restore.html:
106         * fast/text-autosizing/ios/text-autosizing-after-back.html:
107         * fast/viewport/ios/viewport-shrink-to-fit-on-new-navigation.html:
108         * fast/viewport/viewport-128.html:
109         * http/tests/cache/display-image-unset-allows-cached-image-load.html:
110         * http/tests/loading/main-resource-delegates-on-back-navigation-expected.txt:
111         * http/tests/loading/main-resource-delegates-on-back-navigation.html:
112         * http/tests/loading/unfinished-load-back-to-cached-page-callbacks.html:
113         * http/tests/loading/unfinished-main-resource-back-to-cached-page-callbacks.html:
114         * http/tests/media/reload-after-dialog.html:
115         * http/tests/navigation/go-back-to-error-page.html:
116         * http/tests/navigation/https-in-page-cache.html:
117         * http/tests/navigation/https-no-store-subframe-in-page-cache.html:
118         * http/tests/navigation/image-load-in-pagehide-handler.html:
119         * http/tests/navigation/page-cache-fragment-referrer.html:
120         * http/tests/navigation/page-cache-iframe-no-current-historyItem.html:
121         * http/tests/navigation/page-cache-iframe-provisional-load-async-delegates.html:
122         * http/tests/navigation/page-cache-iframe-provisional-load.html:
123         * http/tests/navigation/page-cache-pending-image-load-cache-partition.html:
124         * http/tests/navigation/page-cache-pending-image-load.html:
125         * http/tests/navigation/page-cache-pending-ping-load-cross-origin.html:
126         * http/tests/navigation/page-cache-pending-ping-load-same-origin.html:
127         * http/tests/navigation/page-cache-xhr-in-pagehide-expected.txt:
128         * http/tests/navigation/page-cache-xhr-in-pagehide.html:
129         * http/tests/navigation/page-cache-xhr.html:
130         * http/tests/navigation/resources/https-in-page-cache-1.php:
131         * http/tests/navigation/resources/https-in-page-cache-2.php:
132         * http/tests/navigation/resources/https-in-page-cache-3.html:
133         * http/tests/navigation/resources/https-no-store-subframe-in-page-cache.html:
134         * http/tests/navigation/subframe-pagehide-handler-starts-load.html:
135         * http/tests/navigation/subframe-pagehide-handler-starts-load2.html:
136         * http/tests/security/cross-origin-window-open-insert-script.html:
137         * http/tests/security/cross-origin-window-open-javascript-url.html:
138         * http/tests/security/navigate-when-restoring-cached-page.html:
139         * http/tests/security/xss-DENIED-click-and-form-submission-from-inactive-domwindow.html:
140         * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html:
141         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
142         * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html:
143         * http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html:
144         * http/tests/websocket/tests/hybi/closed-when-entering-page-cache.html:
145         * http/tests/websocket/tests/hybi/stop-on-resume-in-error-handler.html:
146         * http/tests/workers/service/client-added-to-clients-when-restored-from-page-cache.html:
147         * http/tests/workers/service/client-removed-from-clients-while-in-page-cache.html:
148         * http/wpt/beacon/support/sendBeacon-onpagehide-window.html:
149         * legacy-animation-engine/animations/resume-after-page-cache.html:
150         * loader/go-back-cached-main-resource.html:
151         * loader/go-back-to-different-window-size.html:
152         * media/crash-closing-page-with-media-as-plugin-fallback.html:
153         * media/restore-from-page-cache.html:
154         * platform/ios/ios/fixed/fixed-back-forward.html:
155         * plugins/crash-restoring-plugin-page-from-page-cache.html:
156         * plugins/frameset-with-plugin-frame.html:
157         * plugins/netscape-plugin-page-cache-works.html:
158         * swipe/basic-cached-back-swipe.html:
159         * swipe/main-frame-pinning-requirement.html:
160         * swipe/pushState-cached-back-swipe.html:
161         * swipe/pushState-programmatic-back-while-swiping-crash.html:
162         * swipe/pushstate-with-manual-scrollrestoration.html:
163         * tiled-drawing/scrolling/null-parent-back-crash.html:
164         * tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration.html:
165
166 2019-09-26  Kate Cheney  <katherine_cheney@apple.com>
167
168         Enable LayoutTests using ResourceLoadStatistics SQLite backend (195420)
169         https://bugs.webkit.org/show_bug.cgi?id=195420 
170         <rdar://problem/54213551>
171
172         Added a flag to all ITP tests to enable the ITP database backend to 
173         allow for testing functionality against the memory store. Tests were 
174         not created for telemetry-generation.html, 
175         log-cross-site-load-with-link-decoration.html, or 
176         website-data-removal-for-site-navigated-to-with-link-decoration.html, 
177         because these rely on functions not yet implemented in the ITP database.
178         Additionally, added flags to some memory store tests to ensure they
179         are using the memory store before calling functions not implemented in
180         the database store yet.
181
182         Reviewed by Brent Fulgham.
183
184         * http/tests/resourceLoadStatistics/add-blocking-to-redirect-database-expected.txt: Added.
185         * http/tests/resourceLoadStatistics/add-blocking-to-redirect-database.html: Added.
186         * http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database-expected.txt: Added.
187         * http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database.html: Added.
188         * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-database-expected.txt: Added.
189         * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-database.html: Added.
190         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-database-expected.txt: Added.
191         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-database.html: Added.
192         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-database-expected.txt: Added.
193         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-database.html: Added.
194         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-database-expected.txt: Added.
195         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-database.html: Added.
196         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-database-expected.txt: Added.
197         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-database.html: Added.
198         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-database-expected.txt: Added.
199         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-database.html: Added.
200         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-database-expected.txt: Added.
201         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-database.html: Added.
202         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-database-expected.txt: Added.
203         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-database.html: Added.
204         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database-expected.txt: Added.
205         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database.html: Added.
206         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-database-expected.txt: Added.
207         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-database.html: Added.
208         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-database-expected.txt: Added.
209         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-database.html: Added.
210         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-database-expected.txt: Added.
211         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-database.html: Added.
212         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-database-expected.txt: Added.
213         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-database.html: Added.
214         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-database-expected.txt: Added.
215         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-database.html: Added.
216         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent-database-expected.txt: Added.
217         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent-database.html: Added.
218         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-database-expected.txt: Added.
219         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-database.html: Added.
220         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-database-expected.txt: Added.
221         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-database.html: Added.
222         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-database-expected.txt: Added.
223         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-database.html: Added.
224         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent-database-expected.txt: Added.
225         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent-database.html: Added.
226         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to-database-expected.txt: Added.
227         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to-database.html: Added.
228         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-database-expected.txt: Added.
229         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-database.html: Added.
230         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-database-expected.txt: Added.
231         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-database.html: Added.
232         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database-expected.txt: Added.
233         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database.html: Added.
234         * http/tests/resourceLoadStatistics/cookie-deletion-database-expected.txt: Added.
235         * http/tests/resourceLoadStatistics/cookie-deletion-database.html: Added.
236         * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database-expected.txt: Added.
237         * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database.html: Added.
238         * http/tests/resourceLoadStatistics/delete-script-accessible-cookies-database-expected.txt: Added.
239         * http/tests/resourceLoadStatistics/delete-script-accessible-cookies-database.html: Added.
240         * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect-database-expected.txt: Added.
241         * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect-database.html: Added.
242         * http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database-expected.txt: Added.
243         * http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database.html: Added.
244         * http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-database-expected.txt: Added.
245         * http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-database.html: Added.
246         * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-database-expected.txt: Added.
247         * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-database.html: Added.
248         * http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database-expected.txt: Added.
249         * http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database.html: Added.
250         * http/tests/resourceLoadStatistics/enable-debug-mode-database-expected.txt: Added.
251         * http/tests/resourceLoadStatistics/enable-debug-mode-database.html: Added.
252         * http/tests/resourceLoadStatistics/grandfathering-database-expected.txt: Added.
253         * http/tests/resourceLoadStatistics/grandfathering-database.html: Added.
254         * http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration.html:
255         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-database-expected.txt: Added.
256         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-database.html: Added.
257         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-database-expected.txt: Added.
258         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-database.html: Added.
259         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database-expected.txt: Added.
260         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database.html: Added.
261         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
262         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
263         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
264         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
265         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
266         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
267         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
268         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
269         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
270         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
271         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
272         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
273         * http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database-expected.txt: Added.
274         * http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database.html: Added.
275         * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database-expected.txt: Added.
276         * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database.html: Added.
277         * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown-database-expected.txt: Added.
278         * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown-database.html: Added.
279         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-database-expected.txt: Added.
280         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-database.html: Added.
281         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-database-expected.txt: Added.
282         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-database.html: Added.
283         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-database-expected.txt: Added.
284         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-database.html: Added.
285         * http/tests/resourceLoadStatistics/prune-statistics-database-expected.txt: Added.
286         * http/tests/resourceLoadStatistics/prune-statistics-database.html: Added.
287         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
288         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
289         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
290         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
291         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
292         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
293         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
294         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
295         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
296         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
297         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
298         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
299         * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-database-expected.txt: Added.
300         * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-database.html: Added.
301         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database-expected.txt: Added.
302         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database.html: Added.
303         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database-expected.txt: Added.
304         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database.html: Added.
305         * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database-expected.txt: Added.
306         * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database.html: Added.
307         * http/tests/resourceLoadStatistics/telemetry-generation.html:
308         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database-expected.txt: Added.
309         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database.html: Added.
310         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database-expected.txt: Added.
311         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database.html: Added.
312         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database-expected.txt: Added.
313         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database.html: Added.
314         * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html:
315         * platform/ios/TestExpectations:
316         Added test expectations to skip database tests which do not work in 
317         ios because of reliance on EventSender.keydown() which is not
318         supported on iOS and also those which use UIHelper.activateAt() which
319         does not produce a user gesture captured by ITP in iOS.
320
321 2019-09-26  Wenson Hsieh  <wenson_hsieh@apple.com>
322
323         [iOS 13] Tapping on a non-editable text selection should toggle callout bar visibility instead of clearing selection
324         https://bugs.webkit.org/show_bug.cgi?id=202254
325         <rdar://problem/54410263>
326
327         Reviewed by Megan Gardner.
328
329         * editing/selection/ios/clear-selection-after-tap-in-large-selected-non-editable-text-expected.txt: Added.
330         * editing/selection/ios/clear-selection-after-tap-in-large-selected-non-editable-text.html: Added.
331
332         Add a new layout test to verify that when tapping in a text selection that encompasses the entire page, we allow
333         the tap to dismiss the selection instead of toggling callout bar visibility.
334
335         * editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text-expected.txt: Added.
336         * editing/selection/ios/toggle-callout-bar-after-tap-in-selected-non-editable-text.html: Added.
337
338         Add another layout test to verify that when tapping inside a text selection, the callout bar is toggled, and
339         when tapping outside the selected text, the selection is dismissed.
340
341         * resources/ui-helper.js:
342         (window.UIHelper.async.waitForSelectionToAppear):
343         (window.UIHelper.async.waitForSelectionToDisappear):
344
345         New helper methods to wait for selection rects to appear or disappear.
346
347         (window.UIHelper):
348
349 2019-09-26  Alexey Shvayka  <shvaikalesh@gmail.com>
350
351         toExponential, toFixed, and toPrecision should allow arguments up to 100
352         https://bugs.webkit.org/show_bug.cgi?id=199163
353
354         Reviewed by Ross Kirsling.
355
356         * js/dom/number-tofixed-expected.txt:
357         * js/dom/number-toprecision-expected.txt:
358         * js/dom/script-tests/number-tofixed.js:
359         * js/dom/script-tests/number-toprecision.js:
360         * js/kde/Number-expected.txt:
361         * js/kde/script-tests/Number.js:
362         * js/number-toExponential-expected.txt:
363         * js/script-tests/number-toExponential.js:
364
365 2019-09-26  Russell Epstein  <repstein@apple.com>
366
367         Layout Test platform/ios/ios/fast/text/opticalFont.html is Failing on iOS13.
368         https://bugs.webkit.org/show_bug.cgi?id=202278
369
370         Unreviewed Test Gardening.
371
372         * platform/ios/ios/fast/text/opticalFont-expected.txt: Removed.
373         * platform/ios/platform/ios/ios/fast/text/opticalFont-expected.txt:
374         Rebaselined for iOS 13.
375
376 2019-09-25  Chris Dumez  <cdumez@apple.com>
377
378         Add very basic PageCache support for RTCPeerConnection
379         https://bugs.webkit.org/show_bug.cgi?id=202244
380
381         Reviewed by Geoffrey Garen.
382
383         Add layout test coverage.
384
385         * fast/mediastream/RTCPeerConnection-page-cache-expected.txt: Added.
386         * fast/mediastream/RTCPeerConnection-page-cache.html: Added.
387
388 2019-09-25  Chris Dumez  <cdumez@apple.com>
389
390         Improve Service worker support for Page Caching
391         https://bugs.webkit.org/show_bug.cgi?id=202221
392
393         Reviewed by Geoffrey Garen.
394
395         Add layout test coverage.
396
397         * http/tests/workers/service/no-page-cache-when-controlled-expected.txt: Removed.
398         * http/tests/workers/service/page-caching-expected.txt: Added.
399         * http/tests/workers/service/page-caching.html: Renamed from LayoutTests/http/tests/workers/service/no-page-cache-when-controlled.html.
400
401 2019-09-25  Chris Dumez  <cdumez@apple.com>
402
403         [Cocoa] Regression(r212041) Safari adds a .dms extension automatically when downloading binaries with no extension
404         https://bugs.webkit.org/show_bug.cgi?id=202147
405         <rdar://problem/54886021>
406
407         Reviewed by Alexey Proskuryakov.
408
409         Add layout test coverage.
410
411         * http/tests/download/anchor-download-attribute-content-disposition-no-extension-octet-stream-expected.txt: Added.
412         * http/tests/download/anchor-download-attribute-content-disposition-no-extension-octet-stream.html: Added.
413         * http/tests/download/anchor-download-attribute-content-disposition-no-extension-text-plain-expected.txt: Added.
414         * http/tests/download/anchor-download-attribute-content-disposition-no-extension-text-plain.html: Added.
415         * http/tests/download/resources/content-disposition-pass-no-extension-octet-stream.php: Added.
416         * http/tests/download/resources/content-disposition-pass-no-extension-text-plain.php: Added.
417         * http/tests/security/anchor-download-octet-stream-no-extension-expected.txt: Added.
418         * http/tests/security/anchor-download-octet-stream-no-extension.html: Added.
419         * platform/mac-wk1/TestExpectations:
420         * platform/win/TestExpectations:
421
422 2019-09-25  Megan Gardner  <megan_gardner@apple.com>
423
424         Update selections after scrolling for iframes and hide selections while iframes and overflow scrolls are scrolling.
425         https://bugs.webkit.org/show_bug.cgi?id=202125
426
427         Reviewed by Tim Horton.
428
429         Test that an iframe selection is updated after a scroll is completed.
430
431         * editing/selection/ios/update-selection-after-iframe-scroll-expected.txt: Added.
432         * editing/selection/ios/update-selection-after-iframe-scroll.html: Added.
433
434 2019-09-25  Alicia Boya García  <aboya@igalia.com>
435
436         [GTK] Unreviewed test gardening
437         https://bugs.webkit.org/show_bug.cgi?id=202246
438
439         * platform/gtk/TestExpectations:
440
441 2019-09-25  Wenson Hsieh  <wenson_hsieh@apple.com>
442
443         Page temporarily jumps to an excessively small viewport scale while loading usatoday.com
444         https://bugs.webkit.org/show_bug.cgi?id=202224
445         <rdar://problem/52906640>
446
447         Reviewed by Tim Horton.
448
449         Adds a new layout test to verify that when the content width of the page is excessively large and an explicit
450         viewport width is specified, we don't attempt to zoom out to fit the larger content width, and instead zoom to
451         fit the explicit viewport width.
452
453         * fast/viewport/ios/shrink-to-fit-large-content-width-expected.txt: Added.
454         * fast/viewport/ios/shrink-to-fit-large-content-width.html: Added.
455
456 2019-09-25  Zalan Bujtas  <zalan@apple.com>
457
458         Adjust tap position to avoid double-tap issue across tests.
459
460         Unreviewed test gardening.
461
462         * fast/events/touch/ios/double-tap-for-two-clicks3.html:
463
464 2019-09-25  Zalan Bujtas  <zalan@apple.com>
465
466         Rebaselining after r250315.
467
468         * fast/events/touch/ios/double-tap-for-double-click3-expected.txt:
469
470 2019-09-25  Alexey Shvayka  <shvaikalesh@gmail.com>
471
472         Re-sync web-platform-tests/IndexedDB from upstream
473         https://bugs.webkit.org/show_bug.cgi?id=202179
474
475         Reviewed by Alex Christensen.
476
477         Re-sync web-platform-tests/IndexedDB from upstream a0f781e4d4e9.
478
479         * TestExpectations:
480         * platform/ios/TestExpectations:
481         * platform/mac-wk1/TestExpectations:
482         * platform/mac/TestExpectations:
483         * tests-options.json:
484
485 2019-09-25  Jonathan Bedard  <jbedard@apple.com>
486
487         Unreviewed, rolling out r250324.
488
489         Broke many mac wk2 layout tests
490
491         Reverted changeset:
492
493         "Enable LayoutTests using ResourceLoadStatistics SQLite
494         backend (195420)"
495         https://bugs.webkit.org/show_bug.cgi?id=195420
496         https://trac.webkit.org/changeset/250324
497
498 2019-09-25  Fujii Hironori  <Hironori.Fujii@sony.com>
499
500         Unreviewed test gardening for WinCairo port.
501
502         * platform/wincairo/TestExpectations: Updated several tests.
503
504 2019-09-25  Fujii Hironori  <Hironori.Fujii@sony.com>
505
506         Layout Test http/tests/misc/bubble-drag-events.html is a flaky crash
507         https://bugs.webkit.org/show_bug.cgi?id=182130
508
509         Unreviewed test gardening for Windows ports.
510
511         It doesn't flaky crash these days for Windows ports.
512         <https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#tests=http%2Ftests%2Fmisc%2Fbubble-drag-events.html>
513
514         * platform/win/TestExpectations:
515         * platform/wincairo/TestExpectations:
516         Unmarked it.
517
518 2019-09-24  Fujii Hironori  <Hironori.Fujii@sony.com>
519
520         [Windows][webkitpy] _apache_config_file_name_for_platform should take the system PHP version into account
521         https://bugs.webkit.org/show_bug.cgi?id=202134
522
523         Reviewed by Jonathan Bedard.
524
525         * http/conf/cygwin-httpd.conf: Removed a stale conf file.
526         * http/conf/win-httpd-2.4-php5.conf: Renamed from LayoutTests/http/conf/apache2.4-httpd-win.conf.
527
528 2019-09-24  Kate Cheney  <katherine_cheney@apple.com>
529
530         Enable LayoutTests using ResourceLoadStatistics SQLite backend (195420)
531         https://bugs.webkit.org/show_bug.cgi?id=195420 
532         <rdar://problem/54213551>
533
534         Added a flag to all ITP tests to enable the ITP database backend to 
535         allow for testing functionality against the memory store. Tests were 
536         not created for telemetry-generation.html, 
537         log-cross-site-load-with-link-decoration.html, or 
538         website-data-removal-for-site-navigated-to-with-link-decoration.html, 
539         because these rely on functions not yet implemented in the ITP database.
540         Additionally, added flags to some memory store tests to ensure they
541         are using the memory store before calling functions not implemented in
542         the database store yet.
543
544         Reviewed by Brent Fulgham.
545
546         * http/tests/resourceLoadStatistics/add-blocking-to-redirect-database-expected.txt: Added.
547         * http/tests/resourceLoadStatistics/add-blocking-to-redirect-database.html: Added.
548         * http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database-expected.txt: Added.
549         * http/tests/resourceLoadStatistics/blocking-in-web-worker-script-import-database.html: Added.
550         * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-database-expected.txt: Added.
551         * http/tests/resourceLoadStatistics/cap-cache-max-age-for-prevalent-resource-database.html: Added.
552         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-database-expected.txt: Added.
553         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-database.html: Added.
554         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-database-expected.txt: Added.
555         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-database.html: Added.
556         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-database-expected.txt: Added.
557         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-database.html: Added.
558         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-database-expected.txt: Added.
559         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-database.html: Added.
560         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-database-expected.txt: Added.
561         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-database.html: Added.
562         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-database-expected.txt: Added.
563         * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-database.html: Added.
564         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-database-expected.txt: Added.
565         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-database.html: Added.
566         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database-expected.txt: Added.
567         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-database.html: Added.
568         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-database-expected.txt: Added.
569         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-database.html: Added.
570         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-database-expected.txt: Added.
571         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-database.html: Added.
572         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-database-expected.txt: Added.
573         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-database.html: Added.
574         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-database-expected.txt: Added.
575         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-database.html: Added.
576         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-database-expected.txt: Added.
577         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-database.html: Added.
578         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent-database-expected.txt: Added.
579         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-to-prevalent-database.html: Added.
580         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-database-expected.txt: Added.
581         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-database.html: Added.
582         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-database-expected.txt: Added.
583         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-database.html: Added.
584         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-database-expected.txt: Added.
585         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-database.html: Added.
586         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent-database-expected.txt: Added.
587         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-to-prevalent-database.html: Added.
588         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to-database-expected.txt: Added.
589         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to-database.html: Added.
590         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-database-expected.txt: Added.
591         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-database.html: Added.
592         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-database-expected.txt: Added.
593         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-database.html: Added.
594         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database-expected.txt: Added.
595         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-database.html: Added.
596         * http/tests/resourceLoadStatistics/cookie-deletion-database-expected.txt: Added.
597         * http/tests/resourceLoadStatistics/cookie-deletion-database.html: Added.
598         * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database-expected.txt: Added.
599         * http/tests/resourceLoadStatistics/cookies-with-and-without-user-interaction-database.html: Added.
600         * http/tests/resourceLoadStatistics/delete-script-accessible-cookies-database-expected.txt: Added.
601         * http/tests/resourceLoadStatistics/delete-script-accessible-cookies-database.html: Added.
602         * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect-database-expected.txt: Added.
603         * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect-database.html: Added.
604         * http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database-expected.txt: Added.
605         * http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations-database.html: Added.
606         * http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-database-expected.txt: Added.
607         * http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-database.html: Added.
608         * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-database-expected.txt: Added.
609         * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-database.html: Added.
610         * http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database-expected.txt: Added.
611         * http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-database.html: Added.
612         * http/tests/resourceLoadStatistics/enable-debug-mode-database-expected.txt: Added.
613         * http/tests/resourceLoadStatistics/enable-debug-mode-database.html: Added.
614         * http/tests/resourceLoadStatistics/grandfathering-database-expected.txt: Added.
615         * http/tests/resourceLoadStatistics/grandfathering-database.html: Added.
616         * http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration.html:
617         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-database-expected.txt: Added.
618         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-database.html: Added.
619         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-database-expected.txt: Added.
620         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-database.html: Added.
621         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database-expected.txt: Added.
622         * http/tests/resourceLoadStatistics/non-prevalent-resources-can-access-cookies-in-a-third-party-context-database.html: Added.
623         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
624         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
625         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
626         * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
627         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
628         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
629         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
630         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
631         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
632         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
633         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
634         * http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
635         * http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database-expected.txt: Added.
636         * http/tests/resourceLoadStatistics/ping-to-prevalent-resource-database.html: Added.
637         * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database-expected.txt: Added.
638         * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown-database.html: Added.
639         * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown-database-expected.txt: Added.
640         * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown-database.html: Added.
641         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-database-expected.txt: Added.
642         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-database.html: Added.
643         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-database-expected.txt: Added.
644         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-database.html: Added.
645         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-database-expected.txt: Added.
646         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-database.html: Added.
647         * http/tests/resourceLoadStatistics/prune-statistics-database-expected.txt: Added.
648         * http/tests/resourceLoadStatistics/prune-statistics-database.html: Added.
649         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
650         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
651         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
652         * http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
653         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
654         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
655         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
656         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
657         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database-expected.txt: Added.
658         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-database.html: Added.
659         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database-expected.txt: Added.
660         * http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-database.html: Added.
661         * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-database-expected.txt: Added.
662         * http/tests/resourceLoadStatistics/set-custom-prevalent-resource-in-debug-mode-database.html: Added.
663         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database-expected.txt: Added.
664         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-redirects-database.html: Added.
665         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database-expected.txt: Added.
666         * http/tests/resourceLoadStatistics/strip-referrer-to-origin-for-prevalent-subresource-requests-database.html: Added.
667         * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database-expected.txt: Added.
668         * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-database.html: Added.
669         * http/tests/resourceLoadStatistics/telemetry-generation.html:
670         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database-expected.txt: Added.
671         * http/tests/resourceLoadStatistics/user-interaction-in-cross-origin-sub-frame-database.html: Added.
672         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database-expected.txt: Added.
673         * http/tests/resourceLoadStatistics/user-interaction-only-reported-once-within-short-period-of-time-database.html: Added.
674         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database-expected.txt: Added.
675         * http/tests/resourceLoadStatistics/user-interaction-reported-after-website-data-removal-database.html: Added.
676         * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html:
677         * platform/ios/TestExpectations:
678         Added test expectations to skip database tests which do not work in 
679         ios because of reliance on EventSender.keydown() which is not
680         supported on iOS and also those which use UIHelper.activateAt() which
681         does not produce a user gesture captured by ITP in iOS.
682
683 2019-09-24  Zalan Bujtas  <zalan@apple.com>
684
685         [iPadOs] The second click event is missing on double tap when dblclick handler is not present
686         https://bugs.webkit.org/show_bug.cgi?id=202006
687         <rdar://problem/51706828>
688
689         Reviewed by Wenson Hsieh.
690
691         * fast/events/touch/ios/double-tap-for-two-clicks1-expected.txt: Added.
692         * fast/events/touch/ios/double-tap-for-two-clicks1.html: Added.
693         * fast/events/touch/ios/double-tap-for-two-clicks2-expected.txt: Added.
694         * fast/events/touch/ios/double-tap-for-two-clicks2.html: Added.
695         * fast/events/touch/ios/double-tap-for-two-clicks3-expected.txt: Added.
696         * fast/events/touch/ios/double-tap-for-two-clicks3.html: Added.
697         * fast/events/touch/ios/double-tap-for-two-clicks4-expected.txt: Added.
698         * fast/events/touch/ios/double-tap-for-two-clicks4.html: Added.
699         * fast/events/touch/ios/doubleclick.html: Added.
700         * fast/events/touch/resources/doubleClickContent.html: Added.
701
702 2019-09-24  Antoine Quint  <graouts@apple.com>
703
704         [Web Animations] Unflake web-animations/timing-model/animations/updating-the-finished-state.html WPT test
705         https://bugs.webkit.org/show_bug.cgi?id=181121
706
707         Reviewed by Dean Jackson.
708
709         * TestExpectations:
710
711 2019-09-24  Kate Cheney  <katherine_cheney@apple.com>
712
713         Mixed content blocking is bypassed for WebSockets in Workers (159726)
714         https://bugs.webkit.org/show_bug.cgi?id=159726
715         <rdar://problem/27326438>
716
717         Reviewed by Brady Eidson.
718
719         Added 4 test cases and 2 html resources utilized by the tests.
720         The cases test the following: 
721         1. an https page with a worker trying to connect via ws: url -->
722         fails.
723         2. an https page embedded in an http page trying to connect via ws
724         :url (through a worker) --> fails.
725         3. an http page embedded in an https page with an http top frame
726         trying to connect via an insecure ws url fails.
727         4. an https page embedded in an http page embedded in an https page
728         trying to connect to a ws :url via a worker --> fails.
729
730         * http/tests/websocket/tests/hybi/non-document-mixed-content-blocked-http-with-embedded-https-expected.txt: Added.
731         * http/tests/websocket/tests/hybi/non-document-mixed-content-blocked-http-with-embedded-https-with-embedded-http-expected.txt: Added.
732         * http/tests/websocket/tests/hybi/non-document-mixed-content-blocked-http-with-embedded-https-with-embedded-http.html: Added.
733         * http/tests/websocket/tests/hybi/non-document-mixed-content-blocked-http-with-embedded-https.html: Added.
734         * http/tests/websocket/tests/hybi/non-document-mixed-content-blocked-https-with-embedded-http-with-embedded-https.https-expected.txt: Added.
735         * http/tests/websocket/tests/hybi/non-document-mixed-content-blocked-https-with-embedded-http-with-embedded-https.https.html: Added.
736         * http/tests/websocket/tests/hybi/non-document-mixed-content-blocked.https-expected.txt: Added.
737         * http/tests/websocket/tests/hybi/non-document-mixed-content-blocked.https.html: Added.
738         * http/tests/websocket/tests/hybi/resources/non-document-mixed-content-blocked-embedded-http.https.html: Added.
739         * http/tests/websocket/tests/hybi/resources/non-document-mixed-content-blocked-embedding-https.js: Added.
740         (handleConnect.self.postMessage):
741         (handleConnect):
742         (runTests.ws.onopen):
743         (runTests.ws.onerror):
744         (runTests):
745         * http/tests/websocket/tests/hybi/resources/non-document-mixed-content-blocked.html: Added.
746         * http/tests/websocket/tests/hybi/resources/non-document-mixed-content-blocked.js: Added.
747         (handleConnect.self.postMessage):
748         (handleConnect):
749         (runTests.ws.onopen):
750         (runTests.ws.onerror):
751         (runTests):
752         * http/tests/workers/service/resources/serviceworker-websocket-worker.js:
753         (async.doTest):
754         Updated previous test which was hitting the fix to use a wss url 
755
756 2019-09-23  Youenn Fablet  <youenn@apple.com>
757
758         Support sync-xhr feature policy
759         https://bugs.webkit.org/show_bug.cgi?id=202098
760
761         Reviewed by Alex Christensen.
762
763         * TestExpectations: enable test.
764         * platform/mac-wk1/imported/w3c/web-platform-tests/xhr/xmlhttprequest-sync-default-feature-policy.sub-expected.txt: Deleted.
765
766 2019-09-23  Alex Christensen  <achristensen@webkit.org>
767
768         Fix WPT test html/browsers/offline/application-cache-api/api_swapcache_error.https.html
769         https://bugs.webkit.org/show_bug.cgi?id=202056
770         <rdar://problem/55523986>
771
772         Reviewed by Youenn Fablet.
773
774         * TestExpectations:
775
776 2019-09-23  Said Abou-Hallawa  <sabouhallawa@apple.com>
777
778         Import SVG web-platform-tests
779         https://bugs.webkit.org/show_bug.cgi?id=202017
780
781         Reviewed by Tim Horton.
782
783         * TestExpectations:
784         * imported/w3c/resources/import-expectations.json:
785         * imported/w3c/web-platform-tests/resources/SVGAnimationTestCase-testharness.js:
786         * imported/w3c/web-platform-tests/svg: Added.
787         * platform/ios-simulator/imported/w3c/web-platform-tests/svg: Added.
788         * platform/mac/imported/w3c/web-platform-tests/svg: Added.
789         * tests-options.json:
790
791 2019-09-23  Antoine Quint  <graouts@apple.com>
792
793         [Web Animations] Update WPT tests
794         https://bugs.webkit.org/show_bug.cgi?id=202110
795
796         Reviewed by Dean Jackson.
797
798         * TestExpectations:
799         * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
800         * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
801         * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
802         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: Removed.
803         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: Removed.
804         * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: Removed.
805
806 2019-09-23  Peng Liu  <peng.liu6@apple.com>
807
808         Layout test webaudio/silence-after-playback.html is failing
809         https://bugs.webkit.org/show_bug.cgi?id=202116
810
811         Reviewed by Jer Noble.
812
813         Rebasing a webaudio layout test expected result because of a bug fix in Catalina.
814
815         * platform/mac-mojave/webaudio/silence-after-playback-expected.wav: Copied from LayoutTests/platform/mac/webaudio/silence-after-playback-expected.wav.
816         * platform/mac/TestExpectations:
817         * platform/mac/webaudio/silence-after-playback-expected.wav:
818
819 2019-09-23  Devin Rousso  <drousso@apple.com>
820
821         Web Inspector: Canvas: show WebGPU shader pipelines
822         https://bugs.webkit.org/show_bug.cgi?id=201675
823         <rdar://problem/55543450>
824
825         Reviewed by Joseph Pecoraro.
826
827         Split existing shader tests into WebGL and WebGPU sub-tests for different platforms.
828
829         * inspector/canvas/requestShaderSource.html:
830         * inspector/canvas/requestShaderSource-expected.txt:
831         * inspector/canvas/updateShader.html:
832         * inspector/canvas/updateShader-expected.txt:
833
834         * inspector/canvas/resources/shaderProgram-utilities-webgpu.js: Added.
835         * inspector/canvas/requestShaderSource-webgpu.html: Added.
836         * inspector/canvas/requestShaderSource-webgpu-expected.txt: Added.
837         * inspector/canvas/shaderProgram-add-remove-webgpu.html: Added.
838         * inspector/canvas/shaderProgram-add-remove-webgpu-expected.txt: Added.
839         * inspector/canvas/updateShader-webgpu-expected.txt: Added.
840         * inspector/canvas/updateShader-webgpu.html: Added.
841
842         * inspector/canvas/resources/shaderProgram-utilities-webgl.js: Renamed from LayoutTests/inspector/canvas/resources/shaderProgram-utilities.js.
843         * inspector/canvas/console-record-webgl.html:
844         * inspector/canvas/console-record-webgl2.html:
845         * inspector/canvas/recording-webgl-frameCount.html:
846         * inspector/canvas/recording-webgl-full.html:
847         * inspector/canvas/recording-webgl-memoryLimit.html:
848         * inspector/canvas/recording-webgl-snapshots.html:
849         * inspector/canvas/recording-webgl2-frameCount.html:
850         * inspector/canvas/recording-webgl2-full.html:
851         * inspector/canvas/recording-webgl2-memoryLimit.html:
852         * inspector/canvas/recording-webgl2-snapshots.html:
853         * inspector/canvas/requestShaderSource-webgl.html: Added.
854         * inspector/canvas/requestShaderSource-webgl-expected.txt: Added.
855         * inspector/canvas/setShaderProgramDisabled.html:
856         * inspector/canvas/setShaderProgramHighlighted.html:
857         * inspector/canvas/shaderProgram-add-remove-webgl.html:
858         * inspector/canvas/shaderProgram-add-remove-webgl2.html:
859         * inspector/canvas/updateShader-webgl.html: Added.
860         * inspector/canvas/updateShader-webgl-expected.txt: Added.
861
862         * platform/gtk/TestExpectations:
863         * platform/ios/TestExpectations:
864         * platform/mac-wk1/TestExpectations:
865         * platform/mac/TestExpectations:
866         * platform/win/TestExpectations:
867         * platform/wincairo/TestExpectations:
868         * platform/wpe/TestExpectations:
869
870 2019-09-23  Daniel Bates  <dabates@apple.com>
871
872         Improve CSP inheritance semantics
873         https://bugs.webkit.org/show_bug.cgi?id=201884
874         <rdar://problem/50172407>
875
876         Reviewed by Brent Fulgham.
877
878         Add some more tests and update expected results of existing tests now that we pass more sub-tests.
879
880         * http/tests/security/contentSecurityPolicy/iframe-allowed-when-loaded-via-javascript-url-expected.txt: Added.
881         * http/tests/security/contentSecurityPolicy/iframe-allowed-when-loaded-via-javascript-url.html: Added.
882         * http/tests/security/contentSecurityPolicy/iframe-blocked-when-loaded-via-javascript-url-expected.txt: Added.
883         * http/tests/security/contentSecurityPolicy/iframe-blocked-when-loaded-via-javascript-url.html: Added.
884         * http/tests/security/contentSecurityPolicy/iframe-blocked-when-loaded-via-javascript-url2-expected.txt: Added.
885         * http/tests/security/contentSecurityPolicy/iframe-blocked-when-loaded-via-javascript-url2.html: Added.
886         * http/tests/security/contentSecurityPolicy/user-style-sheet-font-crasher-expected.txt: I don't understand
887         why there is another duplicte console log message emitted, but there are already two such messages, which is
888         already one too many. The duplicate messages are more cosmetic than functional though there may be implications
889         with respect to CSP reporting. Filed <https://bugs.webkit.org/show_bug.cgi?id=202004> to track this issue.
890         * platform/mac-wk1/http/tests/security/contentSecurityPolicy/user-style-sheet-font-crasher-expected.txt:
891         * platform/win/http/tests/security/contentSecurityPolicy/user-style-sheet-font-crasher-expected.txt:
892
893 2019-09-16  Jiewen Tan  <jiewen_tan@apple.com>
894
895         [WebAuthn] LocalAuthenticator tests are failing on internal bots
896         https://bugs.webkit.org/show_bug.cgi?id=201844
897         <rdar://problem/54278693>
898
899         Reviewed by Brent Fulgham.
900
901         This patch makes each test to generate their own credentials to avoid race conditions in Keychain
902         accesses when multiple test runners present.
903
904         * http/wpt/credential-management/credentialscontainer-store-basics.https.html:
905         * http/wpt/webauthn/idl.https.html:
906         These two tests are changed to use hid authenticator instead of local to avoid any future Keychain issues.
907         * http/wpt/webauthn/public-key-credential-create-failure-local-silent.https.html:
908         * http/wpt/webauthn/public-key-credential-create-failure-local.https.html:
909         * http/wpt/webauthn/public-key-credential-create-success-local.https.html:
910         * http/wpt/webauthn/public-key-credential-get-failure-local-silent.https.html:
911         * http/wpt/webauthn/public-key-credential-get-failure-local.https.html:
912         * http/wpt/webauthn/public-key-credential-get-success-local.https.html:
913         * http/wpt/webauthn/resources/util.js:
914         * platform/mac-wk2/TestExpectations:
915
916 2019-09-23  Youenn Fablet  <youenn@apple.com>
917
918         Simplify UserMediaPermissionRequestManager management of UserMediaRequest
919         https://bugs.webkit.org/show_bug.cgi?id=201688
920
921         Reviewed by Eric Carlson.
922
923         * http/tests/media/media-stream/disconnected-frame-permission-denied-expected.txt:
924         * http/tests/media/media-stream/disconnected-frame-permission-denied.html:
925
926 2019-09-23  Rob Buis  <rbuis@igalia.com>
927
928         Sync operator dictionary
929         https://bugs.webkit.org/show_bug.cgi?id=201974
930
931         Reviewed by Frédéric Wang.
932
933         * platform/ios-wk2/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: Added.
934         * platform/win/TestExpectations:
935
936 2019-09-21  Antoine Quint  <graouts@apple.com>
937
938         [Pointer Events] touch-action set to pan-x or pan-y alone should disable scrolling altogether if the intial gesture is in the disallowed direction
939         https://bugs.webkit.org/show_bug.cgi?id=202053
940         <rdar://problem/54542190>
941
942         Reviewed by Tim Horton.
943
944         Add new tests checking that setting "touch-action: pan-y" on an element and initiating a horizontal panning gesture will disallow scrolling vertically
945         if a vertical scrolling gesture follows. We test both the case where scrolling would apply to the whole page and the case where scrolling would apply
946         to an "overflow: scroll" element.
947
948         * pointerevents/ios/touch-action-pan-y-horizontal-gesture-prevents-vertical-scrolling-expected.txt: Added.
949         * pointerevents/ios/touch-action-pan-y-horizontal-gesture-prevents-vertical-scrolling.html: Added.
950         * pointerevents/ios/touch-action-pan-y-in-overflow-scroll-horizontal-gesture-prevents-vertical-scrolling-expected.txt: Added.
951         * pointerevents/ios/touch-action-pan-y-in-overflow-scroll-horizontal-gesture-prevents-vertical-scrolling.html: Added.
952
953 2019-09-20  Antoine Quint  <graouts@apple.com>
954
955         releasePointerCapture() not working for implicit capture; can't opt-in to pointerenter/leave for touches
956         https://bugs.webkit.org/show_bug.cgi?id=199803
957         <rdar://problem/53127223>
958
959         Reviewed by Dean Jackson.
960
961         Add new tests that check we correctly dispatch boundary events on iOS when pointer capture is disabled.
962
963         * pointerevents/ios/boundary-events-through-hierarchy-without-pointer-capture-expected.txt: Added.
964         * pointerevents/ios/boundary-events-through-hierarchy-without-pointer-capture.html: Added.
965         * pointerevents/ios/boundary-events-without-pointer-capture-expected.txt: Added.
966         * pointerevents/ios/boundary-events-without-pointer-capture.html: Added.
967         * pointerevents/utils.js:
968
969 2019-09-20  Said Abou-Hallawa  <sabouhallawa@apple.com>
970
971         Assertion fires when animating a discrete property with values range and multiple animators
972         https://bugs.webkit.org/show_bug.cgi?id=201926
973
974         Reviewed by Darin Adler.
975
976         Animate a discrete property, such as SVGAnimatedString. There should be
977         multiple animators and the range of animation has to be set by the 'values'
978         attribute.
979
980         * svg/animations/multiple-discrete-values-animate-expected.txt: Added.
981         * svg/animations/multiple-discrete-values-animate.svg: Added.
982
983 2019-09-20  Chris Dumez  <cdumez@apple.com>
984
985         REGRESSION (iOS 13): rAF stops firing when navigating away cross-origin and then back
986         https://bugs.webkit.org/show_bug.cgi?id=201767
987         <rdar://problem/55350854>
988
989         Reviewed by Tim Horton.
990
991         Call finishJSTest() on a timer to make it more likely to reproduce the bug.
992
993         * http/tests/navigation/page-cache-requestAnimationFrame.html:
994
995 2019-09-20  Devin Rousso  <drousso@apple.com>
996
997         Web Inspector: HTML Formatter - better indentation/newline handling for self closing tags
998         https://bugs.webkit.org/show_bug.cgi?id=202036
999
1000         Reviewed by Joseph Pecoraro.
1001
1002         * inspector/formatting/formatting-xml.html:
1003         * inspector/formatting/formatting-xml-expected.txt:
1004         * inspector/formatting/resources/xml-tests/self-closing.xml: Added.
1005         * inspector/formatting/resources/xml-tests/self-closing-expected.xml: Added.
1006
1007 2019-09-20  Truitt Savell  <tsavell@apple.com>
1008
1009         Unreviewed, rolling out r250114.
1010
1011         Broke ~16 webgpu/ tests on Mojave wk2
1012
1013         Reverted changeset:
1014
1015         "Web Inspector: Canvas: show WebGPU shader pipelines"
1016         https://bugs.webkit.org/show_bug.cgi?id=201675
1017         https://trac.webkit.org/changeset/250114
1018
1019 2019-09-20  Rob Buis  <rbuis@igalia.com>
1020
1021         Synchronize MathML WPT tests against upstream
1022         https://bugs.webkit.org/show_bug.cgi?id=201975
1023
1024         Reviewed by Frédéric Wang.
1025
1026         * TestExpectations:
1027         * platform/gtk/imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/legacy-mrow-like-elements-001-expected.txt: Added.
1028         * platform/gtk/imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/legacy-mstyle-attributes-expected.txt: Added.
1029         * platform/gtk/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/dir-mo-expected.txt: Added.
1030         * platform/gtk/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/operator-dictionary-001-expected.txt: Added.
1031         * platform/gtk/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/cramped-001-expected.txt: Added.
1032         * platform/gtk/imported/w3c/web-platform-tests/mathml/presentation-markup/tables/table-001-expected.txt: Added.
1033         * platform/gtk/imported/w3c/web-platform-tests/mathml/presentation-markup/tables/table-002-expected.txt: Added.
1034         * platform/gtk/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: Added.
1035         * platform/gtk/imported/w3c/web-platform-tests/mathml/relations/html5-tree/tabindex-001-expected.txt: Added.
1036         * platform/gtk/imported/w3c/web-platform-tests/mathml/relations/html5-tree/tabindex-002-expected.txt: Added.
1037         * platform/ios-wk1/imported/w3c/web-platform-tests/matml/presentation-markup/operators/operator-dictionary-001-expected.txt: Added.
1038         * platform/ios-wk1/imported/w3c/web-platform-tests/matml/relations/css-styling/ignored-properties-001-expected.txt: Added.
1039         * platform/mac/TestExpectations:
1040         * tests-options.json:
1041
1042 2019-09-19  Devin Rousso  <drousso@apple.com>
1043
1044         Web Inspector: Canvas: show WebGPU shader pipelines
1045         https://bugs.webkit.org/show_bug.cgi?id=201675
1046
1047         Reviewed by Joseph Pecoraro.
1048
1049         Split existing shader tests into WebGL and WebGPU sub-tests for different platforms.
1050
1051         * inspector/canvas/requestShaderSource.html:
1052         * inspector/canvas/requestShaderSource-expected.txt:
1053         * inspector/canvas/updateShader.html:
1054         * inspector/canvas/updateShader-expected.txt:
1055
1056         * inspector/canvas/resources/shaderProgram-utilities-webgpu.js: Added.
1057         * inspector/canvas/requestShaderSource-webgpu.html: Added.
1058         * inspector/canvas/requestShaderSource-webgpu-expected.txt: Added.
1059         * inspector/canvas/shaderProgram-add-remove-webgpu.html: Added.
1060         * inspector/canvas/shaderProgram-add-remove-webgpu-expected.txt: Added.
1061         * inspector/canvas/updateShader-webgpu-expected.txt: Added.
1062         * inspector/canvas/updateShader-webgpu.html: Added.
1063
1064         * inspector/canvas/resources/shaderProgram-utilities-webgl.js: Renamed from LayoutTests/inspector/canvas/resources/shaderProgram-utilities.js.
1065         * inspector/canvas/console-record-webgl.html:
1066         * inspector/canvas/console-record-webgl2.html:
1067         * inspector/canvas/recording-webgl-frameCount.html:
1068         * inspector/canvas/recording-webgl-full.html:
1069         * inspector/canvas/recording-webgl-memoryLimit.html:
1070         * inspector/canvas/recording-webgl-snapshots.html:
1071         * inspector/canvas/recording-webgl2-frameCount.html:
1072         * inspector/canvas/recording-webgl2-full.html:
1073         * inspector/canvas/recording-webgl2-memoryLimit.html:
1074         * inspector/canvas/recording-webgl2-snapshots.html:
1075         * inspector/canvas/requestShaderSource-webgl.html: Added.
1076         * inspector/canvas/requestShaderSource-webgl-expected.txt: Added.
1077         * inspector/canvas/setShaderProgramDisabled.html:
1078         * inspector/canvas/setShaderProgramHighlighted.html:
1079         * inspector/canvas/shaderProgram-add-remove-webgl.html:
1080         * inspector/canvas/shaderProgram-add-remove-webgl2.html:
1081         * inspector/canvas/updateShader-webgl.html: Added.
1082         * inspector/canvas/updateShader-webgl-expected.txt: Added.
1083
1084         * platform/gtk/TestExpectations:
1085         * platform/ios/TestExpectations:
1086         * platform/mac-wk1/TestExpectations:
1087         * platform/mac/TestExpectations:
1088         * platform/win/TestExpectations:
1089         * platform/wincairo/TestExpectations:
1090         * platform/wpe/TestExpectations:
1091
1092 2019-09-19  Said Abou-Hallawa  <sabouhallawa@apple.com>
1093
1094         [SVG2]: Add auto behavior for rx and ry to the SVG <ellipse> and <rect> elements
1095         https://bugs.webkit.org/show_bug.cgi?id=199843
1096
1097         Reviewed by Simon Fraser, Nikolas Zimmermann.
1098
1099         Add tests which exercise the initial setting for rx and ry: length, 'auto'.
1100         Add tests to dynamically change the values of these properties from length
1101         to 'auto'.
1102
1103         Skip the tests with dynamic changes till webkit.org/b/201918 is fixed.
1104
1105         * TestExpectations:
1106         * svg/css/parse-length-expected.txt:
1107         * svg/css/parse-length.html:
1108         * svg/custom/ellipse-radius-auto-dynamic-expected.svg: Added.
1109         * svg/custom/ellipse-radius-auto-dynamic.svg: Added.
1110         * svg/custom/ellipse-radius-auto-initial-expected.svg: Added.
1111         * svg/custom/ellipse-radius-auto-initial.svg: Added.
1112         * svg/custom/ellipse-radius-length-initial-expected.svg: Added.
1113         * svg/custom/ellipse-radius-length-initial.svg: Added.
1114         * svg/custom/rect-radius-auto-dynamic-expected.svg: Added.
1115         * svg/custom/rect-radius-auto-dynamic.svg: Added.
1116         * svg/custom/rect-radius-auto-initial-expected.svg: Added.
1117         * svg/custom/rect-radius-auto-initial.svg: Added.
1118         * svg/custom/rect-radius-length-initial-expected.svg: Added.
1119         * svg/custom/rect-radius-length-initial.svg: Added.
1120
1121 2019-09-19  Peng Liu  <peng.liu6@apple.com>
1122
1123         HTMLVideoElement with a broken poster image will take square dimension
1124         https://bugs.webkit.org/show_bug.cgi?id=174122
1125         <rdar://problem/33121806>
1126
1127         Reviewed by Daniel Bates.
1128
1129         When only the width (no height) attribute of a video element is given
1130         and the the poster image is missing (cannot be downloaded),
1131         the aspect ratio of the video element should not be 1, which is the default behavior
1132         of WebKit to paint a broken image. Instead, it should be the aspect ratio of the video content.
1133
1134         * media/video-poster-not-found-expected.txt: Added.
1135         * media/video-poster-not-found.html: Added.
1136
1137 2019-09-19  Miguel Gomez  <magomez@igalia.com>
1138
1139         [WPE][GTK] Gardening after r250087
1140         https://bugs.webkit.org/show_bug.cgi?id=201984
1141
1142         Unreviewed WPE and GTK+ gardening after r250087.
1143
1144         * platform/gtk/TestExpectations:
1145         * platform/wpe/TestExpectations:
1146
1147 2019-09-18  Devin Rousso  <drousso@apple.com>
1148
1149         Web Inspector: Better handling for large arrays and collections in Object Trees
1150         https://bugs.webkit.org/show_bug.cgi?id=143589
1151         <rdar://problem/16135388>
1152
1153         Reviewed by Joseph Pecoraro.
1154
1155         * inspector/runtime/getCollectionEntries.html: Added.
1156         * inspector/runtime/getCollectionEntries-expected.txt: Added.
1157         * inspector/runtime/getDisplayableProperties.html: Added.
1158         * inspector/runtime/getDisplayableProperties-expected.txt: Added.
1159         * inspector/runtime/getProperties.html:
1160         * inspector/runtime/getProperties-expected.txt:
1161         * inspector/runtime/resources/property-descriptor-utilities.js: Added.
1162         (makeArray):
1163         (makeObject):
1164         (makeMap):
1165         (makeSet):
1166         (makeWeakMap):
1167         (makeWeakSet):
1168         (TestPage.registerInitializer.ProtocolTest.PropertyDescriptorUtilities.logForEach):
1169         (TestPage.registerInitializer.ProtocolTest.PropertyDescriptorUtilities.stringifyRemoteObject):
1170
1171         * inspector/model/remote-object-weak-collection.html:
1172
1173 2019-09-18  Ryan Haddad  <ryanhaddad@apple.com>
1174
1175         Unreviewed test gardening for iOS.
1176
1177         * platform/ios/TestExpectations: Mark quicklook/numbers-09.html as failing.
1178
1179 2019-09-18  Andy Estes  <aestes@apple.com>
1180
1181         [Apple Pay] Tell websites why a session was cancelled
1182         https://bugs.webkit.org/show_bug.cgi?id=201912
1183
1184         Reviewed by Brady Eidson.
1185
1186         * http/tests/ssl/applepay/ApplePayCancelEvent.https-expected.txt: Added.
1187         * http/tests/ssl/applepay/ApplePayCancelEvent.https.html: Added.
1188
1189 2019-09-18  Russell Epstein  <repstein@apple.com>
1190
1191         REGRESSION: (Catalina) fast/images/async-image-multiple-clients-repaint.html is a flakey failure.
1192         rdar://55484256
1193
1194         Unreviewed Test Gardening.
1195
1196         * platform/mac/TestExpectations:
1197
1198 2019-09-18  Russell Epstein  <repstein@apple.com>
1199
1200         REGRESSION (macOS): Many webgpu/whlsl* tests are flaky failures.
1201         https://bugs.webkit.org/show_bug.cgi?id=201877
1202
1203         Unreviewed Test Gardening.
1204
1205         Two additional tests are flaky, marking as such.
1206
1207         * platform/mac/TestExpectations:
1208
1209 2019-09-17  Ryan Haddad  <ryanhaddad@apple.com>
1210
1211         Unreviewed iOS 13 test gardening, update test expectations.
1212
1213         * platform/ios/TestExpectations:
1214
1215 2019-09-17  Ryan Haddad  <ryanhaddad@apple.com>
1216
1217         Unreviewed iOS 13 test gardening, udpate test expectations and baselines.
1218
1219         * platform/ios/TestExpectations:
1220         * platform/ios/js/dom/navigator-maxtouchpoints-expected.txt: Added.
1221         * platform/ios/platform/ios/ios/fast/text/opticalFont-expected.txt:
1222
1223 2019-09-17  Ryan Haddad  <ryanhaddad@apple.com>
1224
1225         Unreviewed test gardening, rebaseline a test after r249963.
1226
1227         * media/track/track-cue-rendering-rtl-expected.txt:
1228
1229 2019-09-17  Chris Dumez  <cdumez@apple.com>
1230
1231         Unreviewed, address flakiness of imported/w3c/web-platform-tests/html/browsers/offline/application-cache-api/api_update_error.https.html.
1232
1233         Stop logging console messages.
1234
1235         * TestExpectations:
1236
1237 2019-09-17  Russell Epstein  <russell_e@apple.com>
1238
1239         Rebaseline imported/w3c/web-platform-tests/cors/access-control-expose-headers-parsing.window.html for Catalina and iOS 13.
1240         https://bugs.webkit.org/show_bug.cgi?id=172357
1241
1242         Unreviewed Test Gardening.
1243
1244         * platform/ios/imported/w3c/web-platform-tests/cors/access-control-expose-headers-parsing.window-expected.txt:
1245         * platform/mac-mojave/imported/w3c/web-platform-tests/cors/access-control-expose-headers-parsing.window-expected.txt: Copied from LayoutTests/platform/ios/imported/w3c/web-platform-tests/cors/access-control-expose-headers-parsing.window-expected.txt.
1246         * platform/mac/imported/w3c/web-platform-tests/cors/access-control-expose-headers-parsing.window-expected.txt:
1247
1248 2019-09-17  Chris Dumez  <cdumez@apple.com>
1249
1250         Update testharness.js from upstream for web-platform-tests
1251         https://bugs.webkit.org/show_bug.cgi?id=201843
1252
1253         Reviewed by Jiewen Tan.
1254
1255         * http/wpt/resource-timing/rt-initiatorType-other-expected.txt:
1256         * http/wpt/webauthn/resources/util.js:
1257
1258 2019-09-17  Nikolas Zimmermann  <zimmermann@kde.org>
1259
1260         SVG <animateMotion> does not reset the element to its first animation frame if its fill is "remove"
1261         https://bugs.webkit.org/show_bug.cgi?id=201565
1262
1263         Reviewed by Said Abou-Hallawa.
1264
1265         Add a layout test covering fill="remove" support <animate> and <animateMotion>.
1266         Add another layout test covering both fill="remove" and fill="freeze" for
1267         <animateMotion> on SVG elements and their instances (<use>).
1268
1269         * svg/animations/animateMotion-remove-freeze-use-expected.svg: Added.
1270         * svg/animations/animateMotion-remove-freeze-use.svg: Added.
1271         * svg/animations/fill-remove-support-expected.txt: Added.
1272         * svg/animations/fill-remove-support.html: Added.
1273         * svg/animations/resources/fill-remove-support.svg: Added.
1274
1275 2019-09-17  Russell Epstein  <repstein@apple.com>
1276
1277         REGRESSION (macOS): Many webgpu/whlsl* tests are flaky failures.
1278         https://bugs.webkit.org/show_bug.cgi?id=201877.
1279
1280         Unreviewed Test Gardening.
1281
1282         Incorrectly marked tests as Failures. Changed to ImageOnlyFailures as
1283         intended.
1284         * platform/mac/TestExpectations:
1285
1286 2019-09-17  Russell Epstein  <repstein@apple.com>
1287
1288         REGRESSION (macOS): Many webgpu/whlsl* tests are flaky failures.
1289         https://bugs.webkit.org/show_bug.cgi?id=201877
1290
1291         Unreviewed Test Gardening.
1292
1293         * platform/mac/TestExpectations:
1294
1295 2019-09-17  Joseph Pecoraro  <pecoraro@apple.com>
1296
1297         Web Inspector: HTML Formatter - better handling for HTML specific tag cases (<p>/<li>)
1298         https://bugs.webkit.org/show_bug.cgi?id=201757
1299         <rdar://problem/55409987>
1300
1301         Reviewed by Devin Rousso.
1302
1303         * inspector/formatting/formatting-html-expected.txt:
1304         * inspector/formatting/formatting-html.html:
1305         * inspector/formatting/resources/html-tests/auto-close-normal-expected.html: Renamed from LayoutTests/inspector/formatting/resources/html-tests/auto-close-expected.html.
1306         * inspector/formatting/resources/html-tests/auto-close-normal.html: Renamed from LayoutTests/inspector/formatting/resources/html-tests/auto-close.html.
1307         * inspector/formatting/resources/html-tests/auto-close-special-expected.html: Added.
1308         * inspector/formatting/resources/html-tests/auto-close-special.html: Added.
1309         * inspector/formatting/resources/html-tests/list-expected.html:
1310         * inspector/formatting/resources/html-tests/list.html:
1311         * inspector/formatting/resources/html-tests/not-well-formed-1-expected.html:
1312         * inspector/formatting/resources/html-tests/not-well-formed-1.html:
1313         * inspector/formatting/resources/html-tests/p-expected.html: Added.
1314         * inspector/formatting/resources/html-tests/p.html: Added.
1315         * inspector/formatting/resources/html-tests/table-expected.html: Added.
1316         * inspector/formatting/resources/html-tests/table.html: Added.
1317         * inspector/formatting/resources/html-tests/tag-case-expected.html: Added.
1318         * inspector/formatting/resources/html-tests/tag-case.html: Added.
1319         Tests for HTML specialties.
1320
1321         * inspector/formatting/formatting-xml-expected.txt:
1322         * inspector/formatting/formatting-xml.html:
1323         * inspector/formatting/resources/xml-tests/tag-case-expected.xml: Added.
1324         * inspector/formatting/resources/xml-tests/tag-case.xml: Added.
1325         * inspector/formatting/resources/xml-tests/valid-html-invalid-xml-expected.xml:
1326         * inspector/formatting/resources/xml-tests/valid-html-invalid-xml.xml:
1327         XML is case-sensitive. Ensure XML doesn't get more of the HTML specialties.
1328
1329 2019-09-17  Antti Koivisto  <antti@apple.com>
1330
1331         TextIterator should convert tabs to spaces
1332         https://bugs.webkit.org/show_bug.cgi?id=201863
1333
1334         Reviewed by Zalan Bujtas.
1335
1336         * editing/pasteboard/5761530-1.html:
1337
1338         Set body to 'whitespace:pre' so tabs don't get lost in test output.
1339
1340         * fast/tokenizer/script_extra_close-expected.txt:
1341         * imported/blink/fast/text/font-linux-normalize-expected.txt:
1342         * platform/mac/editing/pasteboard/5761530-1-expected.txt: Removed.
1343
1344         No need for platform specific result.
1345
1346         * editing/pasteboard/5761530-1-expected.txt:
1347
1348 2019-09-17  Chris Dumez  <cdumez@apple.com>
1349
1350         REGRESSION (iOS 13): rAF stops firing when navigating away cross-origin and then back
1351         https://bugs.webkit.org/show_bug.cgi?id=201767
1352         <rdar://problem/55350854>
1353
1354         Reviewed by Geoffrey Garen.
1355
1356         Add layout test coverage.
1357
1358         * http/tests/navigation/page-cache-requestAnimationFrame-expected.txt: Added.
1359         * http/tests/navigation/page-cache-requestAnimationFrame.html: Added.
1360
1361 2019-09-17  Chris Dumez  <cdumez@apple.com>
1362
1363         Unreviewed, address flakiness of imported/w3c/web-platform-tests/IndexedDB/fire-error-event-exception.html
1364
1365         Do not log console messages.
1366
1367         * TestExpectations:
1368
1369 2019-09-17  Zalan Bujtas  <zalan@apple.com>
1370
1371         [First-letter] Use WeakPtr for the first-letter insertion point.
1372         https://bugs.webkit.org/show_bug.cgi?id=201842
1373         <rdar://problem/51373788>
1374
1375         Reviewed by Antti Koivisto.
1376
1377         * fast/text/first-letter-with-columns-crash-expected.txt: Added.
1378         * fast/text/first-letter-with-columns-crash.html: Added.
1379
1380 2019-09-17  Rob Buis  <rbuis@igalia.com>
1381
1382         Access-Control-Expose-Headers parsed incorrectly
1383         https://bugs.webkit.org/show_bug.cgi?id=172357
1384
1385         Reviewed by Youenn Fablet.
1386
1387         Add Mac/iOS expectations.
1388
1389         * platform/ios/imported/w3c/web-platform-tests/cors/access-control-expose-headers-parsing.window-expected.txt: Added.
1390         * platform/mac/imported/w3c/web-platform-tests/cors/access-control-expose-headers-parsing.window-expected.txt: Added.
1391
1392 2019-09-16  Alex Christensen  <achristensen@webkit.org>
1393
1394         Remove "gopher" from list of special schemes in URLParser
1395         https://bugs.webkit.org/show_bug.cgi?id=201852
1396
1397         Reviewed by Simon Fraser.
1398
1399         * fast/url/invalid-urls-utf8-expected.txt:
1400         * fast/url/invalid-urls-utf8.html:
1401         * fast/url/segments-expected.txt:
1402         * fast/url/segments.html:
1403         * fast/url/standard-url-expected.txt:
1404         * fast/url/standard-url.html:
1405         * fetch/fetch-urls.json:
1406         * http/wpt/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-async-delegate-expected.txt:
1407
1408 2019-09-16  Chris Dumez  <cdumez@apple.com>
1409
1410         Unreviewed, rebaseline test after testharness.js update in r249918.
1411
1412         * webgpu/whlsl/test-harness-test-expected.txt:
1413
1414 2019-09-16  Chris Dumez  <cdumez@apple.com>
1415
1416         Unreviewed, fix several css-dark-mode tests to run properly after testharness.js update in r249918.
1417
1418         * css-dark-mode/color-scheme-css-expected.txt:
1419         * css-dark-mode/color-scheme-css.html:
1420         * css-dark-mode/color-scheme-meta-expected.txt:
1421         * css-dark-mode/color-scheme-meta.html:
1422         * css-dark-mode/color-scheme-scrollbar-expected.txt:
1423         * css-dark-mode/color-scheme-scrollbar.html:
1424         * css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt:
1425         * css-dark-mode/older-syntax/supported-color-schemes-css.html:
1426         * css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt:
1427         * css-dark-mode/older-syntax/supported-color-schemes-meta.html:
1428
1429 2019-09-16  Chris Dumez  <cdumez@apple.com>
1430
1431         Unreviewed, skip imported/w3c/web-platform-tests/html/browsers/offline/application-cache-api/api_update.https.html.
1432
1433         This test is a flaky timeout since it was imported in r249886.
1434
1435         * TestExpectations:
1436
1437 2019-09-16  Chris Dumez  <cdumez@apple.com>
1438
1439         Update testharness.js from upstream
1440         https://bugs.webkit.org/show_bug.cgi?id=201808
1441
1442         Reviewed by Darin Adler.
1443
1444         Update testharness.js from upstream 6fd5e1e086ce590a4780a30d12968.
1445         Update existing layout tests so that they are compatible with this new version
1446         of testharness.js.
1447
1448         * TestExpectations:
1449         * css-custom-properties-api/length-expected.txt:
1450         * css-custom-properties-api/length.html:
1451         * css-custom-properties-api/registerProperty.html:
1452         * css-dark-mode/older-systems/color-scheme-css-expected.txt:
1453         * css-dark-mode/older-systems/color-scheme-css.html:
1454         * css-dark-mode/older-systems/color-scheme-meta-expected.txt:
1455         * css-dark-mode/older-systems/color-scheme-meta.html:
1456         * css3/flexbox/style-change-expected.txt:
1457         * fast/css/DOMQuad-serialization.html:
1458         * fast/css/Element-style.html:
1459         * fast/css/parse-justify-self-expected.txt:
1460         * fast/css/parse-justify-self.html:
1461         * fast/events/clipboard-event-constructor-expected.txt:
1462         * fast/events/clipboard-event-constructor.html:
1463         * fast/media/mq-js-update-media-expected.txt:
1464         * fast/media/mq-js-update-media.html:
1465         * fast/mediacapturefromelement/CanvasCaptureMediaStream-offscreencanvas-expected.txt:
1466         * fast/mediastream/captureStream/canvas2d-expected.txt:
1467         * fast/mediastream/captureStream/canvas2d-heavy-drawing.html:
1468         * fast/mediastream/captureStream/canvas2d.html:
1469         * fast/shadow-dom/event-path-with-window-expected.txt:
1470         * fast/shadow-dom/event-path-with-window.html:
1471         * fast/shadow-dom/offsetParent-across-shadow-boundaries-expected.txt:
1472         * fast/shadow-dom/offsetParent-across-shadow-boundaries.html:
1473         * fast/shadow-dom/slotchange-for-slot-mutation-expected.txt:
1474         * fast/shadow-dom/slotchange-for-slot-mutation.html:
1475         * fast/shadow-dom/stylesheet-title-in-shadow-tree-expected.txt:
1476         * fast/shadow-dom/stylesheet-title-in-shadow-tree.html:
1477         * http/tests/fetch/redirectmode-and-preload-expected.txt:
1478         * http/tests/fetch/redirectmode-and-preload.html:
1479         * imported/blink/editing/selection/selectstart-event-crash-expected.txt:
1480         * js/promises-tests/promises-in-workers-expected.txt:
1481         * js/promises-tests/promises-in-workers.js:
1482         * resources/check-layout-th.js:
1483         (window.checkLayout):
1484         * resources/testharness.js:
1485         (WindowTestEnvironment):
1486         (WindowTestEnvironment.prototype._dispatch):
1487         (WindowTestEnvironment.prototype._forEach_windows):
1488         (WindowTestEnvironment.prototype.next_default_test_name):
1489         (WorkerTestEnvironment.prototype.next_default_test_name):
1490         (ServiceWorkerTestEnvironment.on_all_loaded):
1491         (ServiceWorkerTestEnvironment):
1492         (ShellTestEnvironment):
1493         (ShellTestEnvironment.prototype.next_default_test_name):
1494         (ShellTestEnvironment.prototype.on_new_harness_properties):
1495         (ShellTestEnvironment.prototype.on_tests_ready):
1496         (ShellTestEnvironment.prototype.add_on_loaded_callback):
1497         (ShellTestEnvironment.prototype.test_timeout):
1498         (create_test_environment):
1499         (is_shared_worker):
1500         (is_service_worker):
1501         (test):
1502         (promise_test):
1503         (this.wait_for):
1504         (EventWatcher):
1505         (done):
1506         * streams/readable-byte-stream-controller-expected.txt:
1507         * streams/readable-byte-stream-controller-worker-expected.txt: Added.
1508         * streams/readable-byte-stream-controller-worker.html: Copied from LayoutTests/streams/readable-byte-stream-controller.html.
1509         * streams/readable-byte-stream-controller.html:
1510         * streams/readable-stream-byob-reader-expected.txt:
1511         * streams/readable-stream-byob-reader-worker-expected.txt: Added.
1512         * streams/readable-stream-byob-reader-worker.html: Copied from LayoutTests/streams/readable-stream-byob-reader.html.
1513         * streams/readable-stream-byob-reader.html:
1514         * streams/readable-stream-byob-request-expected.txt:
1515         * streams/readable-stream-byob-request-worker-expected.txt: Copied from LayoutTests/streams/readable-stream-byob-request-expected.txt.
1516         * streams/readable-stream-byob-request-worker.html: Copied from LayoutTests/streams/readable-stream-byob-request.html.
1517         * streams/readable-stream-byob-request.html:
1518         * streams/reference-implementation/readable-stream-templated-expected.txt:
1519         * streams/reference-implementation/readable-stream-templated.html:
1520         * streams/reference-implementation/writable-stream-abort-expected.txt:
1521         * streams/reference-implementation/writable-stream-expected.txt:
1522         * webrtc/datachannel/basic-expected.txt:
1523         * webrtc/datachannel/basic.html:
1524         * webrtc/datachannel/mdns-ice-candidates-expected.txt:
1525         * webrtc/datachannel/mdns-ice-candidates.html:
1526         * webrtc/pc-detached-document-expected.txt:
1527         * webrtc/pc-detached-document.html:
1528         * webrtc/video-mute-expected.txt:
1529         * webrtc/video-mute-vp8-expected.txt:
1530         * webrtc/video-mute-vp8.html:
1531         * webrtc/video-mute.html:
1532
1533 2019-09-16  Russell Epstein  <repstein@apple.com>
1534
1535         [ macOS ] Layout tests webgpu/*-triangle-strip.html are flaky failures.
1536         https://bugs.webkit.org/show_bug.cgi?id=201827
1537
1538         Unreviewed Test Gardening.
1539
1540         * platform/mac/TestExpectations:
1541
1542 2019-09-16  Chris Dumez  <cdumez@apple.com>
1543
1544         Unreviewed, mark imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/promise-rejection-events-onerror.html as flaky on iOS.
1545
1546         This test was imported in r249886.
1547
1548         * platform/ios-wk2/TestExpectations:
1549
1550 2019-09-16  Chris Dumez  <cdumez@apple.com>
1551
1552         Unreviewed, skip a couple of new WPT tests that are timing out on the bots.
1553
1554         These tests were imported in r249886.
1555
1556         * TestExpectations:
1557
1558 2019-09-16  Chris Dumez  <cdumez@apple.com>
1559
1560         Unreviewed, land expectations for imported/w3c/web-platform-tests/html/browsers/offline/application-cache-api/api_swapcache_error.https.html.
1561
1562         This test was imported in r249886.
1563
1564         * TestExpectations:
1565
1566 2019-09-16  Chris Dumez  <cdumez@apple.com>
1567
1568         Unreviewed, mark imported/w3c/web-platform-tests/html/rendering/replaced-elements/embedded-content/video-controls-vertical-writing-mode.html as failing
1569
1570         This test was imported from upstream in r249886.
1571
1572         * TestExpectations:
1573
1574 2019-09-16  Chris Dumez  <cdumez@apple.com>
1575
1576         Unreviewed, address flakiness of imported/w3c/web-platform-tests/html/browsers/offline/application-cache-api/api_update.https.html
1577
1578         Flaky since r249886.
1579
1580         * TestExpectations:
1581
1582 2019-09-16  Antti Koivisto  <antti@apple.com>
1583
1584         Eliminate separate simple line layout path from TextIterator
1585         https://bugs.webkit.org/show_bug.cgi?id=201760
1586
1587         Reviewed by Zalan Bujtas.
1588
1589         This patch makes simple and complex line layout path results from TextIterator match, causing some whitespace changes.
1590
1591         * animations/lineheight-animation-expected.txt:
1592         * animations/simultaneous-start-transform-expected.txt:
1593         * animations/width-using-ems-expected.txt:
1594         * compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller-expected.txt:
1595         * css3/filters/backdrop/backdrop-filter-does-not-size-properly-absolute-expected.txt:
1596         * fast/events/window-events-bubble-expected.txt:
1597         * fast/events/window-events-bubble2-expected.txt:
1598         * fast/tokenizer/script_extra_close-expected.txt:
1599         * legacy-animation-engine/animations/lineheight-animation-expected.txt:
1600         * legacy-animation-engine/animations/simultaneous-start-transform-expected.txt:
1601         * scrollingcoordinator/scrolling-tree/nested-absolute-in-overflow-expected.txt:
1602
1603 2019-09-16  Andres Gonzalez  <andresg_22@apple.com>
1604
1605         Expose misspelling ranges for editable content to accessibility clients.
1606         https://bugs.webkit.org/show_bug.cgi?id=201752
1607         <rdar://problem/49556828>
1608
1609         Reviewed by Chris Fleizach.
1610
1611         * accessibility/misspelling-range-expected.txt: Added.
1612         * accessibility/misspelling-range.html: Added.
1613         * platform/ios-simulator/TestExpectations:
1614
1615 2019-09-15  Chris Dumez  <cdumez@apple.com>
1616
1617         Re-sync HTML web-platform-tests from upstream
1618         https://bugs.webkit.org/show_bug.cgi?id=201753
1619
1620         Reviewed by Youenn Fablet.
1621
1622         * TestExpectations:
1623         * platform/gtk/TestExpectations:
1624         * platform/ios-wk1/TestExpectations:
1625         * platform/ios/TestExpectations:
1626         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/type-change-state-expected.txt:
1627         * platform/mac/TestExpectations:
1628         * platform/mac/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location_hash-expected.txt:
1629         * platform/win/TestExpectations:
1630         * tests-options.json:
1631
1632 2019-09-14  Antti Koivisto  <antti@apple.com>
1633
1634         ASSERTION FAILED: !renderer() in  WebCore::Text::~Text
1635         https://bugs.webkit.org/show_bug.cgi?id=172514
1636         <rdar://problem/32470509>
1637
1638         Unreviewed, this assert should be fixed now.
1639
1640         * TestExpectations:
1641
1642         Unskipping imported/w3c/web-platform-tests/innerText/getter.html on debug
1643
1644 2019-09-13  Youenn Fablet  <youenn@apple.com>
1645
1646         WPT importer should check META global tag in .any.js files to generate the valid .html stub files
1647         https://bugs.webkit.org/show_bug.cgi?id=201718
1648
1649         Reviewed by Chris Dumez.
1650
1651         * platform/mac-wk1/TestExpectations:
1652         Skipping service worker tests.
1653
1654 2019-09-13  Joseph Pecoraro  <pecoraro@apple.com>
1655
1656         Web Inspector: HTML Formatter - XML mode
1657         https://bugs.webkit.org/show_bug.cgi?id=201758
1658
1659         Reviewed by Devin Rousso.
1660
1661         * inspector/formatting/formatting-xml-expected.txt: Added.
1662         * inspector/formatting/formatting-xml.html: Added.
1663         * inspector/formatting/resources/formatting-utilities.js:
1664         (TestPage.registerInitializer.async.runFormattingTest):
1665         * inspector/formatting/resources/xml-tests/atom-expected.xml: Added.
1666         * inspector/formatting/resources/xml-tests/atom.xml: Added.
1667         * inspector/formatting/resources/xml-tests/basic-expected.xml: Added.
1668         * inspector/formatting/resources/xml-tests/basic.xml: Added.
1669         * inspector/formatting/resources/xml-tests/rss-expected.xml: Added.
1670         * inspector/formatting/resources/xml-tests/rss.xml: Added.
1671         * inspector/formatting/resources/xml-tests/valid-html-invalid-xml-expected.xml: Added.
1672         * inspector/formatting/resources/xml-tests/valid-html-invalid-xml.xml: Added.
1673         * inspector/formatting/resources/xml-tests/xslt-expected.xml: Added.
1674         * inspector/formatting/resources/xml-tests/xslt.xml: Added.
1675
1676 2019-09-13  Joseph Pecoraro  <pecoraro@apple.com>
1677
1678         Web Inspector: HTML Formatting: Handle infinite loop for incomplete script data
1679         https://bugs.webkit.org/show_bug.cgi?id=201769
1680
1681         Reviewed by Devin Rousso.
1682
1683         * inspector/formatting/formatting-html-expected.txt:
1684         * inspector/formatting/formatting-html.html:
1685         * inspector/formatting/resources/html-tests/eof-7-expected.html: Added.
1686         * inspector/formatting/resources/html-tests/eof-7.html: Added.
1687         * inspector/formatting/resources/html-tests/eof-8-expected.html: Added.
1688         * inspector/formatting/resources/html-tests/eof-8.html: Added.
1689         * inspector/formatting/resources/html-tests/eof-9-expected.html: Added.
1690         * inspector/formatting/resources/html-tests/eof-9.html: Added.
1691
1692 2019-09-13  Russell Epstein  <repstein@apple.com>
1693
1694         Layout Test webgl/2.0.0/conformance/glsl/misc/shaders-with-invariance.html is failing on iOS.
1695         https://bugs.webkit.org/show_bug.cgi?id=201784
1696
1697         Unreviewed Test Gardening.
1698
1699         * platform/ios/TestExpectations: Marked Test as Failing.
1700
1701 2019-09-13  Ali Juma  <ajuma@chromium.org>
1702
1703         IntersectionObserverEntry#intersectionRatio can be larger than 1
1704         https://bugs.webkit.org/show_bug.cgi?id=200776
1705
1706         Reviewed by Simon Fraser.
1707
1708         * intersection-observer/intersection-clipped-to-target-expected.txt: Added.
1709         * intersection-observer/intersection-clipped-to-target.html: Added.
1710
1711 2019-09-13  Russell Epstein  <repstein@apple.com>
1712
1713         Layout Test http/tests/appcache/remove-cache.html is a flaky failure.
1714         https://bugs.webkit.org/show_bug.cgi?id=199124
1715
1716         Unreviewed Test Gardening..
1717
1718         * platform/mac/TestExpectations: Marked Test as Flaky.
1719
1720 2019-09-13  Nikolas Zimmermann  <zimmermann@kde.org>
1721
1722         SMIL animations of SVG <view> element have no effect
1723         https://bugs.webkit.org/show_bug.cgi?id=94469
1724
1725         Reviewed by Said Abou-Hallawa.
1726
1727         Add new layout tests to verify that dynamic modifications of the <view> element cause
1728         visual updates. Previously SVGSVGElement was never notified about changes of the
1729         SVGViewElement and thus did not update the stored viewBox.
1730
1731         * svg/custom/animation-on-view-element-expected.html: Added.
1732         * svg/custom/animation-on-view-element.html: Added. This is a new reftest
1733         demonstrating that animations of SVG <view> elements now behave as expected.
1734         * svg/custom/multiple-view-elements-expected.html: Added.
1735         * svg/custom/multiple-view-elements.html: Added.
1736         * svg/dom/SVGViewSpec-multiple-views-expected.txt:
1737         * svg/dom/SVGViewSpec-multiple-views.html: Extend to cover dynamic modifications.
1738
1739 2019-09-13  Russell Epstein  <repstein@apple.com>
1740
1741         Unreviewed, rolling out r249709.
1742
1743         Layout test added in this patch has been consistently failing
1744         since it landed.
1745
1746         Reverted changeset:
1747
1748         "Option + arrow moves caret past whitespace on iOS"
1749         https://bugs.webkit.org/show_bug.cgi?id=201575
1750         https://trac.webkit.org/changeset/249709
1751
1752 2019-09-13  Chris Dumez  <cdumez@apple.com>
1753
1754         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/security/appcache-in-private-browsing.html
1755         https://bugs.webkit.org/show_bug.cgi?id=201704
1756
1757         Reviewed by Youenn Fablet.
1758
1759         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/security/appcache-in-private-browsing.html
1760         and use the new useEphemeralSession WKTR / DRT flag instead.
1761
1762         * http/tests/security/appcache-in-private-browsing-expected.txt:
1763         * http/tests/security/appcache-in-private-browsing.html:
1764         * http/tests/security/resources/frame-for-appcache-in-private-browsing.html:
1765         * platform/mac-wk2/TestExpectations:
1766
1767 2019-09-13  Joseph Pecoraro  <pecoraro@apple.com>
1768
1769         Web Inspector: Formatter: Pretty Print HTML resources (including inline <script>/<style>)
1770         https://bugs.webkit.org/show_bug.cgi?id=201535
1771         <rdar://problem/29119232>
1772
1773         Reviewed by Devin Rousso.
1774
1775         * TestExpectations:
1776         Mark slow test.
1777
1778         * inspector/formatting/formatting-css.html:
1779         * inspector/formatting/formatting-html-expected.txt: Added.
1780         * inspector/formatting/formatting-html.html: Added.
1781         * inspector/formatting/formatting-javascript-expected.txt:
1782         * inspector/formatting/formatting-javascript.html:
1783         * inspector/formatting/formatting-json-expected.txt:
1784         * inspector/formatting/formatting-json.html:
1785         * inspector/formatting/resources/formatting-utilities.js: Renamed from LayoutTests/inspector/formatting/resources/utilities.js.
1786         Update formatting tests to use new path to utilities.
1787
1788         * inspector/formatting/resources/css-tests/basic-expected.css:
1789         * inspector/formatting/resources/css-tests/gradient-expected.css:
1790         * inspector/formatting/resources/css-tests/keyframes-expected.css:
1791         * inspector/formatting/resources/css-tests/media-query-expected.css:
1792         * inspector/formatting/resources/css-tests/selectors-expected.css:
1793         * inspector/formatting/resources/css-tests/wrapping-expected.css:
1794         * inspector/codemirror/resources/prettyprinting/css-tests/basic-expected.css:
1795         * inspector/codemirror/resources/prettyprinting/css-tests/calc-expected.css:
1796         * inspector/codemirror/resources/prettyprinting/css-tests/gradient-expected.css:
1797         * inspector/codemirror/resources/prettyprinting/css-tests/keyframes-expected.css:
1798         * inspector/codemirror/resources/prettyprinting/css-tests/media-query-expected.css:
1799         * inspector/codemirror/resources/prettyprinting/css-tests/selectors-expected.css:
1800         * inspector/codemirror/resources/prettyprinting/css-tests/wrapping-expected.css:
1801         Eliminate an extra trailing newline in CSS formatted results.
1802
1803         * inspector/formatting/resources/html-tests/attributes-expected.html: Added.
1804         * inspector/formatting/resources/html-tests/attributes.html: Added.
1805         * inspector/formatting/resources/html-tests/auto-close-expected.html: Added.
1806         * inspector/formatting/resources/html-tests/auto-close.html: Added.
1807         * inspector/formatting/resources/html-tests/basic-1-expected.html: Added.
1808         * inspector/formatting/resources/html-tests/basic-1.html: Added.
1809         * inspector/formatting/resources/html-tests/basic-2-expected.html: Added.
1810         * inspector/formatting/resources/html-tests/basic-2.html: Added.
1811         * inspector/formatting/resources/html-tests/comments-expected.html: Added.
1812         * inspector/formatting/resources/html-tests/comments.html: Added.
1813         * inspector/formatting/resources/html-tests/eof-1-expected.html: Added.
1814         * inspector/formatting/resources/html-tests/eof-1.html: Added.
1815         * inspector/formatting/resources/html-tests/eof-2-expected.html: Added.
1816         * inspector/formatting/resources/html-tests/eof-2.html: Added.
1817         * inspector/formatting/resources/html-tests/eof-3-expected.html: Added.
1818         * inspector/formatting/resources/html-tests/eof-3.html: Added.
1819         * inspector/formatting/resources/html-tests/eof-4-expected.html: Added.
1820         * inspector/formatting/resources/html-tests/eof-4.html: Added.
1821         * inspector/formatting/resources/html-tests/eof-5-expected.html: Added.
1822         * inspector/formatting/resources/html-tests/eof-5.html: Added.
1823         * inspector/formatting/resources/html-tests/eof-6-expected.html: Added.
1824         * inspector/formatting/resources/html-tests/eof-6.html: Added.
1825         * inspector/formatting/resources/html-tests/inline-script-expected.html: Added.
1826         * inspector/formatting/resources/html-tests/inline-script.html: Added.
1827         * inspector/formatting/resources/html-tests/inline-style-expected.html: Added.
1828         * inspector/formatting/resources/html-tests/inline-style.html: Added.
1829         * inspector/formatting/resources/html-tests/list-expected.html: Added.
1830         * inspector/formatting/resources/html-tests/list.html: Added.
1831         * inspector/formatting/resources/html-tests/not-well-formed-1-expected.html: Added.
1832         * inspector/formatting/resources/html-tests/not-well-formed-1.html: Added.
1833         * inspector/formatting/resources/html-tests/not-well-formed-2-expected.html: Added.
1834         * inspector/formatting/resources/html-tests/not-well-formed-2.html: Added.
1835         * inspector/formatting/resources/html-tests/not-well-formed-3-expected.html: Added.
1836         * inspector/formatting/resources/html-tests/not-well-formed-3.html: Added.
1837         * inspector/formatting/resources/html-tests/self-closing-expected.html: Added.
1838         * inspector/formatting/resources/html-tests/self-closing.html: Added.
1839         HTMLFormatter tests.
1840
1841         * inspector/formatting/resources/html-source-map-tests/1.html: Added.
1842         * inspector/formatting/resources/html-source-map-tests/2.html: Added.
1843         * inspector/formatting/resources/css-source-map-tests/1.css: Added.
1844         * inspector/formatting/resources/javascript-source-map-tests/1.js: Added.
1845         * inspector/formatting/source-map-css-1-expected.txt: Added.
1846         * inspector/formatting/source-map-css-1.html: Added.
1847         * inspector/formatting/source-map-html-1-expected.txt: Added.
1848         * inspector/formatting/source-map-html-1.html: Added.
1849         * inspector/formatting/source-map-html-2-expected.txt: Added.
1850         * inspector/formatting/source-map-html-2.html: Added.
1851         * inspector/formatting/source-map-javascript-1-expected.txt: Added.
1852         * inspector/formatting/source-map-javascript-1.html: Added.
1853         * inspector/formatting/resources/source-map-utilities.js: Added.
1854         (TestPage.registerInitializer.logLocationWithContext):
1855         (TestPage.registerInitializer.async.runSourceMapTest):
1856         (TestPage.registerInitializer.):
1857         (TestPage.registerInitializer.async.loadFormattedContentAndSourceMap):
1858         (TestPage.registerInitializer.async.loadSourceMapTestResource):
1859         (TestPage.registerInitializer.window.addSourceMapTest):
1860         (TestPage.registerInitializer):
1861         New formatter source map tests to ensure we can go back and forth reasonably
1862         between formatted content and original content.
1863
1864         * inspector/debugger/breakpoints/resolved-dump-all-inline-script-pause-locations-expected.txt: Added.
1865         * inspector/debugger/breakpoints/resolved-dump-all-inline-script-pause-locations.html: Added.
1866         * inspector/debugger/breakpoints/resources/dump-inline-scripts.html: Added.
1867         * inspector/debugger/breakpoints/resources/dump.js:
1868         (TestPage.registerInitializer.window.addDumpAllPauseLocationsTestCase):
1869         (TestPage.registerInitializer.addDumpAllPauseLocationsTestCaseForScript):
1870         (TestPage.registerInitializer):
1871         * inspector/debugger/resources/log-pause-location.js:
1872         (TestPage.registerInitializer.window.findScript):
1873         (TestPage.registerInitializer.window.findResource):
1874         Test for resolving breakpoints at column locations in <script> which was
1875         not previously possible and would not have worked previously.
1876
1877 2019-09-12  Ryan Haddad  <ryanhaddad@apple.com>
1878
1879         Unreviewed test gardening, rebaseline inspector/model/remote-object.html for WK1 after r249808.
1880
1881         * platform/mac-wk1/inspector/model/remote-object-expected.txt: Added.
1882
1883 2019-09-12  Ryan Haddad  <ryanhaddad@apple.com>
1884
1885         Unreviewed test gardening, rebaseline inspector/model/remote-object.html after r249808.
1886
1887         * inspector/model/remote-object-expected.txt:
1888
1889 2019-09-12  Wenson Hsieh  <wenson_hsieh@apple.com>
1890
1891         [Cocoa] Text indicator for an image link on the front page of apple.com looks wrong
1892         https://bugs.webkit.org/show_bug.cgi?id=201724
1893         <rdar://problem/54622894>
1894
1895         Reviewed by Tim Horton.
1896
1897         Add a new layout test to exercise this scenario.
1898
1899         * fast/text-indicator/text-indicator-empty-link-expected.txt: Added.
1900         * fast/text-indicator/text-indicator-empty-link.html: Added.
1901
1902 2019-09-12  Chris Dumez  <cdumez@apple.com>
1903
1904         Re-sync dom web-platform-tests from upstream
1905         https://bugs.webkit.org/show_bug.cgi?id=201697
1906
1907         Reviewed by Youenn Fablet.
1908
1909         * TestExpectations:
1910         * platform/mac-wk2/imported/w3c/web-platform-tests/dom/nodes/Node-cloneNode-expected.txt:
1911         * tests-options.json:
1912
1913 2019-09-12  Devin Rousso  <drousso@apple.com>
1914
1915         REGRESSION? (r249786): inspector/canvas/context-attributes.html is failing on macOS WK1
1916         https://bugs.webkit.org/show_bug.cgi?id=201714
1917         <rdar://problem/55290473>
1918
1919         Reviewed by Joseph Pecoraro.
1920
1921         * inspector/canvas/context-attributes.html:
1922         * inspector/canvas/context-attributes-expected.txt:
1923
1924 2019-09-12  Russell Epstein  <repstein@apple.com>
1925
1926         Layout Test http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-invalidstaterror.html is flaky.
1927         https://bugs.webkit.org/show_bug.cgi?id=199075
1928
1929         Reviewed by Youenn Fablet.
1930
1931         Currently, this test includes js-test.js twice, which is causing the test to be flaky.
1932
1933         * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-invalidstaterror.html: Removed second instance.
1934
1935 2019-09-11  Youenn Fablet  <youenn@apple.com>
1936
1937         Disable DTLS10
1938         https://bugs.webkit.org/show_bug.cgi?id=201679
1939
1940         Reviewed by Alex Christensen.
1941
1942         * webrtc/datachannel/dtls10-expected.txt: Added.
1943         * webrtc/datachannel/dtls10.html: Added.
1944
1945 2019-09-11  Saam Barati  <sbarati@apple.com>
1946
1947         [WHLSL] Ensure structs/arrays with pointers as fields are disallowed
1948         https://bugs.webkit.org/show_bug.cgi?id=201525
1949
1950         Reviewed by Robin Morisset.
1951
1952         This patch fixes a bug in our test harness where we forgot to wait for the gpu
1953         device to load before running test harness tests. This patch fixes this oversight
1954         and asserts that we have always finished loading before running a test.
1955
1956         * webgpu/whlsl/array-spec-tests.html:
1957         * webgpu/whlsl/ensure-proper-pointer-usage-expected.txt: Added.
1958         * webgpu/whlsl/ensure-proper-pointer-usage.html: Added.
1959         * webgpu/whlsl/js/test-harness.js:
1960         (Harness):
1961         (Harness.prototype.async.requestDevice):
1962         (Harness.prototype.async.callTypedFunction):
1963         (Harness.prototype.async.checkCompileFail):
1964         * webgpu/whlsl/pointer-spec-tests.html:
1965         * webgpu/whlsl/test-harness-test.html:
1966
1967 2019-09-11  Devin Rousso  <drousso@apple.com>
1968
1969         Web Inspector: Canvas: instrument WebGPUDevice instead of GPUCanvasContext
1970         https://bugs.webkit.org/show_bug.cgi?id=201650
1971
1972         Reviewed by Joseph Pecoraro.
1973
1974         * inspector/canvas/create-context-webgpu.html:
1975         * inspector/canvas/create-context-webgpu-expected.txt:
1976         * inspector/canvas/resources/create-context-utilities.js:
1977         (createDetachedCanvas):
1978         (createCSSCanvas):
1979         (destroyCanvases):
1980
1981         * inspector/canvas/requestClientNodes.html: Added.
1982         * inspector/canvas/requestClientNodes-expected.txt: Added.
1983         * inspector/canvas/requestClientNodes-css.html: Renamed from LayoutTests/inspector/canvas/css-canvas-clients.html.
1984         * inspector/canvas/requestClientNodes-css-expected.txt: Renamed from LayoutTests/inspector/canvas/css-canvas-clients-expected.txt.
1985         * inspector/canvas/requestClientNodes-webgpu.html: Added.
1986         * inspector/canvas/requestClientNodes-webgpu-expected.txt: Added.
1987
1988         * inspector/canvas/resolveContext-2d.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-2d.html.
1989         * inspector/canvas/resolveContext-2d-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-2d-expected.txt.
1990         * inspector/canvas/resolveContext-bitmaprenderer.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-bitmaprenderer.html.
1991         * inspector/canvas/resolveContext-bitmaprenderer-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt.
1992         * inspector/canvas/resolveContext-webgl.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgl.html.
1993         * inspector/canvas/resolveContext-webgl-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgl-expected.txt.
1994         * inspector/canvas/resolveContext-webgl2.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgl2.html.
1995         * inspector/canvas/resolveContext-webgl2-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgl2-expected.txt.
1996         * inspector/canvas/resolveContext-webgpu.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgpu.html.
1997         * inspector/canvas/resolveContext-webgpu-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgpu-expected.txt.
1998
1999         * inspector/canvas/context-attributes-expected.txt:
2000
2001         * platform/gtk/TestExpectations:
2002         * platform/ios/TestExpectations:
2003         * platform/mac-wk1/TestExpectations:
2004         * platform/mac/TestExpectations:
2005         * platform/win/TestExpectations:
2006         * platform/wincairo/TestExpectations:
2007         * platform/wpe/TestExpectations:
2008
2009 2019-09-11  Chris Dumez  <cdumez@apple.com>
2010
2011         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/cache-storage/cache-persistency.https.html
2012         https://bugs.webkit.org/show_bug.cgi?id=201691
2013
2014         Reviewed by Alex Christensen.
2015
2016         Split cache-persistency.https.html into 2 tests (one for private session and one for
2017         regular session) to avoid relying on legacy testRunner.setPrivateBrowsingEnabled_DEPRECATED().
2018
2019         * http/tests/cache-storage/cache-persistency-private-expected.txt: Added.
2020         * http/tests/cache-storage/cache-persistency-private.html: Added.
2021         * http/tests/cache-storage/cache-persistency.https-expected.txt:
2022         * http/tests/cache-storage/cache-persistency.https.html:
2023
2024 2019-09-11  Ryan Haddad  <ryanhaddad@apple.com>
2025
2026         Unreviewed, rolling out r249768.
2027
2028         Caused 4 API tests to assert, perf test failures, and layout
2029         test crashes under ASan
2030
2031         Reverted changeset:
2032
2033         "Remove unnecessary abstractions around WebsiteDataStore"
2034         https://bugs.webkit.org/show_bug.cgi?id=201655
2035         https://trac.webkit.org/changeset/249768
2036
2037 2019-09-11  Truitt Savell  <tsavell@apple.com>
2038
2039         Unreviewed, rolling out r249753.
2040
2041         caused inspector/canvas/shaderProgram-add-remove-webgl.html to
2042         crash on all Mac platforms.
2043
2044         Reverted changeset:
2045
2046         "Web Inspector: Canvas: instrument WebGPUDevice instead of
2047         GPUCanvasContext"
2048         https://bugs.webkit.org/show_bug.cgi?id=201650
2049         https://trac.webkit.org/changeset/249753
2050
2051 2019-09-11  Alex Christensen  <achristensen@webkit.org>
2052
2053         Remove unnecessary abstractions around WebsiteDataStore
2054         https://bugs.webkit.org/show_bug.cgi?id=201655
2055
2056         Reviewed by Chris Dumez.
2057
2058         * platform/mac-wk2/TestExpectations:
2059
2060 2019-09-11  Ryan Haddad  <ryanhaddad@apple.com>
2061
2062         Unreviewed, rolling out r249758.
2063
2064         Breaks the watchOS build.
2065
2066         Reverted changeset:
2067
2068         "[WHLSL] Ensure structs/arrays with pointers as fields are
2069         disallowed"
2070         https://bugs.webkit.org/show_bug.cgi?id=201525
2071         https://trac.webkit.org/changeset/249758
2072
2073 2019-09-11  Chris Dumez  <cdumez@apple.com>
2074
2075         Unreviewed, re-skip service worker test that was unskipped in r249716
2076
2077         This test is still a flaky timeout.
2078
2079         * TestExpectations:
2080
2081 2019-09-11  Frederic Wang  <fwang@igalia.com>
2082
2083         Bug 201603 - Synchronize MathML WPT tests against upstream
2084         https://bugs.webkit.org/show_bug.cgi?id=201603
2085
2086         Reviewed by Rob Buis.
2087
2088         * TestExpectations:
2089         * platform/gtk/TestExpectations:
2090         * platform/gtk/imported/w3c/web-platform-tests/mathml/relations/css-styling/lengths-2-expected.txt: Added.
2091         * platform/gtk/imported/w3c/web-platform-tests/mathml/relations/css-styling/not-participating-to-parent-layout-expected.txt: Added.
2092         * platform/gtk/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/border-002-expected.txt: Added.
2093         * platform/gtk/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt: Added.
2094         * platform/mac-wk1/TestExpectations:
2095
2096 2019-09-11  Saam Barati  <sbarati@apple.com>
2097
2098         [WHLSL] Ensure structs/arrays with pointers as fields are disallowed
2099         https://bugs.webkit.org/show_bug.cgi?id=201525
2100
2101         Reviewed by Robin Morisset.
2102
2103         This patch fixes a bug in our test harness where we forgot to wait for the gpu
2104         device to load before running test harness tests. This patch fixes this oversight
2105         and asserts that we have always finished loading before running a test.
2106
2107         * webgpu/whlsl/array-spec-tests.html:
2108         * webgpu/whlsl/ensure-proper-pointer-usage-expected.txt: Added.
2109         * webgpu/whlsl/ensure-proper-pointer-usage.html: Added.
2110         * webgpu/whlsl/js/test-harness.js:
2111         (Harness):
2112         (Harness.prototype.async.requestDevice):
2113         (Harness.prototype.async.callTypedFunction):
2114         (Harness.prototype.async.checkCompileFail):
2115         * webgpu/whlsl/pointer-spec-tests.html:
2116         * webgpu/whlsl/test-harness-test.html:
2117
2118 2019-09-10  Devin Rousso  <drousso@apple.com>
2119
2120         Web Inspector: Canvas: instrument WebGPUDevice instead of GPUCanvasContext
2121         https://bugs.webkit.org/show_bug.cgi?id=201650
2122
2123         Reviewed by Joseph Pecoraro.
2124
2125         * inspector/canvas/create-context-webgpu.html:
2126         * inspector/canvas/create-context-webgpu-expected.txt:
2127         * inspector/canvas/resources/create-context-utilities.js:
2128         (createDetachedCanvas):
2129         (createCSSCanvas):
2130         (destroyCanvases):
2131
2132         * inspector/canvas/requestClientNodes.html: Added.
2133         * inspector/canvas/requestClientNodes-expected.txt: Added.
2134         * inspector/canvas/requestClientNodes-css.html: Renamed from LayoutTests/inspector/canvas/css-canvas-clients.html.
2135         * inspector/canvas/requestClientNodes-css-expected.txt: Renamed from LayoutTests/inspector/canvas/css-canvas-clients-expected.txt.
2136         * inspector/canvas/requestClientNodes-webgpu.html: Added.
2137         * inspector/canvas/requestClientNodes-webgpu-expected.txt: Added.
2138
2139         * inspector/canvas/resolveContext-2d.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-2d.html.
2140         * inspector/canvas/resolveContext-2d-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-2d-expected.txt.
2141         * inspector/canvas/resolveContext-bitmaprenderer.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-bitmaprenderer.html.
2142         * inspector/canvas/resolveContext-bitmaprenderer-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-bitmaprenderer-expected.txt.
2143         * inspector/canvas/resolveContext-webgl.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgl.html.
2144         * inspector/canvas/resolveContext-webgl-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgl-expected.txt.
2145         * inspector/canvas/resolveContext-webgl2.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgl2.html.
2146         * inspector/canvas/resolveContext-webgl2-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgl2-expected.txt.
2147         * inspector/canvas/resolveContext-webgpu.html: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgpu.html.
2148         * inspector/canvas/resolveContext-webgpu-expected.txt: Renamed from LayoutTests/inspector/canvas/resolveCanvasContext-webgpu-expected.txt.
2149
2150         * inspector/canvas/context-attributes-expected.txt:
2151
2152         * platform/gtk/TestExpectations:
2153         * platform/ios/TestExpectations:
2154         * platform/mac-wk1/TestExpectations:
2155         * platform/mac/TestExpectations:
2156         * platform/win/TestExpectations:
2157         * platform/wincairo/TestExpectations:
2158         * platform/wpe/TestExpectations:
2159
2160 2019-09-10  Joseph Pecoraro  <pecoraro@apple.com>
2161
2162         Web Inspector: Remove legacy CodeMirror based pretty printers
2163         https://bugs.webkit.org/show_bug.cgi?id=201624
2164
2165         Reviewed by Devin Rousso.
2166
2167         * inspector/codemirror/prettyprinting-css-expected.txt: Removed.
2168         * inspector/codemirror/prettyprinting-css.html: Removed.
2169         * inspector/codemirror/prettyprinting-javascript-expected.txt: Removed.
2170         * inspector/codemirror/prettyprinting-javascript.html: Removed.
2171         * inspector/codemirror/resources/prettyprinting/css-tests/basic-expected.css: Removed.
2172         * inspector/codemirror/resources/prettyprinting/css-tests/basic.css: Removed.
2173         * inspector/codemirror/resources/prettyprinting/css-tests/calc-expected.css: Removed.
2174         * inspector/codemirror/resources/prettyprinting/css-tests/calc.css: Removed.
2175         * inspector/codemirror/resources/prettyprinting/css-tests/gradient-expected.css: Removed.
2176         * inspector/codemirror/resources/prettyprinting/css-tests/gradient.css: Removed.
2177         * inspector/codemirror/resources/prettyprinting/css-tests/keyframes-expected.css: Removed.
2178         * inspector/codemirror/resources/prettyprinting/css-tests/keyframes.css: Removed.
2179         * inspector/codemirror/resources/prettyprinting/css-tests/media-query-expected.css: Removed.
2180         * inspector/codemirror/resources/prettyprinting/css-tests/media-query.css: Removed.
2181         * inspector/codemirror/resources/prettyprinting/css-tests/selectors-expected.css: Removed.
2182         * inspector/codemirror/resources/prettyprinting/css-tests/selectors.css: Removed.
2183         * inspector/codemirror/resources/prettyprinting/css-tests/wrapping-expected.css: Removed.
2184         * inspector/codemirror/resources/prettyprinting/css-tests/wrapping.css: Removed.
2185         * inspector/codemirror/resources/prettyprinting/javascript-tests/block-comment-expected.js: Removed.
2186         * inspector/codemirror/resources/prettyprinting/javascript-tests/block-comment.js: Removed.
2187         * inspector/codemirror/resources/prettyprinting/javascript-tests/do-while-loop-expected.js: Removed.
2188         * inspector/codemirror/resources/prettyprinting/javascript-tests/do-while-loop.js: Removed.
2189         * inspector/codemirror/resources/prettyprinting/javascript-tests/do-while-within-if-expected.js: Removed.
2190         * inspector/codemirror/resources/prettyprinting/javascript-tests/do-while-within-if.js: Removed.
2191         * inspector/codemirror/resources/prettyprinting/javascript-tests/if-followed-by-while-expected.js: Removed.
2192         * inspector/codemirror/resources/prettyprinting/javascript-tests/if-followed-by-while.js: Removed.
2193         * inspector/codemirror/resources/prettyprinting/javascript-tests/if-while-within-do-while-expected.js: Removed.
2194         * inspector/codemirror/resources/prettyprinting/javascript-tests/if-while-within-do-while.js: Removed.
2195         * inspector/codemirror/resources/prettyprinting/javascript-tests/single-statement-blocks-expected.js: Removed.
2196         * inspector/codemirror/resources/prettyprinting/javascript-tests/single-statement-blocks.js: Removed.
2197         * inspector/codemirror/resources/prettyprinting/javascript-tests/switch-case-default-expected.js: Removed.
2198         * inspector/codemirror/resources/prettyprinting/javascript-tests/switch-case-default.js: Removed.
2199         * inspector/codemirror/resources/prettyprinting/javascript-tests/unary-binary-operators-expected.js: Removed.
2200         * inspector/codemirror/resources/prettyprinting/javascript-tests/unary-binary-operators.js: Removed.
2201         * inspector/codemirror/resources/prettyprinting/javascript-tests/while-within-do-while-expected.js: Removed.
2202         * inspector/codemirror/resources/prettyprinting/javascript-tests/while-within-do-while.js: Removed.
2203         * inspector/codemirror/resources/prettyprinting/utilities.js: Removed.
2204
2205 2019-09-10  Chris Dumez  <cdumez@apple.com>
2206
2207         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/cookies/private-cookie-storage.html
2208         https://bugs.webkit.org/show_bug.cgi?id=201648
2209
2210         Reviewed by Alex Christensen.
2211
2212         Use testRunner.setShouldSwapToEphemeralSessionOnNextNavigation() / setShouldSwapToDefaultSessionOnNextNavigation() to
2213         truly switch session on WebKit2 instead of using the testRunner.setPrivateBrowsingEnabled_DEPRECATED() hack.
2214
2215         * http/tests/cookies/private-cookie-storage-expected.txt:
2216         * http/tests/cookies/private-cookie-storage.html:
2217         * http/tests/cookies/resources/cookies-test-pre.js:
2218         (testCookies):
2219
2220 2019-09-10  Ryan Haddad  <ryanhaddad@apple.com>
2221
2222         [iOS] Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/registration-mime-types.https.html is flaky
2223         https://bugs.webkit.org/show_bug.cgi?id=201190
2224
2225         Unreviewed test gardening.
2226
2227         * platform/ios/TestExpectations:
2228
2229 2019-09-10  Ryan Haddad  <ryanhaddad@apple.com>
2230
2231         Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/fetch-canvas-tainting-video.https.html is a flaky timeout
2232         https://bugs.webkit.org/show_bug.cgi?id=201665
2233
2234         Unreviewed test gardening.
2235
2236         This test was unskipped as part of r249716, but it is still frequently failing.
2237
2238         * TestExpectations: Skip the test again.
2239
2240 2019-09-10  Jiewen Tan  <jiewen_tan@apple.com>
2241
2242         REGRESSION: [ Catalina WK2 ] http/wpt/webauthn/public-key-credential-create-success-u2f.https.html is failing
2243         https://bugs.webkit.org/show_bug.cgi?id=201620
2244         <rdar://problem/51524958>
2245
2246         Reviewed by Alex Christensen.
2247
2248         * http/wpt/webauthn/public-key-credential-create-success-u2f.https.html:
2249         Remove the timeout value given those tests should never time out.
2250         * platform/mac-wk2/TestExpectations:
2251         Change the test expectation to Pass.
2252
2253 2019-09-10  Said Abou-Hallawa  <sabouhallawa@apple.com>
2254
2255         REGRESSION (r249460): LayoutTests/webgpu/viewport-scissor-rect-triangle-strip.html is Failing
2256         https://bugs.webkit.org/show_bug.cgi?id=201478
2257
2258         Reviewed by Simon Fraser.
2259
2260         -- Revert r249460 which changed drawGreenAndBlueCheckerboardInSoftware().
2261         -- Remove the orientation bit from webgpu/resources/blue-checkered.png
2262            so drawing it is not affected by r249364.
2263
2264         * webgpu/js/webgpu-functions.js:
2265         (drawGreenAndBlueCheckerboardInSoftware):
2266         * webgpu/resources/blue-checkered.png:
2267
2268 2019-09-10  Nikolas Zimmermann  <zimmermann@kde.org>
2269
2270         Test SVGViewSpec behavior across page-loads with different anchors
2271         https://bugs.webkit.org/show_bug.cgi?id=201536
2272
2273         Reviewed by Rob Buis.
2274
2275         Added a new layout test to verify that navigating to different anchors within the same
2276         external SVG does not cause reloads. Instead scrollToAnchor() is used which causes an
2277         in-place navigation in the same document. The new test verifies that the SVGSVGElement
2278         is preserved when navigating between anchors, which indicates that no new document was
2279         created. Verify that the SVGViewSpec API works as intended, across navigations.
2280
2281         * svg/dom/SVGViewSpec-multiple-views-expected.txt: Added.
2282         * svg/dom/SVGViewSpec-multiple-views.html: Added.
2283         * svg/dom/resources/multiple-view-elements.svg: Added.
2284
2285 2019-09-10  Chris Dumez  <cdumez@apple.com>
2286
2287         Unreviewed, re-skip service worker test that was unskipped in r249716.
2288
2289         This test is still flaky.
2290
2291         * TestExpectations:
2292
2293 2019-09-10  Chris Dumez  <cdumez@apple.com>
2294
2295         Unreviewed, rolling out r249724.
2296
2297         Patch included a lot more changes than intended
2298
2299         Reverted changeset:
2300
2301         "Unreviewed, re-skip service worker test that was unskipped in
2302         r249716."
2303         https://trac.webkit.org/changeset/249724
2304
2305 2019-09-10  Chris Dumez  <cdumez@apple.com>
2306
2307         Unreviewed, re-skip service worker test that was unskipped in r249716.
2308
2309         This test is still flaky.
2310
2311         * TestExpectations:
2312
2313 2019-09-10  Chris Dumez  <cdumez@apple.com>
2314
2315         Re-sync workers web platform tests from upstream
2316         https://bugs.webkit.org/show_bug.cgi?id=201629
2317
2318         Reviewed by Alex Christensen.
2319
2320         * TestExpectations:
2321         * tests-options.json:
2322
2323 2019-09-10  Youenn Fablet  <youenn@apple.com>
2324
2325         Remove MediaStreamPrivate::scheduleDeferredTask
2326         https://bugs.webkit.org/show_bug.cgi?id=200975
2327         <rdar://problem/55113418>
2328
2329         Reviewed by Eric Carlson.
2330
2331         * fast/mediastream/media-stream-track-source-failure.html:
2332         page mediaState may be updated synchronously.
2333         Get it just before failing a capture track to verify that the state is being updated after the track is stopped.
2334
2335 2019-09-10  Chris Dumez  <cdumez@apple.com>
2336
2337         Unreviewed, unskip / rebaseline a few service worker tests
2338         https://bugs.webkit.org/show_bug.cgi?id=201626
2339
2340         * TestExpectations:
2341
2342 2019-09-10  Frederic Wang  <fwang@igalia.com>
2343
2344         Ensure tests for legacy features are in LayoutTests/mathml
2345         https://bugs.webkit.org/show_bug.cgi?id=201604
2346
2347         Reviewed by Rob Buis.
2348
2349         This patch copies MathML WPT tests verifying legacy support for features removed from MathML
2350         Core. These tests will be overriden or removed in a future WPT synchronization, so we need
2351         to keep local copies to check these legacy features when the "MathML Core" option is
2352         disabled.
2353
2354         * TestExpectations: Copy expectation.
2355         * mathml/non-core/frac-linethickness-001-expected.html: Added.
2356         * mathml/non-core/frac-linethickness-001.html: Added.
2357         * mathml/non-core/frac-linethickness-002-expected.html: Added.
2358         * mathml/non-core/frac-linethickness-002.html: Added.
2359         * mathml/non-core/frac-numalign-denomalign-001-expected.html: Added.
2360         * mathml/non-core/frac-numalign-denomalign-001.html: Added.
2361         * mathml/non-core/lengths-1-expected.html: Added.
2362         * mathml/non-core/lengths-1.html: Added.
2363         * mathml/non-core/lengths-2-expected.html: Added.
2364         * mathml/non-core/lengths-2.html: Added.
2365         * mathml/non-core/lengths-3-expected.txt: Added.
2366         * mathml/non-core/lengths-3.html: Added.
2367         * platform/gtk/TestExpectations: Copy expectation.
2368         * platform/win/TestExpectations: Add failure expectations.
2369
2370 2019-09-10  Ryosuke Niwa  <rniwa@webkit.org>
2371
2372         Option + arrow moves caret past whitespace on iOS
2373         https://bugs.webkit.org/show_bug.cgi?id=201575
2374
2375         Reviewed by Wenson Hsieh.
2376
2377         Added a new test for moving caret by word granularity on iOS.
2378
2379         * editing/selection/ios/move-by-word-with-keyboard-expected.txt: Added.
2380         * editing/selection/ios/move-by-word-with-keyboard.html: Added.
2381         * editing/selection/ios/select-non-editable-text-using-keyboard-expected.txt: Rebaselined.
2382         * editing/selection/ios/select-non-editable-text-using-keyboard.html: Updated the expected
2383         selection string due to the behavior change. Also fixed a bug that some test cases were
2384         not waiting for a secondary selectionchange event that happens after an extra selection
2385         update with character granularity introduced in r247524.
2386
2387 2019-09-09  Chris Dumez  <cdumez@apple.com>
2388
2389         REGRESSION: http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations.html is frequently timing out on iOS EWS bots
2390         https://bugs.webkit.org/show_bug.cgi?id=201550
2391
2392         Reviewed by Alex Christensen.
2393
2394         Update test to do checks on a timer if its call to testRunner.statisticsNotifyObserver() is a no-op
2395         due to having no statistics to send to the network process.
2396
2397         * http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations.html:
2398
2399 2019-09-09  Joonghun Park  <pjh0718@gmail.com>
2400
2401         getComputedStyle for line-height: normal should return the keyword instead of a length
2402         https://bugs.webkit.org/show_bug.cgi?id=201296
2403
2404         Reviewed by Ryosuke Niwa.
2405
2406         Per https://github.com/w3c/csswg-drafts/issues/3749,
2407         Gecko and Blink has this behavior already.
2408
2409         This patch makes WebKit has the same behavior with them.
2410
2411         * css3/calc/line-height-expected.txt:
2412         * fast/css/font-calculated-value-expected.txt:
2413         * fast/css/font-calculated-value.html:
2414         * fast/css/font-shorthand-from-longhands-expected.txt:
2415         * fast/css/font-shorthand-from-longhands.html:
2416         * fast/css/font-shorthand-line-height-expected.txt:
2417         * fast/css/font-shorthand-line-height.html:
2418         * fast/css/getComputedStyle/computed-style-expected.txt:
2419         * fast/css/getComputedStyle/computed-style-font-expected.txt:
2420         * fast/css/getComputedStyle/computed-style-font.html:
2421         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2422         * fast/ruby/ruby-line-height-expected.txt:
2423         * fast/ruby/ruby-line-height.html:
2424         * fast/text-autosizing/ios/idempotentmode/line-height-boosting-expected.txt:
2425         * fast/text-autosizing/ios/idempotentmode/line-height-boosting.html:
2426         * fast/text-autosizing/ios/line-height-text-autosizing-expected.txt:
2427         * fast/text-autosizing/ios/line-height-text-autosizing.html:
2428         * media/track/track-cue-rendering-on-resize-expected.txt:
2429         * media/track/track-cue-rendering-on-resize.html:
2430         * platform/gtk/fast/css/css2-system-fonts-expected.txt:
2431         * platform/gtk/fast/css/getComputedStyle/computed-style-expected.txt:
2432         * platform/gtk/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2433         * platform/gtk/svg/css/getComputedStyle-basic-expected.txt:
2434         * platform/ios/TestExpectations:
2435         * platform/ios/css3/calc/line-height-expected.txt:
2436         * platform/ios/fast/css/css2-system-fonts-expected.txt:
2437         * platform/ios/fast/css/getComputedStyle/computed-style-expected.txt:
2438         * platform/ios/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2439         * platform/ios/svg/css/getComputedStyle-basic-expected.txt:
2440         * platform/mac-sierra/fast/css/getComputedStyle/computed-style-expected.txt:
2441         * platform/mac-sierra/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2442         * platform/mac-sierra/svg/css/getComputedStyle-basic-expected.txt:
2443         * platform/mac/fast/css/css2-system-fonts-expected.txt:
2444         * platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
2445         * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2446         * platform/mac/fast/text-autosizing/ios/line-height-text-autosizing-expected.txt:
2447         * platform/mac/svg/css/getComputedStyle-basic-expected.txt:
2448         * platform/wincairo/css3/calc/line-height-expected.txt:
2449         * platform/wincairo/fast/css/css2-system-fonts-expected.txt:
2450         * platform/wpe/fast/css/css2-system-fonts-expected.txt:
2451         * platform/wpe/fast/css/getComputedStyle/computed-style-expected.txt:
2452         * platform/wpe/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2453         * platform/wpe/svg/css/getComputedStyle-basic-expected.txt:
2454         * svg/css/getComputedStyle-basic-expected.txt:
2455
2456 2019-09-09  Ryan Haddad  <ryanhaddad@apple.com>
2457
2458         Unreviewed test gardening, update test expectations for rdar://problem/51229282.
2459
2460         * platform/mac-wk1/TestExpectations:
2461
2462 2019-09-09  Ryan Haddad  <ryanhaddad@apple.com>
2463
2464         Unreviewed test gardening, update test expectations for rdar://problem/51766135.
2465
2466         * platform/ios/TestExpectations:
2467
2468 2019-09-09  Ryan Haddad  <ryanhaddad@apple.com>
2469
2470         REGRESSION(r236540-r236595): ASSERTION FAILED: !frameView || !frameView->isPainting() on plugins/window-open.html
2471         https://bugs.webkit.org/show_bug.cgi?id=199089
2472
2473         Unreviewed test gardening.
2474
2475         * platform/mac-wk2/TestExpectations: Skip the test.
2476
2477 2019-09-09  Chris Dumez  <cdumez@apple.com>
2478
2479         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html
2480         https://bugs.webkit.org/show_bug.cgi?id=201596
2481
2482         Reviewed by Alex Christensen.
2483
2484         Update layout test to use testRunner.setShouldSwapToEphemeralSessionOnNextNavigation() &
2485         testRunner.setShouldSwapToDefaultSessionOnNextNavigation() instead of the legacy
2486         testRunner.setPrivateBrowsingEnabled_DEPRECATED(). The test needed some extra steps to
2487         navigate whenever we switch session but it is a lot more realistic and is really switching
2488         session on WebKit2. The testRunner.setPrivateBrowsingEnabled_DEPRECATED() was not truly
2489         switching session, just making the document think it did.
2490
2491         * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html:
2492
2493 2019-09-09  Chris Dumez  <cdumez@apple.com>
2494
2495         Resync service workers WPT tests from upstream
2496         https://bugs.webkit.org/show_bug.cgi?id=201589
2497
2498         Reviewed by Youenn Fablet.
2499
2500         * TestExpectations:
2501
2502 2019-09-10  Simon Fraser  <simon.fraser@apple.com>
2503
2504         Attempt to make this test not flakey.
2505         https://bugs.webkit.org/show_bug.cgi?id=201482
2506
2507         * legacy-animation-engine/compositing/transitions/add-remove-transition.html:
2508
2509 2019-09-09  Jiewen Tan  <jiewen_tan@apple.com>
2510
2511         Layout Test http/wpt/webauthn/public-key-credential-create-failure-u2f-silent.https.html is flaky
2512         https://bugs.webkit.org/show_bug.cgi?id=198810
2513
2514         Reviewed by Dewei Zhu.
2515
2516         * http/wpt/webauthn/public-key-credential-create-failure-u2f-silent.https.html:
2517         Removed the timeout value given these tests should report the exception immediately.
2518
2519 2019-09-09  Chris Dumez  <cdumez@apple.com>
2520
2521         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/workers/service/basic-register.html
2522         https://bugs.webkit.org/show_bug.cgi?id=201590
2523
2524         Reviewed by Youenn Fablet.
2525
2526         Split the layout test in 2 to test both the default and the ephemeral session without relying on the
2527         testRunner.setPrivateBrowsingEnabled_DEPRECATED() hack.
2528
2529         * http/tests/workers/service/basic-register-expected.txt:
2530         * http/tests/workers/service/basic-register-private-expected.txt: Copied from LayoutTests/http/tests/workers/service/basic-register-expected.txt.
2531         * http/tests/workers/service/basic-register-private.html: Added.
2532         * http/tests/workers/service/resources/basic-register.js:
2533         (async.test):
2534
2535 2019-09-09  Rob Buis  <rbuis@igalia.com>
2536
2537         [GTK][WPE] Remove attributes deprecated from MathML3
2538         https://bugs.webkit.org/show_bug.cgi?id=197492
2539
2540         Reviewed by Frédéric Wang.
2541
2542         Disable the MathML Core flag for tests assuming MathML3 behavior.
2543
2544         * mathml/presentation/attributes-background-color-expected.html:
2545         * mathml/presentation/attributes-background-color.html:
2546         * mathml/presentation/attributes-mathvariant.html:
2547         * mathml/presentation/direction-overall.html:
2548         * mathml/presentation/mstyle-css-attributes.html:
2549
2550 2019-09-08  Saam Barati  <sbarati@apple.com>
2551
2552         [WHLSL] Add back a version of the property resolver
2553         https://bugs.webkit.org/show_bug.cgi?id=201251
2554
2555         Reviewed by Robin Morisset.
2556
2557         * webgpu/whlsl/property-evaluation-order-expected.txt: Added.
2558         * webgpu/whlsl/property-evaluation-order.html: Added.
2559
2560 2019-09-07  Chris Dumez  <cdumez@apple.com>
2561
2562         Add support for postMessage buffering between the service worker and window
2563         https://bugs.webkit.org/show_bug.cgi?id=201169
2564
2565         Reviewed by Youenn Fablet.
2566
2567         * TestExpectations:
2568         Unskip test that is no longer timing out.
2569
2570         * resources/testharnessreport.js:
2571         (self.testRunner.add_completion_callback):
2572         Use testRunner.forceImmediateCompletion() instead of notifyDone() for WPT tests.
2573         testRunner.notifyDone() does not work in case of load error or when the load
2574         does not finish. The WPT test was timing out because the load does not finish for
2575         testing purposes.
2576
2577 2019-09-07  Chris Dumez  <cdumez@apple.com>
2578
2579         Rewrite http/tests/workers/service/serviceworker-private-browsing.https.html as an API test
2580         https://bugs.webkit.org/show_bug.cgi?id=201574
2581
2582         Reviewed by Alex Christensen.
2583
2584         Drop legacy test which was replaced by an API test.
2585
2586         * http/tests/workers/service/serviceworker-private-browsing-worker.js: Removed.
2587         * http/tests/workers/service/serviceworker-private-browsing.https-expected.txt: Removed.
2588         * http/tests/workers/service/serviceworker-private-browsing.https.html: Removed.
2589
2590 2019-09-07  Chris Dumez  <cdumez@apple.com>
2591
2592         Rewrite storage/domstorage/localstorage/private-browsing-affects-storage.html as an API test
2593         https://bugs.webkit.org/show_bug.cgi?id=201547
2594
2595         Reviewed by Alex Christensen.
2596
2597         Drop outdated test.
2598
2599         * storage/domstorage/localstorage/private-browsing-affects-storage.html: Removed.
2600         * storage/domstorage/localstorage/resources/private-browsing-1.html: Removed.
2601         * storage/domstorage/localstorage/resources/private-browsing-2.html: Removed.
2602
2603 2019-09-07  Ryan Haddad  <ryanhaddad@apple.com>
2604
2605         Unreviewed, rolling out r249353.
2606
2607         The test for this change is a flaky failure.
2608
2609         Reverted changeset:
2610
2611         "Add support for postMessage buffering between the service
2612         worker and window"
2613         https://bugs.webkit.org/show_bug.cgi?id=201169
2614         https://trac.webkit.org/changeset/249353
2615
2616 2019-09-07  Alex Christensen  <achristensen@webkit.org>
2617
2618         Deprecate WKContextGetWebsiteDataStore
2619         https://bugs.webkit.org/show_bug.cgi?id=200050
2620
2621         Reviewed by Geoff Garen.
2622
2623         Rebase some accessibility tests that were printing the SessionID since we're using SessionID 2 for testing now.
2624
2625         * accessibility/mac/document-attributes-expected.txt:
2626         * platform/mac/accessibility/parent-delete-expected.txt:
2627
2628 2019-09-06  Devin Rousso  <drousso@apple.com>
2629
2630         Web Inspector: CSS Formatter: the closing } of nested @media aren't indented
2631         https://bugs.webkit.org/show_bug.cgi?id=201560
2632
2633         Reviewed by Joseph Pecoraro.
2634
2635         * inspector/formatting/resources/css-tests/media-query.css:
2636         * inspector/formatting/resources/css-tests/media-query-expected.css:
2637
2638 2019-09-06  Wenson Hsieh  <wenson_hsieh@apple.com>
2639
2640         Incorrect selection rect revealed after pasting images in a contenteditable element
2641         https://bugs.webkit.org/show_bug.cgi?id=201549
2642         <rdar://problem/50956429>
2643
2644         Reviewed by Simon Fraser.
2645
2646         Add a couple of new layout tests.
2647
2648         * editing/pasteboard/do-not-reveal-selection-after-programmatic-scroll-expected.txt: Added.
2649         * editing/pasteboard/do-not-reveal-selection-after-programmatic-scroll.html: Added.
2650
2651         This test verifies that we don't try to scroll to reveal the caret after pasting, if the scroll position was
2652         changed before the images finished loading.
2653
2654         * editing/pasteboard/reveal-selection-after-pasting-images-expected.txt: Added.
2655         * editing/pasteboard/reveal-selection-after-pasting-images.html: Added.
2656         * platform/ios/editing/pasteboard/reveal-selection-after-pasting-images-expected.txt: Added.
2657
2658         This test verifies that we reveal the caret after loading multiple pasted images in a selection, and dispatch a
2659         scroll event in the process.
2660
2661 2019-09-06  Justin Fan  <justin_fan@apple.com>
2662
2663         [WebGPU] Update several interface and enum names to match spec
2664         https://bugs.webkit.org/show_bug.cgi?id=201564
2665
2666         Reviewed by Dean Jackson.
2667
2668         Rename GPUShaderStageBit -> GPUShaderStage.
2669         Rename GPUColorWriteBits -> GPUColorWrite.
2670         Rename TRANSFER_SRC/DST -> COPY_SRC/DST.
2671
2672         * webgpu/bind-groups.html:
2673         * webgpu/blend-color-triangle-strip.html:
2674         * webgpu/blit-commands.html:
2675         * webgpu/buffer-errors.html:
2676         * webgpu/color-write-mask-triangle-strip.html:
2677         * webgpu/pipeline-layouts.html:
2678         * webgpu/render-pipelines.html:
2679         * webgpu/texture-triangle-strip.html:
2680         * webgpu/textures-textureviews.html:
2681         * webgpu/whlsl/arbitrary-vertex-attribute-locations.html:
2682         * webgpu/whlsl/buffer-fragment.html:
2683         * webgpu/whlsl/buffer-length.html:
2684         * webgpu/whlsl/buffer-vertex.html:
2685         * webgpu/whlsl/checker-should-set-type-of-read-modify-write-variables.html:
2686         * webgpu/whlsl/compute.html:
2687         * webgpu/whlsl/dereference-pointer-should-type-check.html:
2688         * webgpu/whlsl/device-proper-type-checker.html:
2689         * webgpu/whlsl/do-while-loop-break.html:
2690         * webgpu/whlsl/do-while-loop-continue.html:
2691         * webgpu/whlsl/do-while-loop.html:
2692         * webgpu/whlsl/dont-crash-parsing-enum.html:
2693         * webgpu/whlsl/dot-expressions.html:
2694         * webgpu/whlsl/duplicate-types-should-not-produce-duplicate-ctors.html:
2695         * webgpu/whlsl/ensure-proper-variable-lifetime-2.html:
2696         * webgpu/whlsl/ensure-proper-variable-lifetime-3.html:
2697         * webgpu/whlsl/ensure-proper-variable-lifetime.html:
2698         * webgpu/whlsl/huge-array.html:
2699         * webgpu/whlsl/js/test-harness.js:
2700         (Harness.prototype.async.callTypedFunction):
2701         (Harness.prototype._clearResults):
2702         (Harness.prototype._setUpArguments):
2703         * webgpu/whlsl/loops-break.html:
2704         * webgpu/whlsl/loops-continue.html:
2705         * webgpu/whlsl/loops.html:
2706         * webgpu/whlsl/make-array-reference.html:
2707         * webgpu/whlsl/matrix-2.html:
2708         * webgpu/whlsl/matrix-alignment.html:
2709         * webgpu/whlsl/matrix-memory-layout.html:
2710         * webgpu/whlsl/matrix.html:
2711         * webgpu/whlsl/nested-dot-expression-rvalue.html:
2712         * webgpu/whlsl/nested-loop.html:
2713         * webgpu/whlsl/oob-access.html:
2714         * webgpu/whlsl/read-modify-write-high-zombies.html:
2715         * webgpu/whlsl/return-local-variable.html:
2716         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-10.html:
2717         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-11.html:
2718         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-12.html:
2719         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-13.html:
2720         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-14.html:
2721         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-15.html:
2722         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-16.html:
2723         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-17.html:
2724         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-18.html:
2725         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-19.html:
2726         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-2.html:
2727         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-20.html:
2728         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-21.html:
2729         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-22.html:
2730         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-23.html:
2731         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-24.html:
2732         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-25.html:
2733         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-26.html:
2734         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-27.html:
2735         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-3.html:
2736         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-4.html:
2737         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-5.html:
2738         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-6.html:
2739         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-7.html:
2740         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-8.html:
2741         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-9.html:
2742         * webgpu/whlsl/separate-shader-modules/separate-shader-modules.html:
2743         * webgpu/whlsl/simple-arrays.html:
2744         * webgpu/whlsl/store-to-property-updates-properly.html:
2745         * webgpu/whlsl/textures-load.html:
2746         * webgpu/whlsl/textures-sample-bias.html:
2747         * webgpu/whlsl/textures-sample-grad.html:
2748         * webgpu/whlsl/textures-sample-level.html:
2749         * webgpu/whlsl/textures-sample.html:
2750         * webgpu/whlsl/two-dimensional-array.html:
2751         * webgpu/whlsl/while-loop-break.html:
2752         * webgpu/whlsl/while-loop-continue.html:
2753         * webgpu/whlsl/whlsl.html:
2754         * webgpu/whlsl/zero-initialize-values-2.html:
2755         * webgpu/whlsl/zero-initialize-values.html:
2756
2757 2019-09-06  Ryan Haddad  <ryanhaddad@apple.com>
2758
2759         REGRESSION: http/tests/resourceLoadStatistics/do-not-capture-statistics-for-simple-top-navigations.html is frequently timing out on iOS EWS bots
2760         https://bugs.webkit.org/show_bug.cgi?id=201550
2761
2762         Unreviewed test gardening.
2763
2764         * platform/ios-wk2/TestExpectations: Mark the test as flaky to speed up EWS while we investigate the root cause.
2765
2766 2019-09-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
2767
2768         REGRESSION (r249367): m_decodingPromises grows indefinitely until ImageLoader destruction
2769         https://bugs.webkit.org/show_bug.cgi?id=201402
2770
2771         Reviewed by Youenn Fablet and Daniel Bates.
2772
2773         * fast/images/decode-resolve-reject-no-leak-expected.txt: Added.
2774         * fast/images/decode-resolve-reject-no-leak.html: Added.
2775
2776 2019-09-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
2777
2778         Prefer null namespace 'href' over 'xlink:href' on SVG elements
2779         https://bugs.webkit.org/show_bug.cgi?id=195802
2780
2781         Reviewed by Youenn Fablet.
2782
2783         * svg/custom/href-xlink-href-gradient-element-expected.svg: Added.
2784         * svg/custom/href-xlink-href-gradient-element.svg: Added.
2785         * svg/custom/href-xlink-href-use-element-expected.svg: Added.
2786         * svg/custom/href-xlink-href-use-element.svg: Added.
2787
2788 2019-09-05  Joseph Pecoraro  <pecoraro@apple.com>
2789
2790         Tail Deleted Frames shown in Web Inspector are sometimes incorrect (Shadow Chicken)
2791         https://bugs.webkit.org/show_bug.cgi?id=201366
2792
2793         Reviewed by Saam Barati.
2794
2795         * inspector/debugger/tail-deleted-frames-expected.txt: Removed.
2796         * inspector/debugger/tail-deleted-frames-from-vm-entry-expected.txt: Removed.
2797         * inspector/debugger/tail-deleted-frames-from-vm-entry.html: Removed.
2798         * inspector/debugger/tail-deleted-frames-this-value-expected.txt: Removed.
2799         * inspector/debugger/tail-deleted-frames-this-value.html: Removed.
2800         * inspector/debugger/tail-deleted-frames.html: Removed.
2801         Remove legacy tests that are difficult to read.
2802
2803         * inspector/debugger/tail-deleted-frames/resources/stack-trace-utilities.js: Added.
2804         (TestPage.registerInitializer.window.getAsyncStackTrace):
2805         (TestPage.registerInitializer.async.logThisObject):
2806         (TestPage.registerInitializer.async.logScope):
2807         (TestPage.registerInitializer.async.logCallFrame):
2808         (TestPage.registerInitializer):
2809         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-frames.js: Added.
2810         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-native-tail-deleted-calls.js: Added.
2811         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-tail-deleted-frames.js: Added.
2812         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-scopes.js: Added.
2813         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-this-value.js: Added.
2814         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-vm-entry.js: Added.
2815         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-frames-expected.txt: Added.
2816         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-frames.html: Added.
2817         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-tail-deleted-frames-expected.txt: Added.
2818         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-tail-deleted-frames.html: Added.
2819         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-scopes-expected.txt: Added.
2820         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-scopes.html: Added.
2821         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-this-value-expected.txt: Added.
2822         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-this-value.html: Added.
2823         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-vm-entry-expected.txt: Added.
2824         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-vm-entry.html: Added.
2825         Include modern tests that are easier to read.
2826
2827         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-native-tail-deleted-calls-expected.txt: Added.
2828         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-native-tail-deleted-calls.html: Added.
2829         Include a test that is known to produce bad output, since we have reproductive steps.
2830
2831         * platform/mac/TestExpectations:
2832         Updated pathes.
2833
2834 2019-09-06  Darryl Pogue  <darryl@dpogue.ca>
2835
2836         REGRESSION(iOS 12): Keyboard dismissal leaves WKWebView viewport-fit=cover content offscreen
2837         https://bugs.webkit.org/show_bug.cgi?id=192564
2838
2839         Reviewed by Tim Horton.
2840
2841         Added tests to verify scrolling properly adapts to the keyboard insets on iOS.
2842
2843         * fast/scrolling/ios/scrollview-adjusts-to-keyboard-insets-expected.txt: Added.
2844         * fast/scrolling/ios/scrollview-adjusts-to-keyboard-insets.html: Added.
2845
2846 2019-09-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
2847
2848         Unreviewed, fix typo in r249216
2849
2850         Also change the <desc> element to be <text> element so the purpose of 
2851         the test is visible once it is opened.
2852
2853         * svg/custom/href-svg-namespace-animate-target-expected.svg:
2854         * svg/custom/href-svg-namespace-animate-target.svg:
2855
2856 2019-09-06  Ryan Haddad  <ryanhaddad@apple.com>
2857
2858         Unreviewed, rolling out r249566.
2859
2860         Causes inspector layout test crashes under GuardMalloc
2861
2862         Reverted changeset:
2863
2864         "Tail Deleted Frames shown in Web Inspector are sometimes
2865         incorrect (Shadow Chicken)"
2866         https://bugs.webkit.org/show_bug.cgi?id=201366
2867         https://trac.webkit.org/changeset/249566
2868
2869 2019-09-06  Rob Buis  <rbuis@igalia.com>
2870
2871         Implement MathML DOM
2872         https://bugs.webkit.org/show_bug.cgi?id=200470
2873
2874         Reviewed by Ryosuke Niwa.
2875
2876         Extend existing tests to also test focus for MathML. Add a standalone test for MathML
2877         based on svg/custom/tabindex-order.html. Add a test for mouse clicks and focus handling
2878         based on svg/custom/focus-event-handling.xhtml.
2879
2880         * fast/dom/tabindex-defaults-expected.txt:
2881         * fast/dom/tabindex-defaults.html:
2882         * mathml/focus-event-handling-expected.txt: Added.
2883         * mathml/focus-event-handling.html: Added.
2884         * mathml/tabindex-order-expected.txt: Added.
2885         * mathml/tabindex-order.html: Added.
2886         * platform/ios-wk2/TestExpectations:
2887
2888 2019-09-05  Joseph Pecoraro  <pecoraro@apple.com>
2889
2890         Web Inspector: Crashes when intercept response is a 404
2891         https://bugs.webkit.org/show_bug.cgi?id=201514
2892
2893         Reviewed by Alex Christensen.
2894
2895         * http/tests/inspector/network/local-resource-override-basic-expected.txt:
2896         * http/tests/inspector/network/local-resource-override-basic.html:
2897         Add a test for a 404 response override.
2898
2899 2019-09-05  Joseph Pecoraro  <pecoraro@apple.com>
2900
2901         Tail Deleted Frames shown in Web Inspector are sometimes incorrect (Shadow Chicken)
2902         https://bugs.webkit.org/show_bug.cgi?id=201366
2903
2904         Reviewed by Saam Barati.
2905
2906         * inspector/debugger/tail-deleted-frames-expected.txt: Removed.
2907         * inspector/debugger/tail-deleted-frames-from-vm-entry-expected.txt: Removed.
2908         * inspector/debugger/tail-deleted-frames-from-vm-entry.html: Removed.
2909         * inspector/debugger/tail-deleted-frames-this-value-expected.txt: Removed.
2910         * inspector/debugger/tail-deleted-frames-this-value.html: Removed.
2911         * inspector/debugger/tail-deleted-frames.html: Removed.
2912         Remove legacy tests that are difficult to read.
2913
2914         * inspector/debugger/tail-deleted-frames/resources/stack-trace-utilities.js: Added.
2915         (TestPage.registerInitializer.window.getAsyncStackTrace):
2916         (TestPage.registerInitializer.async.logThisObject):
2917         (TestPage.registerInitializer.async.logScope):
2918         (TestPage.registerInitializer.async.logCallFrame):
2919         (TestPage.registerInitializer):
2920         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-frames.js: Added.
2921         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-native-tail-deleted-calls.js: Added.
2922         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-tail-deleted-frames.js: Added.
2923         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-scopes.js: Added.
2924         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-this-value.js: Added.
2925         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-vm-entry.js: Added.
2926         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-frames-expected.txt: Added.
2927         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-frames.html: Added.
2928         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-tail-deleted-frames-expected.txt: Added.
2929         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-tail-deleted-frames.html: Added.
2930         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-scopes-expected.txt: Added.
2931         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-scopes.html: Added.
2932         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-this-value-expected.txt: Added.
2933         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-this-value.html: Added.
2934         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-vm-entry-expected.txt: Added.
2935         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-vm-entry.html: Added.
2936         Include modern tests that are easier to read.
2937
2938         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-native-tail-deleted-calls-expected.txt: Added.
2939         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-native-tail-deleted-calls.html: Added.
2940         Include a test that is known to produce bad output, since we have reproductive steps.
2941
2942         * platform/mac/TestExpectations:
2943         Updated pathes.
2944
2945 2019-09-06  Andres Gonzalez  <andresg_22@apple.com>
2946
2947         AccessibilityRenderObject::setSelectedTextRange fails to set the selection passed an empty line.
2948         https://bugs.webkit.org/show_bug.cgi?id=201518
2949         <rdar://problem/54835122>
2950
2951         Reviewed by Ryosuke Niwa.
2952
2953         Extended this test to set the selection range passed an empty line.
2954         * accessibility/set-selected-text-range-after-newline-expected.txt:
2955         * accessibility/set-selected-text-range-after-newline.html:
2956
2957 2019-09-05  Chris Dumez  <cdumez@apple.com>
2958
2959         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in js-test.js
2960         https://bugs.webkit.org/show_bug.cgi?id=201522
2961
2962         Reviewed by Alex Christensen.
2963
2964         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in js-test.js.
2965         Instead, use the new useEphemeralSession WKTR flag added in r249542.
2966
2967         * resources/js-test.js:
2968         * storage/indexeddb/aborted-versionchange-closes-private.html:
2969         * storage/indexeddb/basics-private.html:
2970         * storage/indexeddb/clone-exception-private.html:
2971         * storage/indexeddb/closed-cursor-private.html:
2972         * storage/indexeddb/connection-leak-private.html:
2973         * storage/indexeddb/create-and-remove-object-store-private.html:
2974         * storage/indexeddb/create-object-store-options-private.html:
2975         * storage/indexeddb/createIndex-after-failure-private.html:
2976         * storage/indexeddb/createObjectStore-name-argument-required-private.html:
2977         * storage/indexeddb/createObjectStore-null-name-private.html:
2978         * storage/indexeddb/cursor-added-bug-private.html:
2979         * storage/indexeddb/cursor-advance-private.html:
2980         * storage/indexeddb/cursor-basics-private.html:
2981         * storage/indexeddb/cursor-cast-private.html:
2982         * storage/indexeddb/cursor-continue-dir-private.html:
2983         * storage/indexeddb/cursor-continue-private.html:
2984         * storage/indexeddb/cursor-continue-validity-private.html:
2985         * storage/indexeddb/cursor-delete-private.html:
2986         * storage/indexeddb/cursor-finished-private.html:
2987         * storage/indexeddb/cursor-inconsistency-private.html:
2988         * storage/indexeddb/cursor-index-delete-private.html:
2989         * storage/indexeddb/cursor-key-order-private.html:
2990         * storage/indexeddb/cursor-leak-private.html:
2991         * storage/indexeddb/cursor-overloads-private.html:
2992         * storage/indexeddb/cursor-prev-no-duplicate-private.html:
2993         * storage/indexeddb/cursor-primary-key-order-private.html:
2994         * storage/indexeddb/cursor-properties-private.html:
2995         * storage/indexeddb/cursor-request-cycle-private.html:
2996         * storage/indexeddb/cursor-reverse-bug-private.html:
2997         * storage/indexeddb/cursor-skip-deleted-private.html:
2998         * storage/indexeddb/cursor-update-private.html:
2999         * storage/indexeddb/cursor-update-value-argument-required-private.html:
3000         * storage/indexeddb/cursor-value-private.html:
3001         * storage/indexeddb/database-basics-private.html:
3002         * storage/indexeddb/database-close-private.html:
3003         * storage/indexeddb/database-closepending-flag-private.html:
3004         * storage/indexeddb/database-deletepending-flag-private.html:
3005         * storage/indexeddb/database-name-undefined-private.html:
3006         * storage/indexeddb/database-odd-names-private.html:
3007         * storage/indexeddb/database-quota-private.html:
3008         * storage/indexeddb/database-wrapper-private.html:
3009         * storage/indexeddb/delete-closed-database-object-private.html:
3010         * storage/indexeddb/delete-in-upgradeneeded-close-in-open-success-private.html:
3011         * storage/indexeddb/delete-in-upgradeneeded-close-in-versionchange-private.html:
3012         * storage/indexeddb/delete-range-private.html:
3013         * storage/indexeddb/deleteIndex-bug110792-private.html:
3014         * storage/indexeddb/deleteIndex-private.html:
3015         * storage/indexeddb/deleteObjectStore-name-argument-required-private.html:
3016         * storage/indexeddb/deleteObjectStore-null-name-private.html:
3017         * storage/indexeddb/deleted-objects-private.html:
3018         * storage/indexeddb/deletedatabase-blocked-private.html:
3019         * storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-private.html:
3020         * storage/indexeddb/deletedatabase-not-blocked-private.html:
3021         * storage/indexeddb/deletedatabase-transaction-private.html:
3022         * storage/indexeddb/dont-commit-on-blocked-private.html:
3023         * storage/indexeddb/dont-wedge-private.html:
3024         * storage/indexeddb/duplicates-private.html:
3025         * storage/indexeddb/error-causes-abort-by-default-private.html:
3026         * storage/indexeddb/events-private.html:
3027         * storage/indexeddb/exception-in-event-aborts-private.html:
3028         * storage/indexeddb/exceptions-private.html:
3029         * storage/indexeddb/factory-cmp-private.html:
3030         * storage/indexeddb/factory-deletedatabase-private.html:
3031         * storage/indexeddb/get-keyrange-private.html:
3032         * storage/indexeddb/index-basics-private.html:
3033         * storage/indexeddb/index-count-private.html:
3034         * storage/indexeddb/index-cursor-private.html:
3035         * storage/indexeddb/index-duplicate-keypaths-private.html:
3036         * storage/indexeddb/index-get-key-argument-required-private.html:
3037         * storage/indexeddb/index-multientry-private.html:
3038         * storage/indexeddb/index-population-private.html:
3039         * storage/indexeddb/index-unique-private.html:
3040         * storage/indexeddb/interfaces-private.html:
3041         * storage/indexeddb/intversion-abort-in-initial-upgradeneeded-private.html:
3042         * storage/indexeddb/intversion-bad-parameters-private.html:
3043         * storage/indexeddb/intversion-blocked-private.html:
3044         * storage/indexeddb/intversion-close-between-events-private.html:
3045         * storage/indexeddb/intversion-close-in-oncomplete-private.html:
3046         * storage/indexeddb/intversion-close-in-upgradeneeded-private.html:
3047         * storage/indexeddb/intversion-encoding-private.html:
3048         * storage/indexeddb/intversion-gated-on-delete-private.html:
3049         * storage/indexeddb/intversion-long-queue-private.html:
3050         * storage/indexeddb/intversion-omit-parameter-private.html:
3051         * storage/indexeddb/intversion-open-in-upgradeneeded-private.html:
3052         * storage/indexeddb/intversion-open-with-version-private.html:
3053         * storage/indexeddb/intversion-pending-version-changes-ascending-private.html:
3054         * storage/indexeddb/intversion-pending-version-changes-descending-private.html:
3055         * storage/indexeddb/intversion-pending-version-changes-same-private.html:
3056         * storage/indexeddb/intversion-persistence-private.html:
3057         * storage/indexeddb/intversion-revert-on-abort-private.html:
3058         * storage/indexeddb/intversion-two-opens-no-versions-private.html:
3059         * storage/indexeddb/intversion-upgrades-private.html:
3060         * storage/indexeddb/invalid-keys-private.html:
3061         * storage/indexeddb/key-generator-private.html:
3062         * storage/indexeddb/key-sort-order-across-types-private.html:
3063         * storage/indexeddb/key-sort-order-date-private.html:
3064         * storage/indexeddb/key-type-array-private.html:
3065         * storage/indexeddb/key-type-binary-private.html:
3066         * storage/indexeddb/key-type-infinity-private.html:
3067         * storage/indexeddb/keypath-arrays-private.html:
3068         * storage/indexeddb/keypath-basics-private.html:
3069         * storage/indexeddb/keypath-edges-private.html:
3070         * storage/indexeddb/keypath-fetch-key-private.html:
3071         * storage/indexeddb/keypath-intrinsic-properties-private.html:
3072         * storage/indexeddb/keyrange-private.html:
3073         * storage/indexeddb/keyrange-required-arguments-private.html:
3074         * storage/indexeddb/lazy-index-population-private.html:
3075         * storage/indexeddb/lazy-index-types-private.html:
3076         * storage/indexeddb/legacy-constants-private.html:
3077         * storage/indexeddb/list-ordering-private.html:
3078         * storage/indexeddb/metadata-private.html:
3079         * storage/indexeddb/metadata-race-private.html:
3080         * storage/indexeddb/modern/abort-objectstore-info-private.html:
3081         * storage/indexeddb/modern/abort-requests-cancelled-private.html:
3082         * storage/indexeddb/modern/aborted-put-private.html:
3083         * storage/indexeddb/modern/autoincrement-abort-private.html:
3084         * storage/indexeddb/modern/basic-add-private.html:
3085         * storage/indexeddb/modern/basic-put-private.html:
3086         * storage/indexeddb/modern/binary-keys-1-private.html:
3087         * storage/indexeddb/modern/blocked-open-db-requests-private.html:
3088         * storage/indexeddb/modern/create-index-failures-private.html:
3089         * storage/indexeddb/modern/createobjectstore-basic-private.html:
3090         * storage/indexeddb/modern/createobjectstore-failures-private.html:
3091         * storage/indexeddb/modern/cursor-1-private.html:
3092         * storage/indexeddb/modern/cursor-2-private.html:
3093         * storage/indexeddb/modern/cursor-3-private.html:
3094         * storage/indexeddb/modern/cursor-4-private.html:
3095         * storage/indexeddb/modern/cursor-5-private.html:
3096         * storage/indexeddb/modern/cursor-6-private.html:
3097         * storage/indexeddb/modern/cursor-7-private.html:
3098         * storage/indexeddb/modern/cursor-8-private.html:
3099         * storage/indexeddb/modern/date-basic-private.html:
3100         * storage/indexeddb/modern/deletedatabase-1-private.html:
3101         * storage/indexeddb/modern/deletedatabase-2-private.html:
3102         * storage/indexeddb/modern/deletedatabase-null-name-exception-private.html:
3103         * storage/indexeddb/modern/deletedatabase-request-event-private.html:
3104         * storage/indexeddb/modern/deletedatabase-request-private.html:
3105         * storage/indexeddb/modern/deleteindex-1-private.html:
3106         * storage/indexeddb/modern/deleteindex-2-private.html:
3107         * storage/indexeddb/modern/deleteindex-3-private.html:
3108         * storage/indexeddb/modern/deleteindex-4-private.html:
3109         * storage/indexeddb/modern/deleteobjectstore-1-private.html:
3110         * storage/indexeddb/modern/double-abort-private.html:
3111         * storage/indexeddb/modern/double-open-private.html:
3112         * storage/indexeddb/modern/gc-closes-database-private.html:
3113         * storage/indexeddb/modern/get-index-failures-private.html:
3114         * storage/indexeddb/modern/get-keyrange-private.html:
3115         * storage/indexeddb/modern/idbcursor-continue-primary-key-1-private.html:
3116         * storage/indexeddb/modern/idbdatabase-deleteobjectstore-failures-private.html:
3117         * storage/indexeddb/modern/idbdatabase-transaction-failures-private.html:
3118         * storage/indexeddb/modern/idbindex-getall-1-private.html:
3119         * storage/indexeddb/modern/idbindex-getallkeys-1-private.html:
3120         * storage/indexeddb/modern/idbindex-properties-basic-private.html:
3121         * storage/indexeddb/modern/idbkey-array-equality-private.html:
3122         * storage/indexeddb/modern/idbobjectstore-clear-1-private.html:
3123         * storage/indexeddb/modern/idbobjectstore-clear-2-private.html:
3124         * storage/indexeddb/modern/idbobjectstore-count-1-private.html:
3125         * storage/indexeddb/modern/idbobjectstore-count-failures-private.html:
3126         * storage/indexeddb/modern/idbobjectstore-delete-1-private.html:
3127         * storage/indexeddb/modern/idbobjectstore-delete-2-private.html:
3128         * storage/indexeddb/modern/idbobjectstore-delete-failures-private.html:
3129         * storage/indexeddb/modern/idbobjectstore-get-failures-private.html:
3130         * storage/indexeddb/modern/idbobjectstore-getall-1-private.html:
3131         * storage/indexeddb/modern/idbobjectstore-getallkeys-1-private.html:
3132         * storage/indexeddb/modern/idbobjectstore-getkey-1-private.html:
3133         * storage/indexeddb/modern/idbobjectstore-put-and-clear-failures-private.html:
3134         * storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html:
3135         * storage/indexeddb/modern/idbtransaction-objectstores-1-private.html:
3136         * storage/indexeddb/modern/index-1-private.html:
3137         * storage/indexeddb/modern/index-2-private.html:
3138         * storage/indexeddb/modern/index-3-private.html:
3139         * storage/indexeddb/modern/index-4-private.html:
3140         * storage/indexeddb/modern/index-5-private.html:
3141         * storage/indexeddb/modern/index-cursor-1-private.html:
3142         * storage/indexeddb/modern/index-cursor-2-private.html:
3143         * storage/indexeddb/modern/index-cursor-3-private.html:
3144         * storage/indexeddb/modern/index-get-count-basic-private.html:
3145         * storage/indexeddb/modern/index-get-count-failures-private.html:
3146         * storage/indexeddb/modern/index-rename-1-private.html:
3147         * storage/indexeddb/modern/keypath-basic-private.html:
3148         * storage/indexeddb/modern/memory-index-not-deleted-with-objectstore-private.html:
3149         * storage/indexeddb/modern/multiple-objectstore-index-cursor-collision-private.html:
3150         * storage/indexeddb/modern/objectstore-attributes-private.html:
3151         * storage/indexeddb/modern/objectstore-cursor-advance-failures-private.html:
3152         * storage/indexeddb/modern/objectstore-cursor-continue-failures-private.html:
3153         * storage/indexeddb/modern/objectstore-rename-1-private.html:
3154         * storage/indexeddb/modern/opencursor-failures-private.html:
3155         * storage/indexeddb/modern/opendatabase-request-event-private.html:
3156         * storage/indexeddb/modern/opendatabase-request-private.html:
3157         * storage/indexeddb/modern/opendatabase-success-after-versionchange-private.html:
3158         * storage/indexeddb/modern/opendatabase-versions-private.html:
3159         * storage/indexeddb/modern/request-readystate-private.html:
3160         * storage/indexeddb/modern/single-entry-index-invalid-key-crash-private.html:
3161         * storage/indexeddb/modern/transaction-scheduler-1-private.html:
3162         * storage/indexeddb/modern/transaction-scheduler-2-private.html:
3163         * storage/indexeddb/modern/transaction-scheduler-3-private.html:
3164         * storage/indexeddb/modern/transaction-scheduler-4-private.html:
3165         * storage/indexeddb/modern/transaction-scheduler-5-private.html:
3166         * storage/indexeddb/modern/transaction-scheduler-6-private.html:
3167         * storage/indexeddb/modern/transactions-stop-on-navigation-private.html:
3168         * storage/indexeddb/modern/versionchange-abort-then-reopen-private.html:
3169         * storage/indexeddb/modern/versionchange-event-private.html:
3170         * storage/indexeddb/mozilla/add-twice-failure-private.html:
3171         * storage/indexeddb/mozilla/autoincrement-indexes-private.html:
3172         * storage/indexeddb/mozilla/bad-keypath-private.html:
3173         * storage/indexeddb/mozilla/clear-private.html:
3174         * storage/indexeddb/mozilla/create-index-unique-private.html:
3175         * storage/indexeddb/mozilla/create-index-with-integer-keys-private.html:
3176         * storage/indexeddb/mozilla/create-objectstore-basics-private.html:
3177         * storage/indexeddb/mozilla/create-objectstore-null-name-private.html:
3178         * storage/indexeddb/mozilla/cursor-mutation-objectstore-only-private.html:
3179         * storage/indexeddb/mozilla/cursor-mutation-private.html:
3180         * storage/indexeddb/mozilla/cursor-update-updates-indexes-private.html:
3181         * storage/indexeddb/mozilla/cursors-private.html:
3182         * storage/indexeddb/mozilla/delete-result-private.html:
3183         * storage/indexeddb/mozilla/event-source-private.html:
3184         * storage/indexeddb/mozilla/global-data-private.html:
3185         * storage/indexeddb/mozilla/index-prev-no-duplicate-private.html:
3186         * storage/indexeddb/mozilla/indexes-private.html:
3187         * storage/indexeddb/mozilla/key-requirements-delete-null-key-private.html:
3188         * storage/indexeddb/mozilla/key-requirements-inline-and-passed-private.html:
3189         * storage/indexeddb/mozilla/key-requirements-private.html:
3190         * storage/indexeddb/mozilla/key-requirements-put-no-key-private.html:
3191         * storage/indexeddb/mozilla/key-requirements-put-null-key-private.html:
3192         * storage/indexeddb/mozilla/object-cursors-private.html:
3193         * storage/indexeddb/mozilla/object-identity-private.html:
3194         * storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put-private.html:
3195         * storage/indexeddb/mozilla/object-store-remove-values-private.html:
3196         * storage/indexeddb/mozilla/objectstorenames-private.html:
3197         * storage/indexeddb/mozilla/odd-result-order-private.html:
3198         * storage/indexeddb/mozilla/open-database-null-name-private.html:
3199         * storage/indexeddb/mozilla/put-get-values-private.html:
3200         * storage/indexeddb/mozilla/readonly-transactions-private.html:
3201         * storage/indexeddb/mozilla/readwrite-transactions-private.html:
3202         * storage/indexeddb/mozilla/readyState-private.html:
3203         * storage/indexeddb/mozilla/remove-index-private.html:
3204         * storage/indexeddb/mozilla/remove-objectstore-private.html:
3205         * storage/indexeddb/mozilla/versionchange-abort-private.html:
3206         * storage/indexeddb/mutating-cursor-private.html:
3207         * storage/indexeddb/object-lookups-in-versionchange-private.html:
3208         * storage/indexeddb/objectStore-required-arguments-private.html:
3209         * storage/indexeddb/objectstore-autoincrement-private.html:
3210         * storage/indexeddb/objectstore-basics-private.html:
3211         * storage/indexeddb/objectstore-clear-private.html:
3212         * storage/indexeddb/objectstore-count-private.html:
3213         * storage/indexeddb/objectstore-cursor-private.html:
3214         * storage/indexeddb/objectstore-removeobjectstore-private.html:
3215         * storage/indexeddb/odd-strings-private.html:
3216         * storage/indexeddb/open-bad-versions-private.html:
3217         * storage/indexeddb/open-cursor-private.html:
3218         * storage/indexeddb/open-during-transaction-private.html:
3219         * storage/indexeddb/open-ordering-private.html:
3220         * storage/indexeddb/opencursor-key-private.html:
3221         * storage/indexeddb/optional-arguments-private.html:
3222         * storage/indexeddb/pending-activity-private.html:
3223         * storage/indexeddb/pending-version-change-on-exit-private.html:
3224         * storage/indexeddb/pending-version-change-stuck-private.html:
3225         * storage/indexeddb/pending-version-change-stuck-works-with-terminate-private.html:
3226         * storage/indexeddb/persistence-private.html:
3227         * storage/indexeddb/prefetch-bugfix-108071-private.html:
3228         * storage/indexeddb/prefetch-invalidation-private.html:
3229         * storage/indexeddb/prefetch-race-private.html:
3230         * storage/indexeddb/primary-key-unique-to-objectstore-private.html:
3231         * storage/indexeddb/queued-commands-private.html:
3232         * storage/indexeddb/readonly-private.html:
3233         * storage/indexeddb/readonly-properties-private.html:
3234         * storage/indexeddb/removed-private.html:
3235         * storage/indexeddb/request-continue-abort-private.html:
3236         * storage/indexeddb/request-event-propagation-private.html:
3237         * storage/indexeddb/request-leak-private.html:
3238         * storage/indexeddb/request-result-cache-private.html:
3239         * storage/indexeddb/set_version_blocked-private.html:
3240         * storage/indexeddb/setversion-blocked-by-versionchange-close-private.html:
3241         * storage/indexeddb/setversion-not-blocked-private.html:
3242         * storage/indexeddb/structured-clone-private.html:
3243         * storage/indexeddb/transaction-abort-private.html:
3244         * storage/indexeddb/transaction-active-flag-private.html:
3245         * storage/indexeddb/transaction-after-close-private.html:
3246         * storage/indexeddb/transaction-and-objectstore-calls-private.html:
3247         * storage/indexeddb/transaction-basics-private.html:
3248         * storage/indexeddb/transaction-complete-with-js-recursion-cross-frame-private.html:
3249         * storage/indexeddb/transaction-complete-with-js-recursion-private.html:
3250         * storage/indexeddb/transaction-complete-workers-private.html:
3251         * storage/indexeddb/transaction-coordination-across-databases-private.html:
3252         * storage/indexeddb/transaction-coordination-within-database-private.html:
3253         * storage/indexeddb/transaction-crash-in-tasks-private.html:
3254         * storage/indexeddb/transaction-crash-on-abort-private.html:
3255         * storage/indexeddb/transaction-error-private.html:
3256         * storage/indexeddb/transaction-event-propagation-private.html:
3257         * storage/indexeddb/transaction-ordering-private.html:
3258         * storage/indexeddb/transaction-overlapping-private.html:
3259         * storage/indexeddb/transaction-read-only-private.html:
3260         * storage/indexeddb/transaction-readwrite-exclusive-private.html:
3261         * storage/indexeddb/transaction-rollback-private.html:
3262         * storage/indexeddb/transaction-scope-sequencing-private.html:
3263         * storage/indexeddb/transaction-storeNames-required-private.html:
3264         * storage/indexeddb/unblocked-version-changes-private.html:
3265         * storage/indexeddb/unprefix-private.html:
3266         * storage/indexeddb/value-undefined-private.html:
3267         * storage/indexeddb/values-odd-types-private.html:
3268         * storage/indexeddb/version-change-abort-private.html:
3269         * storage/indexeddb/version-change-event-basic-private.html:
3270         * storage/indexeddb/version-change-event-private.html:
3271         * storage/indexeddb/version-change-exclusive-private.html:
3272         * storage/indexeddb/versionchangerequest-activedomobject-private.html:
3273
3274 2019-09-05  Chris Dumez  <cdumez@apple.com>
3275
3276         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/cache/disk-cache/disk-cache-vary-cookie.html
3277         https://bugs.webkit.org/show_bug.cgi?id=201524
3278
3279         Reviewed by Alex Christensen.
3280
3281         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() as it does not do the right thing for WebKit2.
3282         Instead, use the new useEphemeralSession WKTR flag added in r249542.
3283
3284         * http/tests/cache/disk-cache/disk-cache-vary-cookie-expected.txt:
3285         * http/tests/cache/disk-cache/disk-cache-vary-cookie-private-expected.txt: Added.
3286         * http/tests/cache/disk-cache/disk-cache-vary-cookie-private.html: Copied from LayoutTests/http/tests/cache/disk-cache/disk-cache-vary-cookie.html.
3287         * http/tests/cache/disk-cache/disk-cache-vary-cookie.html:
3288
3289 2019-09-05  Chris Dumez  <cdumez@apple.com>
3290
3291         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in plugins/private-browsing-mode.html
3292         https://bugs.webkit.org/show_bug.cgi?id=201523
3293
3294         Reviewed by Alex Christensen.
3295
3296         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in plugins/private-browsing-mode.html
3297         since it does not do the right thing for WebKit2. Instead, use the new useEphemeralSession
3298         WKTR flag.
3299
3300         * platform/mac-wk2/TestExpectations:
3301         * platform/mac/TestExpectations:
3302         * plugins/non-private-browsing-mode-expected.txt: Added.
3303         * plugins/non-private-browsing-mode.html: Added.
3304         * plugins/private-browsing-mode-expected.txt:
3305         * plugins/private-browsing-mode.html:
3306
3307 2019-09-05  Justin Fan  <justin_fan@apple.com>
3308
3309         [WebGPU] Fix new test results after adding console warnings
3310         https://bugs.webkit.org/show_bug.cgi?id=201526
3311
3312         Unreviewed test expectation updates.
3313
3314         * webgpu/buffer-errors-expected.txt:
3315         * webgpu/map-read-buffers-expected.txt:
3316         * webgpu/map-write-buffers-expected.txt:
3317         * webgpu/render-pipelines.html: Fix WHLSL compile error.
3318         * webgpu/uncaptured-errors-expected.txt: Added.
3319         * webgpu/whlsl/use-undefined-variable-2-expected.txt:
3320         * webgpu/whlsl/use-undefined-variable-expected.txt:
3321
3322 2019-09-05  Ryan Haddad  <ryanhaddad@apple.com>
3323
3324         Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/ready.https.html is a flaky failure
3325         https://bugs.webkit.org/show_bug.cgi?id=181837
3326
3327         Unreviewed test gardening.
3328
3329         * platform/ios/TestExpectations: Mark test as flaky.
3330         * platform/mac/TestExpectations: Ditto.
3331
3332 2019-09-05  Russell Epstein  <repstein@apple.com>
3333
3334         Layout Test media/audio-concurrent-supported.html is a flaky failure.
3335         rdar://55081191
3336
3337         Unreviewed Test Gardening.
3338
3339         * platform/ios/TestExpectations:
3340         * platform/mac/TestExpectations:
3341
3342 2019-09-05  Chris Dumez  <cdumez@apple.com>
3343
3344         [WK2] Add proper layout test support for ephemeral sessions
3345         https://bugs.webkit.org/show_bug.cgi?id=201475
3346
3347         Reviewed by Antti Koivisto.
3348
3349         Update existing layout tests to either switch to the new mechanism when trivial or to rename
3350         setPrivateBrowsingEnabled() to setPrivateBrowsingEnabled_DEPRECATED() when it is not.
3351
3352         * crypto/subtle/rsa-indexeddb-non-exportable-private.html:
3353         * crypto/subtle/rsa-indexeddb-private.html:
3354         * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html:
3355         * http/tests/adClickAttribution/resources/util.js:
3356         (tearDownAndFinish):
3357         * http/tests/adClickAttribution/store-disabled-in-ephemeral-session.html:
3358         * http/tests/cache-storage/cache-persistency.https.html:
3359         * http/tests/cache-storage/cache-representation.https.html:
3360         * http/tests/cache/disk-cache/disk-cache-vary-cookie.html:
3361         * http/tests/cookies/private-cookie-storage.html:
3362         * http/tests/media/now-playing-info-private-browsing.html:
3363         * http/tests/security/appcache-in-private-browsing.html:
3364         * http/tests/security/appcache-switching-private-browsing.html:
3365         * http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-enabled-expected.txt:
3366         * http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-enabled.php:
3367         * http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-toggled.php:
3368         * http/tests/security/contentSecurityPolicy/report-same-origin-no-cookies-when-private-browsing-toggled.php:
3369         * http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-when-private-browsing-enabled-expected.txt:
3370         * http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-when-private-browsing-enabled.php:
3371         * http/tests/security/cookies/resources/first-party-cookie-allow.xsl:
3372         * http/tests/security/cookies/resources/third-party-cookie-blocking.xsl:
3373         * http/tests/security/cookies/third-party-cookie-blocking-main-frame.html:
3374         * http/tests/security/cookies/third-party-cookie-blocking-redirect.html:
3375         * http/tests/security/cookies/third-party-cookie-blocking-user-action.html:
3376         * http/tests/security/cookies/third-party-cookie-blocking.html:
3377         * http/tests/security/cross-frame-access-private-browsing.html:
3378         * http/tests/security/cross-origin-plugin-private-browsing-toggled-allowed.html:
3379         * http/tests/security/cross-origin-plugin-private-browsing-toggled.html:
3380         * http/tests/security/private-browsing-http-auth.html:
3381         * http/tests/security/storage-blocking-loosened-private-browsing-plugin.html: