[WHLSL] Rewrite all tests to use WHLSL and delete the isWHLSL flag
[WebKit-https.git] / LayoutTests / ChangeLog
1 2019-08-26  Myles C. Maxfield  <mmaxfield@apple.com>
2
3         [WHLSL] Rewrite all tests to use WHLSL and delete the isWHLSL flag
4         https://bugs.webkit.org/show_bug.cgi?id=201162
5
6         Reviewed by Saam Barati.
7
8         * webgpu/bind-groups.html:
9         * webgpu/blend-color-triangle-strip.html:
10         * webgpu/blend-triangle-strip.html:
11         * webgpu/buffer-command-buffer-races.html:
12         * webgpu/color-write-mask-triangle-strip.html:
13         * webgpu/compute-pipeline-errors.html:
14         * webgpu/depth-enabled-triangle-strip.html:
15         * webgpu/draw-indexed-triangles.html:
16         * webgpu/msl-harness-test-expected.txt: Removed.
17         * webgpu/msl-harness-test.html: Removed.
18         * webgpu/render-command-encoding.html:
19         * webgpu/render-pipeline-errors.html:
20         * webgpu/render-pipelines.html:
21         * webgpu/shader-modules.html:
22         * webgpu/simple-triangle-strip.html:
23         * webgpu/texture-triangle-strip.html:
24         * webgpu/vertex-buffer-triangle-strip.html:
25         * webgpu/viewport-scissor-rect-triangle-strip.html:
26         * webgpu/whlsl/arbitrary-vertex-attribute-locations.html:
27         * webgpu/whlsl/buffer-fragment.html:
28         * webgpu/whlsl/buffer-length.html:
29         * webgpu/whlsl/buffer-vertex.html:
30         * webgpu/whlsl/checker-should-set-type-of-read-modify-write-variables.html:
31         * webgpu/whlsl/compute.html:
32         * webgpu/whlsl/dereference-pointer-should-type-check.html:
33         * webgpu/whlsl/device-proper-type-checker.html:
34         * webgpu/whlsl/do-while-loop-break.html:
35         * webgpu/whlsl/do-while-loop-continue.html:
36         * webgpu/whlsl/do-while-loop.html:
37         * webgpu/whlsl/dont-crash-parsing-enum.html:
38         * webgpu/whlsl/dot-expressions.html:
39         * webgpu/whlsl/duplicate-types-should-not-produce-duplicate-ctors.html:
40         * webgpu/whlsl/ensure-proper-variable-lifetime-2.html:
41         * webgpu/whlsl/ensure-proper-variable-lifetime-3.html:
42         * webgpu/whlsl/ensure-proper-variable-lifetime.html:
43         * webgpu/whlsl/huge-array.html:
44         * webgpu/whlsl/js/test-harness.js:
45         (convertTypeToArrayType):
46         (Data):
47         (Harness):
48         (Harness.prototype.async.callTypedFunction):
49         (Harness.prototype.callVoidFunction):
50         (Harness.prototype.async.checkCompileFail):
51         (Harness.prototype._setUpArguments):
52         (Harness.prototype.async._callFunction):
53         (Harness.prototype.set isWHLSL): Deleted.
54         (Harness.prototype.get isWHLSL): Deleted.
55         * webgpu/whlsl/loops-break.html:
56         * webgpu/whlsl/loops-continue.html:
57         * webgpu/whlsl/loops.html:
58         * webgpu/whlsl/make-array-reference.html:
59         * webgpu/whlsl/matrix-2.html:
60         * webgpu/whlsl/matrix-memory-layout.html:
61         * webgpu/whlsl/matrix.html:
62         * webgpu/whlsl/nested-dot-expression-rvalue.html:
63         * webgpu/whlsl/nested-loop.html:
64         * webgpu/whlsl/null-dereference.html:
65         * webgpu/whlsl/oob-access.html:
66         * webgpu/whlsl/propertyresolver/ander-abstract-lvalue.html:
67         * webgpu/whlsl/propertyresolver/ander-lvalue-3-levels.html:
68         * webgpu/whlsl/propertyresolver/ander-lvalue.html:
69         * webgpu/whlsl/propertyresolver/ander.html:
70         * webgpu/whlsl/propertyresolver/getter.html:
71         * webgpu/whlsl/propertyresolver/indexer-ander-abstract-lvalue.html:
72         * webgpu/whlsl/propertyresolver/indexer-ander-lvalue-3-levels.html:
73         * webgpu/whlsl/propertyresolver/indexer-ander-lvalue.html:
74         * webgpu/whlsl/propertyresolver/indexer-ander.html:
75         * webgpu/whlsl/propertyresolver/indexer-getter.html:
76         * webgpu/whlsl/propertyresolver/indexer-setter-abstract-lvalue-3-levels.html:
77         * webgpu/whlsl/propertyresolver/indexer-setter-abstract-lvalue.html:
78         * webgpu/whlsl/propertyresolver/indexer-setter-lvalue.html:
79         * webgpu/whlsl/propertyresolver/indexer-setter.html:
80         * webgpu/whlsl/propertyresolver/setter-abstract-lvalue-3-levels.html:
81         * webgpu/whlsl/propertyresolver/setter-abstract-lvalue.html:
82         * webgpu/whlsl/propertyresolver/setter-lvalue.html:
83         * webgpu/whlsl/read-modify-write-high-zombies.html:
84         * webgpu/whlsl/read-modify-write.html:
85         * webgpu/whlsl/return-local-variable.html:
86         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-10.html:
87         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-11.html:
88         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-12.html:
89         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-13.html:
90         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-14.html:
91         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-15.html:
92         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-16.html:
93         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-17.html:
94         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-18.html:
95         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-19.html:
96         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-2.html:
97         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-20.html:
98         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-21.html:
99         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-22.html:
100         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-23.html:
101         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-24.html:
102         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-25.html:
103         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-26.html:
104         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-27.html:
105         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-3.html:
106         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-4.html:
107         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-5.html:
108         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-6.html:
109         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-7.html:
110         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-8.html:
111         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-9.html:
112         * webgpu/whlsl/separate-shader-modules/separate-shader-modules.html:
113         * webgpu/whlsl/simple-arrays.html:
114         * webgpu/whlsl/store-to-property-updates-properly.html:
115         * webgpu/whlsl/textures-getdimensions.html:
116         * webgpu/whlsl/textures-load.html:
117         * webgpu/whlsl/textures-sample.html:
118         * webgpu/whlsl/two-dimensional-array.html:
119         * webgpu/whlsl/use-undefined-variable-2.html:
120         * webgpu/whlsl/use-undefined-variable.html:
121         * webgpu/whlsl/while-loop-break.html:
122         * webgpu/whlsl/while-loop-continue.html:
123         * webgpu/whlsl/whlsl.html:
124         * webgpu/whlsl/zero-initialize-values-2.html:
125         * webgpu/whlsl/zero-initialize-values.html:
126
127 2019-08-26  Devin Rousso  <drousso@apple.com>
128
129         Unreviewed, fix test failure after r249127
130
131         * inspector/debugger/tail-deleted-frames-this-value.html:
132
133 2019-08-26  Devin Rousso  <drousso@apple.com>
134
135         Web Inspector: unify agent command error messages
136         https://bugs.webkit.org/show_bug.cgi?id=200950
137
138         Reviewed by Joseph Pecoraro.
139
140         * http/tests/inspector/network/getSerializedCertificate-expected.txt:
141         * http/tests/websocket/tests/hybi/inspector/resolveWebSocket-expected.txt:
142         * inspector/audit/setup-expected.txt:
143         * inspector/audit/teardown-expected.txt:
144         * inspector/canvas/css-canvas-clients-expected.txt:
145         * inspector/canvas/recording-expected.txt:
146         * inspector/canvas/requestContent-2d-expected.txt:
147         * inspector/canvas/requestNode-expected.txt:
148         * inspector/canvas/requestShaderSource-expected.txt:
149         * inspector/canvas/resolveCanvasContext-2d-expected.txt:
150         * inspector/canvas/setShaderProgramDisabled-expected.txt:
151         * inspector/canvas/setShaderProgramHighlighted-expected.txt:
152         * inspector/canvas/updateShader-expected.txt:
153         * inspector/console/webcore-logging-expected.txt:
154         * inspector/css/add-rule-expected.txt:
155         * inspector/debugger/continueUntilNextRunLoop-expected.txt:
156         * inspector/debugger/evaluateOnCallFrame-errors-expected.txt:
157         * inspector/debugger/setBreakpoint-expected.txt:
158         * inspector/dom-debugger/dom-breakpoints-expected.txt:
159         * inspector/dom/breakpoint-for-event-listener-expected.txt:
160         * inspector/dom/highlightQuad-expected.txt:
161         * inspector/dom/insertAdjacentHTML-expected.txt:
162         * inspector/dom/request-child-nodes-depth-expected.txt:
163         * inspector/dom/setEventListenerDisabled-expected.txt:
164         * inspector/protocol/backend-dispatcher-argument-errors-expected.txt:
165         * inspector/runtime/awaitPromise-expected.txt:
166         * inspector/runtime/getPreview-expected.txt:
167         * inspector/timeline/setInstruments-errors-expected.txt:
168
169 2019-08-26  Devin Rousso  <drousso@apple.com>
170
171         Unreviewed, add extra test failure logging after r200971
172
173         * inspector/debugger/tail-deleted-frames-this-value.html:
174         Also log the actual value (in addition to the expected one) in assertion messages.
175
176 2019-08-26  Wenson Hsieh  <wenson_hsieh@apple.com>
177
178         Remove UIHelper.activateElementAtHumanSpeed
179         https://bugs.webkit.org/show_bug.cgi?id=201147
180
181         Reviewed by Tim Horton.
182
183         This was used in layout tests that simulate repeated taps to work around <webkit.org/b/201129>, and should no
184         longer be needed after <https://trac.webkit.org/changeset/249112/webkit>. Instead, we can just use UIHelper's
185         activateElement as intended in cases where successive taps in the test does not result in a double-click; for
186         the cases where we need to avoid triggering double clicks when tapping (e.g. in several payment tests), use a
187         new script controller hook to wait for the double tap gesture delay before continuing.
188
189         * fast/forms/ios/file-upload-panel.html:
190         * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt:
191
192         Rebaseline more line numbers.
193
194         * http/tests/adClickAttribution/anchor-tag-attributes-validation.html:
195
196         Refactor this test so that the links are laid out in two (or more) columns to avoid firing the double click
197         gesture recognizer instead of the synthetic click gesture.
198
199         * http/tests/resources/payment-request.js:
200         (activateThen):
201
202         Instead of using activateElementAtHumanSpeed, wait for the platform double tap delay first, and then simulate
203         a click using activateElement.
204
205         * resources/ui-helper.js:
206         (window.UIHelper.waitForDoubleTapDelay):
207
208         Add a new UIHelper method to wait for the platform double tap delay. See Tools ChangeLog for more details.
209
210         (window.UIHelper):
211         (window.UIHelper.activateElementAtHumanSpeed.return.new.Promise): Deleted.
212         (window.UIHelper.activateElementAtHumanSpeed): Deleted.
213
214 2019-08-26  Devin Rousso  <drousso@apple.com>
215
216         Unreviewed, fix test failure after r200971
217
218         * inspector/timeline/line-column-expected.txt:
219
220         * inspector/debugger/tail-deleted-frames-this-value.html:
221         Add messages to all `InspectorTest.assert` so we can know which one is firing on the bots.
222
223 2019-08-26  Wenson Hsieh  <wenson_hsieh@apple.com>
224
225         Unreviewed, unmark two datalist tests as timing out on iOS 13 after r249112
226
227         * platform/ios/TestExpectations:
228
229 2019-08-26  Wenson Hsieh  <wenson_hsieh@apple.com>
230
231         REGRESSION (iOS 13): Tests that simulate multiple back-to-back single taps fail or time out
232         https://bugs.webkit.org/show_bug.cgi?id=201129
233         <rdar://problem/51857277>
234
235         Reviewed by Tim Horton.
236
237         Adjusts a few layout tests after changes to UIScriptController::doubleTapAtPoint and
238         UIScriptController::singleTapAtPoint.
239
240         * editing/selection/ios/change-selection-by-tapping.html:
241
242         Tweak this test to tap the page 12 times instead of 20 (which seems to cause occasional timeouts locally, when
243         running all layout tests with a dozen active simulators).
244
245         * fast/events/ios/double-tap-zoom.html:
246         * fast/events/ios/viewport-device-width-allows-double-tap-zoom-out.html:
247         * fast/events/ios/viewport-shrink-to-fit-allows-double-tap.html:
248
249         Augment a few call sites of `doubleTapAtPoint` with a 0 delay. Ideally, these should just use ui-helper.js, but
250         we can refactor these tests as a part of folding basic-gestures.js into ui-helper.js.
251
252         * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt:
253         * http/tests/security/anchor-download-block-crossorigin-expected.txt:
254
255         Rebaseline these layout tests, due to change in line numbers.
256
257         * platform/ipad/TestExpectations:
258
259         Unskip these tests on iPad, now that they should pass.
260
261         * pointerevents/utils.js:
262         (const.ui.new.UIController.prototype.doubleTapToZoom):
263         * resources/basic-gestures.js:
264         (return.new.Promise.):
265         (return.new.Promise):
266
267         Adjust some more call sites of `doubleTapAtPoint`. Ideally, these should use just `ui-helper.js` too.
268
269         * resources/ui-helper.js:
270         (window.UIHelper.doubleTapAt.return.new.Promise):
271         (window.UIHelper.doubleTapAt):
272         (window.UIHelper.humanSpeedDoubleTapAt):
273         (window.UIHelper.humanSpeedZoomByDoubleTappingAt):
274
275         Add a delay parameter to `doubleTapAt` to specify a delay after each simulated tap. By default, this is 0, but
276         the `humanSpeed*` helpers add a delay of 120 milliseconds. Additionally, these helpers were previously calling
277         `singleTapAtPoint` twice, with a timeout in between to add a delay. Instead, call `doubleTapAtPoint` with a
278         nonzero delay; otherwise, we'll end up waiting in `singleTapAtPoint` for the gesture subgraph containing both
279         the double tap gestures and the synthetic single tap gesture to reset, which causes these two single taps to no
280         longer be recognized as a double tap gesture.
281
282         (window.UIHelper.zoomByDoubleTappingAt):
283
284 2019-08-26  Jiewen Tan  <jiewen_tan@apple.com>
285
286         [WebAuthn] Support HID authenticators on iOS
287         https://bugs.webkit.org/show_bug.cgi?id=201084
288         <rdar://problem/51908390>
289
290         Reviewed by Youenn Fablet.
291
292         * platform/ios-wk2/TestExpectations:
293         Unskips HID tests for iOS.
294
295 2019-08-26  Jiewen Tan  <jiewen_tan@apple.com>
296
297         Unreviewed, test gardening
298
299         * platform/mac-wk2/TestExpectations:
300         Skip WebAuthn tests for HighSierra and Mojave.
301
302 2019-08-26  Russell Epstein  <repstein@apple.com>
303
304         Unreviewed, rolling out r248961.
305
306         Same patch was re-landed after being rolled out. Patch is
307         causing Catalina/iOS 13 test failures. Rolling out.
308
309         Reverted changeset:
310
311         "Verify Prefetch and credential behavior"
312         https://bugs.webkit.org/show_bug.cgi?id=200000
313         https://trac.webkit.org/changeset/248961
314
315 2019-08-26  Russell Epstein  <repstein@apple.com>
316
317         rdar://51857070 (iPad: Many fast/text-autosizing layout tests are consistently failing)
318
319         Unreviewed Test Gardening.
320         Tests are no longer failing. Removing test expectations.
321
322         * platform/ipad/TestExpectations:
323
324 2019-08-26  Youenn Fablet  <youenn@apple.com>
325
326         Add a WebsiteDataStore delegate to handle AuthenticationChallenge that do not come from pages
327         https://bugs.webkit.org/show_bug.cgi?id=196870
328
329         Reviewed by Alex Christensen.
330
331         Add tests to validate that the delegate decision is respected for beacons and service worker loads.
332
333         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight-expected.txt:
334         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html:
335         * http/wpt/beacon/resources/beacon-preflight.py:
336         (main):
337         * http/wpt/service-workers/resources/lengthy-pass.py:
338         (main):
339         * http/wpt/service-workers/server-trust-evaluation.https-expected.txt: Added.
340         * http/wpt/service-workers/server-trust-evaluation.https.html: Added.
341         * http/wpt/service-workers/server-trust-worker.js: Added.
342         * http/tests/ssl/certificate-validation.html: Remove unneeded setting call
343         since we deny server trust requests if SSL certificates are not all allowed.
344
345 2019-08-24  Simon Fraser  <simon.fraser@apple.com>
346
347         Page crashes under CGPathAddUnevenCornersRoundedRect
348         https://bugs.webkit.org/show_bug.cgi?id=201117
349
350         Reviewed by Dean Jackson.
351
352         * fast/borders/renderable-uneven-rounded-rects-expected.txt: Added.
353         * fast/borders/renderable-uneven-rounded-rects.html: Added.
354
355 2019-08-24  Devin Rousso  <drousso@apple.com>
356
357         Web Inspector: "Copy Rule" menu item does not propagate comments properly
358         https://bugs.webkit.org/show_bug.cgi?id=201095
359
360         Reviewed by Joseph Pecoraro.
361
362         * inspector/css/generateCSSRuleString.html:
363         * inspector/css/generateCSSRuleString-expected.txt:
364
365 2019-08-23  Devin Rousso  <drousso@apple.com>
366
367         Web Inspector: create additional command line api functions for other console methods
368         https://bugs.webkit.org/show_bug.cgi?id=200971
369
370         Reviewed by Joseph Pecoraro.
371
372         * http/tests/inspector/dom/cross-domain-inspected-node-access-expected.txt:
373         * inspector/console/command-line-api-expected.txt:
374
375 2019-08-23  Wenson Hsieh  <wenson_hsieh@apple.com>
376
377         [iOS] [WebKit2] Tapping on the “I’m” text suggestion after typing “i’” does nothing
378         https://bugs.webkit.org/show_bug.cgi?id=201085
379         <rdar://problem/53056118>
380
381         Reviewed by Tim Horton.
382
383         Add a new layout test to verify that "I’" can be autocorrected to "I’m".
384
385         * fast/events/ios/autocorrect-with-apostrophe-expected.txt: Added.
386         * fast/events/ios/autocorrect-with-apostrophe.html: Added.
387
388 2019-08-23  Tim Horton  <timothy_horton@apple.com>
389
390         REGRESSION (r248974): fast/events/ios/key-command-delete-to-end-of-paragraph.html is timing out on iOS
391         https://bugs.webkit.org/show_bug.cgi?id=201091
392         <rdar://problem/54647731>
393
394         Reviewed by Megan Gardner.
395
396         * fast/events/ios/key-command-delete-to-end-of-paragraph.html:
397         The test as-written doesn't actually wait for the tap to complete before
398         continuing on with the test - it starts immediately when the focus event
399         fires. This results in the selection being changed by the single click
400         handler *after* focusing the field.
401
402         Rewrite the test to await completion of the tap before moving forward
403         instead of waiting for focus.
404
405 2019-08-23  Chris Dumez  <cdumez@apple.com>
406
407         [geolocation] Rename interfaces and remove [NoInterfaceObject]
408         https://bugs.webkit.org/show_bug.cgi?id=200885
409
410         Reviewed by Alex Christensen.
411
412         Add layout test coverage.
413
414         * fast/dom/Geolocation/exposed-geolocation-interfaces-expected.txt: Added.
415         * fast/dom/Geolocation/exposed-geolocation-interfaces.html: Added.
416         * fast/dom/Geolocation/position-string-expected.txt:
417         * fast/dom/Geolocation/position-string.html:
418
419 2019-08-23  Ryan Haddad  <ryanhaddad@apple.com>
420
421         Unreviewed, rolling out r249001.
422
423         Caused one layout test to fail on all configurations and
424         another to time out on Catalina / iOS 13.
425
426         Reverted changeset:
427
428         "Add a WebsiteDataStore delegate to handle
429         AuthenticationChallenge that do not come from pages"
430         https://bugs.webkit.org/show_bug.cgi?id=196870
431         https://trac.webkit.org/changeset/249001
432
433 2019-08-23  Antoine Quint  <graouts@apple.com>
434
435         REGRESSION: fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup.html is timing out
436         https://bugs.webkit.org/show_bug.cgi?id=201075
437         <rdar://problem/54491246>
438
439         Reviewed by Daniel Bates.
440
441         This test was written very early on in the process of implementing Pointer Events and assumed events would keep
442         firing when scrolling occured. We need to add "touch-action: none" to ensure we get pointermove and pointerup
443         events. We also need to ensure that the interaction occurs over content otherwise events won't fire. Finally, we
444         pretty up the test a bit.
445
446         * fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup-expected.txt:
447         * fast/events/pointer/ios/drag-gives-pointerdown-pointermove-pointerup.html:
448
449 2019-08-20  Jiewen Tan  <jiewen_tan@apple.com>
450
451         [WebAuthn] Support NFC authenticators for iOS
452         https://bugs.webkit.org/show_bug.cgi?id=188624
453         <rdar://problem/43354214>
454
455         Reviewed by Chris Dumez.
456
457         * http/wpt/webauthn/ctap-nfc-failure.https-expected.txt: Added.
458         * http/wpt/webauthn/ctap-nfc-failure.https.html: Added.
459         * http/wpt/webauthn/public-key-credential-create-failure-nfc.https-expected.txt: Added.
460         * http/wpt/webauthn/public-key-credential-create-failure-nfc.https.html: Added.
461         * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt:
462         * http/wpt/webauthn/public-key-credential-create-success-hid.https.html:
463         This patch replaces the "local" keyword with "hid".
464         * http/wpt/webauthn/public-key-credential-create-success-nfc.https-expected.txt: Added.
465         * http/wpt/webauthn/public-key-credential-create-success-nfc.https.html: Added.
466         * http/wpt/webauthn/public-key-credential-get-failure-nfc.https-expected.txt: Added.
467         * http/wpt/webauthn/public-key-credential-get-failure-nfc.https.html: Added.
468         * http/wpt/webauthn/public-key-credential-get-success-nfc.https-expected.txt: Added.
469         * http/wpt/webauthn/public-key-credential-get-success-nfc.https.html: Added.
470         * http/wpt/webauthn/resources/util.js:
471         * platform/ios-simulator-wk2/TestExpectations:
472         Skip NFC tests for simulators.
473
474 2019-08-23  Russell Epstein  <repstein@apple.com>
475
476         Unreviewed, rolling out r249031.
477
478         Causes multiple test failures on iOS simulator
479
480         Reverted changeset:
481
482         "[iOS] Should show input view when became first responder if
483         keyboard was showing when the view was resigned"
484         https://bugs.webkit.org/show_bug.cgi?id=200902
485         https://trac.webkit.org/changeset/249031
486
487 2019-08-23  Megan Gardner  <megan_gardner@apple.com>
488
489         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
490         https://bugs.webkit.org/show_bug.cgi?id=201058
491
492         Reviewed by Simon Fraser.
493
494         delete-in-input-in-iframe and typing-in-input-in-iframe were changed when scrolling was made to work differently in r244141.
495         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.
496         Also update autoscroll-input-when-very-zoomed which was added to test r248977 to be more robust.
497
498         * fast/forms/ios/delete-in-input-in-iframe-expected.txt:
499         * fast/forms/ios/delete-in-input-in-iframe.html:
500         * fast/forms/ios/typing-in-input-in-iframe-expected.txt:
501         * fast/forms/ios/typing-in-input-in-iframe.html:
502         * fast/scrolling/ios/autoscroll-input-when-very-zoomed.html:
503
504 2019-08-22  Fujii Hironori  <Hironori.Fujii@sony.com>
505
506         [SVG] -webkit-clip-path treats url(abc#xyz) as url(#xyz) because it checks only URL fragment part
507         https://bugs.webkit.org/show_bug.cgi?id=201030
508
509         Reviewed by Ryosuke Niwa.
510
511         * svg/clip-path/clip-path-invalid-reference-001-expected.svg: Added.
512         * svg/clip-path/clip-path-invalid-reference-001.svg: Added.
513         * svg/clip-path/clip-path-invalid-reference-002-expected.svg: Added.
514         * svg/clip-path/clip-path-invalid-reference-002.svg: Added.
515
516 2019-08-22  Daniel Bates  <dabates@apple.com>
517
518         [iOS] Should show input view when became first responder if keyboard was showing when the view was resigned
519         https://bugs.webkit.org/show_bug.cgi?id=200902
520         <rdar://problem/54231756>
521
522         Reviewed by Wenson Hsieh.
523
524         Add tests to ensure that we show the keyboard when becoming first responder if the view resigned with the
525         keyboard on screen. Also add a test to ensure that we keep our current behavior and do NOT show the keyboard
526         for an autofocused text field when the view becomes first responder.
527
528         * fast/events/ios/resources/check-keyboard-on-screen.js: Added.
529         (async.checkKeyboardOnScreen):
530         (async.checkKeyboardNotOnScreen):
531         * fast/events/ios/should-not-show-keyboard-for-autofocused-field-when-becoming-first-responder-after-navigation-expected.txt: Added.
532         * fast/events/ios/should-not-show-keyboard-for-autofocused-field-when-becoming-first-responder-after-navigation.html: Added.
533         * fast/events/ios/show-keyboard-when-becoming-first-responder-despite-inputmode-none-expected.txt: Added.
534         * fast/events/ios/show-keyboard-when-becoming-first-responder-despite-inputmode-none.html: Added.
535         * fast/events/ios/show-keyboard-when-becoming-first-responder-expected.txt: Added.
536         * fast/events/ios/show-keyboard-when-becoming-first-responder.html: Added.
537         * resources/ui-helper.js:
538         (window.UIHelper.waitForKeyboardToShow.return.new.Promise): Added.
539         (window.UIHelper.waitForKeyboardToShow): Added.
540         (window.UIHelper.becomeFirstResponder): Added.
541
542 2019-08-22  Tim Horton  <timothy_horton@apple.com>
543
544         REGRESSION (r248974): fast/events/ios/select-all-with-existing-selection.html fails
545         https://bugs.webkit.org/show_bug.cgi?id=201050
546
547         Reviewed by Wenson Hsieh.
548
549         * fast/events/ios/select-all-with-existing-selection.html:
550         The test as-written doesn't actually wait for the tap to complete before
551         continuing on with the test - it starts immediately when the focus event
552         fires. This results in the selection being changed by the single click
553         handler *after* focusing the field.
554
555         Rewrite the test to await completion of the tap before moving forward
556         instead of waiting for focus.
557
558 2019-08-22  Said Abou-Hallawa  <sabouhallawa@apple.com>
559
560         Crash may happen when an SVG <feImage> element references the root <svg> element
561         https://bugs.webkit.org/show_bug.cgi?id=201014
562
563         Reviewed by Ryosuke Niwa.
564
565         Ensure the cyclic reference between the <feImage> renderer and its
566         ancestor <svg> root renderer is broken.
567
568         * svg/filters/filter-image-ref-root-expected.txt: Added.
569         * svg/filters/filter-image-ref-root.html: Added.
570
571 2019-08-22  Tim Horton  <timothy_horton@apple.com>
572
573         Rebaseline some editing tests after r248974
574         https://bugs.webkit.org/show_bug.cgi?id=200999
575         <rdar://problem/54564878>
576
577         * platform/ios/editing/deleting/smart-delete-003-expected.txt:
578         * platform/ios/editing/deleting/smart-delete-004-expected.txt:
579         * platform/ios/editing/pasteboard/smart-paste-008-expected.txt:
580
581 2019-08-22  Wenson Hsieh  <wenson_hsieh@apple.com>
582
583         Typing Korean in title field after typing in the body inserts extraneous characters on blog.naver.com
584         https://bugs.webkit.org/show_bug.cgi?id=201023
585         <rdar://problem/54294794>
586
587         Reviewed by Ryosuke Niwa.
588
589         Add a new layout test to verify that we suppress text interactions when focusing an editable element inside an
590         empty, borderless subframe.
591
592         * editing/selection/ios/do-not-show-selection-in-empty-borderless-subframe-expected.txt: Added.
593         * editing/selection/ios/do-not-show-selection-in-empty-borderless-subframe.html: Added.
594
595 2019-08-22  Youenn Fablet  <youenn@apple.com>
596
597         Add a WebsiteDataStore delegate to handle AuthenticationChallenge that do not come from pages
598         https://bugs.webkit.org/show_bug.cgi?id=196870
599
600         Reviewed by Alex Christensen.
601
602         Add tests to validate that the delegate decision is respected for beacons and service worker loads.
603
604         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight-expected.txt:
605         * http/wpt/beacon/cors/crossorigin-arraybufferview-no-preflight.html:
606         * http/wpt/beacon/resources/beacon-preflight.py:
607         (main):
608         * http/wpt/service-workers/resources/lengthy-pass.py:
609         (main):
610         * http/wpt/service-workers/server-trust-evaluation.https-expected.txt: Added.
611         * http/wpt/service-workers/server-trust-evaluation.https.html: Added.
612         * http/wpt/service-workers/server-trust-worker.js: Added.
613
614 2019-08-21  Ryosuke Niwa  <rniwa@webkit.org>
615
616         Layout Test perf/clone-with-focus.html is a Flaky Failure
617         https://bugs.webkit.org/show_bug.cgi?id=201012
618
619         Reviewed by Antti Koivisto.
620
621         The flakiness was observed when the time to clone elements without focus is 0ms
622         but the time to clone elements with focus is 1ms or greater.
623
624         The test tries to make sure the time to clone elements with foucs is less than 2x
625         of the time to clone elements without focus. When the time to clone without focus
626         is 0ms, any difference is always more than 2x larger.
627
628         Fixed the test by increasing the number of elements until the time to clone without
629         focus takes at least 5ms.
630
631         * perf/clone-with-focus.html:
632
633 2019-08-21  Myles C. Maxfield  <mmaxfield@apple.com>
634
635         [WHLSL] Vertex shader and fragment shader need to be able to come from two different programs
636         https://bugs.webkit.org/show_bug.cgi?id=195446
637
638         Reviewed by Saam Barati.
639
640         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-10-expected.html: Added.
641         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-10.html: Added.
642         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-11-expected.html: Added.
643         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-11.html: Added.
644         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-12-expected.html: Added.
645         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-12.html: Added.
646         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-13-expected.html: Added.
647         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-13.html: Added.
648         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-14-expected.html: Added.
649         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-14.html: Added.
650         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-15-expected.html: Added.
651         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-15.html: Added.
652         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-16-expected.html: Added.
653         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-16.html: Added.
654         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-17-expected.html: Added.
655         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-17.html: Added.
656         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-18-expected.html: Added.
657         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-18.html: Added.
658         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-19-expected.html: Added.
659         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-19.html: Added.
660         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-2-expected.html: Added.
661         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-2.html: Added.
662         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-20-expected.txt: Added.
663         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-20.html: Added.
664         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-21-expected.txt: Added.
665         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-21.html: Added.
666         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-22-expected.txt: Added.
667         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-22.html: Added.
668         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-23-expected.txt: Added.
669         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-23.html: Added.
670         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-24-expected.html: Added.
671         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-24.html: Added.
672         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-25-expected.txt: Added.
673         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-25.html: Added.
674         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-26-expected.html: Added.
675         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-26.html: Added.
676         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-27-expected.txt: Added.
677         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-27.html: Added.
678         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-3-expected.txt: Added.
679         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-3.html: Added.
680         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-4-expected.txt: Added.
681         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-4.html: Added.
682         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-5-expected.txt: Added.
683         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-5.html: Added.
684         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-6-expected.txt: Added.
685         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-6.html: Added.
686         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-7-expected.html: Added.
687         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-7.html: Added.
688         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-8-expected.txt: Added.
689         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-8.html: Added.
690         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-9-expected.txt: Added.
691         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-9.html: Added.
692         * webgpu/whlsl/separate-shader-modules/separate-shader-modules-expected.html: Added.
693         * webgpu/whlsl/separate-shader-modules/separate-shader-modules.html: Added.
694
695 2019-08-21  Ryosuke Niwa  <rniwa@webkit.org>
696
697         SVG element should become focusable when focus and key event listeners are added
698         https://bugs.webkit.org/show_bug.cgi?id=200997
699
700         Reviewed by Said Abou-Hallawa.
701
702         Updated existing tests to set tabIndex where appropriate, and added SVG elements
703         without tabindex content attribute to tabindex-order.html so that the test would
704         skip those elements when sequentially focus navigating across them.
705
706         * svg/custom/add-event-listener-shadow-tree-element.html:
707         * svg/custom/resources/focus-event-handling-keyboard.js:
708         * svg/custom/resources/focus-event-handling.js:
709         * svg/custom/tabindex-order-expected.txt:
710         * svg/custom/tabindex-order.html: Added test cases without tabindex.
711
712 2019-08-21  Megan Gardner  <megan_gardner@apple.com>
713
714         Do not adjust viewport if editing selection is already visible
715         https://bugs.webkit.org/show_bug.cgi?id=200907
716         <rdar://problem/53903417>
717
718         Reviewed by Simon Fraser.
719
720         * fast/scrolling/ios/autoscroll-input-when-very-zoomed-expected.txt: Added.
721         * fast/scrolling/ios/autoscroll-input-when-very-zoomed.html: Added.
722         * resources/ui-helper.js:
723         (window.UIHelper.immediateZoomToScale):
724
725 2019-08-21  Tim Horton  <timothy_horton@apple.com>
726
727         [Mail] Tapping top of message scrolls back to copied text instead of top of the message
728         https://bugs.webkit.org/show_bug.cgi?id=200999
729         <rdar://problem/54564878>
730
731         Reviewed by Wenson Hsieh.
732
733         * editing/selection/ios/change-selection-by-tapping-with-existing-selection-expected.txt: Added.
734         * editing/selection/ios/change-selection-by-tapping-with-existing-selection.html: Added.
735
736 2019-08-21  Alex Christensen  <achristensen@webkit.org>
737
738         Disabling text autosizing should prevent text autosizing
739         https://bugs.webkit.org/show_bug.cgi?id=200955
740         <rdar://problem/48095374>
741
742         Reviewed by Simon Fraser.
743
744         * fast/text-autosizing/ios/text-size-adjust-inline-style.html:
745         The comment was incorrect because we call WKPreferencesSetTextAutosizingEnabled(preferences, false) in TestController::platformResetPreferencesToConsistentValues.
746         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
747         patch, so it wasn't needed before now.
748
749 2019-08-21  Ryan Haddad  <ryanhaddad@apple.com>
750
751         Unreviewed test gardening, land test expectations for rdar://54561673.
752
753         * platform/ios/TestExpectations:
754         * platform/ios-12/TestExpectations:
755
756 2019-08-21  Rob Buis  <rbuis@igalia.com>
757
758         Verify Prefetch and credential behavior
759         https://bugs.webkit.org/show_bug.cgi?id=200000
760
761         Reviewed by Youenn Fablet.
762
763         Add a test to verify that navigating to a prefetched main resource
764         that sets Vary: Cookie does send cookies.
765
766         * http/wpt/prefetch/link-prefetch-cross-origin-vary-cookie-expected.txt: Added.
767         * http/wpt/prefetch/link-prefetch-cross-origin-vary-cookie.html: Added.
768         * http/wpt/prefetch/resources/main-resource-cross-origin-set-cookie.py: Added.
769         (main):
770         * http/wpt/prefetch/resources/main-resource-cross-origin-vary-cookie.py: Added.
771         (main):
772         * http/wpt/prefetch/resources/navigate-cross-origin-vary-cookie.html: Added.
773         * platform/mac-wk1/TestExpectations:
774         * platform/win/TestExpectations:
775
776 2019-08-21  Ryosuke Niwa  <rniwa@webkit.org>
777
778         Put keygen element behind a runtime flag and disable it by default
779         https://bugs.webkit.org/show_bug.cgi?id=200850
780
781         Reviewed by Antti Koivisto.
782
783         Deployed enableKeygenElement test runner option to keep the layout tests running.
784
785         * accessibility/content-changed-notification-causes-crash.html:
786         * accessibility/contenteditable-table-check-causes-crash.html:
787         * accessibility/duplicate-axrenderobject-crash.html:
788         * fast/block/float/float-not-removed-from-first-letter.html:
789         * fast/block/float/split-inline-sibling-of-float-crash.html:
790         * fast/css/pseudo-required-optional-unapplied.html:
791         * fast/dom/HTMLFormElement/associated-elements-after-index-assertion-fail1.html:
792         * fast/dom/HTMLKeygenElement/keygen-keytype.html:
793         * fast/dom/HTMLKeygenElement/keygen.html:
794         * fast/dom/adopt-node-crash-2.html:
795         * fast/dom/attribute-set-before-element-in-tree.html:
796         * fast/dom/domstring-attribute-reflection.html:
797         * fast/dom/set-custom-validity-with-too-few-arguments.html:
798         * fast/dom/tabindex-defaults.html:
799         * fast/dom/wrapper-classes.html:
800         * fast/dynamic/insertAdjacentHTML-allowed-parents.html:
801         * fast/flexbox/crash-button-keygen.html:
802         * fast/forms/ValidityState-001.html:
803         * fast/forms/autofocus-keygen.html:
804         * fast/forms/checkValidity-001.html:
805         * fast/forms/fieldset/fieldset-elements-htmlcollection.html:
806         * fast/forms/fieldset/fieldset-elements.html:
807         * fast/forms/form-associated-element-crash3.html:
808         * fast/forms/form-attribute.html:
809         * fast/forms/form-collection-elements-order.html:
810         * fast/forms/form-collection-elements.html:
811         * fast/forms/form-collection-radio-node-list.html:
812         * fast/forms/label/labelable-elements.html:
813         * fast/forms/label/labels-add-htmlFor-label.html:
814         * fast/forms/label/labels-add-parent-label.html:
815         * fast/forms/label/labels-change-htmlFor-attribute.html:
816         * fast/forms/label/labels-multiple-sibling-labels.html:
817         * fast/forms/label/labels-parent-and-sibling-labels.html:
818         * fast/forms/label/labels-remove-htmlFor-attribute.html:
819         * fast/forms/label/labels-remove-htmlFor-label.html:
820         * fast/forms/label/labels-remove-parent-label.html:
821         * fast/forms/label/labels-set-htmlFor-attribute.html:
822         * fast/forms/large-parts.html:
823         * fast/forms/scrollheight-with-mutation-crash.html:
824         * fast/forms/setCustomValidity-arguments.html:
825         * fast/forms/setCustomValidity-existence.html:
826         * fast/forms/setCustomValidity-null-parameter.html:
827         * fast/forms/state-restore-skip-stateless.html:
828         * fast/forms/update-form-owner-in-moved-subtree-assertion-failure.html:
829         * fast/forms/validationMessage.html:
830         * fast/forms/willvalidate.html:
831         * fast/html/clone-keygen.html:
832         * fast/html/keygen.html:
833         * fast/html/marquee-reparent-check.html:
834         * fast/invalid/residual-style-expected.html:
835         * fast/invalid/residual-style.html:
836         * fast/multicol/span/positioned-child-not-removed-crash.html:
837         * fast/ruby/float-object-doesnt-crash.html:
838         * fast/shadow-dom/keygen-shadow-manipulation.html:
839         * fast/table/crash-splitColumn-2.html:
840         * fast/table/multiple-captions-crash3-expected.html:
841         * fast/table/multiple-captions-crash3.html:
842         * http/tests/misc/resources/check-keygen-post.php:
843         * http/tests/misc/submit-post-keygen.html:
844         * imported/blink/fast/dom/shadow/shadowdom-for-keygen-only-shadow-expected.html:
845         * imported/blink/fast/dom/shadow/shadowdom-for-keygen-only-shadow.html:
846         * imported/blink/fast/text/international-iteration-simple-text.html:
847         * platform/ios-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt: Rebaselined
848         now that the test case for keygen is passing.
849         * platform/mac-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt: Ditto.
850         * svg/dom/css-animate-input-foucs-crash.html:
851
852 2019-08-21  Russell Epstein  <repstein@apple.com>
853
854         Unreviewed, rolling out r248942.
855
856         Causes multiple layout test crashes on MacOS Bots
857
858         Reverted changeset:
859
860         "Verify Prefetch and credential behavior"
861         https://bugs.webkit.org/show_bug.cgi?id=200000
862         https://trac.webkit.org/changeset/248942
863
864 2019-08-21  Devin Rousso  <drousso@apple.com>
865
866         Web Inspector: Page: re-add enable/disable after r248454
867         https://bugs.webkit.org/show_bug.cgi?id=200947
868
869         Reviewed by Joseph Pecoraro.
870
871         * http/tests/inspector/page/loading-iframe-document-node.html:
872         * inspector/css/getMatchedStylesForNode.html:
873         * inspector/css/getMatchedStylesForNode-expected.txt:
874         * inspector/page/archive.html:
875         * inspector/page/frameScheduledNavigation.html:
876         * inspector/page/frameScheduledNavigation-async-delegates.html:
877         * inspector/page/frameStartedLoading.html:
878         * inspector/page/media-query-list-listener-exception.html:
879         * inspector/timeline/line-column.html:
880
881 2019-08-21  Rob Buis  <rbuis@igalia.com>
882
883         Verify Prefetch and credential behavior
884         https://bugs.webkit.org/show_bug.cgi?id=200000
885
886         Reviewed by Youenn Fablet.
887
888         Add a test to verify that navigating to a prefetched main resource
889         that sets Vary: Cookie does send cookies.
890
891         * http/wpt/prefetch/link-prefetch-cross-origin-vary-cookie-expected.txt: Added.
892         * http/wpt/prefetch/link-prefetch-cross-origin-vary-cookie.html: Added.
893         * http/wpt/prefetch/resources/main-resource-cross-origin-set-cookie.py: Added.
894         (main):
895         * http/wpt/prefetch/resources/main-resource-cross-origin-vary-cookie.py: Added.
896         (main):
897         * http/wpt/prefetch/resources/navigate-cross-origin-vary-cookie.html: Added.
898         * platform/mac-wk1/TestExpectations:
899         * platform/win/TestExpectations:
900
901 2019-08-20  Devin Rousso  <drousso@apple.com>
902
903         Web Inspector: Implement `queryHolders` Command Line API
904         https://bugs.webkit.org/show_bug.cgi?id=200458
905
906         Reviewed by Joseph Pecoraro.
907
908         * inspector/console/queryHolders.html: Added.
909         * inspector/console/queryHolders-expected.txt: Added.
910         * http/tests/inspector/dom/cross-domain-inspected-node-access-expected.txt:
911         * TestExpectations:
912         * platform/mac-wk1/TestExpectations:
913
914 2019-08-20  Saam Barati  <sbarati@apple.com>
915
916         [WHLSL] We need to null check when emitting native code for operator&.<field-name>
917         https://bugs.webkit.org/show_bug.cgi?id=200846
918
919         Reviewed by Myles C. Maxfield.
920
921         * webgpu/whlsl/structure-field-access-on-null-expected.txt: Added.
922         * webgpu/whlsl/structure-field-access-on-null.html: Added.
923
924 2019-08-20  Russell Epstein  <repstein@apple.com>
925
926         Updating Expectations for Multiple Newly Passing Tests.
927
928         Unreviewed Test Gardening.
929
930         * platform/ios-12/TestExpectations:
931         * platform/ios-wk1/TestExpectations:
932         * platform/ios/TestExpectations:
933
934 2019-08-16  Ryosuke Niwa  <rniwa@webkit.org>
935
936         The default tab index of output and fieldset should be -1
937         https://bugs.webkit.org/show_bug.cgi?id=200834
938
939         Reviewed by Alex Christensen.
940
941         Added test cases for output, fieldset, and keygen.
942
943         * fast/dom/tabindex-defaults-expected.txt:
944         * fast/dom/tabindex-defaults.html:
945
946 2019-08-20  Zalan Bujtas  <zalan@apple.com>
947
948         [ContentChangeObserver] isConsideredClickable should be able to process elements with no renderers
949         https://bugs.webkit.org/show_bug.cgi?id=200926
950         <rdar://problem/54519579>
951
952         Reviewed by Simon Fraser.
953
954         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden-crash-expected.txt: Added.
955         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden-crash.html: Added.
956
957 2019-08-20  Wenson Hsieh  <wenson_hsieh@apple.com>
958
959         Clicking the search icon on ae.com hangs the web content process
960         https://bugs.webkit.org/show_bug.cgi?id=200889
961         <rdar://problem/54359330>
962
963         Reviewed by Ryosuke Niwa.
964
965         * editing/selection/modify-backward-inline-block-containers-expected.txt: Added.
966         * editing/selection/modify-backward-inline-block-containers.html: Added.
967
968         Add a layout test to ensure that the selection may be moved through empty inline-block containers that span the
969         width of the page.
970
971         * fast/events/focus-anchor-with-tabindex-hang-expected.txt: Added.
972         * fast/events/focus-anchor-with-tabindex-hang.html: Added.
973
974         Add a layout test to ensure that clicking an empty span under a focusable anchor element moves focus to the
975         anchor element instead of hanging the web content process or hitting a debug assertion.
976
977 2019-08-20  Ryan Haddad  <ryanhaddad@apple.com>
978
979         Web Inspector: Support for JavaScript BigInt
980         https://bugs.webkit.org/show_bug.cgi?id=180731
981
982         Unreviewed test gardening.
983
984         * inspector/timeline/line-column-expected.txt: Rebaseline test.
985
986 2019-08-20  Joseph Pecoraro  <pecoraro@apple.com>
987
988         Web Inspector: Support for JavaScript BigInt
989         https://bugs.webkit.org/show_bug.cgi?id=180731
990         <rdar://problem/36298748>
991
992         Reviewed by Devin Rousso.
993
994         * inspector/model/remote-object-expected.txt:
995         * inspector/model/remote-object.html:
996         * inspector/model/resources/remote-object-utilities.js:
997         Include simple tests for a BigInt value and preview.
998
999 2019-08-20  Devin Rousso  <drousso@apple.com>
1000
1001         Web Inspector: Use URL constructor to better handle all kinds of URLs
1002         https://bugs.webkit.org/show_bug.cgi?id=165155
1003
1004         Reviewed by Joseph Pecoraro.
1005
1006         * inspector/unit-tests/url-utilities.html:
1007         * inspector/unit-tests/url-utilities-expected.txt:
1008
1009 2019-08-19  Devin Rousso  <drousso@apple.com>
1010
1011         Web Inspector: Debugger: add a global breakpoint for pausing in the next microtask
1012         https://bugs.webkit.org/show_bug.cgi?id=200652
1013
1014         Reviewed by Joseph Pecoraro.
1015
1016         * inspector/debugger/setPauseOnMicrotasks.html: Added.
1017         * inspector/debugger/setPauseOnMicrotasks-expected.txt: Added.
1018
1019 2019-08-19  Devin Rousso  <drousso@apple.com>
1020
1021         Web Inspector: have more aggressive checks for dataURLs provided to `console.screenshot`
1022         https://bugs.webkit.org/show_bug.cgi?id=200747
1023
1024         Reviewed by Joseph Pecoraro.
1025
1026         * inspector/console/console-screenshot.html:
1027         * inspector/console/console-screenshot-expected.txt:
1028
1029 2019-08-19  Alexey Shvayka  <shvaikalesh@gmail.com>
1030
1031         Date.prototype.toJSON throws if toISOString returns an object
1032         https://bugs.webkit.org/show_bug.cgi?id=198495
1033
1034         Reviewed by Ross Kirsling.
1035
1036         TypeError shouldn't be thrown if result of toISOString call is an object.
1037         (step 4 of https://tc39.es/ecma262/#sec-date.prototype.tojson)
1038
1039         * js/dom/JSON-stringify-expected.txt:
1040         * js/resources/JSON-stringify.js:
1041
1042 2019-08-19  Russell Epstein  <repstein@apple.com>
1043
1044         rdar://52961406 (scrollingcoordinator/ios/scroll-position-after-reattach.html is a flaky image failure on iOS)
1045
1046         Unreviewed Test Gardening.
1047
1048         * platform/ios/TestExpectations: Updated test expectations to [ Pass Failure ]
1049
1050 2019-08-19  Russell Epstein  <repstein@apple.com>
1051
1052         rdar://54481698 (Layout Test platform/ios/ios/fast/text/opticalFont.html is Failing)
1053
1054         Unreviewed Test Gardening.
1055
1056         * platform/ios-12/platform/ios/ios/fast/text/opticalFont-expected.txt: Copied from LayoutTests/platform/ios/platform/ios/ios/fast/text/opticalFont-expected.txt.
1057         * platform/ios/platform/ios/ios/fast/text/opticalFont-expected.txt: Rebaseline.
1058
1059 2019-08-19  Antoine Quint  <graouts@apple.com>
1060
1061         [Pointer Events] Removing the capture element prevents future pointer events from being dispatched on macOS
1062         https://bugs.webkit.org/show_bug.cgi?id=200887
1063         <rdar://problem/54104147>
1064
1065         Reviewed by Dean Jackson.
1066
1067         * pointerevents/mouse/pointer-capture-element-removal-expected.txt: Added.
1068         * pointerevents/mouse/pointer-capture-element-removal.html: Added.
1069
1070 2019-08-19  Youenn Fablet  <youenn@apple.com>
1071
1072         enumerateDevices should return the same JS objects if called twice
1073         https://bugs.webkit.org/show_bug.cgi?id=200767
1074
1075         Reviewed by Eric Carlson.
1076
1077         * fast/mediastream/device-change-event-2.html:
1078
1079 2019-08-18  Cathie Chen  <cathiechen@igalia.com>
1080
1081         Crash in Document::deliverResizeObservations
1082         https://bugs.webkit.org/show_bug.cgi?id=200635
1083
1084         Reviewed by Simon Fraser.
1085
1086         Test deleting the next/previous sibling of observer list in callbacks, and the order of notifications.
1087
1088         * resize-observer/delete-observers-in-callbacks-expected.txt: Added.
1089         * resize-observer/delete-observers-in-callbacks.html: Added.
1090
1091 2019-08-17  Antti Koivisto  <antti@apple.com>
1092
1093         Content in <iframe> should override "touch-action" set in embedding document
1094         https://bugs.webkit.org/show_bug.cgi?id=200204
1095         <rdar://problem/54355249>
1096
1097         Reviewed by Antoine Quint.
1098
1099         * pointerevents/ios/touch-action-none-with-frame-inside-expected.txt: Added.
1100         * pointerevents/ios/touch-action-none-with-frame-inside.html: Added.
1101
1102 2019-08-16  Commit Queue  <commit-queue@webkit.org>
1103
1104         Unreviewed, rolling out r248772.
1105         https://bugs.webkit.org/show_bug.cgi?id=200853
1106
1107         Causes timeouts in some WebGL tests (Requested by anttik on
1108         #webkit).
1109
1110         Reverted changeset:
1111
1112         "Content in <iframe> should override "touch-action" set in
1113         embedding document"
1114         https://bugs.webkit.org/show_bug.cgi?id=200204
1115         https://trac.webkit.org/changeset/248772
1116
1117 2019-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
1118
1119         [macOS] Emoji with variation selectors are rendered in text style, not emoji style
1120         https://bugs.webkit.org/show_bug.cgi?id=200830
1121         <rdar://problem/53076002>
1122
1123         Reviewed by Simon Fraser.
1124
1125         * fast/text/emoji-variation-selector-expected-mismatch.html: Added.
1126         * fast/text/emoji-variation-selector.html: Added.
1127         * platform/win/TestExpectations: Mark as failing on Windows, because it doesn't support variation selectors.
1128
1129 2019-08-16  Saam Barati  <sbarati@apple.com>
1130
1131         [WHLSL] Make "operator cast" constructors native
1132         https://bugs.webkit.org/show_bug.cgi?id=200748
1133
1134         Reviewed by Myles C. Maxfield.
1135
1136         * webgpu/whlsl/matrix-constructors-expected.txt: Added.
1137         * webgpu/whlsl/matrix-constructors.html: Added.
1138         * webgpu/whlsl/vector-constructors-expected.txt: Added.
1139         * webgpu/whlsl/vector-constructors.html: Added.
1140
1141 2019-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
1142
1143         [WHLSL] Enums should be shadowed by local variables
1144         https://bugs.webkit.org/show_bug.cgi?id=200847
1145
1146         Reviewed by Saam Barati.
1147
1148         * webgpu/whlsl/structure-field-enumeration-element-clash-expected.txt: Added.
1149         * webgpu/whlsl/structure-field-enumeration-element-clash.html: Added.
1150
1151 2019-08-16  Myles C. Maxfield  <mmaxfield@apple.com>
1152
1153         [WHLSL] Add test for the interaction between setters and increments
1154         https://bugs.webkit.org/show_bug.cgi?id=200848
1155
1156         Reviewed by Saam Barati.
1157
1158         As discovered by Robin in https://github.com/gpuweb/WHLSL/issues/308
1159
1160         * webgpu/whlsl/increment-setter-expected.txt: Added.
1161         * webgpu/whlsl/increment-setter.html: Added.
1162
1163 2019-08-16  Ryan Haddad  <ryanhaddad@apple.com>
1164
1165         [ContentChangeObserver] Keep track of all the visibility candidates.
1166         https://bugs.webkit.org/show_bug.cgi?id=200777
1167
1168         Unreviewed test gardening.
1169
1170         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden2-expected.txt: Update baseline.
1171
1172 2019-08-16  Saam Barati  <sbarati@apple.com>
1173
1174         [WHLSL] Add comparison operators for vectors and matrices
1175         https://bugs.webkit.org/show_bug.cgi?id=200823
1176
1177         Reviewed by Myles C. Maxfield.
1178
1179         * webgpu/whlsl/matrix-compare-expected.txt: Added.
1180         * webgpu/whlsl/matrix-compare.html: Added.
1181         * webgpu/whlsl/vector-compare-expected.txt: Added.
1182         * webgpu/whlsl/vector-compare.html: Added.
1183
1184 2019-08-16  Saam Barati  <sbarati@apple.com>
1185
1186         [WHLSL] Make operator== native and add bool matrices
1187         https://bugs.webkit.org/show_bug.cgi?id=200749
1188
1189         Reviewed by Myles C. Maxfield.
1190
1191         * webgpu/whlsl/bool-matrix-expected.txt: Added.
1192         * webgpu/whlsl/bool-matrix.html: Added.
1193         * webgpu/whlsl/builtin-vectors.html:
1194         * webgpu/whlsl/matrices-spec-tests.html:
1195         * webgpu/whlsl/operator-equal-equal-expected.txt: Added.
1196         * webgpu/whlsl/operator-equal-equal.html: Added.
1197
1198 2019-08-16  Zalan Bujtas  <zalan@apple.com>
1199
1200         [ContentChangeObserver] Add ContentChangeObserver::elementDidBecomeHidden
1201         https://bugs.webkit.org/show_bug.cgi?id=200819
1202         <rdar://problem/54400223>
1203
1204         Reviewed by Simon Fraser.
1205
1206         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden3-expected.txt: Added.
1207         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden3.html: Added.
1208
1209 2019-08-16  Joseph Pecoraro  <pecoraro@apple.com>
1210
1211         Web Inspector: JavaScript formatting of single statement arrow function can be poor
1212         https://bugs.webkit.org/show_bug.cgi?id=200800
1213
1214         Reviewed by Ross Kirsling.
1215
1216         * inspector/formatting/resources/javascript-tests/arrow-functions-expected.js:
1217         * inspector/formatting/resources/javascript-tests/arrow-functions.js:
1218         Add a few additional complex single statement arrow function test cases.
1219
1220 2019-08-16  Russell Epstein  <repstein@apple.com>
1221
1222         Typo correction for han-quotes expectation entry.
1223         rdar://52594556
1224
1225         Unreviewed Test Gardening.
1226
1227         * platform/mac/TestExpectations: Test is an ImageOnlyFailure, not a
1228         text Failure. Corrected mistake.
1229
1230 2019-08-16  Russell Epstein  <repstein@apple.com>
1231
1232         rdar://52557916 (REGRESSION: fast/css/paint-order.html and fast/css/paint-order-shadow.html are failing)
1233
1234         Unreviewed Test Gardening.
1235
1236         * platform/mac/TestExpectations: Corrected typo in previous entry and
1237         added test expectations for fast/css/paint-order.html and fast/css/paint-order-shadow.html
1238
1239 2019-08-16  Russell Epstein  <repstein@apple.com>
1240
1241         rdar://52594556 (Layout test fast/text/international/system-language/han-quotes.html is failing)
1242
1243         Unreviewed Test Gardening.
1244
1245         * platform/mac/TestExpectations: Added expectation for fast/text/international/system-language/han-quotes.html
1246
1247 2019-08-16  Devin Rousso  <drousso@apple.com>
1248
1249         Unreviewed, fix test failure and add additional tests after r248753
1250
1251         * inspector/unit-tests/url-utilities.html:
1252         * inspector/unit-tests/url-utilities-expected.txt:
1253         Add additional tests of `WI.displayNameForURL` with paths, query strings, and fragments.
1254
1255         * inspector/css/add-rule.html:
1256         * inspector/css/add-rule-expected.txt:
1257         The `doNotCreateIfMissing` parameter was removed from `preferredInspectorStyleSheetForFrame`.
1258         All the test is trying to do is check that there's not an existing Inspector Style Sheet, so
1259         instead just check that the list of Inspector Style Sheets is empty.
1260
1261 2019-08-16  Antti Koivisto  <antti@apple.com>
1262
1263         Content in <iframe> should override "touch-action" set in embedding document
1264         https://bugs.webkit.org/show_bug.cgi?id=200204
1265         <rdar://problem/54355249>
1266
1267         Reviewed by Antoine Quint.
1268
1269         * pointerevents/ios/touch-action-region-frame-expected.txt: Added.
1270         * pointerevents/ios/touch-action-region-frame.html: Added.
1271
1272 2019-08-16  Chris Lord  <clord@igalia.com>
1273
1274         Update WebGL test expectations for WebKit WPE
1275         https://bugs.webkit.org/show_bug.cgi?id=200765
1276
1277         Reviewed by Carlos Alberto Lopez Perez.
1278
1279         Establish a new baseline for WPE backend WebGL test results.
1280
1281         * platform/wpe/TestExpectations:
1282         * platform/wpe/webgl/2.0.0/conformance/extensions/get-extension-expected.txt:
1283         * platform/wpe/webgl/2.0.0/conformance/extensions/oes-texture-half-float-with-image-data-expected.txt: Removed.
1284         * platform/wpe/webgl/2.0.0/conformance/glsl/misc/shaders-with-invariance-expected.txt:
1285         * platform/wpe/webgl/2.0.0/conformance2/buffers/bound-buffer-size-change-test-expected.txt:
1286         * platform/wpe/webgl/2.0.0/conformance2/extensions/promoted-extensions-in-shaders-expected.txt:
1287         * platform/wpe/webgl/2.0.0/conformance2/glsl3/shader-with-mis-matching-uniform-block-expected.txt: Removed.
1288         * platform/wpe/webgl/2.0.0/conformance2/renderbuffers/multisample-with-full-sample-counts-expected.txt: Added.
1289         * platform/wpe/webgl/2.0.0/conformance2/renderbuffers/multisampled-renderbuffer-initialization-expected.txt:
1290
1291 2019-08-15  Joseph Pecoraro  <pecoraro@apple.com>
1292
1293         Web Inspector: Update Esprima to support modern JavaScript language features
1294         https://bugs.webkit.org/show_bug.cgi?id=200796
1295
1296         Reviewed by Ross Kirsling.
1297
1298         * inspector/formatting/resources/javascript-tests/classes-expected.js:
1299         * inspector/formatting/resources/javascript-tests/classes.js:
1300         * inspector/formatting/resources/javascript-tests/for-statements-expected.js:
1301         * inspector/formatting/resources/javascript-tests/for-statements.js:
1302         * inspector/formatting/resources/javascript-tests/generators-expected.js:
1303         * inspector/formatting/resources/javascript-tests/generators.js:
1304         * inspector/formatting/resources/javascript-tests/numbers-expected.js: Added.
1305         * inspector/formatting/resources/javascript-tests/numbers.js: Added.
1306         * inspector/formatting/resources/javascript-tests/try-catch-finally-statements-expected.js:
1307         * inspector/formatting/resources/javascript-tests/try-catch-finally-statements.js:
1308         * inspector/formatting/resources/javascript-tests/unary-binary-expressions-expected.js:
1309         * inspector/formatting/resources/javascript-tests/unary-binary-expressions.js:
1310         Test formatting of new JavaScript language features.
1311
1312         * inspector/formatting/formatting-css-expected.txt:
1313         * inspector/formatting/formatting-javascript-expected.txt:
1314         * inspector/formatting/formatting-javascript.html:
1315         * inspector/formatting/resources/utilities.js:
1316         (TestPage.registerInitializer.async.runFormattingTest):
1317         (TestPage.registerInitializer.window.addFormattingTests):
1318         (TestPage.registerInitializer):
1319         Cleaner output and better handling for debugging failures.
1320
1321         * inspector/model/parse-script-syntax-tree.html:
1322         Test new AST permutations.
1323
1324 2019-08-15  Zalan Bujtas  <zalan@apple.com>
1325
1326         [ContentChangeObserver] Keep track of all the visibility candidates.
1327         https://bugs.webkit.org/show_bug.cgi?id=200777
1328         <rdar://problem/54356331>
1329
1330         Reviewed by Simon Fraser.
1331
1332         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden2-expected.txt: Added.
1333         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden2.html: Added.
1334
1335 2019-08-15  Myles C. Maxfield  <mmaxfield@apple.com>
1336
1337         [WHLSL] Add unary plus
1338         https://bugs.webkit.org/show_bug.cgi?id=200753
1339
1340         Reviewed by Saam Barati.
1341
1342         * webgpu/whlsl/vector-matrix-addition-subtraction-expected.txt: Added.
1343         * webgpu/whlsl/vector-matrix-addition-subtraction.html: Added.
1344
1345 2019-08-15  Myles C. Maxfield  <mmaxfield@apple.com>
1346
1347         [WHLSL] Matrices should have constructors that take a flattened list of scalars
1348         https://bugs.webkit.org/show_bug.cgi?id=200804
1349
1350         Reviewed by Saam Barati.
1351
1352         * webgpu/whlsl/matrix-constructors-list-of-scalars-expected.txt: Added.
1353         * webgpu/whlsl/matrix-constructors-list-of-scalars.html: Added.
1354
1355 2019-08-15  Devin Rousso  <drousso@apple.com>
1356
1357         Web Inspector: Sources: provide a way to create an arbitrary Inspector Style Sheet
1358         https://bugs.webkit.org/show_bug.cgi?id=200425
1359
1360         Reviewed by Joseph Pecoraro.
1361
1362         * inspector/unit-tests/url-utilities.html:
1363         * inspector/unit-tests/url-utilities-expected.txt:
1364
1365 2019-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
1366
1367         Tidy up some event stream helpers in basic-gestures.js
1368         https://bugs.webkit.org/show_bug.cgi?id=200783
1369
1370         Reviewed by Tim Horton.
1371
1372         * resources/basic-gestures.js:
1373
1374         Make a few small adjustments:
1375         (1) Invoke uiScriptComplete within the completion callback of sendEventStream. This actually doesn't result in
1376             any behavior differences, since UIScriptController will, by default, wait for non-persistent asynchronous
1377             tasks to finish before allowing the UI-side script invocation to finish.
1378         (2) Fix some minor indentation issues in longPressAndHoldAtPoint, touchAndDragFromPointToPoint, holdAtPoint,
1379             and continueTouchAndDragFromPointToPoint.
1380
1381 2019-08-15  Zalan Bujtas  <zalan@apple.com>
1382
1383         [ContentChangeObserver] Dispatch synthetic click when the visibility candidate element becomes hidden again.
1384         https://bugs.webkit.org/show_bug.cgi?id=200773
1385         <rdar://problem/54351728>
1386
1387         Reviewed by Simon Fraser.
1388
1389         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden-expected.html: Added.
1390         * fast/events/touch/ios/content-observation/going-from-hidden-to-visible-and-to-hidden.html: Added.
1391
1392 2019-08-15  Robin Morisset  <rmorisset@apple.com>
1393
1394         [WHLSL] Don't accept operator&& or operator|| in the Lexer
1395         https://bugs.webkit.org/show_bug.cgi?id=200785
1396
1397         Reviewed by Saam Barati.
1398
1399         * webgpu/whlsl/lexing.html:
1400
1401 2019-08-15  Devin Rousso  <drousso@apple.com>
1402
1403         Web Inspector: support `console.screenshot` with detached <canvas>
1404         https://bugs.webkit.org/show_bug.cgi?id=200723
1405
1406         Reviewed by Joseph Pecoraro.
1407
1408         * inspector/console/console-screenshot.html:
1409         * inspector/console/console-screenshot-expected.txt:
1410
1411 2019-08-15  Sihui Liu  <sihui_liu@apple.com>
1412
1413         Some improvements on web storage
1414         https://bugs.webkit.org/show_bug.cgi?id=200373
1415
1416         Reviewed by Geoffrey Garen.
1417  
1418         Modify tests for a behavior change: sessionStorage will be lost when network process crashes.
1419
1420         For tests which use sessionStorage to store items, crash network process, then read from sessionStorage and 
1421         expect items to be in sessionStorage, replace sessionStorage with localStorage. Also, to make sure localStorage
1422         is stored persistently before network process gets terminated, adopt a newly introduced SPI to 
1423         synchronously flush localStorage content to disk before terminating network process.
1424
1425         * platform/ios-simulator-wk2/TestExpectations:
1426         * platform/mac-wk2/TestExpectations:
1427         * storage/domstorage/localstorage/private-browsing-affects-storage-expected.txt:
1428         * storage/indexeddb/IDBObject-leak.html:
1429         * storage/indexeddb/modern/opendatabase-after-storage-crash-expected.txt:
1430         * storage/indexeddb/modern/opendatabase-after-storage-crash.html:
1431
1432 2019-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
1433
1434         Occasional hang under -[UIKeyboardTaskQueue lockWhenReadyForMainThread] when long-pressing non-editable text
1435         https://bugs.webkit.org/show_bug.cgi?id=200731
1436         <rdar://problem/54315371>
1437
1438         Reviewed by Tim Horton.
1439
1440         Add a layout test to verify that tapping the page while handling a text loupe gesture doesn't cause the UI
1441         process to hang indefinitely.
1442
1443         * editing/selection/ios/tap-during-loupe-gesture-expected.txt: Added.
1444         * editing/selection/ios/tap-during-loupe-gesture.html: Added.
1445
1446 2019-08-15  Joseph Pecoraro  <pecoraro@apple.com>
1447
1448         Web Inspector: Update Esprima to trunk (minor fixes)
1449         https://bugs.webkit.org/show_bug.cgi?id=200691
1450         <rdar://problem/54276170>
1451
1452         Rubber-stamped by Devin Rousso.
1453
1454         * inspector/model/parse-script-syntax-tree-expected.txt:
1455         * inspector/model/parse-script-syntax-tree.html:
1456         - SpreadProperty => SpreadElement.
1457         - RestProperty => RestElement.
1458
1459 2019-08-15  Saam Barati  <sbarati@apple.com>
1460
1461         [WHLSL] Make length, clamp, operator+, operator-, operator*, operator/, operator[], operator[]=, operator.xy, operator.xy=, native
1462         https://bugs.webkit.org/show_bug.cgi?id=200700
1463
1464         Reviewed by Robin Morisset.
1465
1466         * webgpu/whlsl/clamp-stdlib-expected.txt: Added.
1467         * webgpu/whlsl/clamp-stdlib.html: Added.
1468         * webgpu/whlsl/length-stdlib-expected.txt: Added.
1469         * webgpu/whlsl/length-stdlib.html: Added.
1470         * webgpu/whlsl/operator-div-expected.txt: Added.
1471         * webgpu/whlsl/operator-div.html: Added.
1472         * webgpu/whlsl/operator-minus-expected.txt: Added.
1473         * webgpu/whlsl/operator-minus.html: Added.
1474         * webgpu/whlsl/operator-plus-expected.txt: Added.
1475         * webgpu/whlsl/operator-plus.html: Added.
1476         * webgpu/whlsl/operator-times-expected.txt: Added.
1477         * webgpu/whlsl/operator-times.html: Added.
1478         * webgpu/whlsl/operator-vector-assign-expected.txt: Added.
1479         * webgpu/whlsl/operator-vector-assign.html: Added.
1480         * webgpu/whlsl/operator-vector-load-expected.txt: Added.
1481         * webgpu/whlsl/operator-vector-load.html: Added.
1482         * webgpu/whlsl/operator-xy-expected.txt: Added.
1483         * webgpu/whlsl/operator-xy.html: Added.
1484
1485 2019-08-15  Antti Koivisto  <antti@apple.com>
1486
1487         Negative size box with border radius causes hang under WebCore::approximateAsRegion
1488         https://bugs.webkit.org/show_bug.cgi?id=200769
1489         <rdar://problem/53380674>
1490
1491         Reviewed by Alex Christensen.
1492
1493         * fast/css/border-radius-negative-size-expected.txt: Added.
1494         * fast/css/border-radius-negative-size.html: Added.
1495
1496 2019-08-15  Youenn Fablet  <youenn@apple.com>
1497
1498         Make mock libwebrtc tests run with unified plan
1499         https://bugs.webkit.org/show_bug.cgi?id=200713
1500
1501         Reviewed by Alex Christensen.
1502
1503         Enable unified plan.
1504
1505         * fast/mediastream/RTCPeerConnection-icecandidate-event.html:
1506         * fast/mediastream/RTCPeerConnection-iceconnectionstatechange-event.html:
1507         * fast/mediastream/RTCPeerConnection-inspect-answer.html:
1508         * fast/mediastream/RTCPeerConnection-inspect-offer.html:
1509         * fast/mediastream/RTCPeerConnection-media-setup-single-dialog.html:
1510         * fast/mediastream/RTCPeerConnection-remotely-assigned-transceiver-mid.html:
1511         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer.html:
1512         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer.html:
1513         * webrtc/libwebrtc/release-while-creating-offer.html:
1514         * webrtc/libwebrtc/release-while-getting-stats.html:
1515         * webrtc/libwebrtc/release-while-setting-local-description.html:
1516
1517 2019-08-14  Myles C. Maxfield  <mmaxfield@apple.com>
1518
1519         [WHLSL] Variables shouldn't be able to have void type
1520         https://bugs.webkit.org/show_bug.cgi?id=200751
1521
1522         Reviewed by Robin Morisset.
1523
1524         * webgpu/whlsl/void-variable-parameter-expected.txt: Added.
1525         * webgpu/whlsl/void-variable-parameter.html: Added.
1526
1527 2019-08-14  Zalan Bujtas  <zalan@apple.com>
1528
1529         [ContentChangeObserver] Any previously destroyed renderer should not be considered a candidate for content observation.
1530         https://bugs.webkit.org/show_bug.cgi?id=200732
1531         <rdar://problem/54319654>
1532
1533         Reviewed by Simon Fraser.
1534
1535         * fast/events/touch/ios/content-observation/visible-content-gains-new-renderer2-expected.txt: Added.
1536         * fast/events/touch/ios/content-observation/visible-content-gains-new-renderer2.html: Added.
1537
1538 2019-08-14  Ryan Haddad  <ryanhaddad@apple.com>
1539
1540         Unreviewed, rolling out r248638.
1541
1542         These test expectations aren't necessary
1543
1544         Reverted changeset:
1545
1546         "Unreviewed test gardening, land test expectations for
1547         rdar://49790831."
1548         https://trac.webkit.org/changeset/248638
1549
1550 2019-08-14  Devin Rousso  <drousso@apple.com>
1551
1552         Web Inspector: support `console.screenshot` with dataURL strings
1553         https://bugs.webkit.org/show_bug.cgi?id=199307
1554
1555         Reviewed by Joseph Pecoraro.
1556
1557         * inspector/console/console-screenshot.html:
1558         * inspector/console/console-screenshot-expected.txt:
1559
1560 2019-08-14  Ryan Haddad  <ryanhaddad@apple.com>
1561
1562         [WebAuthN] Enable LocalAuthenticator for macOS
1563         https://bugs.webkit.org/show_bug.cgi?id=182772
1564
1565         Unreviewed test gardening.
1566
1567         * platform/mac-wk2/TestExpectations: Skip two more tests that are only expected to run on internal bots.
1568
1569 2019-08-13  Antoine Quint  <graouts@apple.com>
1570
1571         [iPadOS] slides.google.com: Cannot dismiss the context menu by tapping on the canvas
1572         https://bugs.webkit.org/show_bug.cgi?id=200219
1573         <rdar://problem/53650423>
1574
1575         Reviewed by Zalan Bujtas.
1576
1577         While the code change for this bug is all in code private to Safari, we add tests that check that removing implicit pointer capture
1578         or removing the original target element while the pointer is active correctly fires the "pointerup" event at the element that hit tests
1579         at the touch release point.
1580
1581         * pointerevents/ios/pointer-events-implicit-capture-element-removed-while-pointer-active-expected.txt: Added.
1582         * pointerevents/ios/pointer-events-implicit-capture-element-removed-while-pointer-active.html: Added.
1583         * pointerevents/ios/pointer-events-implicit-capture-released-while-pointer-active-expected.txt: Added.
1584         * pointerevents/ios/pointer-events-implicit-capture-released-while-pointer-active.html: Added.
1585
1586 2019-08-13  Saam Barati  <sbarati@apple.com>
1587
1588         [WHLSL] Make lexing faster
1589         https://bugs.webkit.org/show_bug.cgi?id=200596
1590
1591         Reviewed by Myles C. Maxfield.
1592
1593         * webgpu/whlsl/lexing-expected.txt: Added.
1594         * webgpu/whlsl/lexing.html: Added.
1595         * webgpu/whlsl/literals-expected.txt: Added.
1596         * webgpu/whlsl/literals.html: Added.
1597
1598 2019-08-13  Alexey Shvayka  <shvaikalesh@gmail.com>
1599
1600         Re-sync web-platform-tests/dom/events from upstream
1601         https://bugs.webkit.org/show_bug.cgi?id=200592
1602
1603         Reviewed by Ryosuke Niwa.
1604
1605         Re-sync web-platform-tests/dom/events from upstream 1e6fef09eae3.
1606
1607         * TestExpectations:
1608         * platform/ios/TestExpectations:
1609         * platform/ios/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt:
1610         * tests-options.json:
1611
1612 2019-08-13  John Wilander  <wilander@apple.com>
1613
1614         Resource Load Statistics: Switch NSURLSession on top navigation to prevalent resource with user interaction
1615         https://bugs.webkit.org/show_bug.cgi?id=200642
1616         <rdar://problem/53962073>
1617
1618         Reviewed by Alex Christensen.
1619
1620         * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction-expected.txt: Added.
1621         * http/tests/resourceLoadStatistics/do-not-switch-session-on-navigation-to-prevalent-without-interaction.html: Added.
1622         * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction-expected.txt: Added.
1623         * http/tests/resourceLoadStatistics/switch-session-on-navigation-to-prevalent-with-interaction.html: Added.
1624
1625 2019-08-13  Ryan Haddad  <ryanhaddad@apple.com>
1626
1627         [WebAuthN] Enable LocalAuthenticator for macOS
1628         https://bugs.webkit.org/show_bug.cgi?id=182772
1629
1630         Unreviewed test gardening.
1631
1632         * platform/mac-wk2/TestExpectations: Skip tests that are only expected to run on internal bots.
1633
1634 2019-08-09  Ryan Haddad  <ryanhaddad@apple.com>
1635
1636         Unreviewed test gardening, land test expectations for rdar://49790831.
1637
1638         * platform/ios-12/TestExpectations:
1639         * platform/ios/TestExpectations:
1640
1641 2019-08-13  Justin Fan  <justin_fan@apple.com>
1642
1643         [WebGPU] Improve GPUBindGroup performance using one device-shared argument MTLBuffer
1644         https://bugs.webkit.org/show_bug.cgi?id=200606
1645
1646         Reviewed by Myles C. Maxfield.
1647
1648         Update bind-groups.html to better stress GPUBindGroup implementation.
1649
1650         * webgpu/bind-groups-expected.txt:
1651         * webgpu/bind-groups.html:
1652
1653 2019-08-13  Antti Koivisto  <antti@apple.com>
1654
1655         Event regions collection should take clipping into account
1656         https://bugs.webkit.org/show_bug.cgi?id=200668
1657         <rdar://problem/53826561>
1658
1659         Reviewed by Simon Fraser.
1660
1661         * pointerevents/ios/touch-action-region-clip-and-transform-expected.txt: Added.
1662         * pointerevents/ios/touch-action-region-clip-and-transform.html: Added.
1663
1664 2019-08-13  Devin Rousso  <drousso@apple.com>
1665
1666         Web Inspector: Styles: show @supports CSS groupings
1667         https://bugs.webkit.org/show_bug.cgi?id=200419
1668         <rdar://problem/53971948>
1669
1670         Reviewed by Joseph Pecoraro.
1671
1672         * inspector/css/getMatchedStylesForNode.html:
1673         * inspector/css/getMatchedStylesForNode-expected.txt:
1674
1675 2019-08-13  Russell Epstein  <repstein@apple.com>
1676
1677         Reverting change in r248379
1678         rdar://53779679
1679
1680         Unreviewed Test Gardening.
1681         Removed previously set TestExpectations.
1682
1683         * platform/ios-12/TestExpectations:
1684         * platform/ios/TestExpectations:
1685
1686 2019-08-13  Chris Lord  <clord@igalia.com>
1687
1688         Incorrect head in fast/canvas/webgl/gl-get-calls.html causes test failure
1689         https://bugs.webkit.org/show_bug.cgi?id=200673
1690
1691         Reviewed by Alexey Proskuryakov.
1692
1693         * fast/canvas/webgl/gl-get-calls.html:
1694
1695 2019-08-12  Ryosuke Niwa  <rniwa@webkit.org>
1696
1697         FrameLoader::open can execute scritps via style recalc in Frame::setDocument
1698         https://bugs.webkit.org/show_bug.cgi?id=200377
1699
1700         Reviewed by Antti Koivisto.
1701
1702         Added a regression test.
1703
1704         * fast/frames/restoring-page-cache-should-not-run-scripts-via-style-update-expected.txt: Added.
1705         * fast/frames/restoring-page-cache-should-not-run-scripts-via-style-update.html: Added.
1706         * platform/win/TestExpectations: Skip the newly added test.
1707
1708 2019-08-12  Daniel Bates  <dabates@apple.com>
1709
1710         Add a test to ensure that we dispatch keydown and keyup events when multiple keys are pressed at the same time
1711         https://bugs.webkit.org/show_bug.cgi?id=200548
1712
1713         Reviewed by Darin Adler.
1714
1715         Add a test. Skip the test for now until we have the fixes for <rdar://problem/53613454> and <rdar://problem/54001139>.
1716
1717         * fast/events/ios/multiple-key-press-and-release-ordering-expected.txt: Added.
1718         * fast/events/ios/multiple-key-press-and-release-ordering.html: Added.
1719         * platform/ios/TestExpectations:
1720
1721 2019-08-11  Alicia Boya García  <aboya@igalia.com>
1722
1723         [MSE][GStreamer] Don't use vorbisparse
1724         https://bugs.webkit.org/show_bug.cgi?id=200622
1725
1726         Reviewed by Philippe Normand.
1727
1728         * platform/gtk/TestExpectations:
1729
1730 2019-08-10  Simon Fraser  <simon.fraser@apple.com>
1731
1732         REGRESSION (r245974): Missing content on habitburger.com, amazon.com
1733         https://bugs.webkit.org/show_bug.cgi?id=200618
1734         rdar://problem/53920224
1735
1736         Reviewed by Zalan Bujtas.
1737
1738         * compositing/backing/layer-outside-tiled-parent-expected.txt: Added.
1739         * compositing/backing/layer-outside-tiled-parent.html: Added.
1740         * platform/ios-wk2/compositing/backing/layer-outside-tiled-parent-expected.txt: Added.
1741         * tiled-drawing/tile-coverage-iframe-to-zero-coverage-expected.txt:
1742         * tiled-drawing/tiled-backing-in-window-expected.txt:
1743
1744 2019-08-10  Andres Gonzalez  <andresg_22@apple.com>
1745
1746         Accessibility client cannot navigate to internal links targets on iOS.
1747         https://bugs.webkit.org/show_bug.cgi?id=200559
1748         <rdar://problem/45242534>
1749
1750         Reviewed by Zalan Bujtas.
1751
1752         Extneded this test to not only check that internal links expose their
1753         target, but also that the target is an accessible element. Added a
1754         second test case where the target is contained in a grouping element.
1755         * accessibility/ios-simulator/internal-link-expected.txt:
1756         * accessibility/ios-simulator/internal-link.html:
1757
1758 2019-08-09  Yusuke Suzuki  <ysuzuki@apple.com>
1759
1760         Universal XSS in JSObject::putInlineSlow and JSValue::putToPrimitive
1761         https://bugs.webkit.org/show_bug.cgi?id=199864
1762
1763         Reviewed by Saam Barati.
1764
1765         * http/tests/security/cross-frame-access-object-put-optimization-expected.txt: Added.
1766         * http/tests/security/cross-frame-access-object-put-optimization.html: Added.
1767         * http/tests/security/resources/cross-frame-iframe-for-object-put-optimization-test.html: Added.
1768
1769 2019-08-09  Ali Juma  <ajuma@chromium.org>
1770
1771         Don't allow cross-origin iframes to autofocus
1772         https://bugs.webkit.org/show_bug.cgi?id=200515
1773         <rdar://problem/54092988>
1774
1775         Reviewed by Ryosuke Niwa.
1776
1777         Add test coverage, and simulate user interaction in existing tests
1778         that require focusing a cross-origin frame.
1779
1780         * http/tests/security/clipboard/resources/copy-html.html:
1781         * http/tests/security/clipboard/resources/copy-mso-list.html:
1782         * http/tests/security/clipboard/resources/copy-url.html:
1783         * http/wpt/html/interaction/focus/no-cross-origin-element-focus-expected.txt: Added.
1784         * http/wpt/html/interaction/focus/no-cross-origin-element-focus.html: Added.
1785         * http/wpt/html/interaction/focus/no-cross-origin-window-focus-expected.txt: Added.
1786         * http/wpt/html/interaction/focus/no-cross-origin-window-focus.html: Added.
1787         * http/wpt/html/interaction/focus/resources/child-focus-element.html: Added.
1788         * http/wpt/html/interaction/focus/resources/child-focus-window.html: Added.
1789         * http/wpt/html/semantics/forms/autofocus/no-cross-origin-autofocus.sub-expected.txt: Added.
1790         * http/wpt/html/semantics/forms/autofocus/no-cross-origin-autofocus.sub.html: Added.
1791         * http/wpt/html/semantics/forms/autofocus/resources/child-autofocus.html: Added.
1792         * http/wpt/webauthn/resources/last-layer-frame.https.html:
1793
1794 2019-08-09  Thibault Saunier  <tsaunier@igalia.com>
1795
1796         [GTK] fast/mediastream/RTCPeerConnection-add-removeTrack.html is crashing
1797         https://bugs.webkit.org/show_bug.cgi?id=199018
1798
1799         This is fixed by the patch provided in https://bugs.webkit.org/show_bug.cgi?id=194326
1800
1801         Unreviewed gardening patch
1802
1803         * platform/gtk/TestExpectations:
1804
1805 2019-08-09  Russell Epstein  <repstein@apple.com>
1806
1807         Correcting Expectation Typo from r248388.
1808         rdar://54049321
1809
1810         Unreviewed Test Gardening.
1811
1812         * platform/ios-12/TestExpectations:
1813         * platform/ios/TestExpectations:
1814
1815 2019-08-08  Devin Rousso  <drousso@apple.com>
1816
1817         Web Inspector: Page: don't allow the domain to be disabled
1818         https://bugs.webkit.org/show_bug.cgi?id=200109
1819
1820         Reviewed by Brian Burg.
1821
1822         * http/tests/inspector/page/loading-iframe-document-node.html:
1823         * inspector/page/archive.html:
1824         * inspector/page/frameScheduledNavigation.html:
1825         * inspector/page/frameScheduledNavigation-async-delegates.html:
1826         * inspector/page/frameStartedLoading.html:
1827         * inspector/page/media-query-list-listener-exception.html:
1828         * inspector/timeline/line-column.html:
1829
1830 2019-08-08  Chris Lord  <chrislord.net@gmail.com>
1831
1832         Short-cut WebGLRenderingContext::getParameter() for ALPHA_BITS when alpha channel is disabled
1833         https://bugs.webkit.org/show_bug.cgi?id=200499
1834
1835         Reviewed by Darin Adler.
1836
1837         * platform/ios-simulator/webgl/2.0.0/conformance/context/context-attributes-alpha-depth-stencil-antialias-expected.txt:
1838         1 more passing test.
1839
1840 2019-08-08  Devin Rousso  <drousso@apple.com>
1841
1842         Web Inspector: rename `queryObjects` to `queryInstances` for clarity
1843         https://bugs.webkit.org/show_bug.cgi?id=200520
1844
1845         Reviewed by Brian Burg.
1846
1847         * inspector/console/queryInstances.html: Renamed from LayoutTests/inspector/console/queryObjects.html.
1848         * inspector/console/queryInstances-expected.txt: Renamed from LayoutTests/inspector/console/queryObjects-expected.txt.
1849
1850         * http/tests/inspector/console/cross-domain-inspected-node-access-expected.txt:
1851
1852 2019-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
1853
1854         [iOS 13] Taps that interrupt momentum scrolling are recognized as clicks
1855         https://bugs.webkit.org/show_bug.cgi?id=200516
1856         <rdar://problem/53889373>
1857
1858         Reviewed by Tim Horton.
1859
1860         Add new layout tests. See below for details.
1861
1862         * fast/scrolling/ios/click-events-during-momentum-scroll-in-main-frame-expected.txt: Added.
1863         * fast/scrolling/ios/click-events-during-momentum-scroll-in-main-frame.html: Added.
1864
1865         Add a test to verify that interrupting scrolling in the main frame using a tap doesn't fire a click event.
1866
1867         * fast/scrolling/ios/click-events-during-momentum-scroll-in-overflow-after-tap-on-body-expected.txt: Added.
1868         * fast/scrolling/ios/click-events-during-momentum-scroll-in-overflow-after-tap-on-body.html: Added.
1869
1870         Add a test to verify that after triggering momentum scrolling in a fast subscrollable region, tapping outside of
1871         the scroller will still fire a click event.
1872
1873         * fast/scrolling/ios/click-events-during-momentum-scroll-in-overflow-expected.txt: Added.
1874         * fast/scrolling/ios/click-events-during-momentum-scroll-in-overflow.html: Added.
1875
1876         Add a test to verify that interrupting scrolling in a fast subscrollable region using a tap doesn't fire a
1877         click event.
1878
1879         * resources/ui-helper.js:
1880         (window.UIHelper.dragFromPointToPoint):
1881         (window.UIHelper):
1882
1883 2019-08-08  Russell Epstein  <repstein@apple.com>
1884
1885         Add Catalina Baselines for Font-related Tests.
1886         rdar://53836015
1887
1888         Unreviewed Test Gardening.
1889
1890         * platform/mac-mojave/css1/basic/inheritance-expected.txt: Copied from LayoutTests/platform/mac/css1/basic/inheritance-expected.txt.
1891         * platform/mac-mojave/css2.1/t0602-c13-inh-underlin-00-e-expected.txt: Copied from LayoutTests/platform/mac/css2.1/t0602-c13-inh-underlin-00-e-expected.txt.
1892         * platform/mac-mojave/css2.1/t0805-c5522-brdr-02-e-expected.txt: Copied from LayoutTests/platform/mac/css2.1/t0805-c5522-brdr-02-e-expected.txt.
1893         * platform/mac-mojave/css3/selectors3/html/css3-modsel-18-expected.txt: Copied from LayoutTests/platform/mac/css3/selectors3/html/css3-modsel-18-expected.txt.
1894         * platform/mac-mojave/css3/selectors3/xhtml/css3-modsel-18-expected.txt: Copied from LayoutTests/platform/mac/css3/selectors3/xhtml/css3-modsel-18-expected.txt.
1895         * platform/mac-mojave/css3/selectors3/xml/css3-modsel-18-expected.txt: Copied from LayoutTests/platform/mac/css3/selectors3/xml/css3-modsel-18-expected.txt.
1896         * platform/mac-mojave/fast/block/basic/001-expected.txt: Copied from LayoutTests/platform/mac/fast/block/basic/001-expected.txt.
1897         * platform/mac-mojave/fast/css/css3-nth-child-expected.txt: Copied from LayoutTests/platform/mac/fast/css/css3-nth-child-expected.txt.
1898         * platform/mac-mojave/fast/dom/34176-expected.txt: Copied from LayoutTests/platform/mac/fast/dom/34176-expected.txt.
1899         * platform/mac-mojave/fast/dom/clone-node-dynamic-style-expected.txt: Copied from LayoutTests/platform/mac/fast/dom/clone-node-dynamic-style-expected.txt.
1900         * platform/mac-mojave/fast/forms/plaintext-mode-2-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/plaintext-mode-2-expected.txt.
1901         * platform/mac-mojave/fast/invalid/003-expected.txt: Copied from LayoutTests/platform/mac/fast/invalid/003-expected.txt.
1902         * platform/mac-mojave/fast/invalid/004-expected.txt: Copied from LayoutTests/platform/mac/fast/invalid/004-expected.txt.
1903         * platform/mac-mojave/fast/invalid/nestedh3s-expected.txt: Copied from LayoutTests/platform/mac/fast/invalid/nestedh3s-expected.txt.
1904         * platform/mac-mojave/fast/selectors/018-expected.txt: Copied from LayoutTests/platform/mac/fast/selectors/018-expected.txt.
1905         * platform/mac-mojave/fast/table/frame-and-rules-expected.txt: Copied from LayoutTests/platform/mac/fast/table/frame-and-rules-expected.txt.
1906         * platform/mac-mojave/fast/text/atsui-multiple-renderers-expected.txt: Copied from LayoutTests/platform/mac/fast/text/atsui-multiple-renderers-expected.txt.
1907         * platform/mac-mojave/fast/text/bidi-embedding-pop-and-push-same-expected.txt: Copied from LayoutTests/platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.txt.
1908         * platform/mac-mojave/fast/text/font-weights-expected.txt: Copied from LayoutTests/platform/mac/fast/text/font-weights-expected.txt.
1909         * platform/mac-mojave/fast/text/font-weights-zh-expected.txt: Copied from LayoutTests/platform/mac/fast/text/font-weights-zh-expected.txt.
1910         * platform/mac-mojave/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt: Copied from LayoutTests/platform/mac/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt.
1911         * platform/mac-mojave/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt: Copied from LayoutTests/platform/mac/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt.
1912         * platform/mac-mojave/svg/batik/text/textStyles-expected.txt: Copied from LayoutTests/platform/mac/svg/batik/text/textStyles-expected.txt.
1913         * platform/mac-mojave/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt: Copied from LayoutTests/platform/mac/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt.
1914         * platform/mac-mojave/tables/mozilla/other/wa_table_tr_align-expected.txt: Copied from LayoutTests/platform/mac/tables/mozilla/other/wa_table_tr_align-expected.txt.
1915         * platform/mac/css1/basic/inheritance-expected.txt:
1916         * platform/mac/css2.1/t0602-c13-inh-underlin-00-e-expected.txt:
1917         * platform/mac/css2.1/t0805-c5522-brdr-02-e-expected.txt:
1918         * platform/mac/css3/selectors3/html/css3-modsel-18-expected.txt:
1919         * platform/mac/css3/selectors3/xhtml/css3-modsel-18-expected.txt:
1920         * platform/mac/css3/selectors3/xml/css3-modsel-18-expected.txt:
1921         * platform/mac/fast/block/basic/001-expected.txt:
1922         * platform/mac/fast/css/css3-nth-child-expected.txt:
1923         * platform/mac/fast/dom/34176-expected.txt:
1924         * platform/mac/fast/dom/clone-node-dynamic-style-expected.txt:
1925         * platform/mac/fast/forms/plaintext-mode-2-expected.txt:
1926         * platform/mac/fast/invalid/003-expected.txt:
1927         * platform/mac/fast/invalid/004-expected.txt:
1928         * platform/mac/fast/invalid/nestedh3s-expected.txt:
1929         * platform/mac/fast/selectors/018-expected.txt:
1930         * platform/mac/fast/table/frame-and-rules-expected.txt:
1931         * platform/mac/fast/text/atsui-multiple-renderers-expected.txt:
1932         * platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.txt:
1933         * platform/mac/fast/text/font-weights-expected.txt:
1934         * platform/mac/fast/text/font-weights-zh-expected.txt:
1935         * platform/mac/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt:
1936         * platform/mac/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt:
1937         * platform/mac/svg/batik/text/textStyles-expected.txt:
1938         * platform/mac/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
1939         * platform/mac/tables/mozilla/other/wa_table_tr_align-expected.txt:
1940
1941 2019-08-08  Miguel Gomez  <magomez@igalia.com>
1942
1943         Unreviewed GTK+ gardening. Update expectations after r248403.
1944
1945         * platform/gtk/TestExpectations:
1946
1947 2019-08-08  Rob Buis  <rbuis@igalia.com>
1948
1949         Import lazy loading WPT tests
1950         https://bugs.webkit.org/show_bug.cgi?id=199795
1951
1952         Reviewed by Darin Adler.
1953
1954         Skip the lazy tests for now.
1955
1956         * TestExpectations:
1957         * http/wpt/loading/redirect-headers-expected.txt:
1958
1959 2019-08-07  Yury Semikhatsky  <yurys@chromium.org>
1960
1961         LayoutTest inspector/worker/debugger-scripts.html is a flaky failure
1962         https://bugs.webkit.org/show_bug.cgi?id=165582
1963
1964         Reviewed by Joseph Pecoraro.
1965
1966         Unflake the test. Main resource in the worker target is populated asychronously
1967         when the script is parsed and sent to the debugger, so we need to wait for it
1968         before performing further checks.
1969
1970         * inspector/worker/debugger-scripts.html:
1971         * platform/mac/TestExpectations:
1972
1973 2019-08-07  Russell Epstein  <repstein@apple.com>
1974
1975         Updating TestExpectations for editing/pasteboard/paste-does-not-fire-promises-while-sanitizing-web-content.html.
1976         rdar://54049321
1977
1978         Unreviewed Test Gardening.
1979
1980         * platform/ios-12/TestExpectations:
1981         * platform/ios/TestExpectations:
1982
1983 2019-08-07  Jer Noble  <jer.noble@apple.com>
1984
1985         Muted <video> elements can block display from sleeping.
1986         https://bugs.webkit.org/show_bug.cgi?id=200511
1987
1988         Reviewed by Eric Carlson.
1989
1990         * media/video-muted-holds-sleep-assertion-expected.txt: Added.
1991         * media/video-muted-holds-sleep-assertion.html: Added.
1992
1993 2019-08-07  Russell Epstein  <repstein@apple.com>
1994
1995         Updating TestExpectations for Two Failing Layout Tests.
1996         rdar://53779679
1997
1998         Unreviewed Test Gardening.
1999
2000         * platform/ios-12/TestExpectations:
2001         * platform/ios/TestExpectations:
2002
2003 2019-08-07  Priyanka Agarwal  <pagarwal999@apple.com>
2004
2005         Allow clients to toggle a text input field between being viewable and having characters hidden while maintaining 
2006         a yellow auto-filled appearance
2007         https://bugs.webkit.org/show_bug.cgi?id=200037
2008         rdar://problem/51900961
2009
2010         Reviewed by Daniel Bates.
2011
2012         * fast/forms/auto-fill-button/hide-auto-fill-strong-password-viewable-treatment-when-form-is-reset.html: Added.
2013         Test for when the form is reset to no longer be autofilled.
2014
2015         * fast/forms/auto-fill-button/input-strong-password-viewable.html: Added.
2016         Test for when the form is set to being autofilled and viewable.
2017
2018         * fast/forms/auto-fill-button/resources/process-auto-fill-button-type-and-invoke-runTest.js:
2019         (window.onload): Javascript used by test to set the element to be autofilled and viewable added
2020
2021         * platform/mac/fast/forms/auto-fill-button/hide-auto-fill-strong-password-viewable-treatment-when-form-is-reset-expected.txt: Added.
2022         * platform/mac/fast/forms/auto-fill-button/input-strong-password-viewable-expected.txt:
2023
2024 2019-08-07  Wenson Hsieh  <wenson_hsieh@apple.com>
2025
2026         Extra space inserted at start of line when inserting a newline in Mail compose
2027         https://bugs.webkit.org/show_bug.cgi?id=200490
2028         <rdar://problem/53501354>
2029
2030         Reviewed by Antti Koivisto.
2031
2032         Add a new test to verify that inserting a newline in the middle of text in a document with designMode "on"
2033         doesn't insert an extra space at the beginning of the newly inserted line.
2034
2035         * editing/inserting/insert-paragraph-in-designmode-document-expected.txt: Added.
2036         * editing/inserting/insert-paragraph-in-designmode-document.html: Added.
2037
2038 2019-08-06  Ryosuke Niwa  <rniwa@webkit.org>
2039
2040         [iPadOS] slides.google.com: tapping near cursor in a slide title focuses the speaker notes
2041         https://bugs.webkit.org/show_bug.cgi?id=200216
2042
2043         Reviewed by Wenson Hsieh.
2044
2045         Added a new regression test and removed the one added for r243044.
2046
2047         * fast/events/touch/ios/show-keyboard-after-preventing-touchstart-expected.txt: Removed.
2048         * fast/events/touch/ios/show-keyboard-after-preventing-touchstart.html: Removed.
2049         * fast/forms/ios/inputmode-change-update-keyboard-after-pointerup-expected.txt: Added.
2050         * fast/forms/ios/inputmode-change-update-keyboard-after-pointerup.html: Added.
2051         * fast/forms/ios/inputmode-change-update-keyboard.html: Fixed the test for manual testing.
2052
2053 2019-08-06  Commit Queue  <commit-queue@webkit.org>
2054
2055         Unreviewed, rolling out r248289.
2056         https://bugs.webkit.org/show_bug.cgi?id=200488
2057
2058         Broke internal builds (Requested by drousso on #webkit).
2059
2060         Reverted changeset:
2061
2062         "Web Inspector: Styles: show @supports CSS groupings"
2063         https://bugs.webkit.org/show_bug.cgi?id=200419
2064         https://trac.webkit.org/changeset/248289
2065
2066 2019-08-06  Russell Epstein  <repstein@apple.com>
2067
2068         Updating Test Expectations for <rdar://53957264>, <rdar://53946482>, <rdar://53866783>
2069
2070         Unreviewed Test Gardening.
2071
2072         * platform/ios-12/TestExpectations:
2073         * platform/ios/TestExpectations:
2074
2075 2019-08-06  Jiewen Tan  <jiewen_tan@apple.com>
2076
2077         [WebAuthN] Enable LocalAuthenticator for macOS
2078         https://bugs.webkit.org/show_bug.cgi?id=182772
2079         <rdar://problem/43347920>
2080
2081         Reviewed by Brent Fulgham.
2082
2083         Enable existing local authenticator tests for macOS. Since OpenSource bots
2084         don't have the internal setting to include restricted entitlements, tests
2085         will fail on OpenSource bots.
2086
2087         * platform/mac-wk2/TestExpectations:
2088
2089 2019-08-06  Chris Dumez  <cdumez@apple.com>
2090
2091         Unreviewed, drop change to TestExpectations that landed accidentally with r248276.
2092
2093         * platform/wk2/TestExpectations:
2094
2095 2019-08-06  Jer Noble  <jer.noble@apple.com>
2096
2097         Adopt -expectMinimumUpcomingSampleBufferPresentationTime:
2098         https://bugs.webkit.org/show_bug.cgi?id=200457
2099         <rdar://problem/53961130>
2100
2101         Reviewed by Eric Carlson.
2102
2103         * media/media-source/media-source-minimumupcomingpresentationtime-expected.txt: Added.
2104         * media/media-source/media-source-minimumupcomingpresentationtime.html: Added.
2105
2106 2019-08-06  Russell Epstein  <repstein@apple.com>
2107
2108         [iPad] editing/selection/character-granularity-rect.html is now passing.
2109         <rdar://53468934>
2110
2111         Unreviewed Test Gardening.
2112
2113         * platform/ipad/TestExpectations: Removed expectation for passing test, editing/selection/character-granularity-rect.html
2114
2115 2019-08-06  Wenson Hsieh  <wenson_hsieh@apple.com>
2116
2117         [iPadOS] Unable to increase zoom level on Google using the Aa menu
2118         https://bugs.webkit.org/show_bug.cgi?id=200453
2119         <rdar://problem/52278579>
2120
2121         Reviewed by Tim Horton.
2122
2123         Adds a couple of layout tests (with device-specific expectations) to verify that the two scenarios targeted by
2124         this change are fixed.
2125
2126         * fast/viewport/ios/non-responsive-viewport-after-changing-view-scale-expected.txt: Added.
2127         * fast/viewport/ios/non-responsive-viewport-after-changing-view-scale.html: Added.
2128
2129         Verifies that, for a page with no viewport meta tag (where we fall back to a fixed 980px viewport on iPhone),
2130         changing view scale still changes page scale and window size.
2131
2132         * fast/viewport/ios/responsive-viewport-with-minimum-width-after-changing-view-scale-expected.txt: Added.
2133         * fast/viewport/ios/responsive-viewport-with-minimum-width-after-changing-view-scale.html: Added.
2134
2135         Verifies that, for a page with a responsive meta viewport tag containing a fixed-width element that forces a
2136         minimum width for the page, setting the view scale such that the page scrolls horizontally (2.5) doesn't result
2137         in the initial scale being adjusted back to the maximum scale that would accomodate the full contents of the
2138         page (2).
2139
2140         * platform/ipad/fast/viewport/ios/non-responsive-viewport-after-changing-view-scale-expected.txt: Added.
2141         * platform/ipad/fast/viewport/ios/responsive-viewport-with-minimum-width-after-changing-view-scale-expected.txt: Added.
2142
2143 2019-08-05  Devin Rousso  <drousso@apple.com>
2144
2145         Web Inspector: Styles: show @supports CSS groupings
2146         https://bugs.webkit.org/show_bug.cgi?id=200419
2147
2148         Reviewed by Joseph Pecoraro.
2149
2150         * inspector/css/getMatchedStylesForNode.html:
2151         * inspector/css/getMatchedStylesForNode-expected.txt:
2152
2153 2019-08-05  Devin Rousso  <drousso@apple.com>
2154
2155         Can't use $0, $1 etc when inspecting Google Docs pages because the content uses these for function names
2156         https://bugs.webkit.org/show_bug.cgi?id=195834
2157
2158         Reviewed by Joseph Pecoraro.
2159
2160         Allow the user to alias saved results by providing a different prefix (e.g. "$") from within
2161         Web Inspector. When changing the alias, all existing saved results will update to be
2162         reference-able from the new alias.
2163
2164         * inspector/runtime/setSavedResultAlias.html: Added.
2165         * inspector/runtime/setSavedResultAlias-expected.txt: Added.
2166         * http/tests/inspector/dom/cross-domain-inspected-node-access-expected.txt:
2167         * inspector/console/command-line-api-expected.txt:
2168         * inspector/console/command-line-api-exception.html:
2169         * inspector/console/command-line-api-exception-expected.txt:
2170         * inspector/console/command-line-api-exception-nested-catch.html:
2171         * inspector/console/command-line-api-exception-nested-catch-expected.txt:
2172
2173 2019-08-05  Devin Rousso  <drousso@apple.com>
2174
2175         Web Inspector: Timelines: disable related agents when the tab is closed
2176         https://bugs.webkit.org/show_bug.cgi?id=200118
2177
2178         Reviewed by Joseph Pecoraro.
2179
2180         * inspector/timeline/line-column.html:
2181         * inspector/timeline/setInstruments-errors.html:
2182         * inspector/timeline/setInstruments-programmatic-capture.html:
2183
2184 2019-08-05  Fujii Hironori  <Hironori.Fujii@sony.com>
2185
2186         [Win] Specifying huge font-size causes crashing
2187         https://bugs.webkit.org/show_bug.cgi?id=200340
2188
2189         Reviewed by Don Olmstead.
2190
2191         * platform/win/TestExpectations:
2192
2193 2019-08-05  Youenn Fablet  <youenn@apple.com>
2194
2195         Support RTCRtpSender.dtmf
2196         https://bugs.webkit.org/show_bug.cgi?id=200431
2197         <rdar://problem/53924833>
2198
2199         Reviewed by Alex Christensen.
2200
2201         Removed cache storage test which is no longer valid.
2202         Removed WK1 expectation that is no longer needed.
2203
2204         * http/wpt/cache-storage/cache-put-stream.https.any.html: Removed.
2205         * http/wpt/cache-storage/cache-put-stream.https.any.js: Removed.
2206         * http/wpt/cache-storage/cache-put-stream.https.any.worker.html: Removed.
2207         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/request/request-init-stream.any-expected.txt: Removed.
2208         * platform/mac-wk2/TestExpectations:
2209
2210 2019-08-05  Devin Rousso  <drousso@apple.com>
2211
2212         Web Inspector: Styles: variable swatch not shown for var() with a fallback
2213         https://bugs.webkit.org/show_bug.cgi?id=200237
2214
2215         Reviewed by Joseph Pecoraro.
2216
2217         * inspector/css/resolve-variable-value.html: Added.
2218         * inspector/css/resolve-variable-value-expected.txt: Added.
2219
2220 2019-08-05  Chris Dumez  <cdumez@apple.com>
2221
2222         navigator.geolocation wrapper should not become GC-collectable once its frame is detached
2223         https://bugs.webkit.org/show_bug.cgi?id=200436
2224
2225         Reviewed by Darin Adler.
2226
2227         Add layout test coverage.
2228
2229         * fast/dom/navigator-property-gc-after-frame-detach-expected.txt: Added.
2230         * fast/dom/navigator-property-gc-after-frame-detach.html: Added.
2231
2232 2019-08-05  Devin Rousso  <drousso@apple.com>
2233
2234         Web Inspector: rename "Stylesheet" to "Style Sheet" to match spec text
2235         https://bugs.webkit.org/show_bug.cgi?id=200422
2236
2237         Reviewed by Joseph Pecoraro.
2238
2239         * inspector/unit-tests/resource-collection.html:
2240         * http/tests/inspector/network/resource-mime-type.html:
2241         * http/tests/inspector/network/resource-mime-type-expected.txt:
2242
2243 2019-08-05  John Wilander  <wilander@apple.com>
2244
2245         Resource Load Statistics: Re-introduce latch mode for subresource cookie blocking
2246         https://bugs.webkit.org/show_bug.cgi?id=200395
2247         <rdar://problem/53869611>
2248
2249         Reviewed by Darin Adler.
2250
2251         Back when we had a relaxation of cookie blocking 24 hours after first-party user
2252         interaction, we made sure cookie blocking could be turned on and off in subresource
2253         redirect chains. The 24 hour window is now long gone. This patch simplifies the
2254         cookie blocking so that once a subresource request is denied cookies, any
2255         subsequent redirect of that request will also be denied cookies, regardless of the
2256         classification status of the domains involved. I call it latch mode.
2257
2258         * http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect-expected.txt: Renamed from LayoutTests/http/tests/resourceLoadStatistics/remove-blocking-in-redirect-expected.txt.
2259         * http/tests/resourceLoadStatistics/do-not-remove-blocking-in-redirect.html: Renamed from LayoutTests/http/tests/resourceLoadStatistics/remove-blocking-in-redirect.html.
2260             Changed to expect no removal of blocking in the redirect and renamed accordingly.
2261         * platform/ios/TestExpectations:
2262             Renamed.
2263         * platform/mac-wk2/TestExpectations:
2264             Renamed.
2265         * platform/wk2/TestExpectations:
2266             Renamed.
2267
2268 2019-08-05  Youenn Fablet  <youenn@apple.com>
2269
2270         Disable speculative loading if cache is not to be used for the load
2271         https://bugs.webkit.org/show_bug.cgi?id=199644
2272
2273         Reviewed by Alex Christensen.
2274
2275         * http/wpt/fetch/disable-speculative-for-reload-expected.txt: Added.
2276         * http/wpt/fetch/disable-speculative-for-reload.html: Added.
2277         * http/wpt/fetch/resources/iframe-with-image.py: Added.
2278         (main):
2279         * http/wpt/fetch/resources/image-load-count.py: Added.
2280         (main):
2281         * http/wpt/fetch/resources/image-load.py: Added.
2282         (main):
2283
2284 2019-08-05  Takashi Komori  <Takashi.Komori@sony.com>
2285
2286         [Curl] implement CertificateInfo::summaryInfo
2287         https://bugs.webkit.org/show_bug.cgi?id=191498
2288
2289         Reviewed by Alex Christensen.
2290
2291         * platform/wincairo-wk1/TestExpectations:
2292         * platform/wincairo/TestExpectations:
2293
2294 2019-08-04  Youenn Fablet  <youenn@apple.com>
2295
2296         WebRTC: got incorrect `this` in negotiationneeded event
2297         https://bugs.webkit.org/show_bug.cgi?id=200427
2298
2299         Reviewed by Darin Adler.
2300
2301         * webrtc/onnegotiationneeded-expected.txt: Added.
2302         * webrtc/onnegotiationneeded.html: Added.
2303
2304 2019-08-04  Chris Dumez  <cdumez@apple.com>
2305
2306         Ping loads should not prevent page caching
2307         https://bugs.webkit.org/show_bug.cgi?id=200418
2308         <rdar://problem/53901632>
2309
2310         Reviewed by Darin Adler.
2311
2312         Add layout test coverage.
2313
2314         * http/tests/navigation/page-cache-pending-ping-load-cross-origin-expected.txt: Added.
2315         * http/tests/navigation/page-cache-pending-ping-load-cross-origin.html: Added.
2316         * http/tests/navigation/page-cache-pending-ping-load-same-origin-expected.txt: Added.
2317         * http/tests/navigation/page-cache-pending-ping-load-same-origin.html: Added.
2318
2319 2019-08-03  Devin Rousso  <drousso@apple.com>
2320
2321         Web Inspector: Elements: Styles: add icons for various CSS rule types
2322         https://bugs.webkit.org/show_bug.cgi?id=199946
2323
2324         Reviewed by Joseph Pecoraro.
2325
2326         * inspector/css/generateCSSRuleString.html: Added.
2327         * inspector/css/generateCSSRuleString-expected.txt: Added.
2328
2329 2019-08-03  Devin Rousso  <drousso@apple.com>
2330
2331         Web Inspector: DOM: add a special breakpoint for "All Events"
2332         https://bugs.webkit.org/show_bug.cgi?id=200285
2333
2334         Reviewed by Joseph Pecoraro.
2335
2336         * inspector/dom/breakpoint-for-event-listener.html:
2337         * inspector/dom/breakpoint-for-event-listener-expected.txt:
2338
2339         * inspector/dom-debugger/event-animation-frame-breakpoints.html:
2340         * inspector/dom-debugger/event-animation-frame-breakpoints-expected.txt:
2341         * inspector/dom-debugger/event-breakpoint-with-navigation.html:
2342         * inspector/dom-debugger/event-breakpoint-with-navigation-expected.txt:
2343         * inspector/dom-debugger/event-interval-breakpoints.html: Added.
2344         * inspector/dom-debugger/event-interval-breakpoints-expected.txt: Added.
2345         * inspector/dom-debugger/event-listener-breakpoints.html:
2346         * inspector/dom-debugger/event-listener-breakpoints-expected.txt:
2347         * inspector/dom-debugger/event-timeout-breakpoints.html: Added.
2348         * inspector/dom-debugger/event-timeout-breakpoints-expected.txt: Added.
2349
2350         * inspector/dom-debugger/resources/event-breakpoint-utilities.js:
2351         (TestPage.registerInitializer.InspectorTest.EventBreakpoint.teardown):
2352         (TestPage.registerInitializer.InspectorTest.EventBreakpoint.failOnPause):
2353         (TestPage.registerInitializer.InspectorTest.EventBreakpoint.createBreakpoint): Added.
2354         (TestPage.registerInitializer.InspectorTest.EventBreakpoint.addBreakpoint):
2355         (TestPage.registerInitializer.InspectorTest.EventBreakpoint.removeBreakpoint):
2356         (TestPage.registerInitializer.InspectorTest.EventBreakpoint.disableBreakpoint):
2357
2358         * inspector/dom-debugger/event-timer-breakpoints.html: Removed.
2359         * inspector/dom-debugger/event-timer-breakpoints-expected.txt: Removed.
2360
2361 2019-08-03  Devin Rousso  <drousso@apple.com>
2362
2363         Web Inspector: CSS Formatter: comments with an escape character aren't formatted
2364         https://bugs.webkit.org/show_bug.cgi?id=200168
2365
2366         Reviewed by Joseph Pecoraro.
2367
2368         * inspector/formatting/formatting-css.html:
2369         * inspector/formatting/formatting-css-expected.txt:
2370         * inspector/formatting/resources/css-tests/comment.css: Added.
2371         * inspector/formatting/resources/css-tests/comment-expected.css: Added.
2372
2373 2019-08-02  Andres Gonzalez  <andresg_22@apple.com>
2374
2375         [ Mac ] Layout Test accessibility/mac/press-not-work-for-disabled-menu-list.html is a flaky failure
2376         https://bugs.webkit.org/show_bug.cgi?id=196505
2377         <rdar://problem/49532620>
2378
2379         Reviewed by Chris Fleizach.
2380
2381         Re-wrote test in a timing independent way. This should fix the intermittent failures.
2382         * accessibility/mac/press-not-work-for-disabled-menu-list.html:
2383
2384 2019-08-02  Yury Semikhatsky  <yurys@chromium.org>
2385
2386         Web Inspector: Crash when interacting with Template Content in Console
2387         https://bugs.webkit.org/show_bug.cgi?id=196280
2388
2389         Reviewed by Joseph Pecoraro.
2390
2391         * inspector/dom/inspect-template-node-expected.txt: Added.
2392         * inspector/dom/inspect-template-node.html: Added.
2393
2394 2019-08-02  Ryosuke Niwa  <rniwa@webkit.org>
2395
2396         Document::resume should delay resetting of form control elements.
2397         https://bugs.webkit.org/show_bug.cgi?id=200376
2398
2399         Reviewed by Geoffrey Garen.
2400
2401         Added a regression test.
2402
2403         * fast/frames/restoring-page-cache-should-not-run-scripts-expected.txt: Added.
2404         * fast/frames/restoring-page-cache-should-not-run-scripts.html: Added.
2405         * platform/win/TestExpectations: Skip this test on Windows since navigating to blob fails on Windows.
2406
2407 2019-08-02  Andres Gonzalez  <andresg_22@apple.com>
2408
2409         Add accessibility object method to determine whether an element is inside a table cell. Needed for iOS accessibility client.
2410         https://bugs.webkit.org/show_bug.cgi?id=200394
2411         <rdar://problem/52914964>
2412
2413         Reviewed by Chris Fleizach.
2414
2415         New test that exercises [WebAccessibilityObjectWrapper _accessibilityIsInTableCell].
2416
2417         * accessibility/ios-simulator/element-in-table-cell-expected.txt: Added.
2418         * accessibility/ios-simulator/element-in-table-cell.html: Added.
2419
2420 2019-08-02  Chris Dumez  <cdumez@apple.com>
2421
2422         DOMWindow properties may get GC'd before their Window object
2423         https://bugs.webkit.org/show_bug.cgi?id=200359
2424
2425         Reviewed by Ryosuke Niwa.
2426
2427         Add layout test coverage.
2428
2429         * fast/dom/dom-window-property-gc-after-frame-detach-expected.txt: Added.
2430         * fast/dom/dom-window-property-gc-after-frame-detach.html: Added.
2431
2432 2019-08-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2433
2434         [SOUP] WebSockets: use SOUP_WEBSOCKET_CLOSE_NO_STATUS when closing with no status
2435         https://bugs.webkit.org/show_bug.cgi?id=200338
2436
2437         Reviewed by Alex Christensen.
2438
2439         Remove failure expectation for http/tests/websocket/tests/hybi/client-close.html
2440
2441         * platform/gtk/TestExpectations:
2442         * platform/wpe/TestExpectations:
2443
2444 2019-08-01  Chris Dumez  <cdumez@apple.com>
2445
2446         Pages using MessagePorts should be PageCacheable
2447         https://bugs.webkit.org/show_bug.cgi?id=200366
2448         <rdar://problem/53837882>
2449
2450         Reviewed by Geoffrey Garen.
2451
2452         Add layout test coverage.
2453
2454         * fast/history/page-cache-MessagePort-pending-message-expected.txt: Added.
2455         * fast/history/page-cache-MessagePort-pending-message.html: Added.
2456
2457 2019-08-01  Chris Dumez  <cdumez@apple.com>
2458
2459         fast/forms/ios/file-upload-panel.html is flaky on iOS 13
2460         https://bugs.webkit.org/show_bug.cgi?id=200357
2461         <rdar://problem/53028551>
2462
2463         Reviewed by Zalan Bujtas.
2464
2465         Use UIHelper.activateElementAtHumanSpeed() instead of UIHelper.activateElement()
2466         to address flakiness. If the button taps are issued to quickly, some of them
2467         get swallowed.
2468
2469         * fast/forms/ios/file-upload-panel.html:
2470
2471 2019-08-01  Wenson Hsieh  <wenson_hsieh@apple.com>
2472
2473         [Text autosizing] [iPadOS] Add targeted hacks to address some remaining text autosizing issues
2474         https://bugs.webkit.org/show_bug.cgi?id=200271
2475         <rdar://problem/51734741>
2476
2477         Reviewed by Zalan Bujtas.
2478
2479         Add tests to cover some changes to line height boosting and the idempotent text autosizing candidate heuristic.
2480
2481         * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-candidate-special-cases-expected.txt: Added.
2482         * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-candidate-special-cases.html: Added.
2483         * fast/text-autosizing/ios/idempotentmode/line-height-boosting-expected.txt:
2484         * fast/text-autosizing/ios/idempotentmode/line-height-boosting.html:
2485
2486 2019-08-01  Truitt Savell  <tsavell@apple.com>
2487
2488         Removing expectations for tests that are now consistently passing
2489
2490         Unreviewed test gardening.
2491
2492         * platform/mac-wk1/TestExpectations:
2493         * platform/mac/TestExpectations:
2494
2495 2019-08-01  Youenn Fablet  <youenn@apple.com>
2496
2497         UserMediaPermissionRequestManagerProxy should not use audio+video denied requests to deny audio-only or video-only requests
2498         https://bugs.webkit.org/show_bug.cgi?id=200317
2499
2500         Reviewed by Eric Carlson.
2501
2502         Update existing test with new behavior.
2503         Added new test for the case where video is blocked but not audio.
2504
2505         * fast/mediastream/getUserMedia-deny-persistency3-expected.txt:
2506         * fast/mediastream/getUserMedia-deny-persistency3.html:
2507         * fast/mediastream/getUserMedia-deny-persistency4-expected.txt: Added.
2508         * fast/mediastream/getUserMedia-deny-persistency4.html: Added.
2509
2510 2019-08-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2511
2512         [SOUP] WebSockets: add support for extensions when using web sockets libsoup API
2513         https://bugs.webkit.org/show_bug.cgi?id=199943
2514
2515         Reviewed by Alex Christensen.
2516
2517         Add new tests for permessage-deflate imported from blink and rebaseline existing tests.
2518
2519         * TestExpectations: Skip permessage-deflate tests by default.
2520         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-comp-bit-onoff.html: Added.
2521         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-invalid-parameter.html: Added.
2522         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-invalid-parameter_wsh.py: Added.
2523         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-manual_wsh.py: Added.
2524         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-parameter.html: Added.
2525         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-set-bfinal.html: Added.
2526         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-split-frames.html: Added.
2527         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-split-frames_wsh.py: Added.
2528         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-unsolicited-negotiation-response.html: Added.
2529         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-unsolicited-negotiation-response_wsh.py: Added.
2530         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-window-bits.html: Added.
2531         * http/tests/websocket/tests/hybi/imported/blink/permessage-deflate_wsh.py: Added.
2532         * platform/gtk/TestExpectations: Enable permessage-deflate tests.
2533         * platform/gtk/http/tests/websocket/tests/hybi/deflate-frame-invalid-parameter-expected.txt: Added.
2534         * platform/gtk/http/tests/websocket/tests/hybi/deflate-frame-parameter-expected.txt: Added.
2535         * platform/gtk/http/tests/websocket/tests/hybi/extensions-expected.txt: Added.
2536         * platform/gtk/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-comp-bit-onoff-expected.txt: Added.
2537         * platform/gtk/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-invalid-parameter-expected.txt: Added.
2538         * platform/gtk/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-parameter-expected.txt: Added.
2539         * platform/gtk/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-set-bfinal-expected.txt: Added.
2540         * platform/gtk/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-split-frames-expected.txt: Added.
2541         * platform/gtk/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-unsolicited-negotiation-response-expected.txt: Added.
2542         * platform/gtk/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-window-bits-expected.txt: Added.
2543         * platform/wpe/TestExpectations: Enable permessage-deflate tests.
2544         * platform/wpe/http/tests/websocket/tests/hybi/deflate-frame-invalid-parameter-expected.txt: Added.
2545         * platform/wpe/http/tests/websocket/tests/hybi/deflate-frame-parameter-expected.txt: Added.
2546         * platform/wpe/http/tests/websocket/tests/hybi/extensions-expected.txt: Added.
2547         * platform/wpe/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-comp-bit-onoff-expected.txt: Added.
2548         * platform/wpe/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-invalid-parameter-expected.txt: Added.
2549         * platform/wpe/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-parameter-expected.txt: Added.
2550         * platform/wpe/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-set-bfinal-expected.txt: Added.
2551         * platform/wpe/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-split-frames-expected.txt: Added.
2552         * platform/wpe/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-unsolicited-negotiation-response-expected.txt: Added.
2553         * platform/wpe/http/tests/websocket/tests/hybi/imported/blink/permessage-deflate-window-bits-expected.txt: Added.
2554
2555 2019-08-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2556
2557         [SOUP] Switch to use libsoup WebSockets API
2558         https://bugs.webkit.org/show_bug.cgi?id=200162
2559
2560         Reviewed by Michael Catanzaro.
2561
2562         * platform/gtk/TestExpectations:
2563         * platform/gtk/http/tests/websocket/tests/hybi/broken-utf8-expected.txt: Added.
2564         * platform/gtk/http/tests/websocket/tests/hybi/close-before-open-expected.txt: Added.
2565         * platform/gtk/http/tests/websocket/tests/hybi/close-code-and-reason-expected.txt: Added.
2566         * platform/gtk/http/tests/websocket/tests/hybi/close-expected.txt: Added.
2567         * platform/gtk/http/tests/websocket/tests/hybi/closed-when-entering-page-cache-expected.txt: Added.
2568         * platform/gtk/http/tests/websocket/tests/hybi/compressed-control-frame-expected.txt: Added.
2569         * platform/gtk/http/tests/websocket/tests/hybi/error-event-ready-state-non-existent-url-with-server-responding-404-expected.txt: Added.
2570         * platform/gtk/http/tests/websocket/tests/hybi/fragmented-control-frame-expected.txt: Added.
2571         * platform/gtk/http/tests/websocket/tests/hybi/handshake-error-expected.txt: Added.
2572         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header-expected.txt: Added.
2573         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-invalid-http-version-expected.txt: Added.
2574         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-maxlength-expected.txt: Added.
2575         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header-expected.txt: Added.
2576         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-more-accept-header-expected.txt: Added.
2577         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-more-extensions-header-expected.txt: Added.
2578         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-more-protocol-header-expected.txt: Added.
2579         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header-expected.txt: Added.
2580         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header-expected.txt: Added.
2581         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-no-cr-expected.txt: Added.
2582         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header-expected.txt: Added.
2583         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-non-ascii-header-value-sec-websocket-accept-expected.txt: Added.
2584         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-non-ascii-header-value-sec-websocket-extensions-expected.txt: Added.
2585         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-non-ascii-header-value-sec-websocket-protocol-expected.txt: Added.
2586         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-non-ascii-status-line-expected.txt: Added.
2587         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-null-char-in-status-expected.txt: Added.
2588         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null-expected.txt: Added.
2589         * platform/gtk/http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header-expected.txt: Added.
2590         * platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt: Added.
2591         * platform/gtk/http/tests/websocket/tests/hybi/interleaved-fragments-expected.txt: Added.
2592         * platform/gtk/http/tests/websocket/tests/hybi/invalid-continuation-expected.txt: Added.
2593         * platform/gtk/http/tests/websocket/tests/hybi/invalid-encode-length-expected.txt: Added.
2594         * platform/gtk/http/tests/websocket/tests/hybi/invalid-masked-frames-from-server-expected.txt: Added.
2595         * platform/gtk/http/tests/websocket/tests/hybi/long-control-frame-expected.txt: Added.
2596         * platform/gtk/http/tests/websocket/tests/hybi/long-invalid-header-expected.txt: Added.
2597         * platform/gtk/http/tests/websocket/tests/hybi/network-process-crash-error-expected.txt: Added.
2598         * platform/gtk/http/tests/websocket/tests/hybi/reserved-bits-expected.txt: Added.
2599         * platform/gtk/http/tests/websocket/tests/hybi/reserved-opcodes-expected.txt: Added.
2600         * platform/gtk/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt: Added.
2601         * platform/gtk/http/tests/websocket/tests/hybi/send-object-tostring-check-expected.txt: Added.
2602         * platform/gtk/http/tests/websocket/tests/hybi/simple-wss-expected.txt: Added.
2603         * platform/gtk/http/tests/websocket/tests/hybi/stop-on-resume-in-error-handler-expected.txt: Added.
2604         * platform/gtk/http/tests/websocket/tests/hybi/too-long-payload-expected.txt: Added.
2605         * platform/gtk/http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party-expected.txt: Added.
2606         * platform/gtk/http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior-expected.txt: Added.
2607         * platform/gtk/http/tests/websocket/tests/hybi/websocket-event-target-expected.txt: Added.
2608         * platform/gtk/http/tests/websocket/tests/hybi/workers/close-code-and-reason-expected.txt: Added.
2609         * platform/gtk/http/tests/websocket/tests/hybi/workers/close-expected.txt: Added.
2610         * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: Removed.
2611         * platform/gtk/imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-illegal-expected.txt: Removed.
2612         * platform/gtk/imported/w3c/web-platform-tests/websockets/Create-valid-url-protocol-empty.any-expected.txt: Added.
2613         * platform/gtk/imported/w3c/web-platform-tests/websockets/Create-valid-url-protocol-empty.any.worker-expected.txt: Added.
2614         * platform/gtk/imported/w3c/web-platform-tests/websockets/Send-65K-data.any-expected.txt: Added.
2615         * platform/gtk/imported/w3c/web-platform-tests/websockets/Send-binary-65K-arraybuffer.any-expected.txt: Added.
2616         * platform/gtk/imported/w3c/web-platform-tests/websockets/Send-binary-arraybuffer.any-expected.txt: Added.
2617         * platform/gtk/imported/w3c/web-platform-tests/websockets/Send-data.any-expected.txt: Added.
2618         * platform/gtk/imported/w3c/web-platform-tests/websockets/Send-paired-surrogates.any-expected.txt: Added.
2619         * platform/gtk/imported/w3c/web-platform-tests/websockets/basic-auth.any-expected.txt: Added.
2620         * platform/gtk/imported/w3c/web-platform-tests/websockets/basic-auth.any.worker-expected.txt: Added.
2621         * platform/gtk/imported/w3c/web-platform-tests/websockets/closing-handshake/003-expected.txt: Added.
2622         * platform/gtk/imported/w3c/web-platform-tests/websockets/cookies/004-expected.txt: Added.
2623         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-arraybuffer-expected.txt: Added.
2624         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-blob-expected.txt: Added.
2625         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-deleting-expected.txt: Added.
2626         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-large-expected.txt: Added.
2627         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode-expected.txt: Added.
2628         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/close/close-multiple-expected.txt: Added.
2629         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/close/close-nested-expected.txt: Added.
2630         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/close/close-return-expected.txt: Added.
2631         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/events/017-expected.txt: Added.
2632         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/events/018-expected.txt: Added.
2633         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/events/019-expected.txt: Added.
2634         * platform/gtk/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/readyState/003-expected.txt: Added.
2635         * platform/gtk/imported/w3c/web-platform-tests/websockets/opening-handshake/001-expected.txt: Added.
2636         * platform/gtk/imported/w3c/web-platform-tests/websockets/opening-handshake/003-sets-origin.worker-expected.txt: Added.
2637         * platform/gtk/imported/w3c/web-platform-tests/websockets/opening-handshake/005-expected.txt: Added.
2638         * platform/gtk/imported/w3c/web-platform-tests/websockets/security/001-expected.txt: Added.
2639         * platform/gtk/js/intl-datetimeformat-expected.txt: Removed.
2640         * platform/wpe/TestExpectations:
2641         * platform/wpe/http/tests/websocket/tests/hybi/broken-utf8-expected.txt: Added.
2642         * platform/wpe/http/tests/websocket/tests/hybi/close-before-open-expected.txt: Added.
2643         * platform/wpe/http/tests/websocket/tests/hybi/close-code-and-reason-expected.txt: Added.
2644         * platform/wpe/http/tests/websocket/tests/hybi/close-expected.txt: Added.
2645         * platform/wpe/http/tests/websocket/tests/hybi/closed-when-entering-page-cache-expected.txt: Added.
2646         * platform/wpe/http/tests/websocket/tests/hybi/compressed-control-frame-expected.txt: Added.
2647         * platform/wpe/http/tests/websocket/tests/hybi/error-event-ready-state-non-existent-url-with-server-responding-404-expected.txt: Added.
2648         * platform/wpe/http/tests/websocket/tests/hybi/fragmented-control-frame-expected.txt: Added.
2649         * platform/wpe/http/tests/websocket/tests/hybi/handshake-error-expected.txt: Added.
2650         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header-expected.txt: Added.
2651         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-invalid-http-version-expected.txt: Added.
2652         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-maxlength-expected.txt: Added.
2653         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header-expected.txt: Added.
2654         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-more-accept-header-expected.txt: Added.
2655         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-more-extensions-header-expected.txt: Added.
2656         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-more-protocol-header-expected.txt: Added.
2657         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header-expected.txt: Added.
2658         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header-expected.txt: Added.
2659         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-no-cr-expected.txt: Added.
2660         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header-expected.txt: Added.
2661         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-non-ascii-header-value-sec-websocket-accept-expected.txt: Added.
2662         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-non-ascii-header-value-sec-websocket-extensions-expected.txt: Added.
2663         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-non-ascii-header-value-sec-websocket-protocol-expected.txt: Added.
2664         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-non-ascii-status-line-expected.txt: Added.
2665         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-null-char-in-status-expected.txt: Added.
2666         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null-expected.txt: Added.
2667         * platform/wpe/http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header-expected.txt: Added.
2668         * platform/wpe/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt: Added.
2669         * platform/wpe/http/tests/websocket/tests/hybi/interleaved-fragments-expected.txt: Added.
2670         * platform/wpe/http/tests/websocket/tests/hybi/invalid-continuation-expected.txt: Added.
2671         * platform/wpe/http/tests/websocket/tests/hybi/invalid-encode-length-expected.txt: Added.
2672         * platform/wpe/http/tests/websocket/tests/hybi/invalid-masked-frames-from-server-expected.txt: Added.
2673         * platform/wpe/http/tests/websocket/tests/hybi/long-control-frame-expected.txt: Added.
2674         * platform/wpe/http/tests/websocket/tests/hybi/long-invalid-header-expected.txt: Added.
2675         * platform/wpe/http/tests/websocket/tests/hybi/network-process-crash-error-expected.txt: Added.
2676         * platform/wpe/http/tests/websocket/tests/hybi/reserved-bits-expected.txt: Added.
2677         * platform/wpe/http/tests/websocket/tests/hybi/reserved-opcodes-expected.txt: Added.
2678         * platform/wpe/http/tests/websocket/tests/hybi/secure-cookie-secure-connection-expected.txt: Added.
2679         * platform/wpe/http/tests/websocket/tests/hybi/send-object-tostring-check-expected.txt: Added.
2680         * platform/wpe/http/tests/websocket/tests/hybi/simple-wss-expected.txt: Added.
2681         * platform/wpe/http/tests/websocket/tests/hybi/stop-on-resume-in-error-handler-expected.txt: Added.
2682         * platform/wpe/http/tests/websocket/tests/hybi/too-long-payload-expected.txt: Added.
2683         * platform/wpe/http/tests/websocket/tests/hybi/websocket-allowed-setting-cookie-as-third-party-expected.txt: Added.
2684         * platform/wpe/http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior-expected.txt: Added.
2685         * platform/wpe/http/tests/websocket/tests/hybi/websocket-event-target-expected.txt: Added.
2686         * platform/wpe/http/tests/websocket/tests/hybi/workers/close-code-and-reason-expected.txt: Added.
2687         * platform/wpe/http/tests/websocket/tests/hybi/workers/close-expected.txt: Added.
2688         * platform/wpe/imported/w3c/web-platform-tests/websockets/Create-valid-url-protocol-empty.any-expected.txt: Added.
2689         * platform/wpe/imported/w3c/web-platform-tests/websockets/Create-valid-url-protocol-empty.any.worker-expected.txt: Added.
2690         * platform/wpe/imported/w3c/web-platform-tests/websockets/Send-65K-data.any-expected.txt: Added.
2691         * platform/wpe/imported/w3c/web-platform-tests/websockets/Send-binary-65K-arraybuffer.any-expected.txt: Added.
2692         * platform/wpe/imported/w3c/web-platform-tests/websockets/Send-binary-arraybuffer.any-expected.txt: Added.
2693         * platform/wpe/imported/w3c/web-platform-tests/websockets/Send-data.any-expected.txt: Added.
2694         * platform/wpe/imported/w3c/web-platform-tests/websockets/Send-paired-surrogates.any-expected.txt: Added.
2695         * platform/wpe/imported/w3c/web-platform-tests/websockets/basic-auth.any-expected.txt: Added.
2696         * platform/wpe/imported/w3c/web-platform-tests/websockets/basic-auth.any.worker-expected.txt: Added.
2697         * platform/wpe/imported/w3c/web-platform-tests/websockets/closing-handshake/003-expected.txt: Added.
2698         * platform/wpe/imported/w3c/web-platform-tests/websockets/cookies/004-expected.txt: Added.
2699         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-arraybuffer-expected.txt: Added.
2700         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-blob-expected.txt: Added.
2701         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-deleting-expected.txt: Added.
2702         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-large-expected.txt: Added.
2703         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode-expected.txt: Added.
2704         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/close/close-multiple-expected.txt: Added.
2705         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/close/close-nested-expected.txt: Added.
2706         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/close/close-return-expected.txt: Added.
2707         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/events/017-expected.txt: Added.
2708         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/events/018-expected.txt: Added.
2709         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/events/019-expected.txt: Added.
2710         * platform/wpe/imported/w3c/web-platform-tests/websockets/interfaces/WebSocket/readyState/003-expected.txt: Added.
2711         * platform/wpe/imported/w3c/web-platform-tests/websockets/opening-handshake/001-expected.txt: Added.
2712         * platform/wpe/imported/w3c/web-platform-tests/websockets/opening-handshake/003-sets-origin.worker-expected.txt: Added.
2713         * platform/wpe/imported/w3c/web-platform-tests/websockets/opening-handshake/005-expected.txt: Added.
2714         * platform/wpe/imported/w3c/web-platform-tests/websockets/security/001-expected.txt: Added.
2715
2716 2019-07-31  Devin Rousso  <drousso@apple.com>
2717
2718         Web Inspector: Debugger: support emulateUserGesture parameter in Debugger.evaluateOnCallFrame
2719         https://bugs.webkit.org/show_bug.cgi?id=200272
2720
2721         Reviewed by Joseph Pecoraro.
2722
2723         * inspector/debugger/evaluateOnCallFrame-emulateUserGesture.html: Added.
2724         * inspector/debugger/evaluateOnCallFrame-emulateUserGesture-expected.txt: Added.
2725         * inspector/debugger/evaluateOnCallFrame-emulateUserGesture-userIsInteracting.html: Added.
2726         * inspector/debugger/evaluateOnCallFrame-emulateUserGesture-userIsInteracting-expected.txt: Added.
2727         * TestExpectations:
2728         * platform/wk2/TestExpectations:
2729
2730         * inspector/runtime/evaluate-emulateUserGesture.html: Added.
2731         * inspector/runtime/evaluate-emulateUserGesture-expected.txt: Added.
2732         * inspector/runtime/evaluate-emulateUserGesture-userIsInteracting.html: Added.
2733         * inspector/runtime/evaluate-emulateUserGesture-userIsInteracting-expected.txt: Added.
2734         * inspector/runtime/evaluate-userGestureEmulation.html: Deleted.
2735         * inspector/runtime/evaluate-userGestureEmulation-expected.txt: Deleted.
2736         * inspector/runtime/evaluate-userGestureEmulation-userIsInteracting.html: Deleted.
2737         * inspector/runtime/evaluate-userGestureEmulation-userIsInteracting-expected.txt: Deleted.
2738         Rename tests from "userGestureEmulation" to "emulateUserGesture" to match the parameter.
2739
2740 2019-07-31  Zalan Bujtas  <zalan@apple.com>
2741
2742         [ContentChangeObserver] twitch.tv video controls do not always respond to taps in fullscreen
2743         https://bugs.webkit.org/show_bug.cgi?id=200309
2744         <rdar://problem/52964977>
2745
2746         Reviewed by Simon Fraser.
2747
2748         * fast/events/touch/ios/content-observation/non-visible-content-change-in-fullscreen-mode-expected.txt: Added.
2749         * fast/events/touch/ios/content-observation/non-visible-content-change-in-fullscreen-mode.html: Added.
2750         * platform/ios/TestExpectations: Fullscreen API is not yet enabled on iOS.
2751
2752 2019-07-31  Saam Barati  <sbarati@apple.com>
2753
2754         [WHLSL Remove char/short/half types
2755         https://bugs.webkit.org/show_bug.cgi?id=200312
2756
2757         Reviewed by Myles C. Maxfield.
2758
2759         * webgpu/whlsl/bools.html:
2760         * webgpu/whlsl/smaller-than-32-bit-types-expected.txt: Added.
2761         * webgpu/whlsl/smaller-than-32-bit-types.html: Added.
2762         * webgpu/whlsl/test-harness-test.html:
2763
2764 2019-07-31  Truitt Savell  <tsavell@apple.com>
2765
2766         Update test expectations for imported/blink/storage/indexeddb/blob-basics-metadata.html
2767         https://bugs.webkit.org/show_bug.cgi?id=199117
2768
2769         Unreviewed test gardening.
2770
2771         * platform/mac-wk1/TestExpectations:
2772
2773 2019-07-31  Youenn Fablet  <youenn@apple.com>
2774
2775         Use CTFontCreateForCharactersWithLanguageAndOption if available instead of CTFontCreateForCharactersWithLanguage
2776         https://bugs.webkit.org/show_bug.cgi?id=200241
2777
2778         We update the tests to flush font caches as otherwise some debug asserts would be hit.
2779         This is due to changing the user installed font runtime flag while browsing which is not a typical situation.
2780
2781         Reviewed by Myles C. Maxfield.
2782
2783         * fast/text/user-installed-fonts/extended-character-with-user-font.html:
2784         * fast/text/user-installed-fonts/extended-character.html:
2785
2786 2019-07-31  Youenn Fablet  <youenn@apple.com>
2787
2788         Owners of MultiChannelResampler should make sure that the output bus given to it has the same number of channels
2789         https://bugs.webkit.org/show_bug.cgi?id=200248
2790         <rdar://problem/53411051>
2791
2792         Reviewed by Eric Carlson.
2793
2794         * fast/mediastream/getUserMedia-webaudio-expected.txt:
2795         * fast/mediastream/getUserMedia-webaudio.html:
2796
2797 2019-07-31  Chris Dumez  <cdumez@apple.com>
2798
2799         Element.outerHTML is missing attribute prefixes in some cases in HTML documents
2800         https://bugs.webkit.org/show_bug.cgi?id=200283
2801
2802         Reviewed by Ryosuke Niwa.
2803
2804         Add layout test coverage.
2805
2806         * fast/dom/Element/outerHTML-prefixed-attribute-expected.txt: Added.
2807         * fast/dom/Element/outerHTML-prefixed-attribute.html: Added.
2808
2809 2019-07-31  Zan Dobersek  <zdobersek@igalia.com>
2810
2811         Unreviewed WPE and GTK gardening. Adding some failure expectations as
2812         well as updating baselines for WPT tests where the behavior improved or
2813         has just changed in the type of error(s) reported.
2814
2815         * platform/gtk/TestExpectations:
2816         * platform/wpe/TestExpectations:
2817         * platform/wpe/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-dialog-element/dialog-showModal-expected.txt:
2818         * platform/wpe/imported/w3c/web-platform-tests/resource-timing/resource-timing-level1.sub-expected.txt: Added.
2819         * platform/wpe/imported/w3c/web-platform-tests/service-workers/service-worker/ready.https-expected.txt: Added.
2820         * platform/wpe/imported/w3c/web-platform-tests/service-workers/service-worker/windowclient-navigate.https-expected.txt: Added.
2821         * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
2822         * platform/wpe/imported/w3c/web-platform-tests/websockets: Added.
2823         * platform/wpe/imported/w3c/web-platform-tests/websockets/bufferedAmount-unchanged-by-sync-xhr.any.worker-expected.txt: Added.
2824
2825 2019-07-31  Andres Gonzalez  <andresg_22@apple.com>
2826
2827         AX: Re-enable accessibility/set-selected-text-range-after-newline.html test.
2828         https://bugs.webkit.org/show_bug.cgi?id=199431
2829         <rdar://problem/52563340>
2830
2831         Reviewed by Chris Fleizach.
2832
2833         * TestExpectations:
2834         * accessibility/ios-simulator/set-selected-text-range-after-newline.html: Removed because it was the same as the one in the parent accessibility directory, so enabling it for iOS in ios-wk2/TestExpectations.
2835         * platform/ios-wk2/TestExpectations:
2836
2837 2019-07-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2838
2839         Unreviewed GTK gardening. Update expectations after r248033.
2840
2841         * platform/gtk/TestExpectations:
2842         * platform/gtk/fast/forms/datalist/datalist-searchinput-appearance-expected.png: Added.
2843         * platform/gtk/fast/forms/datalist/datalist-searchinput-appearance-expected.txt: Added.
2844         * platform/gtk/fast/forms/datalist/datalist-textinput-appearance-expected.png: Added.
2845         * platform/gtk/fast/forms/datalist/datalist-textinput-appearance-expected.txt: Added.
2846
2847 2019-07-31  Zan Dobersek  <zdobersek@igalia.com>
2848
2849         Unreviewed WPE gardening. Rebaselining the straightforward cases.
2850
2851         * platform/wpe/css3/flexbox/flexbox-baseline-margins-expected.txt:
2852         * platform/wpe/fast/dom/Window/window-properties-geolocation-expected.txt:
2853         * platform/wpe/fast/xsl/sort-locale-expected.txt:
2854         * platform/wpe/http/tests/dom/same-origin-detached-window-properties-expected.txt:
2855         * platform/wpe/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt:
2856         * platform/wpe/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-case.any-expected.txt:
2857         * platform/wpe/imported/w3c/web-platform-tests/fetch/api/basic/request-headers-case.any.worker-expected.txt:
2858         * platform/wpe/imported/w3c/web-platform-tests/service-workers/service-worker/websocket-in-service-worker.https-expected.txt:
2859         * platform/wpe/js/dom/dom-static-property-for-in-iteration-expected.txt:
2860
2861 2019-07-31  Devin Rousso  <drousso@apple.com>
2862
2863         Web Inspector: Second call to setAttributeNS creates non-prefixed attribute
2864         https://bugs.webkit.org/show_bug.cgi?id=200230
2865         <rdar://problem/53712672>
2866
2867         Reviewed by Joseph Pecoraro.
2868
2869         * inspector/dom/attributeModified.html: Added.
2870         * inspector/dom/attributeModified-expected.txt: Added.
2871
2872 2019-07-31  Carlos Garcia Campos  <cgarcia@igalia.com>
2873
2874         [GTK] Datalist element support for TextFieldInputType
2875         https://bugs.webkit.org/show_bug.cgi?id=98934
2876
2877         Reviewed by Michael Catanzaro.
2878
2879         Unskip datalist tests for GTK port.
2880
2881         * platform/gtk/TestExpectations:
2882
2883 2019-07-31  Zan Dobersek  <zdobersek@igalia.com>
2884
2885         Unreviewed WPE gardening.
2886
2887         * platform/wpe/TestExpectations:
2888         Skip tests invoking the UIScriptController interface for which WPE
2889         doesn't yet provide an implementation, resulting in crashes.
2890
2891 2019-07-30  Saam Barati  <sbarati@apple.com>
2892
2893         [WHLSL] Checker sets wrong type for property access instruction with an ander
2894         https://bugs.webkit.org/show_bug.cgi?id=200282
2895
2896         Reviewed by Myles C. Maxfield.
2897
2898         * webgpu/whlsl/device-proper-type-checker-expected.txt: Added.
2899         * webgpu/whlsl/device-proper-type-checker.html: Added.
2900
2901 2019-07-30  Ryan Haddad  <ryanhaddad@apple.com>
2902
2903         Add test expectations and baselines for iPad
2904         https://bugs.webkit.org/show_bug.cgi?id=199711
2905
2906         Unreviewed test gardening.
2907
2908         * platform/ipad-12/TestExpectations: Added.
2909         * platform/ipad-12/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt: Copied from LayoutTests/platform/ipad/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt.
2910         * platform/ipad-12/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt: Copied from LayoutTests/platform/ipad/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt.
2911         * platform/ipad-12/fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt: Copied from LayoutTests/platform/ipad/fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt.
2912         * platform/ipad-12/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt: Copied from LayoutTests/platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt.
2913         * platform/ipad-12/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt: Copied from LayoutTests/platform/ipad/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt.
2914         * platform/ipad-12/scrollingcoordinator/ios/ui-scrolling-tree-expected.txt: Copied from LayoutTests/platform/ipad/scrollingcoordinator/ios/ui-scrolling-tree-expected.txt.
2915         * platform/ipad/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: Added.
2916         * platform/ipad/compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt: Added.
2917         * platform/ipad/editing/caret/ios/fixed-caret-position-after-scroll-expected.txt: Added.
2918         * platform/ipad/editing/selection/ios/do-not-hide-selection-in-visible-container-expected.txt: Added.
2919         * platform/ipad/fast/dom/navigator-iOS-userAgent-expected.txt: Added.
2920         * platform/ipad/fast/scrolling/ios/change-scrollability-on-content-resize-nested-expected.txt: Added.
2921         * platform/ipad/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt:
2922         * platform/ipad/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt:
2923         * platform/ipad/fast/scrolling/ios/reconcile-layer-position-recursive-expected.txt: Added.
2924         * platform/ipad/fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt:
2925         * platform/ipad/fast/viewport/ios/shrink-to-fit-for-page-without-viewport-meta-expected.txt: Added.
2926         * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt:
2927         * platform/ipad/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-height-expected.txt: Added.
2928         * platform/ipad/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerheight-expected.txt: Added.
2929         * platform/ipad/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-innerwidth-expected.txt: Added.
2930         * platform/ipad/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-non-integer-width-expected.txt: Added.
2931         * platform/ipad/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-innerheight-innerwidth-expected.txt: Added.
2932         * platform/ipad/imported/w3c/web-platform-tests/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/open-features-tokenization-width-height-expected.txt: Added.
2933         * platform/ipad/imported/w3c/web-platform-tests/workers/WorkerNavigator_platform-expected.txt: Added.
2934         * platform/ipad/imported/w3c/web-platform-tests/workers/interfaces/WorkerUtils/navigator/004-expected.txt: Added.
2935         * platform/ipad/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt:
2936         * platform/ipad/scrollingcoordinator/ios/fixed-in-frame-layer-reconcile-layer-position-expected.txt: Added.
2937         * platform/ipad/scrollingcoordinator/ios/fixed-in-overflow-scroll-scrolling-tree-expected.txt: Added.
2938         * platform/ipad/scrollingcoordinator/ios/fixed-scrolling-with-keyboard-expected.txt: Copied from LayoutTests/platform/ipad/scrollingcoordinator/ios/ui-scrolling-tree-expected.txt.
2939         * platform/ipad/scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt: Added.
2940         * platform/ipad/scrollingcoordinator/ios/ui-scrolling-tree-expected.txt:
2941
2942 2019-07-30  Daniel Bates  <dabates@apple.com>
2943
2944         picture-in-picture.html fails because webkitpresentationmodechanged sometimes dispatched multiple times
2945         using Apple Internal build
2946         <rdar://problem/36455352>
2947
2948         Workaround by only listening for the first webkitpresentationmodechanged event dispatched. This test
2949         is the canary in the coal mine that revealed that multiple webkitpresentationmodechanged events are
2950         dispatched when one is expected. However this was not the primary purpose of the test and in absence
2951         of a timeframe for a fix for <rdar://problem/36455352> work around this bug to avoid losing test coverage
2952         when using an Apple Internal build.
2953
2954         * platform/ipad/media/controls/resources/picture-in-picture.html:
2955
2956 2019-07-30  Truitt Savell  <tsavell@apple.com>
2957
2958         (r247440) imported/w3c/web-platform-tests/wasm/jsapi/interface.any.worker.html is a flakey failure
2959         https://bugs.webkit.org/show_bug.cgi?id=200258
2960
2961         Unreviewed test gardening.
2962
2963         * platform/mac/TestExpectations:
2964
2965 2019-07-29  Wenson Hsieh  <wenson_hsieh@apple.com>
2966
2967         Add layout test coverage for <https://webkit.org/b/200215>
2968         https://bugs.webkit.org/show_bug.cgi?id=200245
2969         <rdar://problem/52976965>
2970
2971         Reviewed by Tim Horton.
2972
2973         Add a new layout test to exercise a scenario where the web view is removed from the view hierarchy, added back
2974         into the view hierarchy, and then made first responder all under the scope of a synchronous autocorrection
2975         context request. See <https://trac.webkit.org/changeset/247914> for more details.
2976
2977         The test here involves two parts: first, we attempt to interact with an input field which, when focused, will
2978         try to open a new window, which then triggers code in the UI process that reinserts the web view in the view
2979         hierarchy. Before r247345, this would result in a crash.
2980
2981         The second part involves tapping an input field on the page. Without the fix in r247914, this would result in a
2982         permanent hang in the UI process, due to the keyboard task queue being unable to dequeue and handle any further
2983         tasks.
2984
2985         * fast/forms/ios/remove-and-add-view-during-focus-expected.txt: Added.
2986         * fast/forms/ios/remove-and-add-view-during-focus.html: Added.
2987
2988 2019-07-29  Wenson Hsieh  <wenson_hsieh@apple.com>
2989
2990         YouTube search field shows RTL text outside its border on iPadOS
2991         https://bugs.webkit.org/show_bug.cgi?id=200253
2992         <rdar://problem/53680603>
2993
2994         Reviewed by Beth Dakin.
2995
2996         * editing/input/ios/rtl-keyboard-input-on-focus-in-editable-page-expected.txt: Renamed from LayoutTests/editing/input/ios/rtl-keyboard-input-on-focus-expected.txt.
2997         * editing/input/ios/rtl-keyboard-input-on-focus-in-editable-page.html: Renamed from LayoutTests/editing/input/ios/rtl-keyboard-input-on-focus.html.
2998
2999         Rename an existing test, rtl-keyboard-input-on-focus.html, to rtl-keyboard-input-on-focus-in-editable-page.html
3000         to emphasize the fact that it requires an editable web view.
3001
3002         * editing/input/ios/rtl-keyboard-input-on-focus-in-non-editable-page-expected.txt: Added.
3003         * editing/input/ios/rtl-keyboard-input-on-focus-in-non-editable-page.html: Added.
3004
3005         Add a new layout test to ensure that we don't automatically apply an RTL attribute when focusing fields in a
3006         non-editable web view.
3007
3008 2019-07-29  Sergei Glazunov  <glazunov@google.com>
3009
3010         The maximum subframe count check should not be skipped for empty URLs.
3011         https://bugs.webkit.org/show_bug.cgi?id=200032
3012
3013         Reviewed by Ryosuke Niwa.
3014
3015         * fast/dom/connected-subframe-counter-overflow-expected.txt: Added.
3016         * fast/dom/connected-subframe-counter-overflow.html: Added.
3017         * fast/frames/lots-of-iframes-expected.txt:
3018
3019 2019-07-29  Youenn Fablet  <youenn@apple.com>
3020
3021         REGRESSION: WebSockets no longer work in Service Workers
3022         https://bugs.webkit.org/show_bug.cgi?id=199906
3023         <rdar://problem/53516732>
3024
3025         Reviewed by Geoffrey Garen.
3026
3027         Fix test and make sure messages are exchanged for the test to succeed.
3028
3029         * http/tests/workers/service/resources/serviceworker-websocket-worker.js:
3030         (async.doTest):
3031
3032 2019-07-29  Ryan Haddad  <ryanhaddad@apple.com>
3033
3034         Unreviewed test gardening, update expectations for rdar://problem/48616298.
3035
3036         * platform/ios-wk2/TestExpectations:
3037         The fast/viewport/ios directory is marked as passing in this file, which was overriding the entries in the 'ios' file.
3038         * platform/ios/TestExpectations:
3039
3040 2019-07-29  Andres Gonzalez  <andresg_22@apple.com>
3041
3042         REGRESSION (r247891): Layout Test accessibility/ios-simulator/video-elements-ios.html is failing
3043         https://bugs.webkit.org/show_bug.cgi?id=200231
3044         <rdar://problem/53666599>
3045
3046         Reviewed by Chris Fleizach.
3047
3048         We now expose <video> elements when they have controls.
3049         * accessibility/ios-simulator/video-elements-ios-expected.txt:
3050         * accessibility/ios-simulator/video-elements-ios.html:
3051
3052 2019-07-29  Simon Fraser  <simon.fraser@apple.com>
3053
3054         REGRESSION (r246899): Subtitles show twice when controls show/hide on hulu.com
3055         https://bugs.webkit.org/show_bug.cgi?id=200187
3056         rdar://problem/53511121
3057
3058         Reviewed by Zalan Bujtas.
3059
3060         * compositing/shared-backing/backing-sharing-repaint-expected.html: Added.
3061         * compositing/shared-backing/backing-sharing-repaint.html: Added.
3062
3063 2019-07-29  Simon Fraser  <simon.fraser@apple.com>
3064
3065         Can't scroll on yummly.co.uk recipe (scale(0) div covers the content and hit-tests)
3066         https://bugs.webkit.org/show_bug.cgi?id=200263
3067         rdar://problem/53679408
3068
3069         Reviewed by Antti Koivisto.
3070
3071         * fast/scrolling/ios/non-invertible-transformed-over-scroller-expected.txt: Added.
3072         * fast/scrolling/ios/non-invertible-transformed-over-scroller.html: Added.
3073
3074 2019-07-29  Simon Fraser  <simon.fraser@apple.com>
3075
3076         The touch-action property was ignored on replaced elements (canvas, img etc)
3077         https://bugs.webkit.org/show_bug.cgi?id=200205
3078         rdar://problem/53331224
3079
3080         Reviewed by Antti Koivisto.
3081
3082         * pointerevents/ios/touch-action-region-replaced-elements-expected.txt: Added.
3083         * pointerevents/ios/touch-action-region-replaced-elements.html: Added.
3084
3085 2019-07-29  Tim Horton  <timothy_horton@apple.com>
3086
3087         REGRESSION (r247898): Multiple Layout Tests in http/tests/contentdispositionattachmentsandbox/* are timing out on iOS
3088         <rdar://problem/53664817>
3089
3090         * http/tests/contentdispositionattachmentsandbox/resources/referer-header-stripped.js:
3091         (onload):
3092         iOS has eventSender, so this reorganizing didn't work (well, it worked for macOS...).
3093         Instead, check which platform we're on and use touch vs. mouse events by
3094         platform instead of by available API.
3095
3096 2019-07-28  Tim Horton  <timothy_horton@apple.com>
3097
3098         Reorganize UIScriptController into platform-specific subclasses
3099         https://bugs.webkit.org/show_bug.cgi?id=200027
3100
3101         Reviewed by Simon Fraser.
3102
3103         * http/tests/contentdispositionattachmentsandbox/resources/referer-header-stripped.js:
3104         (onload):
3105         This test both uses event sender to click, and UIScriptController to "tap".
3106         Since singleTapAtPoint is unimplemented on macOS, it really just ended
3107         up doing nothing, but now it asserts. Only click or tap, but not both.
3108
3109         * platform/mac/TestExpectations:
3110         * platform/win/TestExpectations:
3111         Skip some tests for unimplemented or unsupported features.
3112
3113         * platform/mac/fast/events/autoscroll-when-input-is-offscreen-expected.txt: Removed.
3114         * platform/mac/fast/events/autoscroll-with-software-keyboard-expected.txt: Removed.
3115         Remove unneeded test results.
3116
3117         * swipe/resources/swipe-test.js:
3118         (playEventStream):
3119         playBackEventStream is unimplemented on iOS. Also, it's not necessary
3120         for simulated swipe to send events at all on iOS, so just bail, which
3121         is equivalent to what used to happen.
3122
3123 2019-07-27  Andres Gonzalez  <andresg_22@apple.com>
3124
3125         Expose the aria-label attribute for <video> elements.
3126         https://bugs.webkit.org/show_bug.cgi?id=200169
3127         <rdar://problem/51754558>
3128
3129         Reviewed by Chris Fleizach.
3130
3131         * accessibility/ios-simulator/media-with-aria-label-expected.txt: Added.
3132         * accessibility/ios-simulator/media-with-aria-label.html: Added.
3133         * accessibility/media-with-aria-label-expected.txt: Added.
3134         * accessibility/media-with-aria-label.html: Added.
3135         * platform/win/TestExpectations:
3136
3137 2019-07-26  Ryosuke Niwa  <rniwa@webkit.org>
3138
3139         Moving right by word boundary right before an object element followed by a br element hangs
3140         https://bugs.webkit.org/show_bug.cgi?id=200144
3141
3142         Reviewed by Simon Fraser.
3143
3144         Added regression tests. The second test case involes non-word characters "%)" which are skipped like whitespaces
3145         for the purposes of moving right or left by word granularity. The third test case involves RTL text.
3146
3147         * editing/selection/move-by-word-visually-across-object-element-1-expected.txt: Added.
3148         * editing/selection/move-by-word-visually-across-object-element-1.html: Added.
3149         * editing/selection/move-by-word-visually-across-object-element-2-expected.txt: Added.
3150         * editing/selection/move-by-word-visually-across-object-element-2.html: Added.
3151         * editing/selection/move-by-word-visually-across-object-element-3-expected.txt: Added.
3152         * editing/selection/move-by-word-visually-across-object-element-3.html: Added.
3153
3154 2019-07-26  Brady Eidson  <beidson@apple.com>
3155
3156         Do not fire readystatechange events at documents about to get replaced by javascript URLs.
3157         <rdar://problem/51665406> and https://bugs.webkit.org/show_bug.cgi?id=198786
3158
3159         Reviewed by Ryosuke Niwa.
3160
3161         * http/tests/dom/ready-state-on-javascript-replace-expected.txt: Added.
3162         * http/tests/dom/ready-state-on-javascript-replace.html: Added.
3163
3164 2019-07-26  Chris Dumez  <cdumez@apple.com>
3165
3166         [iOS] WebPage::TouchEventSync() & WebPage::GetPositionInformation() sync IPC causes UIProcess hangs
3167         https://bugs.webkit.org/show_bug.cgi?id=200138
3168         <rdar://problem/52698157>
3169
3170         Reviewed by Geoffrey Garen.
3171
3172         Update existing layout test accordingly.
3173
3174         * fast/misc/{testProcessIncomingSyncMessagesWhenWaitingForUnboundedReply-expected.txt: Renamed from LayoutTests/fast/misc/testProcessIncomingSyncMessagesWhenWaitingForSyncReply-expected.txt.
3175         * fast/misc/{testProcessIncomingSyncMessagesWhenWaitingForUnboundedReply.html: Renamed from LayoutTests/fast/misc/testProcessIncomingSyncMessagesWhenWaitingForSyncReply.html.
3176
3177 2019-07-26  Zalan Bujtas  <zalan@apple.com>
3178
3179         Unable to tap/double tap to open files/folders in Google Drive in Safari
3180         https://bugs.webkit.org/show_bug.cgi?id=200096
3181         <rdar://problem/52748552>
3182
3183         Reviewed by Wenson Hsieh.
3184
3185         1. Rebaseline (progression).
3186         2. Payment request tests activate elements by tapping on them at a high speed, triggering double clicks instead. Let's slow them down a bit.
3187
3188         * fast/events/touch/ios/double-tap-for-double-click3-expected.txt:
3189         * http/tests/adClickAttribution/anchor-tag-attributes-validation.html:
3190         * http/tests/resources/payment-request.js:
3191         (activateThen):
3192         * resources/ui-helper.js:
3193         (window.UIHelper.activateElementAtHumanSpeed.return.new.Promise):
3194         (window.UIHelper.activateElementAtHumanSpeed):
3195         * tests-options.json:
3196
3197 2019-07-26  Rob Buis  <rbuis@igalia.com>
3198
3199         Make storing cross-origin top-level prefetches in HTTP cache optional
3200         https://bugs.webkit.org/show_bug.cgi?id=199499
3201
3202         Reviewed by Youenn Fablet.
3203
3204         Remove unneeded Cache-Control headers and verify that Cache-Control
3205         effects whether the navigation gets stored in the disk cache or not.
3206
3207         * http/tests/cache/resources/prefetched-main-resource-iframe.php:
3208         * http/tests/cache/resources/prefetched-main-resource.php:
3209         * http/wpt/prefetch/link-prefetch-skip-disk-cache-expected.txt: Added.
3210         * http/wpt/prefetch/link-prefetch-skip-disk-cache.html: Added.
3211         * http/wpt/prefetch/resources/main-resource-skip-disk-cache.py: Added.
3212         (main):
3213         * http/wpt/prefetch/resources/navigate-skip-disk-cache.html: Added.
3214         * platform/mac-wk1/TestExpectations:
3215         * platform/win/TestExpectations:
3216
3217 2019-07-25  Commit Queue  <commit-queue@webkit.org>
3218
3219         Unreviewed, rolling out r247806.
3220         https://bugs.webkit.org/show_bug.cgi?id=200141
3221
3222         It is regressing PLT (Requested by youenn on #webkit).
3223
3224         Reverted changeset:
3225
3226         "Disable speculative loading if cache is not to be used for
3227         the load"
3228         https://bugs.webkit.org/show_bug.cgi?id=199644
3229         https://trac.webkit.org/changeset/247806
3230
3231 2019-07-25  Russell Epstein  <repstein@apple.com>
3232
3233         rdar://53551736 (Layout Test editing/pasteboard/paste-and-sanitize.html is a Flaky Failure on iOS 13).
3234
3235         Unreviewed Test Gardening.
3236
3237         * platform/ios-12/TestExpectations: Test is passing on iOS 12
3238         * platform/ios/TestExpectations: Marking test as flaky on iOS 13
3239
3240 2019-07-25  Said Abou-Hallawa  <sabouhallawa@apple.com>
3241
3242         REGRESSION (r244995): Assertion failure when addEventListener to an SVGElement which has an. instance in shadow tree
3243         https://bugs.webkit.org/show_bug.cgi?id=200083
3244
3245         Reviewed by Ryosuke Niwa.
3246
3247         * svg/custom/add-event-listener-shadow-tree-element-expected.txt: Added.
3248         * svg/custom/add-event-listener-shadow-tree-element.html: Added.
3249
3250 2019-07-25  Truitt Savell  <tsavell@apple.com>
3251
3252         Unreviewed, rolling out r247821.
3253
3254         Caused two crashing Layout Tests
3255
3256         Reverted changeset:
3257
3258         "Make storing cross-origin top-level prefetches in HTTP cache
3259         optional"
3260         https://bugs.webkit.org/show_bug.cgi?id=199499
3261         https://trac.webkit.org/changeset/247821
3262
3263 2019-07-25  Russell Epstein  <repstein@apple.com>
3264
3265         Adding iOS-specific expectations for fast/text-indicator/text-indicator-with-low-contrast-text.html.
3266         https://bugs.webkit.org/show_bug.cgi?id=200064
3267
3268         Unreviewed Test Gardening.
3269
3270         * platform/ios/fast/text-indicator/text-indicator-with-low-contrast-text-expected.txt: Added.
3271
3272 2019-07-25  Chris Dumez  <cdumez@apple.com>
3273
3274         Avoid UI Process hangs when the WebContent process is showing JS prompts / alerts
3275         https://bugs.webkit.org/show_bug.cgi?id=200107
3276         <rdar://problem/53034592>
3277
3278         Reviewed by Geoffrey Garen.
3279
3280         Add layout test coverage for SendSyncOption::ProcessIncomingSyncMessagesWhenWaitingForSyncReply.
3281         Without the flag on the sendSync from the WebContent process of the
3282         NetworkConnectionToWebProcess::TestProcessIncomingSyncMessagesWhenWaitingForSyncReply IPC, the
3283         test would hang. This is because the WebContent process sends a sync IPC to the network process,
3284         which in turns sends one to the UIProcess, which itself sends one back to the WebContent process.
3285         This would attempt to re-enter the WebContent process which is currently sending a sync IPC, which
3286         is not allowed by default.
3287
3288         * fast/misc/testProcessIncomingSyncMessagesWhenWaitingForSyncReply-expected.txt: Added.
3289         * fast/misc/testProcessIncomingSyncMessagesWhenWaitingForSyncReply.html: Added.
3290
3291 2019-07-25  Rob Buis  <rbuis@igalia.com>
3292
3293         Make storing cross-origin top-level prefetches in HTTP cache optional
3294         https://bugs.webkit.org/show_bug.cgi?id=199499
3295
3296         Reviewed by Youenn Fablet.
3297
3298         Remove unneeded Cache-Control headers and verify that Cache-Control
3299         effects whether the navigation gets stored in the disk cache or not.
3300
3301         * http/tests/cache/resources/prefetched-main-resource-iframe.php:
3302         * http/tests/cache/resources/prefetched-main-resource.php:
3303         * http/wpt/prefetch/link-prefetch-skip-disk-cache-expected.txt: Added.
3304         * http/wpt/prefetch/link-prefetch-skip-disk-cache.html: Added.
3305         * http/wpt/prefetch/resources/main-resource-skip-disk-cache.py: Added.
3306         (main):
3307         * http/wpt/prefetch/resources/navigate-skip-disk-cache.html: Added.
3308         * platform/mac-wk1/TestExpectations:
3309         * platform/win/TestExpectations:
3310
3311 2019-07-25  Truitt Savell  <tsavell@apple.com>
3312
3313         Unreviewed, rolling out r247817.
3314
3315         Broke 14 http/tests/paymentrequest/ tests. on iOS
3316
3317         Reverted changeset:
3318
3319         "Unable to tap/double tap to open files/folders in Google
3320         Drive in Safari"
3321         https://bugs.webkit.org/show_bug.cgi?id=200096
3322         https://trac.webkit.org/changeset/247817
3323
3324 2019-07-24  Zalan Bujtas  <zalan@apple.com>
3325
3326         Unable to tap/double tap to open files/folders in Google Drive in Safari
3327         https://bugs.webkit.org/show_bug.cgi?id=200096
3328         <rdar://problem/52748552>
3329
3330         Reviewed by Wenson Hsieh.
3331
3332         Rebaseline.
3333
3334         * fast/events/touch/ios/double-tap-for-double-click3-expected.txt:
3335
3336 2019-07-24  Devin Rousso  <drousso@apple.com>
3337
3338         Web Inspector: support `console.screenshot` with detached Nodes that are graphical
3339         https://bugs.webkit.org/show_bug.cgi?id=199309
3340
3341         Reviewed by Joseph Pecoraro.
3342
3343         * inspector/console/console-screenshot.html:
3344         * inspector/console/console-screenshot-expected.txt:
3345
3346 2019-07-24  Devin Rousso  <drousso@apple.com>
3347
3348         Web Inspector: support `console.screenshot` with ImageData and ImageBitmap
3349         https://bugs.webkit.org/show_bug.cgi?id=199304
3350
3351         Reviewed by Joseph Pecoraro.
3352
3353         * inspector/console/console-screenshot.html:
3354         * inspector/console/console-screenshot-expected.txt:
3355
3356 2019-07-24  Youenn Fablet  <youenn@apple.com>
3357
3358         Disable speculative loading if cache is not to be used for the load
3359         https://bugs.webkit.org/show_bug.cgi?id=199644
3360
3361         Reviewed by Alex Christensen.
3362
3363         * http/wpt/fetch/disable-speculative-for-reload-expected.txt: Added.
3364         * http/wpt/fetch/disable-speculative-for-reload.html: Added.
3365         * http/wpt/fetch/resources/iframe-with-image.py: Added.
3366         (main):
3367         * http/wpt/fetch/resources/image-load-count.py: Added.
3368         (main):
3369         * http/wpt/fetch/resources/image-load.py: Added.
3370         (main):
3371
3372 2019-07-24  Devin Rousso  <drousso@apple.com>
3373
3374         Web Inspector: support `console.screenshot` with subclasses of CanvasRenderingContext
3375         https://bugs.webkit.org/show_bug.cgi?id=199305
3376
3377         Reviewed by Joseph Pecoraro.
3378
3379         * inspector/console/console-screenshot.html:
3380         * inspector/console/console-screenshot-expected.txt:
3381
3382 2019-07-24  Tim Horton  <timothy_horton@apple.com>
3383
3384         Daring Fireball long press highlights are unnecessarily inflated due to false illegibility
3385         https://bugs.webkit.org/show_bug.cgi?id=200064
3386
3387         Reviewed by Geoff Garen.
3388
3389         * fast/text-indicator/text-indicator-with-low-contrast-text-expected.txt: Added.
3390         * fast/text-indicator/text-indicator-with-low-contrast-text.html: Added.
3391
3392 2019-07-24  Devin Rousso  <drousso@apple.com>
3393
3394         Web Inspector: print the target of `console.screenshot` last so the target is the closest item to the image
3395         https://bugs.webkit.org/show_bug.cgi?id=199308
3396
3397         Reviewed by Joseph Pecoraro.
3398
3399         * inspector/console/console-expected.txt:
3400         * inspector/console/console-screenshot.html:
3401         * inspector/console/console-screenshot-expected.txt:
3402
3403 2019-07-24  Ryan Haddad  <ryanhaddad@apple.com>
3404
3405         Unreviewed test gardening, land expectations for rdar://53324867.
3406
3407         * platform/ios-12/fast/events/touch/ios/pointer-events-with-modifiers-expected.txt: Copied from LayoutTests/platform/ios/fast/events/touch/ios/pointer-events-with-modifiers-expected.txt.
3408         * platform/ios/fast/events/touch/ios/pointer-events-with-modifiers-expected.txt:
3409
3410 2019-07-24  Ryan Haddad  <ryanhaddad@apple.com>
3411
3412         Unreviewed, update test expectations for Catalina.
3413
3414         * platform/mac/TestExpectations:
3415
3416 2019-07-24  Alicia Boya García  <aboya@igalia.com>
3417
3418         [MSE] Reenqueue after removeCodedFrames()
3419         https://bugs.webkit.org/show_bug.cgi?id=199749
3420
3421         Reviewed by Xabier Rodriguez-Calvar.
3422
3423         Added a test that checks that when an .erase() is performed after the
3424         last append the erased frames are indeed not played.
3425
3426         * media/media-source/media-source-erase-after-last-append-expected.txt: Added.
3427         * media/media-source/media-source-erase-after-last-append.html: Added.
3428
3429 2019-07-24  Russell Epstein  <repstein@apple.com>
3430
3431         Remove test expectation for fast/events/ios/keydown-keyup-keypress-keys-in-non-editable-using-chinese-keyboard.html
3432         <rdar://problem/52608620>
3433
3434         Unreviewed Test Gardening.
3435
3436         * platform/ios/TestExpectations:
3437
3438 2019-07-23  Justin Fan  <justin_fan@apple.com>
3439
3440         [WebGPU] Implement errors for GPURenderPipeline creation
3441         https://bugs.webkit.org/show_bug.cgi?id=200046
3442
3443         Reviewed by Myles C. Maxfield.
3444
3445         Add test to cover reproducible render pipeline creation errors.
3446
3447         * webgpu/js/webgpu-functions.js:
3448         (runTestsWithDevice):
3449         * webgpu/render-pipeline-errors-expected.txt: Added.
3450         * webgpu/render-pipeline-errors.html: Added.
3451
3452 2019-07-23  Said Abou-Hallawa  <sabouhallawa@apple.com>
3453
3454         CanvasRenderingContext2D.setTransfrom() reads only the aliases attributes of DOMMatrix2DInit
3455         https://bugs.webkit.org/show_bug.cgi?id=199850
3456
3457         Reviewed by Simon Fraser.
3458
3459         * fast/canvas/setTransfrom-aliases-transform-expected.html: Added.
3460         * fast/canvas/setTransfrom-aliases-transform.html: Added.
3461
3462 2019-07-24  Simon Fraser  <simon.fraser@apple.com>
3463
3464         [iOS WK2] A top fixed bar can flicker when scrolling with the keyboard up
3465         https://bugs.webkit.org/show_bug.cgi?id=200105
3466         rdar://problem/52871975
3467
3468         Reviewed by Wenson Hsieh.
3469
3470         * resources/ui-helper.js:
3471         (window.UIHelper.ensureStablePresentationUpdate.return.new.Promise):
3472         (window.UIHelper.ensureStablePresentationUpdate):
3473         * scrollingcoordinator/ios/fixed-scrolling-with-keyboard-expected.txt: Added.
3474         * scrollingcoordinator/ios/fixed-scrolling-with-keyboard.html: Added.
3475
3476 2019-07-23  Tim Horton  <timothy_horton@apple.com>
3477
3478         Long press hint of AirPods buy buttons are tall and narrow during animation
3479         https://bugs.webkit.org/show_bug.cgi?id=200036
3480         <rdar://problem/53145697>