Prefer null namespace 'href' over 'xlink:href' on SVG elements
[WebKit-https.git] / LayoutTests / ChangeLog
1 2019-09-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
2
3         Prefer null namespace 'href' over 'xlink:href' on SVG elements
4         https://bugs.webkit.org/show_bug.cgi?id=195802
5
6         Reviewed by Youenn Fablet.
7
8         * svg/custom/href-xlink-href-gradient-element-expected.svg: Added.
9         * svg/custom/href-xlink-href-gradient-element.svg: Added.
10         * svg/custom/href-xlink-href-use-element-expected.svg: Added.
11         * svg/custom/href-xlink-href-use-element.svg: Added.
12
13 2019-09-05  Joseph Pecoraro  <pecoraro@apple.com>
14
15         Tail Deleted Frames shown in Web Inspector are sometimes incorrect (Shadow Chicken)
16         https://bugs.webkit.org/show_bug.cgi?id=201366
17
18         Reviewed by Saam Barati.
19
20         * inspector/debugger/tail-deleted-frames-expected.txt: Removed.
21         * inspector/debugger/tail-deleted-frames-from-vm-entry-expected.txt: Removed.
22         * inspector/debugger/tail-deleted-frames-from-vm-entry.html: Removed.
23         * inspector/debugger/tail-deleted-frames-this-value-expected.txt: Removed.
24         * inspector/debugger/tail-deleted-frames-this-value.html: Removed.
25         * inspector/debugger/tail-deleted-frames.html: Removed.
26         Remove legacy tests that are difficult to read.
27
28         * inspector/debugger/tail-deleted-frames/resources/stack-trace-utilities.js: Added.
29         (TestPage.registerInitializer.window.getAsyncStackTrace):
30         (TestPage.registerInitializer.async.logThisObject):
31         (TestPage.registerInitializer.async.logScope):
32         (TestPage.registerInitializer.async.logCallFrame):
33         (TestPage.registerInitializer):
34         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-frames.js: Added.
35         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-native-tail-deleted-calls.js: Added.
36         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-tail-deleted-frames.js: Added.
37         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-scopes.js: Added.
38         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-this-value.js: Added.
39         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-vm-entry.js: Added.
40         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-frames-expected.txt: Added.
41         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-frames.html: Added.
42         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-tail-deleted-frames-expected.txt: Added.
43         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-tail-deleted-frames.html: Added.
44         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-scopes-expected.txt: Added.
45         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-scopes.html: Added.
46         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-this-value-expected.txt: Added.
47         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-this-value.html: Added.
48         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-vm-entry-expected.txt: Added.
49         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-vm-entry.html: Added.
50         Include modern tests that are easier to read.
51
52         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-native-tail-deleted-calls-expected.txt: Added.
53         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-native-tail-deleted-calls.html: Added.
54         Include a test that is known to produce bad output, since we have reproductive steps.
55
56         * platform/mac/TestExpectations:
57         Updated pathes.
58
59 2019-09-06  Darryl Pogue  <darryl@dpogue.ca>
60
61         REGRESSION(iOS 12): Keyboard dismissal leaves WKWebView viewport-fit=cover content offscreen
62         https://bugs.webkit.org/show_bug.cgi?id=192564
63
64         Reviewed by Tim Horton.
65
66         Added tests to verify scrolling properly adapts to the keyboard insets on iOS.
67
68         * fast/scrolling/ios/scrollview-adjusts-to-keyboard-insets-expected.txt: Added.
69         * fast/scrolling/ios/scrollview-adjusts-to-keyboard-insets.html: Added.
70
71 2019-09-06  Said Abou-Hallawa  <sabouhallawa@apple.com>
72
73         Unreviewed, fix typo in r249216
74
75         Also change the <desc> element to be <text> element so the purpose of 
76         the test is visible once it is opened.
77
78         * svg/custom/href-svg-namespace-animate-target-expected.svg:
79         * svg/custom/href-svg-namespace-animate-target.svg:
80
81 2019-09-06  Ryan Haddad  <ryanhaddad@apple.com>
82
83         Unreviewed, rolling out r249566.
84
85         Causes inspector layout test crashes under GuardMalloc
86
87         Reverted changeset:
88
89         "Tail Deleted Frames shown in Web Inspector are sometimes
90         incorrect (Shadow Chicken)"
91         https://bugs.webkit.org/show_bug.cgi?id=201366
92         https://trac.webkit.org/changeset/249566
93
94 2019-09-06  Rob Buis  <rbuis@igalia.com>
95
96         Implement MathML DOM
97         https://bugs.webkit.org/show_bug.cgi?id=200470
98
99         Reviewed by Ryosuke Niwa.
100
101         Extend existing tests to also test focus for MathML. Add a standalone test for MathML
102         based on svg/custom/tabindex-order.html. Add a test for mouse clicks and focus handling
103         based on svg/custom/focus-event-handling.xhtml.
104
105         * fast/dom/tabindex-defaults-expected.txt:
106         * fast/dom/tabindex-defaults.html:
107         * mathml/focus-event-handling-expected.txt: Added.
108         * mathml/focus-event-handling.html: Added.
109         * mathml/tabindex-order-expected.txt: Added.
110         * mathml/tabindex-order.html: Added.
111         * platform/ios-wk2/TestExpectations:
112
113 2019-09-05  Joseph Pecoraro  <pecoraro@apple.com>
114
115         Web Inspector: Crashes when intercept response is a 404
116         https://bugs.webkit.org/show_bug.cgi?id=201514
117
118         Reviewed by Alex Christensen.
119
120         * http/tests/inspector/network/local-resource-override-basic-expected.txt:
121         * http/tests/inspector/network/local-resource-override-basic.html:
122         Add a test for a 404 response override.
123
124 2019-09-05  Joseph Pecoraro  <pecoraro@apple.com>
125
126         Tail Deleted Frames shown in Web Inspector are sometimes incorrect (Shadow Chicken)
127         https://bugs.webkit.org/show_bug.cgi?id=201366
128
129         Reviewed by Saam Barati.
130
131         * inspector/debugger/tail-deleted-frames-expected.txt: Removed.
132         * inspector/debugger/tail-deleted-frames-from-vm-entry-expected.txt: Removed.
133         * inspector/debugger/tail-deleted-frames-from-vm-entry.html: Removed.
134         * inspector/debugger/tail-deleted-frames-this-value-expected.txt: Removed.
135         * inspector/debugger/tail-deleted-frames-this-value.html: Removed.
136         * inspector/debugger/tail-deleted-frames.html: Removed.
137         Remove legacy tests that are difficult to read.
138
139         * inspector/debugger/tail-deleted-frames/resources/stack-trace-utilities.js: Added.
140         (TestPage.registerInitializer.window.getAsyncStackTrace):
141         (TestPage.registerInitializer.async.logThisObject):
142         (TestPage.registerInitializer.async.logScope):
143         (TestPage.registerInitializer.async.logCallFrame):
144         (TestPage.registerInitializer):
145         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-frames.js: Added.
146         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-native-tail-deleted-calls.js: Added.
147         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-intermediate-tail-deleted-frames.js: Added.
148         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-scopes.js: Added.
149         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-this-value.js: Added.
150         * inspector/debugger/tail-deleted-frames/resources/tail-deleted-frames-vm-entry.js: Added.
151         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-frames-expected.txt: Added.
152         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-frames.html: Added.
153         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-tail-deleted-frames-expected.txt: Added.
154         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-tail-deleted-frames.html: Added.
155         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-scopes-expected.txt: Added.
156         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-scopes.html: Added.
157         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-this-value-expected.txt: Added.
158         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-this-value.html: Added.
159         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-vm-entry-expected.txt: Added.
160         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-vm-entry.html: Added.
161         Include modern tests that are easier to read.
162
163         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-native-tail-deleted-calls-expected.txt: Added.
164         * inspector/debugger/tail-deleted-frames/tail-deleted-frames-intermediate-native-tail-deleted-calls.html: Added.
165         Include a test that is known to produce bad output, since we have reproductive steps.
166
167         * platform/mac/TestExpectations:
168         Updated pathes.
169
170 2019-09-06  Andres Gonzalez  <andresg_22@apple.com>
171
172         AccessibilityRenderObject::setSelectedTextRange fails to set the selection passed an empty line.
173         https://bugs.webkit.org/show_bug.cgi?id=201518
174         <rdar://problem/54835122>
175
176         Reviewed by Ryosuke Niwa.
177
178         Extended this test to set the selection range passed an empty line.
179         * accessibility/set-selected-text-range-after-newline-expected.txt:
180         * accessibility/set-selected-text-range-after-newline.html:
181
182 2019-09-05  Chris Dumez  <cdumez@apple.com>
183
184         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in js-test.js
185         https://bugs.webkit.org/show_bug.cgi?id=201522
186
187         Reviewed by Alex Christensen.
188
189         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in js-test.js.
190         Instead, use the new useEphemeralSession WKTR flag added in r249542.
191
192         * resources/js-test.js:
193         * storage/indexeddb/aborted-versionchange-closes-private.html:
194         * storage/indexeddb/basics-private.html:
195         * storage/indexeddb/clone-exception-private.html:
196         * storage/indexeddb/closed-cursor-private.html:
197         * storage/indexeddb/connection-leak-private.html:
198         * storage/indexeddb/create-and-remove-object-store-private.html:
199         * storage/indexeddb/create-object-store-options-private.html:
200         * storage/indexeddb/createIndex-after-failure-private.html:
201         * storage/indexeddb/createObjectStore-name-argument-required-private.html:
202         * storage/indexeddb/createObjectStore-null-name-private.html:
203         * storage/indexeddb/cursor-added-bug-private.html:
204         * storage/indexeddb/cursor-advance-private.html:
205         * storage/indexeddb/cursor-basics-private.html:
206         * storage/indexeddb/cursor-cast-private.html:
207         * storage/indexeddb/cursor-continue-dir-private.html:
208         * storage/indexeddb/cursor-continue-private.html:
209         * storage/indexeddb/cursor-continue-validity-private.html:
210         * storage/indexeddb/cursor-delete-private.html:
211         * storage/indexeddb/cursor-finished-private.html:
212         * storage/indexeddb/cursor-inconsistency-private.html:
213         * storage/indexeddb/cursor-index-delete-private.html:
214         * storage/indexeddb/cursor-key-order-private.html:
215         * storage/indexeddb/cursor-leak-private.html:
216         * storage/indexeddb/cursor-overloads-private.html:
217         * storage/indexeddb/cursor-prev-no-duplicate-private.html:
218         * storage/indexeddb/cursor-primary-key-order-private.html:
219         * storage/indexeddb/cursor-properties-private.html:
220         * storage/indexeddb/cursor-request-cycle-private.html:
221         * storage/indexeddb/cursor-reverse-bug-private.html:
222         * storage/indexeddb/cursor-skip-deleted-private.html:
223         * storage/indexeddb/cursor-update-private.html:
224         * storage/indexeddb/cursor-update-value-argument-required-private.html:
225         * storage/indexeddb/cursor-value-private.html:
226         * storage/indexeddb/database-basics-private.html:
227         * storage/indexeddb/database-close-private.html:
228         * storage/indexeddb/database-closepending-flag-private.html:
229         * storage/indexeddb/database-deletepending-flag-private.html:
230         * storage/indexeddb/database-name-undefined-private.html:
231         * storage/indexeddb/database-odd-names-private.html:
232         * storage/indexeddb/database-quota-private.html:
233         * storage/indexeddb/database-wrapper-private.html:
234         * storage/indexeddb/delete-closed-database-object-private.html:
235         * storage/indexeddb/delete-in-upgradeneeded-close-in-open-success-private.html:
236         * storage/indexeddb/delete-in-upgradeneeded-close-in-versionchange-private.html:
237         * storage/indexeddb/delete-range-private.html:
238         * storage/indexeddb/deleteIndex-bug110792-private.html:
239         * storage/indexeddb/deleteIndex-private.html:
240         * storage/indexeddb/deleteObjectStore-name-argument-required-private.html:
241         * storage/indexeddb/deleteObjectStore-null-name-private.html:
242         * storage/indexeddb/deleted-objects-private.html:
243         * storage/indexeddb/deletedatabase-blocked-private.html:
244         * storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-private.html:
245         * storage/indexeddb/deletedatabase-not-blocked-private.html:
246         * storage/indexeddb/deletedatabase-transaction-private.html:
247         * storage/indexeddb/dont-commit-on-blocked-private.html:
248         * storage/indexeddb/dont-wedge-private.html:
249         * storage/indexeddb/duplicates-private.html:
250         * storage/indexeddb/error-causes-abort-by-default-private.html:
251         * storage/indexeddb/events-private.html:
252         * storage/indexeddb/exception-in-event-aborts-private.html:
253         * storage/indexeddb/exceptions-private.html:
254         * storage/indexeddb/factory-cmp-private.html:
255         * storage/indexeddb/factory-deletedatabase-private.html:
256         * storage/indexeddb/get-keyrange-private.html:
257         * storage/indexeddb/index-basics-private.html:
258         * storage/indexeddb/index-count-private.html:
259         * storage/indexeddb/index-cursor-private.html:
260         * storage/indexeddb/index-duplicate-keypaths-private.html:
261         * storage/indexeddb/index-get-key-argument-required-private.html:
262         * storage/indexeddb/index-multientry-private.html:
263         * storage/indexeddb/index-population-private.html:
264         * storage/indexeddb/index-unique-private.html:
265         * storage/indexeddb/interfaces-private.html:
266         * storage/indexeddb/intversion-abort-in-initial-upgradeneeded-private.html:
267         * storage/indexeddb/intversion-bad-parameters-private.html:
268         * storage/indexeddb/intversion-blocked-private.html:
269         * storage/indexeddb/intversion-close-between-events-private.html:
270         * storage/indexeddb/intversion-close-in-oncomplete-private.html:
271         * storage/indexeddb/intversion-close-in-upgradeneeded-private.html:
272         * storage/indexeddb/intversion-encoding-private.html:
273         * storage/indexeddb/intversion-gated-on-delete-private.html:
274         * storage/indexeddb/intversion-long-queue-private.html:
275         * storage/indexeddb/intversion-omit-parameter-private.html:
276         * storage/indexeddb/intversion-open-in-upgradeneeded-private.html:
277         * storage/indexeddb/intversion-open-with-version-private.html:
278         * storage/indexeddb/intversion-pending-version-changes-ascending-private.html:
279         * storage/indexeddb/intversion-pending-version-changes-descending-private.html:
280         * storage/indexeddb/intversion-pending-version-changes-same-private.html:
281         * storage/indexeddb/intversion-persistence-private.html:
282         * storage/indexeddb/intversion-revert-on-abort-private.html:
283         * storage/indexeddb/intversion-two-opens-no-versions-private.html:
284         * storage/indexeddb/intversion-upgrades-private.html:
285         * storage/indexeddb/invalid-keys-private.html:
286         * storage/indexeddb/key-generator-private.html:
287         * storage/indexeddb/key-sort-order-across-types-private.html:
288         * storage/indexeddb/key-sort-order-date-private.html:
289         * storage/indexeddb/key-type-array-private.html:
290         * storage/indexeddb/key-type-binary-private.html:
291         * storage/indexeddb/key-type-infinity-private.html:
292         * storage/indexeddb/keypath-arrays-private.html:
293         * storage/indexeddb/keypath-basics-private.html:
294         * storage/indexeddb/keypath-edges-private.html:
295         * storage/indexeddb/keypath-fetch-key-private.html:
296         * storage/indexeddb/keypath-intrinsic-properties-private.html:
297         * storage/indexeddb/keyrange-private.html:
298         * storage/indexeddb/keyrange-required-arguments-private.html:
299         * storage/indexeddb/lazy-index-population-private.html:
300         * storage/indexeddb/lazy-index-types-private.html:
301         * storage/indexeddb/legacy-constants-private.html:
302         * storage/indexeddb/list-ordering-private.html:
303         * storage/indexeddb/metadata-private.html:
304         * storage/indexeddb/metadata-race-private.html:
305         * storage/indexeddb/modern/abort-objectstore-info-private.html:
306         * storage/indexeddb/modern/abort-requests-cancelled-private.html:
307         * storage/indexeddb/modern/aborted-put-private.html:
308         * storage/indexeddb/modern/autoincrement-abort-private.html:
309         * storage/indexeddb/modern/basic-add-private.html:
310         * storage/indexeddb/modern/basic-put-private.html:
311         * storage/indexeddb/modern/binary-keys-1-private.html:
312         * storage/indexeddb/modern/blocked-open-db-requests-private.html:
313         * storage/indexeddb/modern/create-index-failures-private.html:
314         * storage/indexeddb/modern/createobjectstore-basic-private.html:
315         * storage/indexeddb/modern/createobjectstore-failures-private.html:
316         * storage/indexeddb/modern/cursor-1-private.html:
317         * storage/indexeddb/modern/cursor-2-private.html:
318         * storage/indexeddb/modern/cursor-3-private.html:
319         * storage/indexeddb/modern/cursor-4-private.html:
320         * storage/indexeddb/modern/cursor-5-private.html:
321         * storage/indexeddb/modern/cursor-6-private.html:
322         * storage/indexeddb/modern/cursor-7-private.html:
323         * storage/indexeddb/modern/cursor-8-private.html:
324         * storage/indexeddb/modern/date-basic-private.html:
325         * storage/indexeddb/modern/deletedatabase-1-private.html:
326         * storage/indexeddb/modern/deletedatabase-2-private.html:
327         * storage/indexeddb/modern/deletedatabase-null-name-exception-private.html:
328         * storage/indexeddb/modern/deletedatabase-request-event-private.html:
329         * storage/indexeddb/modern/deletedatabase-request-private.html:
330         * storage/indexeddb/modern/deleteindex-1-private.html:
331         * storage/indexeddb/modern/deleteindex-2-private.html:
332         * storage/indexeddb/modern/deleteindex-3-private.html:
333         * storage/indexeddb/modern/deleteindex-4-private.html:
334         * storage/indexeddb/modern/deleteobjectstore-1-private.html:
335         * storage/indexeddb/modern/double-abort-private.html:
336         * storage/indexeddb/modern/double-open-private.html:
337         * storage/indexeddb/modern/gc-closes-database-private.html:
338         * storage/indexeddb/modern/get-index-failures-private.html:
339         * storage/indexeddb/modern/get-keyrange-private.html:
340         * storage/indexeddb/modern/idbcursor-continue-primary-key-1-private.html:
341         * storage/indexeddb/modern/idbdatabase-deleteobjectstore-failures-private.html:
342         * storage/indexeddb/modern/idbdatabase-transaction-failures-private.html:
343         * storage/indexeddb/modern/idbindex-getall-1-private.html:
344         * storage/indexeddb/modern/idbindex-getallkeys-1-private.html:
345         * storage/indexeddb/modern/idbindex-properties-basic-private.html:
346         * storage/indexeddb/modern/idbkey-array-equality-private.html:
347         * storage/indexeddb/modern/idbobjectstore-clear-1-private.html:
348         * storage/indexeddb/modern/idbobjectstore-clear-2-private.html:
349         * storage/indexeddb/modern/idbobjectstore-count-1-private.html:
350         * storage/indexeddb/modern/idbobjectstore-count-failures-private.html:
351         * storage/indexeddb/modern/idbobjectstore-delete-1-private.html:
352         * storage/indexeddb/modern/idbobjectstore-delete-2-private.html:
353         * storage/indexeddb/modern/idbobjectstore-delete-failures-private.html:
354         * storage/indexeddb/modern/idbobjectstore-get-failures-private.html:
355         * storage/indexeddb/modern/idbobjectstore-getall-1-private.html:
356         * storage/indexeddb/modern/idbobjectstore-getallkeys-1-private.html:
357         * storage/indexeddb/modern/idbobjectstore-getkey-1-private.html:
358         * storage/indexeddb/modern/idbobjectstore-put-and-clear-failures-private.html:
359         * storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html:
360         * storage/indexeddb/modern/idbtransaction-objectstores-1-private.html:
361         * storage/indexeddb/modern/index-1-private.html:
362         * storage/indexeddb/modern/index-2-private.html:
363         * storage/indexeddb/modern/index-3-private.html:
364         * storage/indexeddb/modern/index-4-private.html:
365         * storage/indexeddb/modern/index-5-private.html:
366         * storage/indexeddb/modern/index-cursor-1-private.html:
367         * storage/indexeddb/modern/index-cursor-2-private.html:
368         * storage/indexeddb/modern/index-cursor-3-private.html:
369         * storage/indexeddb/modern/index-get-count-basic-private.html:
370         * storage/indexeddb/modern/index-get-count-failures-private.html:
371         * storage/indexeddb/modern/index-rename-1-private.html:
372         * storage/indexeddb/modern/keypath-basic-private.html:
373         * storage/indexeddb/modern/memory-index-not-deleted-with-objectstore-private.html:
374         * storage/indexeddb/modern/multiple-objectstore-index-cursor-collision-private.html:
375         * storage/indexeddb/modern/objectstore-attributes-private.html:
376         * storage/indexeddb/modern/objectstore-cursor-advance-failures-private.html:
377         * storage/indexeddb/modern/objectstore-cursor-continue-failures-private.html:
378         * storage/indexeddb/modern/objectstore-rename-1-private.html:
379         * storage/indexeddb/modern/opencursor-failures-private.html:
380         * storage/indexeddb/modern/opendatabase-request-event-private.html:
381         * storage/indexeddb/modern/opendatabase-request-private.html:
382         * storage/indexeddb/modern/opendatabase-success-after-versionchange-private.html:
383         * storage/indexeddb/modern/opendatabase-versions-private.html:
384         * storage/indexeddb/modern/request-readystate-private.html:
385         * storage/indexeddb/modern/single-entry-index-invalid-key-crash-private.html:
386         * storage/indexeddb/modern/transaction-scheduler-1-private.html:
387         * storage/indexeddb/modern/transaction-scheduler-2-private.html:
388         * storage/indexeddb/modern/transaction-scheduler-3-private.html:
389         * storage/indexeddb/modern/transaction-scheduler-4-private.html:
390         * storage/indexeddb/modern/transaction-scheduler-5-private.html:
391         * storage/indexeddb/modern/transaction-scheduler-6-private.html:
392         * storage/indexeddb/modern/transactions-stop-on-navigation-private.html:
393         * storage/indexeddb/modern/versionchange-abort-then-reopen-private.html:
394         * storage/indexeddb/modern/versionchange-event-private.html:
395         * storage/indexeddb/mozilla/add-twice-failure-private.html:
396         * storage/indexeddb/mozilla/autoincrement-indexes-private.html:
397         * storage/indexeddb/mozilla/bad-keypath-private.html:
398         * storage/indexeddb/mozilla/clear-private.html:
399         * storage/indexeddb/mozilla/create-index-unique-private.html:
400         * storage/indexeddb/mozilla/create-index-with-integer-keys-private.html:
401         * storage/indexeddb/mozilla/create-objectstore-basics-private.html:
402         * storage/indexeddb/mozilla/create-objectstore-null-name-private.html:
403         * storage/indexeddb/mozilla/cursor-mutation-objectstore-only-private.html:
404         * storage/indexeddb/mozilla/cursor-mutation-private.html:
405         * storage/indexeddb/mozilla/cursor-update-updates-indexes-private.html:
406         * storage/indexeddb/mozilla/cursors-private.html:
407         * storage/indexeddb/mozilla/delete-result-private.html:
408         * storage/indexeddb/mozilla/event-source-private.html:
409         * storage/indexeddb/mozilla/global-data-private.html:
410         * storage/indexeddb/mozilla/index-prev-no-duplicate-private.html:
411         * storage/indexeddb/mozilla/indexes-private.html:
412         * storage/indexeddb/mozilla/key-requirements-delete-null-key-private.html:
413         * storage/indexeddb/mozilla/key-requirements-inline-and-passed-private.html:
414         * storage/indexeddb/mozilla/key-requirements-private.html:
415         * storage/indexeddb/mozilla/key-requirements-put-no-key-private.html:
416         * storage/indexeddb/mozilla/key-requirements-put-null-key-private.html:
417         * storage/indexeddb/mozilla/object-cursors-private.html:
418         * storage/indexeddb/mozilla/object-identity-private.html:
419         * storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put-private.html:
420         * storage/indexeddb/mozilla/object-store-remove-values-private.html:
421         * storage/indexeddb/mozilla/objectstorenames-private.html:
422         * storage/indexeddb/mozilla/odd-result-order-private.html:
423         * storage/indexeddb/mozilla/open-database-null-name-private.html:
424         * storage/indexeddb/mozilla/put-get-values-private.html:
425         * storage/indexeddb/mozilla/readonly-transactions-private.html:
426         * storage/indexeddb/mozilla/readwrite-transactions-private.html:
427         * storage/indexeddb/mozilla/readyState-private.html:
428         * storage/indexeddb/mozilla/remove-index-private.html:
429         * storage/indexeddb/mozilla/remove-objectstore-private.html:
430         * storage/indexeddb/mozilla/versionchange-abort-private.html:
431         * storage/indexeddb/mutating-cursor-private.html:
432         * storage/indexeddb/object-lookups-in-versionchange-private.html:
433         * storage/indexeddb/objectStore-required-arguments-private.html:
434         * storage/indexeddb/objectstore-autoincrement-private.html:
435         * storage/indexeddb/objectstore-basics-private.html:
436         * storage/indexeddb/objectstore-clear-private.html:
437         * storage/indexeddb/objectstore-count-private.html:
438         * storage/indexeddb/objectstore-cursor-private.html:
439         * storage/indexeddb/objectstore-removeobjectstore-private.html:
440         * storage/indexeddb/odd-strings-private.html:
441         * storage/indexeddb/open-bad-versions-private.html:
442         * storage/indexeddb/open-cursor-private.html:
443         * storage/indexeddb/open-during-transaction-private.html:
444         * storage/indexeddb/open-ordering-private.html:
445         * storage/indexeddb/opencursor-key-private.html:
446         * storage/indexeddb/optional-arguments-private.html:
447         * storage/indexeddb/pending-activity-private.html:
448         * storage/indexeddb/pending-version-change-on-exit-private.html:
449         * storage/indexeddb/pending-version-change-stuck-private.html:
450         * storage/indexeddb/pending-version-change-stuck-works-with-terminate-private.html:
451         * storage/indexeddb/persistence-private.html:
452         * storage/indexeddb/prefetch-bugfix-108071-private.html:
453         * storage/indexeddb/prefetch-invalidation-private.html:
454         * storage/indexeddb/prefetch-race-private.html:
455         * storage/indexeddb/primary-key-unique-to-objectstore-private.html:
456         * storage/indexeddb/queued-commands-private.html:
457         * storage/indexeddb/readonly-private.html:
458         * storage/indexeddb/readonly-properties-private.html:
459         * storage/indexeddb/removed-private.html:
460         * storage/indexeddb/request-continue-abort-private.html:
461         * storage/indexeddb/request-event-propagation-private.html:
462         * storage/indexeddb/request-leak-private.html:
463         * storage/indexeddb/request-result-cache-private.html:
464         * storage/indexeddb/set_version_blocked-private.html:
465         * storage/indexeddb/setversion-blocked-by-versionchange-close-private.html:
466         * storage/indexeddb/setversion-not-blocked-private.html:
467         * storage/indexeddb/structured-clone-private.html:
468         * storage/indexeddb/transaction-abort-private.html:
469         * storage/indexeddb/transaction-active-flag-private.html:
470         * storage/indexeddb/transaction-after-close-private.html:
471         * storage/indexeddb/transaction-and-objectstore-calls-private.html:
472         * storage/indexeddb/transaction-basics-private.html:
473         * storage/indexeddb/transaction-complete-with-js-recursion-cross-frame-private.html:
474         * storage/indexeddb/transaction-complete-with-js-recursion-private.html:
475         * storage/indexeddb/transaction-complete-workers-private.html:
476         * storage/indexeddb/transaction-coordination-across-databases-private.html:
477         * storage/indexeddb/transaction-coordination-within-database-private.html:
478         * storage/indexeddb/transaction-crash-in-tasks-private.html:
479         * storage/indexeddb/transaction-crash-on-abort-private.html:
480         * storage/indexeddb/transaction-error-private.html:
481         * storage/indexeddb/transaction-event-propagation-private.html:
482         * storage/indexeddb/transaction-ordering-private.html:
483         * storage/indexeddb/transaction-overlapping-private.html:
484         * storage/indexeddb/transaction-read-only-private.html:
485         * storage/indexeddb/transaction-readwrite-exclusive-private.html:
486         * storage/indexeddb/transaction-rollback-private.html:
487         * storage/indexeddb/transaction-scope-sequencing-private.html:
488         * storage/indexeddb/transaction-storeNames-required-private.html:
489         * storage/indexeddb/unblocked-version-changes-private.html:
490         * storage/indexeddb/unprefix-private.html:
491         * storage/indexeddb/value-undefined-private.html:
492         * storage/indexeddb/values-odd-types-private.html:
493         * storage/indexeddb/version-change-abort-private.html:
494         * storage/indexeddb/version-change-event-basic-private.html:
495         * storage/indexeddb/version-change-event-private.html:
496         * storage/indexeddb/version-change-exclusive-private.html:
497         * storage/indexeddb/versionchangerequest-activedomobject-private.html:
498
499 2019-09-05  Chris Dumez  <cdumez@apple.com>
500
501         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in http/tests/cache/disk-cache/disk-cache-vary-cookie.html
502         https://bugs.webkit.org/show_bug.cgi?id=201524
503
504         Reviewed by Alex Christensen.
505
506         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() as it does not do the right thing for WebKit2.
507         Instead, use the new useEphemeralSession WKTR flag added in r249542.
508
509         * http/tests/cache/disk-cache/disk-cache-vary-cookie-expected.txt:
510         * http/tests/cache/disk-cache/disk-cache-vary-cookie-private-expected.txt: Added.
511         * http/tests/cache/disk-cache/disk-cache-vary-cookie-private.html: Copied from LayoutTests/http/tests/cache/disk-cache/disk-cache-vary-cookie.html.
512         * http/tests/cache/disk-cache/disk-cache-vary-cookie.html:
513
514 2019-09-05  Chris Dumez  <cdumez@apple.com>
515
516         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in plugins/private-browsing-mode.html
517         https://bugs.webkit.org/show_bug.cgi?id=201523
518
519         Reviewed by Alex Christensen.
520
521         Stop using testRunner.setPrivateBrowsingEnabled_DEPRECATED() in plugins/private-browsing-mode.html
522         since it does not do the right thing for WebKit2. Instead, use the new useEphemeralSession
523         WKTR flag.
524
525         * platform/mac-wk2/TestExpectations:
526         * platform/mac/TestExpectations:
527         * plugins/non-private-browsing-mode-expected.txt: Added.
528         * plugins/non-private-browsing-mode.html: Added.
529         * plugins/private-browsing-mode-expected.txt:
530         * plugins/private-browsing-mode.html:
531
532 2019-09-05  Justin Fan  <justin_fan@apple.com>
533
534         [WebGPU] Fix new test results after adding console warnings
535         https://bugs.webkit.org/show_bug.cgi?id=201526
536
537         Unreviewed test expectation updates.
538
539         * webgpu/buffer-errors-expected.txt:
540         * webgpu/map-read-buffers-expected.txt:
541         * webgpu/map-write-buffers-expected.txt:
542         * webgpu/render-pipelines.html: Fix WHLSL compile error.
543         * webgpu/uncaptured-errors-expected.txt: Added.
544         * webgpu/whlsl/use-undefined-variable-2-expected.txt:
545         * webgpu/whlsl/use-undefined-variable-expected.txt:
546
547 2019-09-05  Ryan Haddad  <ryanhaddad@apple.com>
548
549         Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/ready.https.html is a flaky failure
550         https://bugs.webkit.org/show_bug.cgi?id=181837
551
552         Unreviewed test gardening.
553
554         * platform/ios/TestExpectations: Mark test as flaky.
555         * platform/mac/TestExpectations: Ditto.
556
557 2019-09-05  Russell Epstein  <repstein@apple.com>
558
559         Layout Test media/audio-concurrent-supported.html is a flaky failure.
560         rdar://55081191
561
562         Unreviewed Test Gardening.
563
564         * platform/ios/TestExpectations:
565         * platform/mac/TestExpectations:
566
567 2019-09-05  Chris Dumez  <cdumez@apple.com>
568
569         [WK2] Add proper layout test support for ephemeral sessions
570         https://bugs.webkit.org/show_bug.cgi?id=201475
571
572         Reviewed by Antti Koivisto.
573
574         Update existing layout tests to either switch to the new mechanism when trivial or to rename
575         setPrivateBrowsingEnabled() to setPrivateBrowsingEnabled_DEPRECATED() when it is not.
576
577         * crypto/subtle/rsa-indexeddb-non-exportable-private.html:
578         * crypto/subtle/rsa-indexeddb-private.html:
579         * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html:
580         * http/tests/adClickAttribution/resources/util.js:
581         (tearDownAndFinish):
582         * http/tests/adClickAttribution/store-disabled-in-ephemeral-session.html:
583         * http/tests/cache-storage/cache-persistency.https.html:
584         * http/tests/cache-storage/cache-representation.https.html:
585         * http/tests/cache/disk-cache/disk-cache-vary-cookie.html:
586         * http/tests/cookies/private-cookie-storage.html:
587         * http/tests/media/now-playing-info-private-browsing.html:
588         * http/tests/security/appcache-in-private-browsing.html:
589         * http/tests/security/appcache-switching-private-browsing.html:
590         * http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-enabled-expected.txt:
591         * http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-enabled.php:
592         * http/tests/security/contentSecurityPolicy/report-cross-origin-no-cookies-when-private-browsing-toggled.php:
593         * http/tests/security/contentSecurityPolicy/report-same-origin-no-cookies-when-private-browsing-toggled.php:
594         * http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-when-private-browsing-enabled-expected.txt:
595         * http/tests/security/contentSecurityPolicy/report-same-origin-with-cookies-when-private-browsing-enabled.php:
596         * http/tests/security/cookies/resources/first-party-cookie-allow.xsl:
597         * http/tests/security/cookies/resources/third-party-cookie-blocking.xsl:
598         * http/tests/security/cookies/third-party-cookie-blocking-main-frame.html:
599         * http/tests/security/cookies/third-party-cookie-blocking-redirect.html:
600         * http/tests/security/cookies/third-party-cookie-blocking-user-action.html:
601         * http/tests/security/cookies/third-party-cookie-blocking.html:
602         * http/tests/security/cross-frame-access-private-browsing.html:
603         * http/tests/security/cross-origin-plugin-private-browsing-toggled-allowed.html:
604         * http/tests/security/cross-origin-plugin-private-browsing-toggled.html:
605         * http/tests/security/private-browsing-http-auth.html:
606         * http/tests/security/storage-blocking-loosened-private-browsing-plugin.html:
607         * http/tests/security/storage-blocking-strengthened-private-browsing-plugin.html:
608         * http/tests/security/strip-referrer-to-origin-for-third-party-redirects-in-private-mode.html:
609         * http/tests/security/strip-referrer-to-origin-for-third-party-requests-in-private-mode.html:
610         * http/tests/storageAccess/has-storage-access-true-if-feature-off.html:
611         * http/tests/workers/service/resources/basic-register.js:
612         (async.test):
613         * http/tests/workers/service/serviceworker-private-browsing.https.html:
614         * http/wpt/fetch/dnt-header-after-redirection.html:
615         * platform/wk2/TestExpectations:
616         * plugins/private-browsing-mode-2.html:
617         * plugins/private-browsing-mode.html:
618         * resources/js-test.js:
619         * storage/domstorage/localstorage/private-browsing-affects-storage.html:
620         * storage/domstorage/localstorage/resources/private-browsing-1.html:
621         * storage/domstorage/localstorage/resources/private-browsing-2.html:
622         * storage/indexeddb/open-db-private-browsing.html:
623         * storage/indexeddb/resources/open-db-private-browsing.js:
624         * storage/websql/private-browsing-noread-nowrite.html:
625         * storage/websql/private-browsing-open-disabled.html:
626
627 2019-09-05  Justin Fan  <justin_fan@apple.com>
628
629         [WebGPU] Implement GPUUncapturedErrorEvent
630         https://bugs.webkit.org/show_bug.cgi?id=199676
631
632         Reviewed by Dean Jackson.
633
634         Add a test to ensure GPUUncapturedErrorEvents work.
635
636         * webgpu/uncaptured-errors.html: Added.
637
638 2019-09-05  Ryan Haddad  <ryanhaddad@apple.com>
639
640         [iOS] Layout Test imported/w3c/web-platform-tests/html/semantics/embedded-content/the-video-element/video_timeupdate_on_seek.html is failing
641         https://bugs.webkit.org/show_bug.cgi?id=201509
642
643         Unreviewed test gardening.
644
645         * platform/ios-simulator/TestExpectations: Mark test as failing.
646
647 2019-09-05  Antti Koivisto  <antti@apple.com>
648
649         Generate event region for both the main graphics layer and the scrolled contents layer
650         https://bugs.webkit.org/show_bug.cgi?id=201487
651
652         Reviewed by Simon Fraser.
653
654         * pointerevents/ios/touch-action-region-backing-sharing-expected.txt:
655         * pointerevents/ios/touch-action-region-overflow-expected.txt:
656
657 2019-09-05  Ryosuke Niwa  <rniwa@webkit.org>
658
659         REGRESSION (iOS 13): Bulleted list copied from Notes to Mail results in Times New Roman
660         https://bugs.webkit.org/show_bug.cgi?id=201490
661
662         Reviewed by Daniel Bates.
663
664         Added a test to make sure -webkit-standard font family name isn't stripped away when sanitization is not in effect.
665
666         * editing/pasteboard/paste-cocoa-writer-markup-with-webkit-standard-font-family-expected.txt: Added.
667         * editing/pasteboard/paste-cocoa-writer-markup-with-webkit-standard-font-family.html: Added.
668
669 2019-09-05  Chris Fleizach  <cfleizach@apple.com>
670
671         AX: children cache are not re-computed if tab index is removed
672         https://bugs.webkit.org/show_bug.cgi?id=201502
673
674         Reviewed by Zalan Bujtas.
675
676         * accessibility/tabindex-removed-expected.txt: Added.
677         * accessibility/tabindex-removed.html: Added.
678
679 2019-09-04  Fujii Hironori  <Hironori.Fujii@sony.com>
680
681         [AppleWin] fast/block/float/float-with-anonymous-previous-sibling.html is failing as flaky ImageOnlyFailure
682         https://bugs.webkit.org/show_bug.cgi?id=201491
683
684         Unreviewed test gardening.
685
686         * platform/win/TestExpectations: Marked it.
687
688 2019-09-04  Timothy Hatcher  <timothy@apple.com>
689
690         Mail appears to be double inverting code copied from Notes, Xcode, or Terminal.
691         https://bugs.webkit.org/show_bug.cgi?id=201368
692         rdar://problem/40529867
693
694         Reviewed by Ryosuke Niwa.
695
696         * TestExpectations:
697         * editing/pasteboard/paste-dark-mode-color-filtered-expected.txt: Added.
698         * editing/pasteboard/paste-dark-mode-color-filtered.html: Added.
699         * platform/ios-12/TestExpectations:
700         * platform/ios/TestExpectations:
701         * platform/mac/TestExpectations:
702
703 2019-09-06  Simon Fraser  <simon.fraser@apple.com>
704
705         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
706         https://bugs.webkit.org/show_bug.cgi?id=201528
707         rdar://problem/55044885
708
709         Reviewed by Frédéric Wang.
710
711         * scrollingcoordinator/ios/scroller-initial-scroll-position-expected.html: Added.
712         * scrollingcoordinator/ios/scroller-initial-scroll-position.html: Added.
713
714 2019-09-04  Yusuke Suzuki  <ysuzuki@apple.com>
715
716         [JSC] Make Promise implementation faster
717         https://bugs.webkit.org/show_bug.cgi?id=200898
718
719         Reviewed by Saam Barati.
720
721         * inspector/canvas/recording-bitmaprenderer-frameCount-expected.txt:
722         * inspector/canvas/recording-bitmaprenderer-full-expected.txt:
723         * inspector/canvas/recording-bitmaprenderer-memoryLimit-expected.txt:
724         * inspector/console/message-stack-trace-expected.txt:
725         * inspector/console/queryHolders-expected.txt:
726         * js/Promise-types-expected.txt:
727         * js/dom/Promise-resolve-with-itself-expected.txt:
728         * js/dom/Promise-resolve-with-itself.html:
729         * js/script-tests/Promise-types.js:
730
731 2019-09-04  Tim Horton  <timothy_horton@apple.com>
732
733         Line artifacts in note body after viewing note with <attachment>s
734         https://bugs.webkit.org/show_bug.cgi?id=201474
735         <rdar://problem/51306108>
736
737         Reviewed by Simon Fraser.
738
739         * fast/attachment/attachment-border-should-stay-inside-attachment-expected.html: Added.
740         * fast/attachment/attachment-border-should-stay-inside-attachment.html: Added.
741         Add a test that ensures that <attachment> stays inside its bounds.
742
743 2019-09-04  Joseph Pecoraro  <pecoraro@apple.com>
744
745         Web Inspector: Local Overrides - Provide substitution content for resource loads (URL based)
746         https://bugs.webkit.org/show_bug.cgi?id=201262
747         <rdar://problem/13108764>
748
749         Reviewed by Devin Rousso.
750
751         * http/tests/inspector/network/local-resource-override-basic-expected.txt: Added.
752         * http/tests/inspector/network/local-resource-override-basic.html: Added.
753         * http/tests/inspector/network/local-resource-override-main-resource-expected.txt: Added.
754         * http/tests/inspector/network/local-resource-override-main-resource.html: Added.
755         * http/tests/inspector/network/local-resource-override-script-tag-expected.txt: Added.
756         * http/tests/inspector/network/local-resource-override-script-tag.html: Added.
757         * http/tests/inspector/network/resource-response-inspector-override-expected.txt: Added.
758         * http/tests/inspector/network/resource-response-inspector-override.html: Added.
759         * http/tests/inspector/network/resources/override.js: Added.
760         * http/tests/inspector/network/resources/override.txt: Added.
761         * inspector/network/local-resource-override-continue-response-expected.txt: Added.
762         * inspector/network/local-resource-override-continue-response.html: Added.
763         Tests for overrides.
764
765         * inspector/unit-tests/url-utilities-expected.txt:
766         * inspector/unit-tests/url-utilities.html:
767         Test WI.urlWithoutFragment.
768
769         * platform/mac-wk1/TestExpectations:
770         WebKitLegacy does not support overrides.
771
772 2019-09-04  Said Abou-Hallawa  <sabouhallawa@apple.com>
773
774         Address review comments after r249364
775         https://bugs.webkit.org/show_bug.cgi?id=201432
776
777         Reviewed by Simon Fraser.
778
779         Fix the <img> CSS width properties by adding the "px" units. 
780
781         * fast/images/exif-orientation-background-expected.html:
782         * fast/images/exif-orientation-canvas-expected.html:
783         * fast/images/exif-orientation-canvas.html:
784         * fast/images/exif-orientation-composited-expected.html:
785         * fast/images/exif-orientation-composited.html:
786         Remove the CSS border to enable the composited image code path.
787
788         * fast/images/exif-orientation-content-expected.html:
789         * fast/images/exif-orientation-element-expected.html:
790         * fast/images/exif-orientation-element.html:
791         * fast/images/exif-orientation-image-document-expected.html:
792         * fast/images/exif-orientation-image-document.html:
793         * fast/images/exif-orientation-image-object-expected.html:
794         * fast/images/exif-orientation-image-object.html:
795         * fast/images/exif-orientation-svg-feimage-expected.html:
796         * fast/images/exif-orientation-svg-feimage.html:
797         * fast/images/exif-orientation-svg-image-expected.html:
798         * fast/images/exif-orientation-svg-image.html:
799
800 2019-09-04  Said Abou-Hallawa  <sabouhallawa@apple.com>
801
802         REGRESSION (r249364): Layout Test webgpu/texture-triangle-strip.html is Failing
803         https://bugs.webkit.org/show_bug.cgi?id=201425
804
805         Reviewed by Myles C. Maxfield.
806
807         The orientation of webgpu/resources/blue-checkered.png is OriginRightTop.
808         Because r249364 made the image orientation respected everywhere including
809         the canvas drawImage(), the expected result does not match the output of
810         the test anymore.
811
812         The fix is to change the the expected result to match the image drawing
813         when the image orientation is respected.
814
815         * webgpu/js/webgpu-functions.js:
816         (drawGreenAndBlueCheckerboardInSoftware):
817
818 2019-09-03  Myles C. Maxfield  <mmaxfield@apple.com>
819
820         [WHLSL] Implement SampleLevel(), SampleBias(), and SampleGrad()
821         https://bugs.webkit.org/show_bug.cgi?id=201385
822
823         Reviewed by Dean Jackson.
824
825         * webgpu/whlsl/textures-sample-bias-expected.html: Added.
826         * webgpu/whlsl/textures-sample-bias.html: Added.
827         * webgpu/whlsl/textures-sample-grad-expected.html: Added.
828         * webgpu/whlsl/textures-sample-grad.html: Added.
829         * webgpu/whlsl/textures-sample-level-expected.html: Added.
830         * webgpu/whlsl/textures-sample-level.html: Added.
831
832 2019-09-03  Devin Rousso  <drousso@apple.com>
833
834         Web Inspector: implement blackboxing of script resources
835         https://bugs.webkit.org/show_bug.cgi?id=17240
836         <rdar://problem/5732847>
837
838         Reviewed by Joseph Pecoraro.
839
840         * inspector/debugger/setShouldBlackboxURL.html: Added.
841         * inspector/debugger/setShouldBlackboxURL-expected.txt: Added.
842
843         * inspector/model/remote-object-api-expected.txt:
844         Update output since `WI.TestHarness.prototype.expectException` now logs the `.constructor.name`.
845
846 2019-09-03  Devin Rousso  <drousso@apple.com>
847
848         REGRESSION (r249132): [macOS WK2] Layout Test inspector/layers/layerTreeDidChange.html is a flaky failure
849         https://bugs.webkit.org/show_bug.cgi?id=201435
850
851         Reviewed by Joseph Pecoraro.
852
853         r249132 changed the `InspectorLayerTreeAgent` to reset the flag that controls whether the
854         frontend should be notified about layer changes when `disable` is called, which happens when
855         Web Inspector disconnects.
856
857         Sometimes, a layer change event can be "in flight" when this happens, meaning that the Web
858         Inspector frontend can receive a layer change event before it requests the new layer data.
859
860         This is normally handled by the Web Inspector UI, as the associated DOM node would no longer
861         exist, so the UI paths would early return.
862
863         * inspector/layers/layerTreeDidChange.html:
864         Only listen for layer change events once we've triggered a guaranteed layer update, as any
865         "in flight" events from previous tests could be incorrectly logged as part of this test.
866
867 2019-09-03  Devin Rousso  <drousso@apple.com>
868
869         REGRESSION (r249078): Flaky crash in com.apple.JavaScriptCore: Inspector::InjectedScriptModule::ensureInjected
870         https://bugs.webkit.org/show_bug.cgi?id=201201
871         <rdar://problem/54771560>
872
873         Reviewed by Joseph Pecoraro.
874
875         * inspector/debugger/tail-deleted-frames-this-value.html:
876         * inspector/debugger/tail-deleted-frames-this-value-expected.txt:
877         * inspector/debugger/resources/tail-deleted-frames-this-value.js:
878         * inspector/timeline/line-column-expected.txt:
879
880 2019-09-04  Simon Fraser  <simon.fraser@apple.com>
881
882         Cancelled transitions on Google image search leave content with opacity 0 sometimes
883         https://bugs.webkit.org/show_bug.cgi?id=201482
884         rdar://problem/54921036
885
886         Reviewed by Tim Horton.
887
888         * legacy-animation-engine/compositing/transitions/add-remove-transition-expected.html: Added.
889         * legacy-animation-engine/compositing/transitions/add-remove-transition.html: Added.
890
891 2019-09-03  Jiewen Tan  <jiewen_tan@apple.com>
892
893         [WebAuthn] Enable WebAuthn by default for MobileSafari and SafariViewService
894         https://bugs.webkit.org/show_bug.cgi?id=201369
895         <rdar://problem/54903724>
896
897         Reviewed by Brent Fulgham.
898
899         * http/wpt/webauthn/public-key-credential-get-success-nfc.https.html:
900         Imporves the test a bit.
901
902 2019-09-03  Antoine Quint  <graouts@apple.com>
903
904         [iOS] Treat a two-finger single tap as if the user tapped with the Cmd key pressed
905         https://bugs.webkit.org/show_bug.cgi?id=201420
906         <rdar://problem/53207786>
907
908         Reviewed by Simon Fraser.
909
910         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.
911
912         * fast/events/ios/click-event-two-finger-single-tap-meta-key-expected.txt: Added.
913         * fast/events/ios/click-event-two-finger-single-tap-meta-key.html: Added.
914
915 2019-09-03  Rob Buis  <rbuis@igalia.com>
916
917         Remove support for load/error on link=prefetch
918         https://bugs.webkit.org/show_bug.cgi?id=201348
919
920         Reviewed by Youenn Fablet.
921
922         Adjust beforeload tests to also test load/error events.
923
924         * http/tests/cache/link-prefetch-main-resource-iframe.html:
925         * http/tests/cache/link-prefetch-main-resource.html:
926         * http/wpt/prefetch/beforeload-dynamic-expected.txt: Removed.
927         * http/wpt/prefetch/beforeload-expected.txt: Removed.
928         * http/wpt/prefetch/load-events-dynamic-expected.txt: Added.
929         * http/wpt/prefetch/load-events-dynamic.html: Renamed from LayoutTests/http/wpt/prefetch/beforeload-dynamic.html.
930         * http/wpt/prefetch/load-events-expected.txt: Added.
931         * http/wpt/prefetch/load-events.html: Renamed from LayoutTests/http/wpt/prefetch/beforeload.html.
932         * http/wpt/prefetch/resources/navigate-skip-disk-cache.html:
933         * http/wpt/prefetch/resources/navigate.html:
934         * platform/mac-wk1/TestExpectations:
935         * platform/win/TestExpectations:
936
937 2019-09-02  Fujii Hironori  <Hironori.Fujii@sony.com>
938
939         [SVG] fragment-only url 'url(#fragment)' should be resolved against the current document with regardless to HTML <base> element
940         https://bugs.webkit.org/show_bug.cgi?id=189499
941         <rdar://problem/44466206>
942
943         Reviewed by Said Abou-Hallawa.
944
945         These test cases are imported from Blink's commit, and modified for WebKit.
946         <https://chromium.googlesource.com/chromium/src/+/e7d7225c33aa7fc42ee390125b01df9167fad106%5E%21/>
947
948         * TestExpectations:
949         * css3/filters/effect-reference-local-url-with-base-expected.html: Added.
950         * css3/filters/effect-reference-local-url-with-base.html: Added.
951         * css3/filters/effect-reference.html:
952         * css3/masking/clip-path-reference-local-url-with-base-expected.html: Added.
953         * css3/masking/clip-path-reference-local-url-with-base.html: Added.
954         * http/tests/svg/local-url-with-valid-base-and-resource-expected.html: Added.
955         * http/tests/svg/local-url-with-valid-base-and-resource.html: Added.
956         * http/tests/svg/resources/red100x100.svg: Added.
957         * platform/gtk/TestExpectations: Marked svg/custom/local-url-reference-marker.html as ImageOnlyFailure for Bug 113849.
958         * platform/wpe/TestExpectations: Ditto.
959         * svg/animations/local-url-target-reference-expected.html: Added.
960         * svg/animations/local-url-target-reference.html: Added.
961         * svg/custom/linking-base-external-reference-expected.txt: Removed. This was a test for old spec.
962         * svg/custom/linking-base-external-reference.xhtml: Ditto.
963         * svg/custom/local-url-reference-clip-path-expected.html: Added.
964         * svg/custom/local-url-reference-clip-path.html: Added.
965         * svg/custom/local-url-reference-fill-expected.html: Added.
966         * svg/custom/local-url-reference-fill.html: Added.
967         * svg/custom/local-url-reference-filter-expected.html: Added.
968         * svg/custom/local-url-reference-filter.html: Added.
969         * svg/custom/local-url-reference-marker-expected.html: Added.
970         * svg/custom/local-url-reference-marker.html: Added.
971         * svg/custom/local-url-reference-mask-expected.html: Added.
972         * svg/custom/local-url-reference-mask.html: Added.
973         * svg/custom/local-url-reference-pattern-expected.html: Added.
974         * svg/custom/local-url-reference-pattern.html: Added.
975         * svg/custom/local-url-reference-radial-gradient-expected.html: Added.
976         * svg/custom/local-url-reference-radial-gradient.html: Added.
977         * svg/custom/local-url-reference-srcdoc-expected.html: Added.
978         * svg/custom/local-url-reference-srcdoc.html: Added.
979         * svg/custom/local-url-reference-stroke-expected.html: Added.
980         * svg/custom/local-url-reference-stroke.html: Added.
981         * svg/custom/local-url-reference-use-expected.html: Added.
982         * svg/custom/local-url-reference-use.html: Added.
983         * svg/text/textpath-local-url-reference-expected.html: Added.
984         * svg/text/textpath-local-url-reference.html: Added.
985
986 2019-09-01  Myles C. Maxfield  <mmaxfield@apple.com>
987
988         [WHLSL] Resources don't work when only a subset of a bind group is referenced by a shader
989         https://bugs.webkit.org/show_bug.cgi?id=201383
990
991         Reviewed by Dean Jackson.
992
993         * webgpu/whlsl/compute.html:
994         * webgpu/whlsl/sparse-bind-group-2-expected.txt: Added.
995         * webgpu/whlsl/sparse-bind-group-2.html: Added.
996         * webgpu/whlsl/sparse-bind-group-3-expected.txt: Added.
997         * webgpu/whlsl/sparse-bind-group-3.html: Added.
998         * webgpu/whlsl/sparse-bind-group-expected.txt: Added.
999         * webgpu/whlsl/sparse-bind-group.html: Added.
1000
1001 2019-09-01  Commit Queue  <commit-queue@webkit.org>
1002
1003         Unreviewed, rolling out r249369.
1004         https://bugs.webkit.org/show_bug.cgi?id=201394
1005
1006         broke WHLSL tests (Requested by litherum on #webkit).
1007
1008         Reverted changeset:
1009
1010         "[WHLSL] Resources don't work when only a subset of a bind
1011         group is referenced by a shader"
1012         https://bugs.webkit.org/show_bug.cgi?id=201383
1013         https://trac.webkit.org/changeset/249369
1014
1015 2019-09-01  Myles C. Maxfield  <mmaxfield@apple.com>
1016
1017         [WHLSL] Resources don't work when only a subset of a bind group is referenced by a shader
1018         https://bugs.webkit.org/show_bug.cgi?id=201383
1019
1020         Reviewed by Dean Jackson.
1021
1022         * webgpu/whlsl/compute.html:
1023         * webgpu/whlsl/sparse-bind-group-2-expected.txt: Added.
1024         * webgpu/whlsl/sparse-bind-group-2.html: Added.
1025         * webgpu/whlsl/sparse-bind-group-3-expected.txt: Added.
1026         * webgpu/whlsl/sparse-bind-group-3.html: Added.
1027         * webgpu/whlsl/sparse-bind-group-expected.txt: Added.
1028         * webgpu/whlsl/sparse-bind-group.html: Added.
1029
1030 2019-09-01  Wenson Hsieh  <wenson_hsieh@apple.com>
1031
1032         Long presses that interrupt accelerated scrolling dispatch clicks on apps linked against iOS 12 or earlier
1033         https://bugs.webkit.org/show_bug.cgi?id=201346
1034         <rdar://problem/54885784>
1035
1036         Reviewed by Dean Jackson.
1037
1038         Add a couple of new layout tests to verify that using a long press gesture to interrupt momentum scrolling in a
1039         web view that uses API to disable link previews does not result in a click.
1040
1041         * fast/scrolling/ios/click-events-after-long-press-during-momentum-scroll-in-main-frame-expected.txt: Added.
1042         * fast/scrolling/ios/click-events-after-long-press-during-momentum-scroll-in-main-frame.html: Added.
1043         * fast/scrolling/ios/click-events-after-long-press-during-momentum-scroll-in-overflow-expected.txt: Added.
1044         * fast/scrolling/ios/click-events-after-long-press-during-momentum-scroll-in-overflow.html: Added.
1045
1046 2019-09-01  Said Abou-Hallawa  <sabouhallawa@apple.com>
1047
1048         HTMLImageElement::decode() should return a resolved promise for decoding non bitmap images
1049         https://bugs.webkit.org/show_bug.cgi?id=201243
1050
1051         Reviewed by Youenn Fablet.
1052
1053         * fast/images/decode-non-bitmap-image-resolve-expected.txt: Added.
1054         * fast/images/decode-non-bitmap-image-resolve.html: Added.
1055         * fast/images/resources/green-100x100.svg: Added.
1056
1057 2019-08-31  Said Abou-Hallawa  <sabouhallawa@apple.com>
1058
1059         EXIF orientation should be respected when rendering images
1060         https://bugs.webkit.org/show_bug.cgi?id=201123
1061
1062         Reviewed by Simon Fraser.
1063
1064         Existing tests are made ref-tests. New tests were added to cover more
1065         cases for drawing images.
1066
1067         * fast/images/exif-orientation-background-expected.html: Added.
1068         * fast/images/exif-orientation-background.html: Added.
1069         * fast/images/exif-orientation-canvas-expected.html: Added.
1070         * fast/images/exif-orientation-canvas.html: Added.
1071         * fast/images/exif-orientation-composited-expected.html: Added.
1072         * fast/images/exif-orientation-composited-expected.txt: Removed.
1073         * fast/images/exif-orientation-composited.html:
1074         * fast/images/exif-orientation-content-expected.html: Added.
1075         * fast/images/exif-orientation-content.html: Added.
1076         * fast/images/exif-orientation-css-expected.txt: Removed.
1077         * fast/images/exif-orientation-css.html: Removed.
1078         * fast/images/exif-orientation-element-expected.html: Added.
1079         * fast/images/exif-orientation-element-object-fit-expected.html: Added.
1080         * fast/images/exif-orientation-element-object-fit.html: Added.
1081         * fast/images/exif-orientation-element.html: Added.
1082         * fast/images/exif-orientation-expected.txt: Removed.
1083         * fast/images/exif-orientation-image-document-expected.html: Added.
1084         * fast/images/exif-orientation-image-document-expected.txt: Removed.
1085         * fast/images/exif-orientation-image-document.html:
1086         * fast/images/exif-orientation-image-object-expected.html: Added.
1087         * fast/images/exif-orientation-image-object.html: Added.
1088         * fast/images/exif-orientation-svg-feimage-expected.html: Added.
1089         * fast/images/exif-orientation-svg-feimage.html: Added.
1090         * fast/images/exif-orientation-svg-image-expected.html: Added.
1091         * fast/images/exif-orientation-svg-image.html: Added.
1092         * fast/images/exif-orientation.html: Removed.
1093         * platform/gtk/TestExpectations:
1094         * platform/mac/fast/images/exif-orientation-composited-expected.png: Removed.
1095         * platform/win/TestExpectations:
1096
1097 2019-08-31  Wenson Hsieh  <wenson_hsieh@apple.com>
1098
1099         [iOS] Add a test to ensure that a tap in editable content shows the callout bar if the selection did not change
1100         https://bugs.webkit.org/show_bug.cgi?id=200082
1101
1102         Reviewed by Dean Jackson.
1103
1104         Adds a layout test to cover the UIKit change in <rdar://problem/53106460>.
1105
1106         * editing/selection/ios/show-callout-bar-after-tap-expected.txt: Added.
1107         * editing/selection/ios/show-callout-bar-after-tap.html: Added.
1108
1109 2019-08-31  Rob Buis  <rbuis@igalia.com>
1110
1111         XMLHttpRequest: responseXML returns null if the Content-Type is valid (end in +xml) in some cases
1112         https://bugs.webkit.org/show_bug.cgi?id=46146
1113
1114         Reviewed by Youenn Fablet.
1115
1116         Adjust test to match the specification: make response MIME type fallback to
1117         text/xml in case mimeType could not be extracted.
1118
1119         Behavior matches Firefox.
1120
1121         * http/tests/xmlhttprequest/supported-xml-content-types-expected.txt:
1122         * http/tests/xmlhttprequest/supported-xml-content-types.html:
1123
1124 2019-08-31  Frederic Wang  <fwang@igalia.com>
1125
1126         Fix interpretation of fraction shifts
1127         https://bugs.webkit.org/show_bug.cgi?id=201242
1128
1129         Reviewed by Rob Buis.
1130
1131         * TestExpectations: Skip mathml/presentation/stretchy-depth-height-symmetric.html since it
1132         cannot work in a reliable way and should be rewritten. Equivalent checks seem essentially
1133         covered by WPT test mathml/presentation-markup/operators/mo-axis-height-1.html.
1134         See bug 201356.
1135         * platform/win/mathml/presentation/roots-expected.txt: Update windows expectation.
1136
1137 2019-08-30  Chris Dumez  <cdumez@apple.com>
1138
1139         Add support for postMessage buffering between the service worker and window
1140         https://bugs.webkit.org/show_bug.cgi?id=201169
1141
1142         Reviewed by Youenn Fablet.
1143
1144         * TestExpectations:
1145         Unskip test that is no longer timing out.
1146
1147         * resources/testharnessreport.js:
1148         (self.testRunner.add_completion_callback):
1149         Use testRunner.forceImmediateCompletion() instead of notifyDone() for WPT tests.
1150         testRunner.notifyDone() does not work in case of load error or when the load
1151         does not finish. The WPT test was timing out because the load does not finish for
1152         testing purposes.
1153
1154 2019-08-30  Saam Barati  <sbarati@apple.com>
1155
1156         [WHLSL] Remove getters/setters/anders
1157         https://bugs.webkit.org/show_bug.cgi?id=201008
1158
1159         Reviewed by Robin Morisset.
1160
1161         * webgpu/whlsl/address-of-swizzle-expected.txt: Added.
1162         * webgpu/whlsl/address-of-swizzle.html: Added.
1163         * webgpu/whlsl/array-oob-alias-expected.txt: Copied from LayoutTests/webgpu/whlsl/structure-field-access-on-null-expected.txt.
1164         * webgpu/whlsl/array-oob-alias.html: Copied from LayoutTests/webgpu/whlsl/structure-field-access-on-null.html.
1165         * webgpu/whlsl/bad-ander-expected.txt: Removed.
1166         * webgpu/whlsl/bad-ander.html: Removed.
1167         * webgpu/whlsl/duplicate-types-should-not-produce-duplicate-ctors.html:
1168         * webgpu/whlsl/increment-setter.html:
1169         * webgpu/whlsl/index-ander-expected.txt: Removed.
1170         * webgpu/whlsl/index-ander.html: Removed.
1171         * webgpu/whlsl/index-setter-getter-expected.txt: Removed.
1172         * webgpu/whlsl/index-setter-getter.html: Removed.
1173         * webgpu/whlsl/make-array-reference.html:
1174         * webgpu/whlsl/matrix-index-assign-expected.txt: Added.
1175         * webgpu/whlsl/matrix-index-assign.html: Added.
1176         * webgpu/whlsl/matrix-index-order-expected.txt: Added.
1177         * webgpu/whlsl/matrix-index-order.html: Added.
1178         * webgpu/whlsl/matrix-memory-layout.html:
1179         * webgpu/whlsl/matrix.html:
1180         * webgpu/whlsl/null-arg-expected.txt:
1181         * webgpu/whlsl/null-arg.html:
1182         * webgpu/whlsl/null-dereference-expected.txt: Removed.
1183         * webgpu/whlsl/null-dereference.html: Removed.
1184         * webgpu/whlsl/oob-access-2-expected.txt: Added.
1185         * webgpu/whlsl/oob-access-2.html: Added.
1186         * webgpu/whlsl/oob-access.html:
1187         * webgpu/whlsl/operator-syntax-expected.txt: Added.
1188         * webgpu/whlsl/operator-syntax.html: Added.
1189         * webgpu/whlsl/operator-vector-assign.html:
1190         * webgpu/whlsl/operator-vector-load.html:
1191         * webgpu/whlsl/override-subscript-expected.txt: Removed.
1192         * webgpu/whlsl/override-subscript.html: Removed.
1193         * webgpu/whlsl/propertyresolver/ander-abstract-lvalue-expected.html: Removed.
1194         * webgpu/whlsl/propertyresolver/ander-abstract-lvalue.html: Removed.
1195         * webgpu/whlsl/propertyresolver/ander-expected.html: Removed.
1196         * webgpu/whlsl/propertyresolver/ander-lvalue-3-levels-expected.html: Removed.
1197         * webgpu/whlsl/propertyresolver/ander-lvalue-3-levels.html: Removed.
1198         * webgpu/whlsl/propertyresolver/ander-lvalue-expected.html: Removed.
1199         * webgpu/whlsl/propertyresolver/ander-lvalue.html: Removed.
1200         * webgpu/whlsl/propertyresolver/ander.html: Removed.
1201         * webgpu/whlsl/propertyresolver/getter-expected.html: Removed.
1202         * webgpu/whlsl/propertyresolver/getter.html: Removed.
1203         * webgpu/whlsl/propertyresolver/indexer-ander-abstract-lvalue-expected.html: Removed.
1204         * webgpu/whlsl/propertyresolver/indexer-ander-abstract-lvalue.html: Removed.
1205         * webgpu/whlsl/propertyresolver/indexer-ander-expected.html: Removed.
1206         * webgpu/whlsl/propertyresolver/indexer-ander-lvalue-3-levels-expected.html: Removed.
1207         * webgpu/whlsl/propertyresolver/indexer-ander-lvalue-3-levels.html: Removed.
1208         * webgpu/whlsl/propertyresolver/indexer-ander-lvalue-expected.html: Removed.
1209         * webgpu/whlsl/propertyresolver/indexer-ander-lvalue.html: Removed.
1210         * webgpu/whlsl/propertyresolver/indexer-ander.html: Removed.
1211         * webgpu/whlsl/propertyresolver/indexer-getter-expected.html: Removed.
1212         * webgpu/whlsl/propertyresolver/indexer-getter.html: Removed.
1213         * webgpu/whlsl/propertyresolver/indexer-setter-abstract-lvalue-3-levels-expected.html: Removed.
1214         * webgpu/whlsl/propertyresolver/indexer-setter-abstract-lvalue-3-levels.html: Removed.
1215         * webgpu/whlsl/propertyresolver/indexer-setter-abstract-lvalue-expected.html: Removed.
1216         * webgpu/whlsl/propertyresolver/indexer-setter-abstract-lvalue.html: Removed.
1217         * webgpu/whlsl/propertyresolver/indexer-setter-expected.html: Removed.
1218         * webgpu/whlsl/propertyresolver/indexer-setter-lvalue-expected.html: Removed.
1219         * webgpu/whlsl/propertyresolver/indexer-setter-lvalue.html: Removed.
1220         * webgpu/whlsl/propertyresolver/indexer-setter.html: Removed.
1221         * webgpu/whlsl/propertyresolver/setter-abstract-lvalue-3-levels-expected.html: Removed.
1222         * webgpu/whlsl/propertyresolver/setter-abstract-lvalue-3-levels.html: Removed.
1223         * webgpu/whlsl/propertyresolver/setter-abstract-lvalue-expected.html: Removed.
1224         * webgpu/whlsl/propertyresolver/setter-abstract-lvalue.html: Removed.
1225         * webgpu/whlsl/propertyresolver/setter-lvalue-expected.html: Removed.
1226         * webgpu/whlsl/propertyresolver/setter-lvalue.html: Removed.
1227         * webgpu/whlsl/setter-spec-tests.html:
1228         * webgpu/whlsl/simple-getter-setter-expected.txt:
1229         * webgpu/whlsl/simple-getter-setter.html:
1230         * webgpu/whlsl/structure-field-access-on-null-expected.txt: Removed.
1231         * webgpu/whlsl/structure-field-access-on-null.html: Removed.
1232         * webgpu/whlsl/test-harness-test.html:
1233
1234 2019-08-30  Ryan Haddad  <ryanhaddad@apple.com>
1235
1236         Unreviewed, rolling out r249338.
1237
1238         Caused 500+ layout test failures on WK1
1239
1240         Reverted changeset:
1241
1242         "Add support for postMessage buffering between the service
1243         worker and window"
1244         https://bugs.webkit.org/show_bug.cgi?id=201169
1245         https://trac.webkit.org/changeset/249338
1246
1247 2019-08-30  Wenson Hsieh  <wenson_hsieh@apple.com>
1248
1249         Caret does not appear in text field inside a transformed, overflow: hidden container
1250         https://bugs.webkit.org/show_bug.cgi?id=201317
1251         <rdar://problem/54859264>
1252
1253         Reviewed by Simon Fraser.
1254
1255         Add a new layout test that covers this scenario. See WebCore ChangeLog for additional detail.
1256
1257         * editing/selection/ios/show-selection-in-transformed-container-2-expected.txt: Added.
1258         * editing/selection/ios/show-selection-in-transformed-container-2.html: Added.
1259
1260 2019-08-30  Chris Dumez  <cdumez@apple.com>
1261
1262         Add support for postMessage buffering between the service worker and window
1263         https://bugs.webkit.org/show_bug.cgi?id=201169
1264
1265         Reviewed by Youenn Fablet.
1266
1267         * TestExpectations:
1268         Unskip test that is no longer timing out.
1269
1270         * resources/testharnessreport.js:
1271         (self.testRunner.add_completion_callback):
1272         Use testRunner.forceImmediateCompletion() instead of notifyDone() for WPT tests.
1273         testRunner.notifyDone() does not work in case of load error or when the load
1274         does not finish. The WPT test was timing out because the load does not finish for
1275         testing purposes.
1276
1277 2019-08-30  Devin Rousso  <drousso@apple.com>
1278
1279         Unreviewed, fix test failure after r249305
1280
1281         * inspector/dom-debugger/dom-breakpoints-expected.txt:
1282
1283 2019-08-30  Alicia Boya García  <aboya@igalia.com>
1284
1285         [MSE][GStreamer] Gracefully fail on invalid non-first initialization segment
1286         https://bugs.webkit.org/show_bug.cgi?id=201322
1287
1288         Reviewed by Xabier Rodriguez-Calvar.
1289
1290         * platform/gtk/TestExpectations:
1291         * platform/wpe/TestExpectations:
1292
1293 2019-08-30  Joonghun Park  <jh718.park@samsung.com>
1294
1295         Import css/css-text/tab-size/tab-size.html wpt test
1296         https://bugs.webkit.org/show_bug.cgi?id=201328
1297
1298         Unreviewed. No behavioral changes.
1299
1300         The css/css-text/tab-size/tab-size.html wpt test was ported from
1301         the original test LayoutTests/css3/tab-size.html.
1302
1303         So we import that wpt test and remove the original test from LayoutTests.
1304
1305         * css3/tab-size.html: Removed.
1306
1307 2019-08-30  Sihui Liu  <sihui_liu@apple.com>
1308
1309         [wk2] LayoutTest imported/w3c/web-platform-tests/IndexedDB/fire-error-event-exception.html is a flaky failure
1310         https://bugs.webkit.org/show_bug.cgi?id=169621
1311
1312         Reviewed by Alex Christensen.
1313
1314         Update test expectations to PASS.
1315
1316         * platform/gtk/TestExpectations:
1317         * platform/ios-wk2/TestExpectations:
1318         * platform/mac-wk2/TestExpectations:
1319
1320 2019-08-29  Devin Rousso  <drousso@apple.com>
1321
1322         Web Inspector: Debugger: async event listener stack traces should be available in Workers
1323         https://bugs.webkit.org/show_bug.cgi?id=200903
1324
1325         Reviewed by Joseph Pecoraro.
1326
1327         * inspector/worker/dom-debugger-event-interval-breakpoints-expected.txt:
1328         * inspector/worker/dom-debugger-event-listener-breakpoints-expected.txt:
1329         * inspector/worker/dom-debugger-event-timeout-breakpoints-expected.txt:
1330         * inspector/worker/dom-debugger-url-breakpoints-expected.txt:
1331         * inspector/worker/resources/worker-dom-debugger.js:
1332
1333 2019-08-29  Timothy Hatcher  <timothy@apple.com>
1334
1335         Copying and pasting two paragraphs with a newline between them results in stray paragraph with newline inside.
1336         https://bugs.webkit.org/show_bug.cgi?id=201306
1337
1338         Reviewed by Wenson Hsieh.
1339
1340         * editing/pasteboard/paste-without-nesting-expected.txt: Updated results.
1341         * editing/pasteboard/paste-without-nesting.html: Added new test case.
1342
1343 2019-08-29  Devin Rousso  <drousso@apple.com>
1344
1345         Web Inspector: DOMDebugger: support event breakpoints in Worker contexts
1346         https://bugs.webkit.org/show_bug.cgi?id=200651
1347
1348         Reviewed by Joseph Pecoraro.
1349
1350         * inspector/worker/dom-debugger-dom-breakpoints.html: Added.
1351         * inspector/worker/dom-debugger-dom-breakpoints-expected.txt: Added.
1352         * inspector/worker/dom-debugger-event-animation-frame-breakpoints.html: Added.
1353         * inspector/worker/dom-debugger-event-animation-frame-breakpoints-expected.txt: Added.
1354         * inspector/worker/dom-debugger-event-interval-breakpoints.html: Added.
1355         * inspector/worker/dom-debugger-event-interval-breakpoints-expected.txt: Added.
1356         * inspector/worker/dom-debugger-event-listener-breakpoints.html: Added.
1357         * inspector/worker/dom-debugger-event-listener-breakpoints-expected.txt: Added.
1358         * inspector/worker/dom-debugger-event-timeout-breakpoints.html: Added.
1359         * inspector/worker/dom-debugger-event-timeout-breakpoints-expected.txt: Added.
1360         * inspector/worker/dom-debugger-url-breakpoints.html: Added.
1361         * inspector/worker/dom-debugger-url-breakpoints-expected.txt: Added.
1362
1363         * inspector/debugger/resources/log-active-stack-trace.js: Added.
1364         (TestPage.registerInitializer.window.logStackTrace): Added.
1365         (TestPage.registerInitializer.window.logActiveStackTrace):
1366
1367         * inspector/worker/resources/dom-debugger-utilities.js: Added.
1368         (TestPage.registerInitializer.InspectorTest.Worker.DOMDebugger.createWorkerTarget):
1369         * inspector/worker/resources/worker-dom-debugger.js: Added.
1370
1371 2019-08-29  Devin Rousso  <drousso@apple.com>
1372
1373         Web Inspector: replace uses of `Array.prototype.concat` with `Array.prototype.push`
1374         https://bugs.webkit.org/show_bug.cgi?id=201082
1375
1376         Reviewed by Joseph Pecoraro.
1377
1378         * inspector/unit-tests/array-utilities.html:
1379         * inspector/unit-tests/array-utilities-expected.txt:
1380         Add tests for added utility `Array.prototype.pushIterable`.
1381
1382 2019-08-29  Wenson Hsieh  <wenson_hsieh@apple.com>
1383
1384         [iOS 13] Caret does not appear in text field if the body element is translated completely out of the viewport
1385         https://bugs.webkit.org/show_bug.cgi?id=201287
1386         <rdar://problem/54780864>
1387
1388         Reviewed by Tim Horton.
1389
1390         Add a new layout test that covers this scenario. See WebKit ChangeLog for additional detail.
1391
1392         * editing/selection/ios/show-selection-in-transformed-container-expected.txt: Added.
1393         * editing/selection/ios/show-selection-in-transformed-container.html: Added.
1394
1395 2019-08-29  Ryosuke Niwa  <rniwa@webkit.org>
1396
1397         Flaky Test: svg/custom/tabindex-order.html
1398         https://bugs.webkit.org/show_bug.cgi?id=201294
1399
1400         Reviewed by Chris Dumez.
1401
1402         Make the backward sequential navigation case more robust against platform differences.
1403
1404         * svg/custom/tabindex-order.html:
1405
1406 2019-08-29  Youenn Fablet  <youenn@apple.com>
1407
1408         Skip fetch event dispatching if no fetch event handler is added at script evaluation time
1409         https://bugs.webkit.org/show_bug.cgi?id=201174
1410
1411         Reviewed by Chris Dumez.
1412
1413         * http/wpt/service-workers/skipFetchEvent-worker.js: Added.
1414         (async.doTest):
1415         * http/wpt/service-workers/skipFetchEvent.https-expected.txt: Added.
1416         * http/wpt/service-workers/skipFetchEvent.https.html: Added.
1417
1418 2019-08-29  Alicia Boya García  <aboya@igalia.com>
1419
1420         [GTK] Unreviewed test gardening
1421         https://bugs.webkit.org/show_bug.cgi?id=201276
1422
1423         * fast/borders/empty-outline-border-assert-expected.txt:
1424         * platform/gtk/TestExpectations:
1425         * platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt: Added.
1426         * platform/gtk/fast/forms/label/labelable-elements-expected.txt: Added.
1427         * platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt:
1428         * platform/gtk/http/tests/security/mixedContent/websocket/insecure-websocket-in-iframe-expected.txt: Added.
1429         * platform/gtk/http/tests/security/mixedContent/websocket/insecure-websocket-in-main-frame-expected.txt: Added.
1430         * platform/gtk/imported/w3c/web-platform-tests/custom-elements/builtin-coverage-expected.txt: Added.
1431         * platform/gtk/imported/w3c/web-platform-tests/dom/nodes/Node-cloneNode-expected.txt: Added.
1432         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-showModal-expected.txt:
1433         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt: Added.
1434         * platform/gtk/imported/w3c/web-platform-tests/websockets/closing-handshake/003-expected.txt:
1435         * platform/gtk/imported/w3c/web-platform-tests/websockets/cookies/004-expected.txt:
1436         * platform/gtk/imported/w3c/web-platform-tests/websockets/unload-a-document/002-expected.txt: Added.
1437         * platform/gtk/imported/w3c/web-platform-tests/websockets/unload-a-document/004-expected.txt: Added.
1438         * platform/ios-wk2/fast/borders/empty-outline-border-assert-expected.txt: Removed.
1439         * platform/mac-wk2/fast/borders/empty-outline-border-assert-expected.txt: Removed.
1440
1441 2019-08-29  Youenn Fablet  <youenn@apple.com>
1442
1443         Use WebPageProxy callbacks in case of authentication challenge received from Service Worker
1444         https://bugs.webkit.org/show_bug.cgi?id=201177
1445
1446         Reviewed by Alex Christensen.
1447
1448         * http/wpt/service-workers/server-trust-evaluation.https.html:
1449
1450 2019-08-29  Rob Buis  <rbuis@igalia.com>
1451
1452         Address some MathML FIXMEs 
1453         https://bugs.webkit.org/show_bug.cgi?id=201293
1454
1455         Reviewed by Frédéric Wang.
1456
1457         Also test newly exposed data and time elements.
1458
1459         * mathml/presentation/foreign-element-in-token-expected.txt:
1460         * mathml/presentation/foreign-element-in-token.html:
1461         * platform/ios-wk2/mathml/presentation/foreign-element-in-token-expected.txt:
1462         * platform/mac-wk2/mathml/presentation/foreign-element-in-token-expected.txt:
1463
1464 2019-08-28  Ryosuke Niwa  <rniwa@webkit.org>
1465
1466         Make tabIndex IDL attribute reflect its content attribute
1467         https://bugs.webkit.org/show_bug.cgi?id=199606
1468         <rdar://problem/52811448>
1469
1470         Reviewed by Chris Dumez.
1471
1472         Added test cases and assertions.
1473
1474         * fast/dom/tabindex-defaults-expected.txt:
1475         * fast/dom/tabindex-defaults.html: Added test cases for iframe, frame, object, video, summary, and SVG elements.
1476         Also blur the active element to avoid any race conditions.
1477         * plugins/focus-expected.txt:
1478         * plugins/focus.html:
1479         * svg/custom/tabindex-order-expected.txt:
1480         * svg/custom/tabindex-order.html: Made the sequential navigation code not rely on tabIndex IDL attribute.
1481
1482 2019-08-28  Devin Rousso  <drousso@apple.com>
1483
1484         Unreviewed, fix test failure after r249173
1485
1486         * inspector/timeline/line-column-expected.txt:
1487
1488 2019-08-28  Said Abou-Hallawa  <sabouhallawa@apple.com>
1489
1490         XLinkNames namespace is required before the 'href' attribute of SVG animate elements
1491         https://bugs.webkit.org/show_bug.cgi?id=201227
1492
1493         Reviewed by Ryosuke Niwa.
1494
1495         * svg/custom/href-svg-namespace-animate-target-expected.svg: Added.
1496         * svg/custom/href-svg-namespace-animate-target.svg: Added.
1497
1498 2019-08-28  Myles C. Maxfield  <mmaxfield@apple.com>
1499
1500         [WHLSL] Matrices need to have correct alignment
1501         https://bugs.webkit.org/show_bug.cgi?id=201212
1502
1503         Reviewed by Robin Morisset.
1504
1505         Test the alignment and size of float matrices.
1506
1507         Intentionally don't test bool matrices, because they can't be placed in buffers,
1508         meaning their size and alignment is unobservable.
1509
1510         * webgpu/whlsl/matrix-alignment-expected.txt: Added.
1511         * webgpu/whlsl/matrix-alignment.html: Added.
1512
1513 2019-08-28  Rob Buis  <rbuis@igalia.com>
1514
1515         Implement HTMLOrForeignElement
1516         https://bugs.webkit.org/show_bug.cgi?id=201219
1517
1518         Reviewed by Ryosuke Niwa.
1519
1520         Adjust test expectations to new HTMLOrForeignElement interface.
1521
1522         * js/dom/dom-static-property-for-in-iteration-expected.txt:
1523         * platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt:
1524         * platform/mac/inspector/model/remote-object-dom-expected.txt:
1525
1526 2019-08-28  Chris Dumez  <cdumez@apple.com>
1527
1528         geolocation.watchPosition() / getCurrentPosition() should return PERMISSION_DENIED when context is not secure
1529         https://bugs.webkit.org/show_bug.cgi?id=201221
1530
1531         Reviewed by Ryosuke Niwa.
1532
1533         Update layout tests to reflect behavior change.
1534
1535         * fast/dom/Geolocation/dataURL-getCurrentPosition-expected.txt:
1536         * fast/dom/Geolocation/dataURL-getCurrentPosition.html:
1537         * fast/dom/Geolocation/dataURL-watchPosition-expected.txt:
1538         * fast/dom/Geolocation/dataURL-watchPosition.html:
1539         * http/tests/security/resources/checkThatPositionErrorCallbackIsCalledWithPositionUnavailableForGeolocationMethod.js:
1540         (didReceiveError):
1541         (checkThatPositionErrorCallbackIsCalledWithPositionUnavailableForGeolocationMethod):
1542         * http/tests/security/sandboxed-iframe-geolocation-getCurrentPosition-expected.txt:
1543         * http/tests/security/sandboxed-iframe-geolocation-getCurrentPosition.html:
1544         * http/tests/security/sandboxed-iframe-geolocation-watchPosition-expected.txt:
1545         * http/tests/security/sandboxed-iframe-geolocation-watchPosition.html:
1546
1547 2019-08-28  Alicia Boya García  <aboya@igalia.com>
1548
1549         [MSE][GStreamer] WebKitMediaSrc rework
1550         https://bugs.webkit.org/show_bug.cgi?id=199719
1551
1552         Reviewed by Xabier Rodriguez-Calvar.
1553
1554         Updated expectations.
1555
1556         * platform/gtk/TestExpectations:
1557         * platform/mac/TestExpectations:
1558         * platform/ios-simulator/TestExpectations:
1559         * platform/mac/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-video-element/video_timeupdate_on_seek-expected.txt: Added.
1560
1561 2019-08-28  Jer Noble  <jer.noble@apple.com>
1562
1563         Flaky Test: fullscreen/full-screen-request-removed-with-raf.html
1564         https://bugs.webkit.org/show_bug.cgi?id=201188
1565
1566         Reviewed by Alexey Proskuryakov.
1567
1568         * fullscreen/full-screen-request-removed-with-raf.html:
1569
1570 2019-08-28  Carlos Garcia Campos  <cgarcia@igalia.com>
1571
1572         Unable to enter text in https://eat.fi
1573         https://bugs.webkit.org/show_bug.cgi?id=193046
1574
1575         Reviewed by Ryosuke Niwa.
1576
1577         Add new test imported for blink.
1578
1579         * imported/blink/fast/forms/label/label-contains-other-interactive-content-expected.txt: Added.
1580         * imported/blink/fast/forms/label/label-contains-other-interactive-content.html: Added.
1581         * platform/ios-wk2/TestExpectations: Skip the new test because it requires eventSender.mouseDown/Up/MoveTo()
1582
1583 2019-08-28  Said Abou-Hallawa  <sabouhallawa@apple.com>
1584
1585         SVG2: Add length, item getter and item setter to all SVG lists
1586         https://bugs.webkit.org/show_bug.cgi?id=199526
1587
1588         Reviewed by Simon Fraser.
1589
1590         * svg/custom/polyline-points-crash-expected.txt:
1591         * svg/dom/SVGLengthList-basics-expected.txt:
1592         * svg/dom/SVGLengthList-length-indexed-access-expected.txt: Added.
1593         * svg/dom/SVGLengthList-length-indexed-access.xhtml: Added.
1594         * svg/dom/SVGNumberList-basics-expected.txt:
1595         * svg/dom/SVGPathSegList-length-indexed-access-expected.txt: Added.
1596         * svg/dom/SVGPathSegList-length-indexed-access.xhtml: Added.
1597         * svg/dom/SVGPointList-basics-expected.txt:
1598         * svg/dom/SVGTransformList-basics-expected.txt:
1599
1600 2019-08-27  Fujii Hironori  <Hironori.Fujii@sony.com>
1601
1602         Make FrameLoader::open() set outgoing referrer properly
1603         https://bugs.webkit.org/show_bug.cgi?id=167050
1604
1605         Reviewed by Youenn Fablet.
1606
1607         * http/tests/navigation/page-cache-fragment-referrer-expected.html: Added.
1608         * http/tests/navigation/page-cache-fragment-referrer.html: Added.
1609         * http/tests/navigation/resources/referrer.php: Added.
1610
1611 2019-08-27  Devin Rousso  <drousso@apple.com>
1612
1613         Web Inspector: replace uses of added utility `Array.prototype.keySet` with an actual `Set`
1614         https://bugs.webkit.org/show_bug.cgi?id=201194
1615
1616         Reviewed by Ross Kirsling.
1617
1618         * inspector/unit-tests/array-utilities.html:
1619         * inspector/unit-tests/array-utilities-expected.txt:
1620
1621 2019-08-27  Justin Fan  <justin_fan@apple.com>
1622
1623         [WebGPU] Implement GPUErrors for and relax GPUBuffer validation rules
1624         https://bugs.webkit.org/show_bug.cgi?id=200852
1625
1626         Reviewed by Dean Jackson.
1627
1628         Add a test to ensure GPUBuffer errors are generated properly.
1629
1630         * webgpu/buffer-errors-expected.txt: Added.
1631         * webgpu/buffer-errors.html: Added.
1632
1633 2019-08-27  Russell Epstein  <repstein@apple.com>
1634
1635         Test Gardening for scrollingcoordinator/ios/scroll-position-after-reattach.html
1636         rdar://52961406
1637
1638         Unreviewed Test Gardening.
1639
1640         * platform/ios/TestExpectations:
1641
1642 2019-08-27  Megan Gardner  <megan_gardner@apple.com>
1643
1644         Update Test Expectations for iPad for fast/scrolling/ios/autoscroll-input-when-very-zoomed.html
1645         https://bugs.webkit.org/show_bug.cgi?id=201163
1646         <rdar://problem/54727027>
1647
1648         Reviewed by Simon Fraser.
1649
1650         Altering test slightly to have a reasonable test expecation on iPad. 
1651
1652         * platform/ipad/fast/scrolling/ios/autoscroll-input-when-very-zoomed-expected.txt: Added.
1653
1654 2019-08-27  Devin Rousso  <drousso@apple.com>
1655
1656         Web Inspector: don't attach properties to `injectedScript` for the CommandLineAPI
1657         https://bugs.webkit.org/show_bug.cgi?id=201193
1658
1659         Reviewed by Joseph Pecoraro.
1660
1661         * http/tests/inspector/dom/cross-domain-inspected-node-access-expected.txt:
1662         * inspector/console/command-line-api-expected.txt:
1663
1664 2019-08-27  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1665
1666         Drawing an animated image to a canvas via drawImage should draw the first frame
1667         https://bugs.webkit.org/show_bug.cgi?id=74779
1668         <rdar://problem/42282454>
1669
1670         Reviewed by Said Abou-Hallawa.
1671
1672         Adds a test that checks that when drawing an animated image into a canvas
1673         it draws the first frame and that the animation doesn't reset or pause.
1674
1675         Also enable the new internal setting setAnimatedImageDebugCanvasDrawingEnabled()
1676         for the tests that rely on canvas.drawImage() drawing the current frame instead
1677         of the first one.
1678
1679         * fast/canvas/drawImage-animated-gif-draws-first-frame-and-no-reset-image-expected.txt: Added.
1680         * fast/canvas/drawImage-animated-gif-draws-first-frame-and-no-reset-image.html: Added.
1681         The above test checks that when drawing an animated image to a canvas it draws the first frame
1682         and that the playing image doesn't get reseted and finish playing.
1683         * fast/canvas/resources/animated-red-green-blue-yellow-cyan-black-repeat-1.gif: Added.
1684         * fast/images/animated-gif-restored-from-bfcache.html: Enable internals.settings.setAnimatedImageDebugCanvasDrawingEnabled().
1685         * fast/images/animated-image-different-dest-size.html: Ditto.
1686         * fast/images/animated-image-loop-count.html: Ditto.
1687         * fast/images/animated-image-mp4.html: Ditto.
1688         * fast/images/decode-animated-image.html: Ditto.
1689         * fast/images/decode-render-animated-image.html: Ditto.
1690         * fast/images/ordered-animated-image-frames.html: Ditto.
1691         * fast/images/reset-image-animation.html: Ditto.
1692         * fast/images/slower-animation-than-decoding-image.html: Ditto.
1693         * fast/images/slower-decoding-than-animation-image.html: Ditto.
1694
1695 2019-08-27  Ryan Haddad  <ryanhaddad@apple.com>
1696
1697         Unreviewed test gardening, remove failure expectations for tests that are now passing.
1698
1699         * platform/ios-12/TestExpectations:
1700         * platform/ios/TestExpectations:
1701
1702 2019-08-27  Chris Dumez  <cdumez@apple.com>
1703
1704         Crash under WebCore::jsNotificationConstructorPermission
1705         https://bugs.webkit.org/show_bug.cgi?id=201186
1706         <rdar://problem/53962833>
1707
1708         Reviewed by Youenn Fablet.
1709
1710         Add layout test coverage.
1711
1712         * http/tests/notifications/request-in-detached-frame-expected.txt: Added.
1713         * http/tests/notifications/request-in-detached-frame.html: Added.
1714         * http/tests/notifications/resources/request-in-detached-frame-subframe.html: Added.
1715
1716 2019-08-27  Ryan Haddad  <ryanhaddad@apple.com>
1717
1718         Unreviewed test gardening, land expectation for rdar://54317204.
1719
1720         * platform/mac/TestExpectations:
1721
1722 2019-08-27  Wenson Hsieh  <wenson_hsieh@apple.com>
1723
1724         fast/scrolling/ios/click-events-during-momentum-scroll-in-overflow-after-tap-on-body.html times out on iPad
1725         https://bugs.webkit.org/show_bug.cgi?id=201182
1726         <rdar://problem/54562829>
1727
1728         Reviewed by Tim Horton.
1729
1730         This test verifies that if the user taps outside of a scrollable container that is decelerating, the page will
1731         observe a click event. This test currently behaves as expected on iPhone, but on iPad, the tap which is
1732         intended to be outside the scrollable area ends up inside it, so a click event is never dispatched. Instead of
1733         hard-coding the tap location, address this test failure by targetting a separate element outside of the
1734         scrollable area.
1735
1736         * fast/scrolling/ios/click-events-during-momentum-scroll-in-overflow-after-tap-on-body.html:
1737
1738 2019-08-26  Jer Noble  <jer.noble@apple.com>
1739
1740         Removing fullscreen element in rAF() callback after requestFullscreen() can leave fullscreen in inconsistent state.
1741         https://bugs.webkit.org/show_bug.cgi?id=201101
1742         <rdar://problem/54164587>
1743
1744         Reviewed by Eric Carlson.
1745
1746         * fullscreen/full-screen-request-removed-with-raf-expected.txt: Added.
1747         * fullscreen/full-screen-request-removed-with-raf.html: Added.
1748
1749 2019-08-27  Peng Liu  <peng.liu6@apple.com>
1750
1751         webkitpresentationmodechanged is fired twice when exiting picture in picture
1752         https://bugs.webkit.org/show_bug.cgi?id=193765
1753
1754         Reviewed by Jer Noble.
1755
1756         * media/presentationmodechanged-fired-once-expected.txt: Added.
1757         * media/presentationmodechanged-fired-once.html: Added.
1758
1759 2019-08-27  Carlos Garcia Campos  <cgarcia@igalia.com>
1760
1761         Origin header not included in WebSocket handshake request when using platform WebSocket API
1762         https://bugs.webkit.org/show_bug.cgi?id=200535
1763
1764         Reviewed by Youenn Fablet.
1765
1766         Rebaseline tests that are passing now for GTK and WPE.
1767
1768         * platform/gtk/imported/w3c/web-platform-tests/websockets/opening-handshake/003-expected.txt: Added.
1769         * platform/gtk/imported/w3c/web-platform-tests/websockets/opening-handshake/003-sets-origin.worker-expected.txt:
1770         * platform/gtk/imported/w3c/web-platform-tests/websockets/opening-handshake/005-expected.txt:
1771         * platform/wpe/imported/w3c/web-platform-tests/websockets/opening-handshake/003-expected.txt: Added.
1772         * platform/wpe/imported/w3c/web-platform-tests/websockets/opening-handshake/003-sets-origin.worker-expected.txt:
1773         * platform/wpe/imported/w3c/web-platform-tests/websockets/opening-handshake/005-expected.txt:
1774
1775 2019-08-26  Myles C. Maxfield  <mmaxfield@apple.com>
1776
1777         [WHLSL] Rewrite all tests to use WHLSL and delete the isWHLSL flag
1778         https://bugs.webkit.org/show_bug.cgi?id=201162
1779
1780         Reviewed by Saam Barati.
1781
1782         * webgpu/bind-groups.html:
1783         * webgpu/blend-color-triangle-strip.html:
1784         * webgpu/blend-triangle-strip.html:
1785         * webgpu/buffer-command-buffer-races.html:
1786         * webgpu/color-write-mask-triangle-strip.html:
1787         * webgpu/compute-pipeline-errors.html:
1788         * webgpu/depth-enabled-triangle-strip.html:
1789         * webgpu/draw-indexed-triangles.html:
1790         * webgpu/msl-harness-test-expected.txt: Removed.
1791         * webgpu/msl-harness-test.html: Removed.
1792         * webgpu/render-command-encoding.html:
1793         * webgpu/render-pipeline-errors.html:
1794         * webgpu/render-pipelines.html:
1795         * webgpu/shader-modules.html:
1796         * webgpu/simple-triangle-strip.html:
1797         * webgpu/texture-triangle-strip.html:
1798         * webgpu/vertex-buffer-triangle-strip.html:
1799         * webgpu/viewport-scissor-rect-triangle-strip.html:
1800         * webgpu/whlsl/arbitrary-vertex-attribute-locations.html:
1801         * webgpu/whlsl/buffer-fragment.html:
1802         * webgpu/whlsl/buffer-length.html:
1803         * webgpu/whlsl/buffer-vertex.html:
1804         * webgpu/whlsl/checker-should-set-type-of-read-modify-write-variables.html:
1805         * webgpu/whlsl/compute.html:
1806         * webgpu/whlsl/dereference-pointer-should-type-check.html:
1807         * webgpu/whlsl/device-proper-type-checker.html:
1808         * webgpu/whlsl/do-while-loop-break.html:
1809         * webgpu/whlsl/do-while-loop-continue.html:
1810         * webgpu/whlsl/do-while-loop.html:
1811         * webgpu/whlsl/dont-crash-parsing-enum.html:
1812         * webgpu/whlsl/dot-expressions.html:
1813         * webgpu/whlsl/duplicate-types-should-not-produce-duplicate-ctors.html:
1814         * webgpu/whlsl/ensure-proper-variable-lifetime-2.html:
1815         * webgpu/whlsl/ensure-proper-variable-lifetime-3.html:
1816         * webgpu/whlsl/ensure-proper-variable-lifetime.html:
1817         * webgpu/whlsl/huge-array.html:
1818         * webgpu/whlsl/js/test-harness.js:
1819         (convertTypeToArrayType):
1820         (Data):
1821         (Harness):
1822         (Harness.prototype.async.callTypedFunction):
1823         (Harness.prototype.callVoidFunction):
1824         (Harness.prototype.async.checkCompileFail):
1825         (Harness.prototype._setUpArguments):
1826         (Harness.prototype.async._callFunction):
1827         (Harness.prototype.set isWHLSL): Deleted.
1828         (Harness.prototype.get isWHLSL): Deleted.
1829         * webgpu/whlsl/loops-break.html:
1830         * webgpu/whlsl/loops-continue.html:
1831         * webgpu/whlsl/loops.html:
1832         * webgpu/whlsl/make-array-reference.html:
1833         * webgpu/whlsl/matrix-2.html:
1834         * webgpu/whlsl/matrix-memory-layout.html:
1835         * webgpu/whlsl/matrix.html:
1836         * webgpu/whlsl/nested-dot-expression-rvalue.html:
1837         * webgpu/whlsl/nested-loop.html:
1838         * webgpu/whlsl/null-dereference.html:
1839         * webgpu/whlsl/oob-access.html:
1840         * webgpu/whlsl/propertyresolver/ander-abstract-lvalue.html:
1841         * webgpu/whlsl/propertyresolver/ander-lvalue-3-levels.html:
1842         * webgpu/whlsl/propertyresolver/ander-lvalue.html:
1843         * webgpu/whlsl/propertyresolver/ander.html:
1844         * webgpu/whlsl/propertyresolver/getter.html:
1845         * webgpu/whlsl/propertyresolver/indexer-ander-abstract-lvalue.html:
1846         * webgpu/whlsl/propertyresolver/indexer-ander-lvalue-3-levels.html:
1847         * webgpu/whlsl/propertyresolver/indexer-ander-lvalue.html:
1848         * webgpu/whlsl/propertyresolver/indexer-ander.html:
1849         * webgpu/whlsl/propertyresolver/indexer-getter.html:
1850         * webgpu/whlsl/propertyresolver/indexer-setter-abstract-lvalue-3-levels.html:
1851         * webgpu/whlsl/propertyresolver/indexer-setter-abstract-lvalue.html:
1852         * webgpu/whlsl/propertyresolver/indexer-setter-lvalue.html:
1853         * webgpu/whlsl/propertyresolver/indexer-setter.html:
1854         * webgpu/whlsl/propertyresolver/setter-abstract-lvalue-3-levels.html:
1855         * webgpu/whlsl/propertyresolver/setter-abstract-lvalue.html:
1856         * webgpu/whlsl/propertyresolver/setter-lvalue.html:
1857         * webgpu/whlsl/read-modify-write-high-zombies.html:
1858         * webgpu/whlsl/read-modify-write.html:
1859         * webgpu/whlsl/return-local-variable.html:
1860         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-10.html:
1861         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-11.html:
1862         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-12.html:
1863         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-13.html:
1864         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-14.html:
1865         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-15.html:
1866         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-16.html:
1867         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-17.html:
1868         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-18.html:
1869         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-19.html:
1870         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-2.html:
1871         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-20.html:
1872         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-21.html:
1873         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-22.html:
1874         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-23.html:
1875         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-24.html:
1876         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-25.html:
1877         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-26.html:
1878         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-27.html:
1879         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-3.html:
1880         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-4.html:
1881         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-5.html:
1882         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-6.html:
1883         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-7.html:
1884         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-8.html:
1885         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-9.html:
1886         * webgpu/whlsl/separate-shader-modules/separate-shader-modules.html:
1887         * webgpu/whlsl/simple-arrays.html:
1888         * webgpu/whlsl/store-to-property-updates-properly.html:
1889         * webgpu/whlsl/textures-getdimensions.html:
1890         * webgpu/whlsl/textures-load.html:
1891         * webgpu/whlsl/textures-sample.html:
1892         * webgpu/whlsl/two-dimensional-array.html:
1893         * webgpu/whlsl/use-undefined-variable-2.html:
1894         * webgpu/whlsl/use-undefined-variable.html:
1895         * webgpu/whlsl/while-loop-break.html:
1896         * webgpu/whlsl/while-loop-continue.html:
1897         * webgpu/whlsl/whlsl.html:
1898         * webgpu/whlsl/zero-initialize-values-2.html:
1899         * webgpu/whlsl/zero-initialize-values.html:
1900
1901 2019-08-26  Devin Rousso  <drousso@apple.com>
1902
1903         Unreviewed, fix test failure after r249127
1904
1905         * inspector/debugger/tail-deleted-frames-this-value.html:
1906
1907 2019-08-26  Devin Rousso  <drousso@apple.com>
1908
1909         Web Inspector: unify agent command error messages
1910         https://bugs.webkit.org/show_bug.cgi?id=200950
1911
1912         Reviewed by Joseph Pecoraro.
1913
1914         * http/tests/inspector/network/getSerializedCertificate-expected.txt:
1915         * http/tests/websocket/tests/hybi/inspector/resolveWebSocket-expected.txt:
1916         * inspector/audit/setup-expected.txt:
1917         * inspector/audit/teardown-expected.txt:
1918         * inspector/canvas/css-canvas-clients-expected.txt:
1919         * inspector/canvas/recording-expected.txt:
1920         * inspector/canvas/requestContent-2d-expected.txt:
1921         * inspector/canvas/requestNode-expected.txt:
1922         * inspector/canvas/requestShaderSource-expected.txt:
1923         * inspector/canvas/resolveCanvasContext-2d-expected.txt:
1924         * inspector/canvas/setShaderProgramDisabled-expected.txt:
1925         * inspector/canvas/setShaderProgramHighlighted-expected.txt:
1926         * inspector/canvas/updateShader-expected.txt:
1927         * inspector/console/webcore-logging-expected.txt:
1928         * inspector/css/add-rule-expected.txt:
1929         * inspector/debugger/continueUntilNextRunLoop-expected.txt:
1930         * inspector/debugger/evaluateOnCallFrame-errors-expected.txt:
1931         * inspector/debugger/setBreakpoint-expected.txt:
1932         * inspector/dom-debugger/dom-breakpoints-expected.txt:
1933         * inspector/dom/breakpoint-for-event-listener-expected.txt:
1934         * inspector/dom/highlightQuad-expected.txt:
1935         * inspector/dom/insertAdjacentHTML-expected.txt:
1936         * inspector/dom/request-child-nodes-depth-expected.txt:
1937         * inspector/dom/setEventListenerDisabled-expected.txt:
1938         * inspector/protocol/backend-dispatcher-argument-errors-expected.txt:
1939         * inspector/runtime/awaitPromise-expected.txt:
1940         * inspector/runtime/getPreview-expected.txt:
1941         * inspector/timeline/setInstruments-errors-expected.txt:
1942
1943 2019-08-26  Devin Rousso  <drousso@apple.com>
1944
1945         Unreviewed, add extra test failure logging after r200971
1946
1947         * inspector/debugger/tail-deleted-frames-this-value.html:
1948         Also log the actual value (in addition to the expected one) in assertion messages.
1949
1950 2019-08-26  Wenson Hsieh  <wenson_hsieh@apple.com>
1951
1952         Remove UIHelper.activateElementAtHumanSpeed
1953         https://bugs.webkit.org/show_bug.cgi?id=201147
1954
1955         Reviewed by Tim Horton.
1956
1957         This was used in layout tests that simulate repeated taps to work around <webkit.org/b/201129>, and should no
1958         longer be needed after <https://trac.webkit.org/changeset/249112/webkit>. Instead, we can just use UIHelper's
1959         activateElement as intended in cases where successive taps in the test does not result in a double-click; for
1960         the cases where we need to avoid triggering double clicks when tapping (e.g. in several payment tests), use a
1961         new script controller hook to wait for the double tap gesture delay before continuing.
1962
1963         * fast/forms/ios/file-upload-panel.html:
1964         * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt:
1965
1966         Rebaseline more line numbers.
1967
1968         * http/tests/adClickAttribution/anchor-tag-attributes-validation.html:
1969
1970         Refactor this test so that the links are laid out in two (or more) columns to avoid firing the double click
1971         gesture recognizer instead of the synthetic click gesture.
1972
1973         * http/tests/resources/payment-request.js:
1974         (activateThen):
1975
1976         Instead of using activateElementAtHumanSpeed, wait for the platform double tap delay first, and then simulate
1977         a click using activateElement.
1978
1979         * resources/ui-helper.js:
1980         (window.UIHelper.waitForDoubleTapDelay):
1981
1982         Add a new UIHelper method to wait for the platform double tap delay. See Tools ChangeLog for more details.
1983
1984         (window.UIHelper):
1985         (window.UIHelper.activateElementAtHumanSpeed.return.new.Promise): Deleted.
1986         (window.UIHelper.activateElementAtHumanSpeed): Deleted.
1987
1988 2019-08-26  Devin Rousso  <drousso@apple.com>
1989
1990         Unreviewed, fix test failure after r200971
1991
1992         * inspector/timeline/line-column-expected.txt:
1993
1994         * inspector/debugger/tail-deleted-frames-this-value.html:
1995         Add messages to all `InspectorTest.assert` so we can know which one is firing on the bots.
1996
1997 2019-08-26  Wenson Hsieh  <wenson_hsieh@apple.com>
1998
1999         Unreviewed, unmark two datalist tests as timing out on iOS 13 after r249112
2000
2001         * platform/ios/TestExpectations:
2002
2003 2019-08-26  Wenson Hsieh  <wenson_hsieh@apple.com>
2004
2005         REGRESSION (iOS 13): Tests that simulate multiple back-to-back single taps fail or time out
2006         https://bugs.webkit.org/show_bug.cgi?id=201129
2007         <rdar://problem/51857277>
2008
2009         Reviewed by Tim Horton.
2010
2011         Adjusts a few layout tests after changes to UIScriptController::doubleTapAtPoint and
2012         UIScriptController::singleTapAtPoint.
2013
2014         * editing/selection/ios/change-selection-by-tapping.html:
2015
2016         Tweak this test to tap the page 12 times instead of 20 (which seems to cause occasional timeouts locally, when
2017         running all layout tests with a dozen active simulators).
2018
2019         * fast/events/ios/double-tap-zoom.html:
2020         * fast/events/ios/viewport-device-width-allows-double-tap-zoom-out.html:
2021         * fast/events/ios/viewport-shrink-to-fit-allows-double-tap.html:
2022
2023         Augment a few call sites of `doubleTapAtPoint` with a 0 delay. Ideally, these should just use ui-helper.js, but
2024         we can refactor these tests as a part of folding basic-gestures.js into ui-helper.js.
2025
2026         * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt:
2027         * http/tests/security/anchor-download-block-crossorigin-expected.txt:
2028
2029         Rebaseline these layout tests, due to change in line numbers.
2030
2031         * platform/ipad/TestExpectations:
2032
2033         Unskip these tests on iPad, now that they should pass.
2034
2035         * pointerevents/utils.js:
2036         (const.ui.new.UIController.prototype.doubleTapToZoom):
2037         * resources/basic-gestures.js:
2038         (return.new.Promise.):
2039         (return.new.Promise):
2040
2041         Adjust some more call sites of `doubleTapAtPoint`. Ideally, these should use just `ui-helper.js` too.
2042
2043         * resources/ui-helper.js:
2044         (window.UIHelper.doubleTapAt.return.new.Promise):
2045         (window.UIHelper.doubleTapAt):
2046         (window.UIHelper.humanSpeedDoubleTapAt):
2047         (window.UIHelper.humanSpeedZoomByDoubleTappingAt):
2048
2049         Add a delay parameter to `doubleTapAt` to specify a delay after each simulated tap. By default, this is 0, but
2050         the `humanSpeed*` helpers add a delay of 120 milliseconds. Additionally, these helpers were previously calling
2051         `singleTapAtPoint` twice, with a timeout in between to add a delay. Instead, call `doubleTapAtPoint` with a
2052         nonzero delay; otherwise, we'll end up waiting in `singleTapAtPoint` for the gesture subgraph containing both
2053         the double tap gestures and the synthetic single tap gesture to reset, which causes these two single taps to no
2054         longer be recognized as a double tap gesture.
2055
2056         (window.UIHelper.zoomByDoubleTappingAt):
2057
2058 2019-08-26  Jiewen Tan  <jiewen_tan@apple.com>
2059
2060         [WebAuthn] Support HID authenticators on iOS
2061         https://bugs.webkit.org/show_bug.cgi?id=201084
2062         <rdar://problem/51908390>
2063
2064         Reviewed by Youenn Fablet.
2065
2066         * platform/ios-wk2/TestExpectations:
2067         Unskips HID tests for iOS.
2068
2069 2019-08-26  Jiewen Tan  <jiewen_tan@apple.com>
2070
2071         Unreviewed, test gardening
2072
2073         * platform/mac-wk2/TestExpectations:
2074         Skip WebAuthn tests for HighSierra and Mojave.
2075
2076 2019-08-26  Russell Epstein  <repstein@apple.com>
2077
2078         Unreviewed, rolling out r248961.
2079
2080         Same patch was re-landed after being rolled out. Patch is
2081         causing Catalina/iOS 13 test failures. Rolling out.
2082
2083         Reverted changeset:
2084
2085         "Verify Prefetch and credential behavior"
2086         https://bugs.webkit.org/show_bug.cgi?id=200000
2087         https://trac.webkit.org/changeset/248961
2088
2089 2019-08-26  Russell Epstein  <repstein@apple.com>
2090
2091         rdar://51857070 (iPad: Many fast/text-autosizing layout tests are consistently failing)
2092
2093         Unreviewed Test Gardening.
2094         Tests are no longer failing. Removing test expectations.
2095
2096         * platform/ipad/TestExpectations:
2097
2098 2019-08-26  Youenn Fablet  <youenn@apple.com>
2099
2100         Add a WebsiteDataStore delegate to handle AuthenticationChallenge that do not come from pages
2101         https://bugs.webkit.org/show_bug.cgi?id=196870
2102
2103         Reviewed by Alex Christensen.
2104
2105         Add tests to validate that the delegate decision is respected for beacons and service worker loads.
2106
2107         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight-expected.txt:
2108         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html:
2109         * http/wpt/beacon/resources/beacon-preflight.py:
2110         (main):
2111         * http/wpt/service-workers/resources/lengthy-pass.py:
2112         (main):
2113         * http/wpt/service-workers/server-trust-evaluation.https-expected.txt: Added.
2114         * http/wpt/service-workers/server-trust-evaluation.https.html: Added.
2115         * http/wpt/service-workers/server-trust-worker.js: Added.
2116         * http/tests/ssl/certificate-validation.html: Remove unneeded setting call
2117         since we deny server trust requests if SSL certificates are not all allowed.
2118
2119 2019-08-24  Simon Fraser  <simon.fraser@apple.com>
2120
2121         Page crashes under CGPathAddUnevenCornersRoundedRect
2122         https://bugs.webkit.org/show_bug.cgi?id=201117
2123
2124         Reviewed by Dean Jackson.
2125
2126         * fast/borders/renderable-uneven-rounded-rects-expected.txt: Added.
2127         * fast/borders/renderable-uneven-rounded-rects.html: Added.
2128
2129 2019-08-24  Devin Rousso  <drousso@apple.com>
2130
2131         Web Inspector: "Copy Rule" menu item does not propagate comments properly
2132         https://bugs.webkit.org/show_bug.cgi?id=201095
2133
2134         Reviewed by Joseph Pecoraro.
2135
2136         * inspector/css/generateCSSRuleString.html:
2137         * inspector/css/generateCSSRuleString-expected.txt:
2138
2139 2019-08-23  Devin Rousso  <drousso@apple.com>
2140
2141         Web Inspector: create additional command line api functions for other console methods
2142         https://bugs.webkit.org/show_bug.cgi?id=200971
2143
2144         Reviewed by Joseph Pecoraro.
2145
2146         * http/tests/inspector/dom/cross-domain-inspected-node-access-expected.txt:
2147         * inspector/console/command-line-api-expected.txt:
2148
2149 2019-08-23  Wenson Hsieh  <wenson_hsieh@apple.com>
2150
2151         [iOS] [WebKit2] Tapping on the “I’m” text suggestion after typing “i’” does nothing
2152         https://bugs.webkit.org/show_bug.cgi?id=201085
2153         <rdar://problem/53056118>
2154
2155         Reviewed by Tim Horton.
2156
2157         Add a new layout test to verify that "I’" can be autocorrected to "I’m".
2158
2159         * fast/events/ios/autocorrect-with-apostrophe-expected.txt: Added.
2160         * fast/events/ios/autocorrect-with-apostrophe.html: Added.
2161
2162 2019-08-23  Tim Horton  <timothy_horton@apple.com>
2163
2164         REGRESSION (r248974): fast/events/ios/key-command-delete-to-end-of-paragraph.html is timing out on iOS
2165         https://bugs.webkit.org/show_bug.cgi?id=201091
2166         <rdar://problem/54647731>
2167
2168         Reviewed by Megan Gardner.
2169
2170         * fast/events/ios/key-command-delete-to-end-of-paragraph.html:
2171         The test as-written doesn't actually wait for the tap to complete before
2172         continuing on with the test - it starts immediately when the focus event
2173         fires. This results in the selection being changed by the single click
2174         handler *after* focusing the field.
2175
2176         Rewrite the test to await completion of the tap before moving forward
2177         instead of waiting for focus.
2178
2179 2019-08-23  Chris Dumez  <cdumez@apple.com>
2180
2181         [geolocation] Rename interfaces and remove [NoInterfaceObject]
2182         https://bugs.webkit.org/show_bug.cgi?id=200885
2183
2184         Reviewed by Alex Christensen.
2185
2186         Add layout test coverage.
2187
2188         * fast/dom/Geolocation/exposed-geolocation-interfaces-expected.txt: Added.
2189         * fast/dom/Geolocation/exposed-geolocation-interfaces.html: Added.
2190         * fast/dom/Geolocation/position-string-expected.txt:
2191         * fast/dom/Geolocation/position-string.html:
2192
2193 2019-08-23  Ryan Haddad  <ryanhaddad@apple.com>
2194
2195         Unreviewed, rolling out r249001.
2196
2197         Caused one layout test to fail on all configurations and
2198         another to time out on Catalina / iOS 13.
2199
2200         Reverted changeset:
2201
2202         "Add a WebsiteDataStore delegate to handle
2203         AuthenticationChallenge that do not come from pages"
2204         https://bugs.webkit.org/show_bug.cgi?id=196870
2205         https://trac.webkit.org/changeset/249001
2206
2207 2019-08-23  Antoine Quint  <graouts@apple.com>
2208
2209         REGRESSION: fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup.html is timing out
2210         https://bugs.webkit.org/show_bug.cgi?id=201075
2211         <rdar://problem/54491246>
2212
2213         Reviewed by Daniel Bates.
2214
2215         This test was written very early on in the process of implementing Pointer Events and assumed events would keep
2216         firing when scrolling occured. We need to add "touch-action: none" to ensure we get pointermove and pointerup
2217         events. We also need to ensure that the interaction occurs over content otherwise events won't fire. Finally, we
2218         pretty up the test a bit.
2219
2220         * fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup-expected.txt:
2221         * fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup.html:
2222
2223 2019-08-20  Jiewen Tan  <jiewen_tan@apple.com>
2224
2225         [WebAuthn] Support NFC authenticators for iOS
2226         https://bugs.webkit.org/show_bug.cgi?id=188624
2227         <rdar://problem/43354214>
2228
2229         Reviewed by Chris Dumez.
2230
2231         * http/wpt/webauthn/ctap-nfc-failure.https-expected.txt: Added.
2232         * http/wpt/webauthn/ctap-nfc-failure.https.html: Added.
2233         * http/wpt/webauthn/public-key-credential-create-failure-nfc.https-expected.txt: Added.
2234         * http/wpt/webauthn/public-key-credential-create-failure-nfc.https.html: Added.
2235         * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt:
2236         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html:
2237         This patch replaces the "local" keyword with "hid".
2238         * http/wpt/webauthn/public-key-credential-create-success-nfc.https-expected.txt: Added.
2239         * http/wpt/webauthn/public-key-credential-create-success-nfc.https.html: Added.
2240         * http/wpt/webauthn/public-key-credential-get-failure-nfc.https-expected.txt: Added.
2241         * http/wpt/webauthn/public-key-credential-get-failure-nfc.https.html: Added.
2242         * http/wpt/webauthn/public-key-credential-get-success-nfc.https-expected.txt: Added.
2243         * http/wpt/webauthn/public-key-credential-get-success-nfc.https.html: Added.
2244         * http/wpt/webauthn/resources/util.js:
2245         * platform/ios-simulator-wk2/TestExpectations:
2246         Skip NFC tests for simulators.
2247
2248 2019-08-23  Russell Epstein  <repstein@apple.com>
2249
2250         Unreviewed, rolling out r249031.
2251
2252         Causes multiple test failures on iOS simulator
2253
2254         Reverted changeset:
2255
2256         "[iOS] Should show input view when became first responder if
2257         keyboard was showing when the view was resigned"
2258         https://bugs.webkit.org/show_bug.cgi?id=200902
2259         https://trac.webkit.org/changeset/249031
2260
2261 2019-08-23  Megan Gardner  <megan_gardner@apple.com>
2262
2263         Revert delete-in-input-in-iframe.html and typing-in-input-in-iframe.html to original behaviour after r248977 and make associated test autoscroll-input-when-very-zoomed.html more stable
2264         https://bugs.webkit.org/show_bug.cgi?id=201058
2265
2266         Reviewed by Simon Fraser.
2267
2268         delete-in-input-in-iframe and typing-in-input-in-iframe were changed when scrolling was made to work differently in r244141.
2269         They actually did find a bug, and that bug was fixed in r248977, so we put the tests back to test that scolls do not happen.
2270         Also update autoscroll-input-when-very-zoomed which was added to test r248977 to be more robust.
2271
2272         * fast/forms/ios/delete-in-input-in-iframe-expected.txt:
2273         * fast/forms/ios/delete-in-input-in-iframe.html:
2274         * fast/forms/ios/typing-in-input-in-iframe-expected.txt:
2275         * fast/forms/ios/typing-in-input-in-iframe.html:
2276         * fast/scrolling/ios/autoscroll-input-when-very-zoomed.html:
2277
2278 2019-08-22  Fujii Hironori  <Hironori.Fujii@sony.com>
2279
2280         [SVG] -webkit-clip-path treats url(abc#xyz) as url(#xyz) because it checks only URL fragment part
2281         https://bugs.webkit.org/show_bug.cgi?id=201030
2282
2283         Reviewed by Ryosuke Niwa.
2284
2285         * svg/clip-path/clip-path-invalid-reference-001-expected.svg: Added.
2286         * svg/clip-path/clip-path-invalid-reference-001.svg: Added.
2287         * svg/clip-path/clip-path-invalid-reference-002-expected.svg: Added.
2288         * svg/clip-path/clip-path-invalid-reference-002.svg: Added.
2289
2290 2019-08-22  Daniel Bates  <dabates@apple.com>
2291
2292         [iOS] Should show input view when became first responder if keyboard was showing when the view was resigned
2293         https://bugs.webkit.org/show_bug.cgi?id=200902
2294         <rdar://problem/54231756>
2295
2296         Reviewed by Wenson Hsieh.
2297
2298         Add tests to ensure that we show the keyboard when becoming first responder if the view resigned with the
2299         keyboard on screen. Also add a test to ensure that we keep our current behavior and do NOT show the keyboard
2300         for an autofocused text field when the view becomes first responder.
2301
2302         * fast/events/ios/resources/check-keyboard-on-screen.js: Added.
2303         (async.checkKeyboardOnScreen):
2304         (async.checkKeyboardNotOnScreen):
2305         * fast/events/ios/should-not-show-keyboard-for-autofocused-field-when-becoming-first-responder-after-navigation-expected.txt: Added.
2306         * fast/events/ios/should-not-show-keyboard-for-autofocused-field-when-becoming-first-responder-after-navigation.html: Added.
2307         * fast/events/ios/show-keyboard-when-becoming-first-responder-despite-inputmode-none-expected.txt: Added.
2308         * fast/events/ios/show-keyboard-when-becoming-first-responder-despite-inputmode-none.html: Added.
2309         * fast/events/ios/show-keyboard-when-becoming-first-responder-expected.txt: Added.
2310         * fast/events/ios/show-keyboard-when-becoming-first-responder.html: Added.
2311         * resources/ui-helper.js:
2312         (window.UIHelper.waitForKeyboardToShow.return.new.Promise): Added.
2313         (window.UIHelper.waitForKeyboardToShow): Added.
2314         (window.UIHelper.becomeFirstResponder): Added.
2315
2316 2019-08-22  Tim Horton  <timothy_horton@apple.com>
2317
2318         REGRESSION (r248974): fast/events/ios/select-all-with-existing-selection.html fails
2319         https://bugs.webkit.org/show_bug.cgi?id=201050
2320
2321         Reviewed by Wenson Hsieh.
2322
2323         * fast/events/ios/select-all-with-existing-selection.html:
2324         The test as-written doesn't actually wait for the tap to complete before
2325         continuing on with the test - it starts immediately when the focus event
2326         fires. This results in the selection being changed by the single click
2327         handler *after* focusing the field.
2328
2329         Rewrite the test to await completion of the tap before moving forward
2330         instead of waiting for focus.
2331
2332 2019-08-22  Said Abou-Hallawa  <sabouhallawa@apple.com>
2333
2334         Crash may happen when an SVG <feImage> element references the root <svg> element
2335         https://bugs.webkit.org/show_bug.cgi?id=201014
2336
2337         Reviewed by Ryosuke Niwa.
2338
2339         Ensure the cyclic reference between the <feImage> renderer and its
2340         ancestor <svg> root renderer is broken.
2341
2342         * svg/filters/filter-image-ref-root-expected.txt: Added.
2343         * svg/filters/filter-image-ref-root.html: Added.
2344
2345 2019-08-22  Tim Horton  <timothy_horton@apple.com>
2346
2347         Rebaseline some editing tests after r248974
2348         https://bugs.webkit.org/show_bug.cgi?id=200999
2349         <rdar://problem/54564878>
2350
2351         * platform/ios/editing/deleting/smart-delete-003-expected.txt:
2352         * platform/ios/editing/deleting/smart-delete-004-expected.txt:
2353         * platform/ios/editing/pasteboard/smart-paste-008-expected.txt:
2354
2355 2019-08-22  Wenson Hsieh  <wenson_hsieh@apple.com>
2356
2357         Typing Korean in title field after typing in the body inserts extraneous characters on blog.naver.com
2358         https://bugs.webkit.org/show_bug.cgi?id=201023
2359         <rdar://problem/54294794>
2360
2361         Reviewed by Ryosuke Niwa.
2362
2363         Add a new layout test to verify that we suppress text interactions when focusing an editable element inside an
2364         empty, borderless subframe.
2365
2366         * editing/selection/ios/do-not-show-selection-in-empty-borderless-subframe-expected.txt: Added.
2367         * editing/selection/ios/do-not-show-selection-in-empty-borderless-subframe.html: Added.
2368
2369 2019-08-22  Youenn Fablet  <youenn@apple.com>
2370
2371         Add a WebsiteDataStore delegate to handle AuthenticationChallenge that do not come from pages
2372         https://bugs.webkit.org/show_bug.cgi?id=196870
2373
2374         Reviewed by Alex Christensen.
2375
2376         Add tests to validate that the delegate decision is respected for beacons and service worker loads.
2377
2378         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight-expected.txt:
2379         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html:
2380         * http/wpt/beacon/resources/beacon-preflight.py:
2381         (main):
2382         * http/wpt/service-workers/resources/lengthy-pass.py:
2383         (main):
2384         * http/wpt/service-workers/server-trust-evaluation.https-expected.txt: Added.
2385         * http/wpt/service-workers/server-trust-evaluation.https.html: Added.
2386         * http/wpt/service-workers/server-trust-worker.js: Added.
2387
2388 2019-08-21  Ryosuke Niwa  <rniwa@webkit.org>
2389
2390         Layout Test perf/clone-with-focus.html is a Flaky Failure
2391         https://bugs.webkit.org/show_bug.cgi?id=201012
2392
2393         Reviewed by Antti Koivisto.
2394
2395         The flakiness was observed when the time to clone elements without focus is 0ms
2396         but the time to clone elements with focus is 1ms or greater.
2397
2398         The test tries to make sure the time to clone elements with foucs is less than 2x
2399         of the time to clone elements without focus. When the time to clone without focus
2400         is 0ms, any difference is always more than 2x larger.
2401
2402         Fixed the test by increasing the number of elements until the time to clone without
2403         focus takes at least 5ms.
2404
2405         * perf/clone-with-focus.html:
2406
2407 2019-08-21  Myles C. Maxfield  <mmaxfield@apple.com>
2408
2409         [WHLSL] Vertex shader and fragment shader need to be able to come from two different programs
2410         https://bugs.webkit.org/show_bug.cgi?id=195446
2411
2412         Reviewed by Saam Barati.
2413
2414         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-10-expected.html: Added.
2415         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-10.html: Added.
2416         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-11-expected.html: Added.
2417         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-11.html: Added.
2418         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-12-expected.html: Added.
2419         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-12.html: Added.
2420         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-13-expected.html: Added.
2421         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-13.html: Added.
2422         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-14-expected.html: Added.
2423         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-14.html: Added.
2424         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-15-expected.html: Added.
2425         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-15.html: Added.
2426         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-16-expected.html: Added.
2427         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-16.html: Added.
2428         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-17-expected.html: Added.
2429         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-17.html: Added.
2430         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-18-expected.html: Added.
2431         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-18.html: Added.
2432         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-19-expected.html: Added.
2433         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-19.html: Added.
2434         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-2-expected.html: Added.
2435         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-2.html: Added.
2436         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-20-expected.txt: Added.
2437         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-20.html: Added.
2438         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-21-expected.txt: Added.
2439         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-21.html: Added.
2440         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-22-expected.txt: Added.
2441         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-22.html: Added.
2442         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-23-expected.txt: Added.
2443         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-23.html: Added.
2444         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-24-expected.html: Added.
2445         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-24.html: Added.
2446         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-25-expected.txt: Added.
2447         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-25.html: Added.
2448         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-26-expected.html: Added.
2449         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-26.html: Added.
2450         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-27-expected.txt: Added.
2451         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-27.html: Added.
2452         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-3-expected.txt: Added.
2453         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-3.html: Added.
2454         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-4-expected.txt: Added.
2455         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-4.html: Added.
2456         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-5-expected.txt: Added.
2457         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-5.html: Added.
2458         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-6-expected.txt: Added.
2459         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-6.html: Added.
2460         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-7-expected.html: Added.
2461         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-7.html: Added.
2462         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-8-expected.txt: Added.
2463         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-8.html: Added.
2464         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-9-expected.txt: Added.
2465         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-9.html: Added.
2466         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-expected.html: Added.
2467         * webgpu/whlsl/separate-shader-modules/separate-shader-modules.html: Added.
2468
2469 2019-08-21  Ryosuke Niwa  <rniwa@webkit.org>
2470
2471         SVG element should become focusable when focus and key event listeners are added
2472         https://bugs.webkit.org/show_bug.cgi?id=200997
2473
2474         Reviewed by Said Abou-Hallawa.
2475
2476         Updated existing tests to set tabIndex where appropriate, and added SVG elements
2477         without tabindex content attribute to tabindex-order.html so that the test would
2478         skip those elements when sequentially focus navigating across them.
2479
2480         * svg/custom/add-event-listener-shadow-tree-element.html:
2481         * svg/custom/resources/focus-event-handling-keyboard.js:
2482         * svg/custom/resources/focus-event-handling.js:
2483         * svg/custom/tabindex-order-expected.txt:
2484         * svg/custom/tabindex-order.html: Added test cases without tabindex.
2485
2486 2019-08-21  Megan Gardner  <megan_gardner@apple.com>
2487
2488         Do not adjust viewport if editing selection is already visible
2489         https://bugs.webkit.org/show_bug.cgi?id=200907
2490         <rdar://problem/53903417>
2491
2492         Reviewed by Simon Fraser.
2493
2494         * fast/scrolling/ios/autoscroll-input-when-very-zoomed-expected.txt: Added.
2495         * fast/scrolling/ios/autoscroll-input-when-very-zoomed.html: Added.
2496         * resources/ui-helper.js:
2497         (window.UIHelper.immediateZoomToScale):
2498
2499 2019-08-21  Tim Horton  <timothy_horton@apple.com>
2500
2501         [Mail] Tapping top of message scrolls back to copied text instead of top of the message
2502         https://bugs.webkit.org/show_bug.cgi?id=200999
2503         <rdar://problem/54564878>
2504
2505         Reviewed by Wenson Hsieh.
2506
2507         * editing/selection/ios/change-selection-by-tapping-with-existing-selection-expected.txt: Added.
2508         * editing/selection/ios/change-selection-by-tapping-with-existing-selection.html: Added.
2509
2510 2019-08-21  Alex Christensen  <achristensen@webkit.org>
2511
2512         Disabling text autosizing should prevent text autosizing
2513         https://bugs.webkit.org/show_bug.cgi?id=200955
2514         <rdar://problem/48095374>
2515
2516         Reviewed by Simon Fraser.
2517
2518         * fast/text-autosizing/ios/text-size-adjust-inline-style.html:
2519         The comment was incorrect because we call WKPreferencesSetTextAutosizingEnabled(preferences, false) in TestController::platformResetPreferencesToConsistentValues.
2520         In order to test the effect of text autosizing in this test, we need to explicitly turn it on.  The disabling of text autosizing didn't do anything before this
2521         patch, so it wasn't needed before now.
2522
2523 2019-08-21  Ryan Haddad  <ryanhaddad@apple.com>
2524
2525         Unreviewed test gardening, land test expectations for rdar://54561673.
2526
2527         * platform/ios/TestExpectations:
2528         * platform/ios-12/TestExpectations:
2529
2530 2019-08-21  Rob Buis  <rbuis@igalia.com>
2531
2532         Verify Prefetch and credential behavior
2533         https://bugs.webkit.org/show_bug.cgi?id=200000
2534
2535         Reviewed by Youenn Fablet.
2536
2537         Add a test to verify that navigating to a prefetched main resource
2538         that sets Vary: Cookie does send cookies.
2539
2540         * http/wpt/prefetch/link-prefetch-cross-origin-vary-cookie-expected.txt: Added.
2541         * http/wpt/prefetch/link-prefetch-cross-origin-vary-cookie.html: Added.
2542         * http/wpt/prefetch/resources/main-resource-cross-origin-set-cookie.py: Added.
2543         (main):
2544         * http/wpt/prefetch/resources/main-resource-cross-origin-vary-cookie.py: Added.
2545         (main):
2546         * http/wpt/prefetch/resources/navigate-cross-origin-vary-cookie.html: Added.
2547         * platform/mac-wk1/TestExpectations:
2548         * platform/win/TestExpectations:
2549
2550 2019-08-21  Ryosuke Niwa  <rniwa@webkit.org>
2551
2552         Put keygen element behind a runtime flag and disable it by default
2553         https://bugs.webkit.org/show_bug.cgi?id=200850
2554
2555         Reviewed by Antti Koivisto.
2556
2557         Deployed enableKeygenElement test runner option to keep the layout tests running.
2558
2559         * accessibility/content-changed-notification-causes-crash.html:
2560         * accessibility/contenteditable-table-check-causes-crash.html:
2561         * accessibility/duplicate-axrenderobject-crash.html:
2562         * fast/block/float/float-not-removed-from-first-letter.html:
2563         * fast/block/float/split-inline-sibling-of-float-crash.html:
2564         * fast/css/pseudo-required-optional-unapplied.html:
2565         * fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html:
2566         * fast/dom/HTMLKeygenElement/keygen-keytype.html:
2567         * fast/dom/HTMLKeygenElement/keygen.html:
2568         * fast/dom/adopt-node-crash-2.html:
2569         * fast/dom/attribute-set-before-element-in-tree.html:
2570         * fast/dom/domstring-attribute-reflection.html:
2571         * fast/dom/set-custom-validity-with-too-few-arguments.html:
2572         * fast/dom/tabindex-defaults.html:
2573         * fast/dom/wrapper-classes.html:
2574         * fast/dynamic/insertAdjacentHTML-allowed-parents.html:
2575         * fast/flexbox/crash-button-keygen.html:
2576         * fast/forms/ValidityState-001.html:
2577         * fast/forms/autofocus-keygen.html:
2578         * fast/forms/checkValidity-001.html:
2579         * fast/forms/fieldset/fieldset-elements-htmlcollection.html:
2580         * fast/forms/fieldset/fieldset-elements.html:
2581         * fast/forms/form-associated-element-crash3.html:
2582         * fast/forms/form-attribute.html:
2583         * fast/forms/form-collection-elements-order.html:
2584         * fast/forms/form-collection-elements.html:
2585         * fast/forms/form-collection-radio-node-list.html:
2586         * fast/forms/label/labelable-elements.html:
2587         * fast/forms/label/labels-add-htmlFor-label.html:
2588         * fast/forms/label/labels-add-parent-label.html:
2589         * fast/forms/label/labels-change-htmlFor-attribute.html:
2590         * fast/forms/label/labels-multiple-sibling-labels.html:
2591         * fast/forms/label/labels-parent-and-sibling-labels.html:
2592         * fast/forms/label/labels-remove-htmlFor-attribute.html:
2593         * fast/forms/label/labels-remove-htmlFor-label.html:
2594         * fast/forms/label/labels-remove-parent-label.html:
2595         * fast/forms/label/labels-set-htmlFor-attribute.html:
2596         * fast/forms/large-parts.html:
2597         * fast/forms/scrollheight-with-mutation-crash.html:
2598         * fast/forms/setCustomValidity-arguments.html:
2599         * fast/forms/setCustomValidity-existence.html:
2600         * fast/forms/setCustomValidity-null-parameter.html:
2601         * fast/forms/state-restore-skip-stateless.html:
2602         * fast/forms/update-form-owner-in-moved-subtree-assertion-failure.html:
2603         * fast/forms/validationMessage.html:
2604         * fast/forms/willvalidate.html:
2605         * fast/html/clone-keygen.html:
2606         * fast/html/keygen.html:
2607         * fast/html/marquee-reparent-check.html:
2608         * fast/invalid/residual-style-expected.html:
2609         * fast/invalid/residual-style.html:
2610         * fast/multicol/span/positioned-child-not-removed-crash.html:
2611         * fast/ruby/float-object-doesnt-crash.html:
2612         * fast/shadow-dom/keygen-shadow-manipulation.html:
2613         * fast/table/crash-splitColumn-2.html:
2614         * fast/table/multiple-captions-crash3-expected.html:
2615         * fast/table/multiple-captions-crash3.html:
2616         * http/tests/misc/resources/check-keygen-post.php:
2617         * http/tests/misc/submit-post-keygen.html:
2618         * imported/blink/fast/dom/shadow/shadowdom-for-keygen-only-shadow-expected.html:
2619         * imported/blink/fast/dom/shadow/shadowdom-for-keygen-only-shadow.html:
2620         * imported/blink/fast/text/international-iteration-simple-text.html:
2621         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt: Rebaselined
2622         now that the test case for keygen is passing.
2623         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt: Ditto.
2624         * svg/dom/css-animate-input-foucs-crash.html:
2625
2626 2019-08-21  Russell Epstein  <repstein@apple.com>
2627
2628         Unreviewed, rolling out r248942.
2629
2630         Causes multiple layout test crashes on MacOS Bots
2631
2632         Reverted changeset:
2633
2634         "Verify Prefetch and credential behavior"
2635         https://bugs.webkit.org/show_bug.cgi?id=200000
2636         https://trac.webkit.org/changeset/248942
2637
2638 2019-08-21  Devin Rousso  <drousso@apple.com>
2639
2640         Web Inspector: Page: re-add enable/disable after r248454
2641         https://bugs.webkit.org/show_bug.cgi?id=200947
2642
2643         Reviewed by Joseph Pecoraro.
2644
2645         * http/tests/inspector/page/loading-iframe-document-node.html:
2646         * inspector/css/getMatchedStylesForNode.html:
2647         * inspector/css/getMatchedStylesForNode-expected.txt:
2648         * inspector/page/archive.html:
2649         * inspector/page/frameScheduledNavigation.html:
2650         * inspector/page/frameScheduledNavigation-async-delegates.html:
2651         * inspector/page/frameStartedLoading.html:
2652         * inspector/page/media-query-list-listener-exception.html:
2653         * inspector/timeline/line-column.html:
2654
2655 2019-08-21  Rob Buis  <rbuis@igalia.com>
2656
2657         Verify Prefetch and credential behavior
2658         https://bugs.webkit.org/show_bug.cgi?id=200000
2659
2660         Reviewed by Youenn Fablet.
2661
2662         Add a test to verify that navigating to a prefetched main resource
2663         that sets Vary: Cookie does send cookies.
2664
2665         * http/wpt/prefetch/link-prefetch-cross-origin-vary-cookie-expected.txt: Added.
2666         * http/wpt/prefetch/link-prefetch-cross-origin-vary-cookie.html: Added.
2667         * http/wpt/prefetch/resources/main-resource-cross-origin-set-cookie.py: Added.
2668         (main):
2669         * http/wpt/prefetch/resources/main-resource-cross-origin-vary-cookie.py: Added.
2670         (main):
2671         * http/wpt/prefetch/resources/navigate-cross-origin-vary-cookie.html: Added.
2672         * platform/mac-wk1/TestExpectations:
2673         * platform/win/TestExpectations:
2674
2675 2019-08-20  Devin Rousso  <drousso@apple.com>
2676
2677         Web Inspector: Implement `queryHolders` Command Line API
2678         https://bugs.webkit.org/show_bug.cgi?id=200458
2679
2680         Reviewed by Joseph Pecoraro.
2681
2682         * inspector/console/queryHolders.html: Added.
2683         * inspector/console/queryHolders-expected.txt: Added.
2684         * http/tests/inspector/dom/cross-domain-inspected-node-access-expected.txt:
2685         * TestExpectations:
2686         * platform/mac-wk1/TestExpectations:
2687
2688 2019-08-20  Saam Barati  <sbarati@apple.com>
2689
2690         [WHLSL] We need to null check when emitting native code for operator&.<field-name>
2691         https://bugs.webkit.org/show_bug.cgi?id=200846
2692
2693         Reviewed by Myles C. Maxfield.
2694
2695         * webgpu/whlsl/structure-field-access-on-null-expected.txt: Added.
2696         * webgpu/whlsl/structure-field-access-on-null.html: Added.
2697
2698 2019-08-20  Russell Epstein  <repstein@apple.com>
2699
2700         Updating Expectations for Multiple Newly Passing Tests.
2701
2702         Unreviewed Test Gardening.
2703
2704         * platform/ios-12/TestExpectations:
2705         * platform/ios-wk1/TestExpectations:
2706         * platform/ios/TestExpectations:
2707
2708 2019-08-16  Ryosuke Niwa  <rniwa@webkit.org>
2709
2710         The default tab index of output and fieldset should be -1
2711         https://bugs.webkit.org/show_bug.cgi?id=200834
2712
2713         Reviewed by Alex Christensen.
2714
2715         Added test cases for output, fieldset, and keygen.
2716
2717         * fast/dom/tabindex-defaults-expected.txt:
2718         * fast/dom/tabindex-defaults.html:
2719
2720 2019-08-20  Zalan Bujtas  <zalan@apple.com>
2721
2722         [ContentChangeObserver] isConsideredClickable should be able to process elements with no renderers
2723         https://bugs.webkit.org/show_bug.cgi?id=200926
2724         <rdar://problem/54519579>
2725
2726         Reviewed by Simon Fraser.
2727
2728         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden-crash-expected.txt: Added.
2729         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden-crash.html: Added.
2730
2731 2019-08-20  Wenson Hsieh  <wenson_hsieh@apple.com>
2732
2733         Clicking the search icon on ae.com hangs the web content process
2734         https://bugs.webkit.org/show_bug.cgi?id=200889
2735         <rdar://problem/54359330>
2736
2737         Reviewed by Ryosuke Niwa.
2738
2739         * editing/selection/modify-backward-inline-block-containers-expected.txt: Added.
2740         * editing/selection/modify-backward-inline-block-containers.html: Added.
2741
2742         Add a layout test to ensure that the selection may be moved through empty inline-block containers that span the
2743         width of the page.
2744
2745         * fast/events/focus-anchor-with-tabindex-hang-expected.txt: Added.
2746         * fast/events/focus-anchor-with-tabindex-hang.html: Added.
2747
2748         Add a layout test to ensure that clicking an empty span under a focusable anchor element moves focus to the
2749         anchor element instead of hanging the web content process or hitting a debug assertion.
2750
2751 2019-08-20  Ryan Haddad  <ryanhaddad@apple.com>
2752
2753         Web Inspector: Support for JavaScript BigInt
2754         https://bugs.webkit.org/show_bug.cgi?id=180731
2755
2756         Unreviewed test gardening.
2757
2758         * inspector/timeline/line-column-expected.txt: Rebaseline test.
2759
2760 2019-08-20  Joseph Pecoraro  <pecoraro@apple.com>
2761
2762         Web Inspector: Support for JavaScript BigInt
2763         https://bugs.webkit.org/show_bug.cgi?id=180731
2764         <rdar://problem/36298748>
2765
2766         Reviewed by Devin Rousso.
2767
2768         * inspector/model/remote-object-expected.txt:
2769         * inspector/model/remote-object.html:
2770         * inspector/model/resources/remote-object-utilities.js:
2771         Include simple tests for a BigInt value and preview.
2772
2773 2019-08-20  Devin Rousso  <drousso@apple.com>
2774
2775         Web Inspector: Use URL constructor to better handle all kinds of URLs
2776         https://bugs.webkit.org/show_bug.cgi?id=165155
2777
2778         Reviewed by Joseph Pecoraro.
2779
2780         * inspector/unit-tests/url-utilities.html:
2781         * inspector/unit-tests/url-utilities-expected.txt:
2782
2783 2019-08-19  Devin Rousso  <drousso@apple.com>
2784
2785         Web Inspector: Debugger: add a global breakpoint for pausing in the next microtask
2786         https://bugs.webkit.org/show_bug.cgi?id=200652
2787
2788         Reviewed by Joseph Pecoraro.
2789
2790         * inspector/debugger/setPauseOnMicrotasks.html: Added.
2791         * inspector/debugger/setPauseOnMicrotasks-expected.txt: Added.
2792
2793 2019-08-19  Devin Rousso  <drousso@apple.com>
2794
2795         Web Inspector: have more aggressive checks for dataURLs provided to `console.screenshot`
2796         https://bugs.webkit.org/show_bug.cgi?id=200747
2797
2798         Reviewed by Joseph Pecoraro.
2799
2800         * inspector/console/console-screenshot.html:
2801         * inspector/console/console-screenshot-expected.txt:
2802
2803 2019-08-19  Alexey Shvayka  <shvaikalesh@gmail.com>
2804
2805         Date.prototype.toJSON throws if toISOString returns an object
2806         https://bugs.webkit.org/show_bug.cgi?id=198495
2807
2808         Reviewed by Ross Kirsling.
2809
2810         TypeError shouldn't be thrown if result of toISOString call is an object.
2811         (step 4 of https://tc39.es/ecma262/#sec-date.prototype.tojson)
2812
2813         * js/dom/JSON-stringify-expected.txt:
2814         * js/resources/JSON-stringify.js:
2815
2816 2019-08-19  Russell Epstein  <repstein@apple.com>
2817
2818         rdar://52961406 (scrollingcoordinator/ios/scroll-position-after-reattach.html is a flaky image failure on iOS)
2819
2820         Unreviewed Test Gardening.
2821
2822         * platform/ios/TestExpectations: Updated test expectations to [ Pass Failure ]
2823
2824 2019-08-19  Russell Epstein  <repstein@apple.com>
2825
2826         rdar://54481698 (Layout Test platform/ios/ios/fast/text/opticalFont.html is Failing)
2827
2828         Unreviewed Test Gardening.
2829
2830         * platform/ios-12/platform/ios/ios/fast/text/opticalFont-expected.txt: Copied from LayoutTests/platform/ios/platform/ios/ios/fast/text/opticalFont-expected.txt.
2831         * platform/ios/platform/ios/ios/fast/text/opticalFont-expected.txt: Rebaseline.
2832
2833 2019-08-19  Antoine Quint  <graouts@apple.com>
2834
2835         [Pointer Events] Removing the capture element prevents future pointer events from being dispatched on macOS
2836         https://bugs.webkit.org/show_bug.cgi?id=200887
2837         <rdar://problem/54104147>
2838
2839         Reviewed by Dean Jackson.
2840
2841         * pointerevents/mouse/pointer-capture-element-removal-expected.txt: Added.
2842         * pointerevents/mouse/pointer-capture-element-removal.html: Added.
2843
2844 2019-08-19  Youenn Fablet  <youenn@apple.com>
2845
2846         enumerateDevices should return the same JS objects if called twice
2847         https://bugs.webkit.org/show_bug.cgi?id=200767
2848
2849         Reviewed by Eric Carlson.
2850
2851         * fast/mediastream/device-change-event-2.html:
2852
2853 2019-08-18  Cathie Chen  <cathiechen@igalia.com>
2854
2855         Crash in Document::deliverResizeObservations
2856         https://bugs.webkit.org/show_bug.cgi?id=200635
2857
2858         Reviewed by Simon Fraser.
2859
2860         Test deleting the next/previous sibling of observer list in callbacks, and the order of notifications.
2861
2862         * resize-observer/delete-observers-in-callbacks-expected.txt: Added.
2863         * resize-observer/delete-observers-in-callbacks.html: Added.
2864
2865 2019-08-17  Antti Koivisto  <antti@apple.com>
2866
2867         Content in <iframe> should override "touch-action" set in embedding document
2868         https://bugs.webkit.org/show_bug.cgi?id=200204
2869         <rdar://problem/54355249>
2870
2871         Reviewed by Antoine Quint.
2872
2873         * pointerevents/ios/touch-action-none-with-frame-inside-expected.txt: Added.
2874         * pointerevents/ios/touch-action-none-with-frame-inside.html: Added.
2875
2876 2019-08-16  Commit Queue  <commit-queue@webkit.org>
2877
2878         Unreviewed, rolling out r248772.
2879         https://bugs.webkit.org/show_bug.cgi?id=200853
2880
2881         Causes timeouts in some WebGL tests (Requested by anttik on
2882         #webkit).
2883
2884         Reverted changeset:
2885
2886         "Content in <iframe> should override "touch-action" set in
2887         embedding document"
2888         https://bugs.webkit.org/show_bug.cgi?id=200204
2889         https://trac.webkit.org/changeset/248772
2890
2891 2019-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
2892
2893         [macOS] Emoji with variation selectors are rendered in text style, not emoji style
2894         https://bugs.webkit.org/show_bug.cgi?id=200830
2895         <rdar://problem/53076002>
2896
2897         Reviewed by Simon Fraser.
2898
2899         * fast/text/emoji-variation-selector-expected-mismatch.html: Added.
2900         * fast/text/emoji-variation-selector.html: Added.
2901         * platform/win/TestExpectations: Mark as failing on Windows, because it doesn't support variation selectors.
2902
2903 2019-08-16  Saam Barati  <sbarati@apple.com>
2904
2905         [WHLSL] Make "operator cast" constructors native
2906         https://bugs.webkit.org/show_bug.cgi?id=200748
2907
2908         Reviewed by Myles C. Maxfield.
2909
2910         * webgpu/whlsl/matrix-constructors-expected.txt: Added.
2911         * webgpu/whlsl/matrix-constructors.html: Added.
2912         * webgpu/whlsl/vector-constructors-expected.txt: Added.
2913         * webgpu/whlsl/vector-constructors.html: Added.
2914
2915 2019-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
2916
2917         [WHLSL] Enums should be shadowed by local variables
2918         https://bugs.webkit.org/show_bug.cgi?id=200847
2919
2920         Reviewed by Saam Barati.
2921
2922         * webgpu/whlsl/structure-field-enumeration-element-clash-expected.txt: Added.
2923         * webgpu/whlsl/structure-field-enumeration-element-clash.html: Added.
2924
2925 2019-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
2926
2927         [WHLSL] Add test for the interaction between setters and increments
2928         https://bugs.webkit.org/show_bug.cgi?id=200848
2929
2930         Reviewed by Saam Barati.
2931
2932         As discovered by Robin in https://github.com/gpuweb/WHLSL/issues/308
2933
2934         * webgpu/whlsl/increment-setter-expected.txt: Added.
2935         * webgpu/whlsl/increment-setter.html: Added.
2936
2937 2019-08-16  Ryan Haddad  <ryanhaddad@apple.com>
2938
2939         [ContentChangeObserver] Keep track of all the visibility candidates.
2940         https://bugs.webkit.org/show_bug.cgi?id=200777
2941
2942         Unreviewed test gardening.
2943
2944         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden2-expected.txt: Update baseline.
2945
2946 2019-08-16  Saam Barati  <sbarati@apple.com>
2947
2948         [WHLSL] Add comparison operators for vectors and matrices
2949         https://bugs.webkit.org/show_bug.cgi?id=200823
2950
2951         Reviewed by Myles C. Maxfield.
2952
2953         * webgpu/whlsl/matrix-compare-expected.txt: Added.
2954         * webgpu/whlsl/matrix-compare.html: Added.
2955         * webgpu/whlsl/vector-compare-expected.txt: Added.
2956         * webgpu/whlsl/vector-compare.html: Added.
2957
2958 2019-08-16  Saam Barati  <sbarati@apple.com>
2959
2960         [WHLSL] Make operator== native and add bool matrices
2961         https://bugs.webkit.org/show_bug.cgi?id=200749
2962
2963         Reviewed by Myles C. Maxfield.
2964
2965         * webgpu/whlsl/bool-matrix-expected.txt: Added.
2966         * webgpu/whlsl/bool-matrix.html: Added.
2967         * webgpu/whlsl/builtin-vectors.html:
2968         * webgpu/whlsl/matrices-spec-tests.html:
2969         * webgpu/whlsl/operator-equal-equal-expected.txt: Added.
2970         * webgpu/whlsl/operator-equal-equal.html: Added.
2971
2972 2019-08-16  Zalan Bujtas  <zalan@apple.com>
2973
2974         [ContentChangeObserver] Add ContentChangeObserver::elementDidBecomeHidden
2975         https://bugs.webkit.org/show_bug.cgi?id=200819
2976         <rdar://problem/54400223>
2977
2978         Reviewed by Simon Fraser.
2979
2980         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden3-expected.txt: Added.
2981         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden3.html: Added.
2982
2983 2019-08-16  Joseph Pecoraro  <pecoraro@apple.com>
2984
2985         Web Inspector: JavaScript formatting of single statement arrow function can be poor
2986         https://bugs.webkit.org/show_bug.cgi?id=200800
2987
2988         Reviewed by Ross Kirsling.
2989
2990         * inspector/formatting/resources/javascript-tests/arrow-functions-expected.js:
2991         * inspector/formatting/resources/javascript-tests/arrow-functions.js:
2992         Add a few additional complex single statement arrow function test cases.
2993
2994 2019-08-16  Russell Epstein  <repstein@apple.com>
2995
2996         Typo correction for han-quotes expectation entry.
2997         rdar://52594556
2998
2999         Unreviewed Test Gardening.
3000
3001         * platform/mac/TestExpectations: Test is an ImageOnlyFailure, not a
3002         text Failure. Corrected mistake.
3003
3004 2019-08-16  Russell Epstein  <repstein@apple.com>
3005
3006         rdar://52557916 (REGRESSION: fast/css/paint-order.html and fast/css/paint-order-shadow.html are failing)
3007
3008         Unreviewed Test Gardening.
3009
3010         * platform/mac/TestExpectations: Corrected typo in previous entry and
3011         added test expectations for fast/css/paint-order.html and fast/css/paint-order-shadow.html
3012
3013 2019-08-16  Russell Epstein  <repstein@apple.com>
3014
3015         rdar://52594556 (Layout test fast/text/international/system-language/han-quotes.html is failing)
3016
3017         Unreviewed Test Gardening.
3018
3019         * platform/mac/TestExpectations: Added expectation for fast/text/international/system-language/han-quotes.html
3020
3021 2019-08-16  Devin Rousso  <drousso@apple.com>
3022
3023         Unreviewed, fix test failure and add additional tests after r248753
3024
3025         * inspector/unit-tests/url-utilities.html:
3026         * inspector/unit-tests/url-utilities-expected.txt:
3027         Add additional tests of `WI.displayNameForURL` with paths, query strings, and fragments.
3028
3029         * inspector/css/add-rule.html:
3030         * inspector/css/add-rule-expected.txt:
3031         The `doNotCreateIfMissing` parameter was removed from `preferredInspectorStyleSheetForFrame`.
3032         All the test is trying to do is check that there's not an existing Inspector Style Sheet, so
3033         instead just check that the list of Inspector Style Sheets is empty.
3034
3035 2019-08-16  Antti Koivisto  <antti@apple.com>
3036
3037         Content in <iframe> should override "touch-action" set in embedding document
3038         https://bugs.webkit.org/show_bug.cgi?id=200204
3039         <rdar://problem/54355249>
3040
3041         Reviewed by Antoine Quint.
3042
3043         * pointerevents/ios/touch-action-region-frame-expected.txt: Added.
3044         * pointerevents/ios/touch-action-region-frame.html: Added.
3045
3046 2019-08-16  Chris Lord  <clord@igalia.com>
3047
3048         Update WebGL test expectations for WebKit WPE
3049         https://bugs.webkit.org/show_bug.cgi?id=200765
3050
3051         Reviewed by Carlos Alberto Lopez Perez.
3052
3053         Establish a new baseline for WPE backend WebGL test results.
3054
3055         * platform/wpe/TestExpectations:
3056         * platform/wpe/webgl/2.0.0/conformance/extensions/get-extension-expected.txt:
3057         * platform/wpe/webgl/2.0.0/conformance/extensions/oes-texture-half-float-with-image-data-expected.txt: Removed.
3058         * platform/wpe/webgl/2.0.0/conformance/glsl/misc/shaders-with-invariance-expected.txt:
3059         * platform/wpe/webgl/2.0.0/conformance2/buffers/bound-buffer-size-change-test-expected.txt:
3060         * platform/wpe/webgl/2.0.0/conformance2/extensions/promoted-extensions-in-shaders-expected.txt:
3061         * platform/wpe/webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt: Removed.
3062         * platform/wpe/webgl/2.0.0/conformance2/renderbuffers/multisample-with-full-sample-counts-expected.txt: Added.
3063         * platform/wpe/webgl/2.0.0/conformance2/renderbuffers/multisampled-renderbuffer-initialization-expected.txt:
3064
3065 2019-08-15  Joseph Pecoraro  <pecoraro@apple.com>
3066
3067         Web Inspector: Update Esprima to support modern JavaScript language features
3068         https://bugs.webkit.org/show_bug.cgi?id=200796
3069
3070         Reviewed by Ross Kirsling.
3071
3072         * inspector/formatting/resources/javascript-tests/classes-expected.js:
3073         * inspector/formatting/resources/javascript-tests/classes.js:
3074         * inspector/formatting/resources/javascript-tests/for-statements-expected.js:
3075         * inspector/formatting/resources/javascript-tests/for-statements.js:
3076         * inspector/formatting/resources/javascript-tests/generators-expected.js:
3077         * inspector/formatting/resources/javascript-tests/generators.js:
3078         * inspector/formatting/resources/javascript-tests/numbers-expected.js: Added.
3079         * inspector/formatting/resources/javascript-tests/numbers.js: Added.
3080         * inspector/formatting/resources/javascript-tests/try-catch-finally-statements-expected.js:
3081         * inspector/formatting/resources/javascript-tests/try-catch-finally-statements.js:
3082         * inspector/formatting/resources/javascript-tests/unary-binary-expressions-expected.js:
3083         * inspector/formatting/resources/javascript-tests/unary-binary-expressions.js:
3084         Test formatting of new JavaScript language features.
3085
3086         * inspector/formatting/formatting-css-expected.txt:
3087         * inspector/formatting/formatting-javascript-expected.txt:
3088         * inspector/formatting/formatting-javascript.html:
3089         * inspector/formatting/resources/utilities.js:
3090         (TestPage.registerInitializer.async.runFormattingTest):
3091         (TestPage.registerInitializer.window.addFormattingTests):
3092         (TestPage.registerInitializer):
3093         Cleaner output and better handling for debugging failures.
3094
3095         * inspector/model/parse-script-syntax-tree.html:
3096         Test new AST permutations.
3097
3098 2019-08-15  Zalan Bujtas  <zalan@apple.com>
3099
3100         [ContentChangeObserver] Keep track of all the visibility candidates.
3101         https://bugs.webkit.org/show_bug.cgi?id=200777
3102         <rdar://problem/54356331>
3103
3104         Reviewed by Simon Fraser.
3105
3106         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden2-expected.txt: Added.
3107         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden2.html: Added.
3108
3109 2019-08-15  Myles C. Maxfield  <mmaxfield@apple.com>
3110
3111         [WHLSL] Add unary plus
3112         https://bugs.webkit.org/show_bug.cgi?id=200753
3113
3114         Reviewed by Saam Barati.
3115
3116         * webgpu/whlsl/vector-matrix-addition-subtraction-expected.txt: Added.
3117         * webgpu/whlsl/vector-matrix-addition-subtraction.html: Added.
3118
3119 2019-08-15  Myles C. Maxfield  <mmaxfield@apple.com>
3120
3121         [WHLSL] Matrices should have constructors that take a flattened list of scalars
3122         https://bugs.webkit.org/show_bug.cgi?id=200804
3123
3124         Reviewed by Saam Barati.
3125
3126         * webgpu/whlsl/matrix-constructors-list-of-scalars-expected.txt: Added.
3127         * webgpu/whlsl/matrix-constructors-list-of-scalars.html: Added.
3128
3129 2019-08-15  Devin Rousso  <drousso@apple.com>
3130
3131         Web Inspector: Sources: provide a way to create an arbitrary Inspector Style Sheet
3132         https://bugs.webkit.org/show_bug.cgi?id=200425
3133
3134         Reviewed by Joseph Pecoraro.
3135
3136         * inspector/unit-tests/url-utilities.html:
3137         * inspector/unit-tests/url-utilities-expected.txt:
3138
3139 2019-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
3140
3141         Tidy up some event stream helpers in basic-gestures.js
3142         https://bugs.webkit.org/show_bug.cgi?id=200783
3143
3144         Reviewed by Tim Horton.
3145
3146         * resources/basic-gestures.js:
3147
3148         Make a few small adjustments:
3149         (1) Invoke uiScriptComplete within the completion callback of sendEventStream. This actually doesn't result in
3150             any behavior differences, since UIScriptController will, by default, wait for non-persistent asynchronous
3151             tasks to finish before allowing the UI-side script invocation to finish.
3152         (2) Fix some minor indentation issues in longPressAndHoldAtPoint, touchAndDragFromPointToPoint, holdAtPoint,
3153             and continueTouchAndDragFromPointToPoint.
3154
3155 2019-08-15  Zalan Bujtas  <zalan@apple.com>
3156
3157         [ContentChangeObserver] Dispatch synthetic click when the visibility candidate element becomes hidden again.
3158         https://bugs.webkit.org/show_bug.cgi?id=200773
3159         <rdar://problem/54351728>
3160
3161         Reviewed by Simon Fraser.
3162
3163         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden-expected.html: Added.
3164         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden.html: Added.
3165
3166 2019-08-15  Robin Morisset  <rmorisset@apple.com>
3167
3168         [WHLSL] Don't accept operator&& or operator|| in the Lexer
3169         https://bugs.webkit.org/show_bug.cgi?id=200785
3170
3171         Reviewed by Saam Barati.
3172
3173         * webgpu/whlsl/lexing.html:
3174
3175 2019-08-15  Devin Rousso  <drousso@apple.com>
3176
3177         Web Inspector: support `console.screenshot` with detached <canvas>
3178         https://bugs.webkit.org/show_bug.cgi?id=200723
3179
3180         Reviewed by Joseph Pecoraro.
3181
3182         * inspector/console/console-screenshot.html:
3183         * inspector/console/console-screenshot-expected.txt:
3184
3185 2019-08-15  Sihui Liu  <sihui_liu@apple.com>
3186
3187         Some improvements on web storage
3188         https://bugs.webkit.org/show_bug.cgi?id=200373
3189
3190         Reviewed by Geoffrey Garen.
3191  
3192         Modify tests for a behavior change: sessionStorage will be lost when network process crashes.
3193
3194         For tests which use sessionStorage to store items, crash network process, then read from sessionStorage and 
3195         expect items to be in sessionStorage, replace sessionStorage with localStorage. Also, to make sure localStorage
3196         is stored persistently before network process gets terminated, adopt a newly introduced SPI to 
3197         synchronously flush localStorage content to disk before terminating network process.
3198
3199         * platform/ios-simulator-wk2/TestExpectations:
3200         * platform/mac-wk2/TestExpectations:
3201         * storage/domstorage/localstorage/private-browsing-affects-storage-expected.txt:
3202         * storage/indexeddb/IDBObject-leak.html:
3203         * storage/indexeddb/modern/opendatabase-after-storage-crash-expected.txt:
3204         * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
3205
3206 2019-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
3207
3208         Occasional hang under -[UIKeyboardTaskQueue lockWhenReadyForMainThread] when long-pressing non-editable text
3209         https://bugs.webkit.org/show_bug.cgi?id=200731
3210         <rdar://problem/54315371>
3211
3212         Reviewed by Tim Horton.
3213
3214         Add a layout test to verify that tapping the page while handling a text loupe gesture doesn't cause the UI
3215         process to hang indefinitely.
3216
3217         * editing/selection/ios/tap-during-loupe-gesture-expected.txt: Added.
3218         * editing/selection/ios/tap-during-loupe-gesture.html: Added.
3219
3220 2019-08-15  Joseph Pecoraro  <pecoraro@apple.com>
3221
3222         Web Inspector: Update Esprima to trunk (minor fixes)
3223         https://bugs.webkit.org/show_bug.cgi?id=200691
3224         <rdar://problem/54276170>
3225
3226         Rubber-stamped by Devin Rousso.
3227
3228         * inspector/model/parse-script-syntax-tree-expected.txt:
3229         * inspector/model/parse-script-syntax-tree.html:
3230         - SpreadProperty => SpreadElement.
3231         - RestProperty => RestElement.
3232
3233 2019-08-15  Saam Barati  <sbarati@apple.com>
3234
3235         [WHLSL] Make length, clamp, operator+, operator-, operator*, operator/, operator[], operator[]=, operator.xy, operator.xy=, native
3236         https://bugs.webkit.org/show_bug.cgi?id=200700
3237
3238         Reviewed by Robin Morisset.
3239
3240         * webgpu/whlsl/clamp-stdlib-expected.txt: Added.
3241         * webgpu/whlsl/clamp-stdlib.html: Added.
3242         * webgpu/whlsl/length-stdlib-expected.txt: Added.
3243         * webgpu/whlsl/length-stdlib.html: Added.
3244         * webgpu/whlsl/operator-div-expected.txt: Added.
3245         * webgpu/whlsl/operator-div.html: Added.
3246         * webgpu/whlsl/operator-minus-expected.txt: Added.
3247         * webgpu/whlsl/operator-minus.html: Added.
3248         * webgpu/whlsl/operator-plus-expected.txt: Added.
3249         * webgpu/whlsl/operator-plus.html: Added.
3250         * webgpu/whlsl/operator-times-expected.txt: Added.
3251         * webgpu/whlsl/operator-times.html: Added.
3252         * webgpu/whlsl/operator-vector-assign-expected.txt: Added.
3253         * webgpu/whlsl/operator-vector-assign.html: Added.
3254         * webgpu/whlsl/operator-vector-load-expected.txt: Added.
3255         * webgpu/whlsl/operator-vector-load.html: Added.
3256         * webgpu/whlsl/operator-xy-expected.txt: Added.
3257         * webgpu/whlsl/operator-xy.html: Added.
3258
3259 2019-08-15  Antti Koivisto  <antti@apple.com>
3260
3261         Negative size box with border radius causes hang under WebCore::approximateAsRegion
3262         https://bugs.webkit.org/show_bug.cgi?id=200769
3263         <rdar://problem/53380674>
3264
3265         Reviewed by Alex Christensen.
3266
3267         * fast/css/border-radius-negative-size-expected.txt: Added.
3268         * fast/css/border-radius-negative-size.html: Added.
3269
3270 2019-08-15  Youenn Fablet  <youenn@apple.com>
3271
3272         Make mock libwebrtc tests run with unified plan
3273         https://bugs.webkit.org/show_bug.cgi?id=200713
3274
3275         Reviewed by Alex Christensen.
3276
3277         Enable unified plan.
3278
3279         * fast/mediastream/RTCPeerConnection-icecandidate-event.html:
3280         * fast/mediastream/RTCPeerConnection-iceconnectionstatechange-event.html:
3281         * fast/mediastream/RTCPeerConnection-inspect-answer.html:
3282         * fast/mediastream/RTCPeerConnection-inspect-offer.html:
3283         * fast/mediastream/RTCPeerConnection-media-setup-single-dialog.html:
3284         * fast/mediastream/RTCPeerConnection-remotely-assigned-transceiver-mid.html:
3285         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer.html:
3286         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer.html:
3287         * webrtc/libwebrtc/release-while-creating-offer.html:
3288         * webrtc/libwebrtc/release-while-getting-stats.html:
3289         * webrtc/libwebrtc/release-while-setting-local-description.html:
3290
3291 2019-08-14  Myles C. Maxfield  <mmaxfield@apple.com>
3292
3293         [WHLSL] Variables shouldn't be able to have void type
3294         https://bugs.webkit.org/show_bug.cgi?id=200751
3295
3296         Reviewed by Robin Morisset.
3297
3298         * webgpu/whlsl/void-variable-parameter-expected.txt: Added.
3299         * webgpu/whlsl/void-variable-parameter.html: Added.
3300
3301 2019-08-14  Zalan Bujtas  <zalan@apple.com>
3302
3303         [ContentChangeObserver] Any previously destroyed renderer should not be considered a candidate for content observation.
3304         https://bugs.webkit.org/show_bug.cgi?id=200732
3305         <rdar://problem/54319654>
3306
3307         Reviewed by Simon Fraser.
3308
3309         * fast/events/touch/ios/content-observation/visible-content-gains-new-renderer2-expected.txt: Added.
3310         * fast/events/touch/ios/content-observation/visible-content-gains-new-renderer2.html: Added.
3311
3312 2019-08-14  Ryan Haddad  <ryanhaddad@apple.com>
3313
3314         Unreviewed, rolling out r248638.
3315
3316         These test expectations aren't necessary
3317
3318         Reverted changeset:
3319
3320         "Unreviewed test gardening, land test expectations for
3321         rdar://49790831."
3322         https://trac.webkit.org/changeset/248638
3323
3324 2019-08-14  Devin Rousso  <drousso@apple.com>
3325
3326         Web Inspector: support `console.screenshot` with dataURL strings
3327         https://bugs.webkit.org/show_bug.cgi?id=199307
3328
3329         Reviewed by Joseph Pecoraro.
3330
3331         * inspector/console/console-screenshot.html:
3332         * inspector/console/console-screenshot-expected.txt:
3333
3334 2019-08-14  Ryan Haddad  <ryanhaddad@apple.com>
3335
3336         [WebAuthN] Enable LocalAuthenticator for macOS
3337         https://bugs.webkit.org/show_bug.cgi?id=182772
3338
3339         Unreviewed test gardening.
3340
3341         * platform/mac-wk2/TestExpectations: Skip two more tests that are only expected to run on internal bots.
3342
3343 2019-08-13  Antoine Quint  <graouts@apple.com>
3344
3345         [iPadOS] slides.google.com: Cannot dismiss the context menu by tapping on the canvas
3346         https://bugs.webkit.org/show_bug.cgi?id=200219
3347         <rdar://problem/53650423>
3348
3349         Reviewed by Zalan Bujtas.
3350
3351         While the code change for this bug is all in code private to Safari, we add tests that check that removing implicit pointer capture
3352         or removing the original target element while the pointer is active correctly fires the "pointerup" event at the element that hit tests
3353         at the touch release point.
3354
3355         * pointerevents/ios/pointer-events-implicit-capture-element-removed-while-pointer-active-expected.txt: Added.
3356         * pointerevents/ios/pointer-events-implicit-capture-element-removed-while-pointer-active.html: Added.
3357         * pointerevents/ios/pointer-events-implicit-capture-released-while-pointer-active-expected.txt: Added.
3358         * pointerevents/ios/pointer-events-implicit-capture-released-while-pointer-active.html: Added.
3359
3360 2019-08-13  Saam Barati  <sbarati@apple.com>
3361
3362         [WHLSL] Make lexing faster
3363         https://bugs.webkit.org/show_bug.cgi?id=200596
3364
3365         Reviewed by Myles C. Maxfield.
3366
3367         * webgpu/whlsl/lexing-expected.txt: Added.
3368         * webgpu/whlsl/lexing.html: Added.
3369         * webgpu/whlsl/literals-expected.txt: Added.
3370         * webgpu/whlsl/literals.html: Added.
3371
3372 2019-08-13  Alexey Shvayka  <shvaikalesh@gmail.com>
3373
3374         Re-sync web-platform-tests/dom/events from upstream
3375         https://bugs.webkit.org/show_bug.cgi?id=200592
3376
3377         Reviewed by Ryosuke Niwa.
3378
3379         Re-sync web-platform-tests/dom/events from upstream 1e6fef09eae3.
3380
3381         * TestExpectations:
3382         * platform/ios/TestExpectations:
3383         * platform/ios/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt:
3384         * tests-options.json:
3385
3386 2019-08-13  John Wilander  <wilander@apple.com>
3387
3388         Resource Load Statistics: Switch NSURLSession on top navigation to prevalent resource with user interaction
3389         https://bugs.webkit.org/show_bug.cgi?id=200642
3390         <rdar://problem/53962073>
3391
3392         Reviewed by Alex Christensen.
3393
3394         * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-expected.txt: Added.
3395         * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction.html: Added.
3396         * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-expected.txt: Added.
3397         * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction.html: Added.
3398
3399 2019-08-13  Ryan Haddad  <ryanhaddad@apple.com>
3400
3401         [WebAuthN] Enable LocalAuthenticator for macOS
3402         https://bugs.webkit.org/show_bug.cgi?id=182772
3403
3404         Unreviewed test gardening.
3405
3406         * platform/mac-wk2/TestExpectations: Skip tests that are only expected to run on internal bots.
3407
3408 2019-08-09  Ryan Haddad  <ryanhaddad@apple.com>
3409
3410         Unreviewed test gardening, land test expectations for rdar://49790831.
3411
3412         * platform/ios-12/TestExpectations:
3413         * platform/ios/TestExpectations:
3414
3415 2019-08-13  Justin Fan  <justin_fan@apple.com>
3416
3417         [WebGPU] Improve GPUBindGroup performance using one device-shared argument MTLBuffer
3418         https://bugs.webkit.org/show_bug.cgi?id=200606
3419
3420         Reviewed by Myles C. Maxfield.
3421
3422         Update bind-groups.html to better stress GPUBindGroup implementation.
3423
3424         * webgpu/bind-groups-expected.txt:
3425         * webgpu/bind-groups.html:
3426
3427 2019-08-13  Antti Koivisto  <antti@apple.com>
3428
3429         Event regions collection should take clipping into account
3430         https://bugs.webkit.org/show_bug.cgi?id=200668
3431         <rdar://problem/53826561>
3432
3433         Reviewed by Simon Fraser.
3434
3435         * pointerevents/ios/touch-action-region-clip-and-transform-expected.txt: Added.
3436         * pointerevents/ios/touch-action-region-clip-and-transform.html: Added.
3437
3438 2019-08-13  Devin Rousso  <drousso@apple.com>
3439
3440         Web Inspector: Styles: show @supports CSS groupings
3441         https://bugs.webkit.org/show_bug.cgi?id=200419
3442         <rdar://problem/53971948>
3443
3444         Reviewed by Joseph Pecoraro.
3445
3446         * inspector/css/getMatchedStylesForNode.html:
3447         * inspector/css/getMatchedStylesForNode-expected.txt:
3448
3449 2019-08-13  Russell Epstein  <repstein@apple.com>
3450
3451         Reverting change in r248379
3452         rdar://53779679
3453
3454         Unreviewed Test Gardening.
3455         Removed previously set TestExpectations.
3456
3457         * platform/ios-12/TestExpectations:
3458         * platform/ios/TestExpectations:
3459
3460 2019-08-13  Chris Lord  <clord@igalia.com>
3461
3462         Incorrect head in fast/canvas/webgl/gl-get-calls.html causes test failure
3463         https://bugs.webkit.org/show_bug.cgi?id=200673
3464
3465         Reviewed by Alexey Proskuryakov.
3466
3467         * fast/canvas/webgl/gl-get-calls.html:
3468
3469 2019-08-12  Ryosuke Niwa  <rniwa@webkit.org>
3470
3471         FrameLoader::open can execute scritps via style recalc in Frame::setDocument
3472         https://bugs.webkit.org/show_bug.cgi?id=200377
3473
3474         Reviewed by Antti Koivisto.
3475
3476         Added a regression test.
3477
3478         * fast/frames/restoring-page-cache-should-not-run-scripts-via-style-update-expected.txt: Added.
3479         * fast/frames/restoring-page-cache-should-not-run-scripts-via-style-update.html: Added.
3480         * platform/win/TestExpectations: Skip the newly added test.
3481
3482 2019-08-12  Daniel Bates  <dabates@apple.com>
3483
3484         Add a test to ensure that we dispatch keydown and keyup events when multiple keys are pressed at the same time
3485         https://bugs.webkit.org/show_bug.cgi?id=200548
3486
3487         Reviewed by Darin Adler.
3488