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