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