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