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