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