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