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