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