FrameSelection::appearanceUpdateTimerFired should be robust against layout passes...
[WebKit-https.git] / LayoutTests / ChangeLog
1 2018-03-29  Wenson Hsieh  <wenson_hsieh@apple.com>
2
3         FrameSelection::appearanceUpdateTimerFired should be robust against layout passes underneath it
4         https://bugs.webkit.org/show_bug.cgi?id=183395
5         <rdar://problem/38055732>
6
7         Reviewed by Zalan Bujtas.
8
9         Add a new layout test that passes if we didn't crash.
10
11         * editing/selection/iframe-update-selection-appearance-expected.txt: Added.
12         * editing/selection/iframe-update-selection-appearance.html: Added.
13
14 2018-03-29  Per Arne Vollan  <pvollan@apple.com>
15
16         The test http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior.html is failing on Windows.
17         https://bugs.webkit.org/show_bug.cgi?id=184134
18
19         Unreviewed test gardening.
20
21         * platform/win/TestExpectations:
22
23 2018-03-29  Per Arne Vollan  <pvollan@apple.com>
24
25         The test transitions/opacity-transition-zindex.html is timing out on Windows.
26         https://bugs.webkit.org/show_bug.cgi?id=184133
27
28         Unreviewed test gardening.
29
30         * platform/win/TestExpectations:
31
32 2018-03-28  Antoine Quint  <graouts@apple.com>
33
34         [Web Animations] Stop using internals.pauseTransitionAtTimeOnElement() in favor of Web Animations API for transitions tests
35         https://bugs.webkit.org/show_bug.cgi?id=184097
36
37         Reviewed by Dean Jackson.
38
39         Make 55 tests opt into CSS Animations and CSS Transitions as Web Animations. These tests used the internals.pauseTransitionAtTimeOnElement()
40         method, but this method should be going away since the Web Animations API allows seeking and pausing. To support this, we make
41         transition-test-helpers.js use the Web Animations API instead of internals.pauseTransitionAtTimeOnElement() if the tests has opted
42         into CSS Animations and CSS Transitions as Web Animations and we know it's safe to use these APIs.
43
44         Overall, 20 of those tests used to fail with the flag on before this change.
45
46         * compositing/animation/animated-composited-inside-hidden.html:
47         * compositing/animation/computed-style-during-delay.html:
48         * compositing/reflections/nested-reflection-transition.html:
49         * compositing/transitions/scale-transition-no-start.html:
50         * compositing/transitions/singular-scale-transition.html:
51         * css3/calc/transitions-dependent.html:
52         * css3/calc/transitions.html:
53         * transitions/background-position-transitions.html:
54         * transitions/background-transitions.html:
55         * transitions/blendmode-transitions.html:
56         * transitions/border-radius-transition.html:
57         * transitions/clip-path-path-transitions.html:
58         * transitions/clip-transition.html:
59         * transitions/color-transition-all.html:
60         * transitions/color-transition-rounding.html:
61         * transitions/cross-fade-background-image.html:
62         * transitions/cubic-bezier-overflow-color.html:
63         * transitions/cubic-bezier-overflow-shadow.html:
64         * transitions/cubic-bezier-overflow-transform.html:
65         * transitions/default-timing-function.html:
66         * transitions/delay.html:
67         * transitions/flex-transitions.html:
68         * transitions/font-family-during-transition.html:
69         * transitions/frames-timing-function.html:
70         * transitions/mask-transitions.html:
71         * transitions/min-max-width-height-transitions.html:
72         * transitions/mismatched-shadow-styles.html:
73         * transitions/mismatched-shadow-transitions.html:
74         * transitions/mixed-type.html:
75         * transitions/move-after-transition.html:
76         * transitions/multiple-background-size-transitions.html:
77         * transitions/multiple-mask-transitions.html:
78         * transitions/multiple-shadow-transitions.html:
79         * transitions/negative-delay.html:
80         * transitions/opacity-transition-zindex.html:
81         * transitions/resources/transition-test-helpers.js:
82         * transitions/shape-outside-transitions.html:
83         * transitions/shorthand-border-transitions.html:
84         * transitions/shorthand-transitions.html:
85         * transitions/steps-timing-function.html:
86         * transitions/svg-layout-transition.html:
87         * transitions/svg-text-shadow-transition.html:
88         * transitions/svg-transitions.html:
89         * transitions/text-indent-transition.html:
90         * transitions/transform-op-list-match.html:
91         * transitions/transform-op-list-no-match.html:
92         * transitions/transition-end-event-rendering.html:
93         * transitions/transition-hit-test.html:
94         * transitions/transition-on-element-with-content.html:
95         * transitions/transition-shorthand-delay.html:
96         * transitions/transition-timing-function.html:
97         * transitions/transition-to-from-auto.html:
98         * transitions/transition-to-from-undefined.html:
99         * transitions/visited-link-color.html:
100         * transitions/zero-duration-in-list.html:
101         * transitions/zero-duration-with-non-zero-delay-start.html:
102
103 2018-03-28  Antoine Quint  <graouts@apple.com>
104
105         [Web Animations] Implement more CSSPropertyBlendingClient methods
106         https://bugs.webkit.org/show_bug.cgi?id=184077
107
108         Reviewed by Dean Jackson.
109
110         Make 31 tests opt into the CSS Animations and CSS Transitions as Web Animations feature.
111
112         * animations/3d/replace-filling-transform.html:
113         * animations/additive-transform-animations.html:
114         * animations/animation-direction-reverse-fill-mode-hardware.html:
115         * animations/combo-transform-rotate+scale.html:
116         * animations/simultaneous-start-transform.html:
117         * compositing/animation/layer-for-filling-animation.html:
118         * compositing/reflections/animation-inside-reflection.html:
119         * compositing/reflections/nested-reflection-animated.html:
120         * css3/filters/backdrop/animation.html:
121         * css3/filters/composited-during-animation.html:
122         * css3/filters/filter-animation-from-none-hw.html:
123         * css3/filters/filter-animation-from-none-multi-hw.html:
124         * css3/filters/filter-animation-from-none-multi.html:
125         * css3/filters/filter-animation-from-none.html:
126         * css3/filters/filter-animation-hw.html:
127         * css3/filters/filter-animation-multi-hw.html:
128         * css3/filters/filter-animation-multi.html:
129         * css3/filters/filter-animation.html:
130         * css3/masking/clip-path-animation.html:
131         * fast/filter-image/filter-image-animation.html:
132         * fast/shapes/shape-outside-floats/shape-outside-animation.html:
133         * fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html:
134         * fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html:
135         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
136         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
137         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
138         * transitions/clip-path-transitions.html:
139         * transitions/color-transition-premultiplied.html:
140         * transitions/cross-fade-border-image.html:
141         * transitions/cubic-bezier-overflow-length.html:
142         * transitions/cubic-bezier-overflow-svg-length.html:
143         * transitions/delay.html:
144         * transitions/longhand-vs-shorthand-initial.html:
145         * transitions/multiple-background-transitions.html:
146
147 2018-03-28  Chris Dumez  <cdumez@apple.com>
148
149         Align XMLHttpRequest's open() / send() / abort() with the latest specification
150         https://bugs.webkit.org/show_bug.cgi?id=184108
151
152         Reviewed by Youenn Fablet.
153
154         * http/tests/xmlhttprequest/onloadend-event-after-abort.html:
155         * http/tests/xmlhttprequest/onloadend-event-after-error.html:
156         * http/tests/xmlhttprequest/simple-cross-origin-progress-events-expected.txt:
157         * http/tests/xmlhttprequest/upload-onloadend-event-after-abort.html:
158         * http/tests/xmlhttprequest/xmlhttprequest-sync-no-progress-events-expected.txt:
159         Fix tests that expected a progress event before error/abort event. This is not as
160         per specification and those tests were also failing in Firefox.
161
162         * http/tests/xmlhttprequest/readystatechange-and-abort.html:
163         Fix test that expected abort() to reset state to UNSENT as this is not as per specification.
164         This test was failing in both Firefox and Chrome.
165
166         * http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html:
167         Re-sync test from Blink. The test was wrongly expecting abort() to reset the state to
168         UNSENT.
169
170 2018-03-28  Timothy Hatcher  <timothy@apple.com>
171
172         Consolidate NSColor to WebCore::Color conversion and fix system colors.
173
174         https://bugs.webkit.org/show_bug.cgi?id=184096
175         rdar://problem/38918925
176
177         Reviewed by Tim Horton.
178
179         * fast/css/apple-system-control-colors-expected.txt: Updated with rgba() colors.
180         * platform/mac/accessibility/content-editable-as-textarea-expected.txt: Updated with color space.
181
182 2018-03-28  Wenson Hsieh  <wenson_hsieh@apple.com>
183
184         [iOS] Multiple select appearance doesn't update when selecting or deselecting rows in the picker view
185         https://bugs.webkit.org/show_bug.cgi?id=184110
186         <rdar://problem/38796648>
187
188         Reviewed by Tim Horton.
189
190         Adds a new layout test to verify that after tapping on a multiple select and choosing an option, the select's
191         renderer is updated to reflect its new state.
192
193         * fast/forms/ios/ipad/multiple-select-updates-renderer-expected.txt: Added.
194         * fast/forms/ios/ipad/multiple-select-updates-renderer.html: Added.
195         * resources/basic-gestures.js:
196
197 2018-03-28  Per Arne Vollan  <pvollan@apple.com>
198
199         Mark http/tests/preload/download_resources.html as a flaky crash on Windows.
200         https://bugs.webkit.org/show_bug.cgi?id=179297
201
202         Unreviewed test gardening.
203
204         * platform/win/TestExpectations:
205
206 2018-03-28  Daniel Bates  <dabates@apple.com>
207
208         WebSocket cookie incorrectly stored
209         https://bugs.webkit.org/show_bug.cgi?id=184100
210         <rdar://problem/37928715>
211
212         Reviewed by Brent Fulgham.
213
214         * http/tests/websocket/tests/hybi/cookie_wsh.py: Added. Downloaded from
215         <https://github.com/w3c/pywebsocket/blob/b2e1d11086fdf00b33a0d30c504f227e7d4fa86b/src/example/cookie_wsh.py>.
216         (_add_set_cookie):
217         (web_socket_do_extra_handshake):
218         (web_socket_transfer_data):
219         * http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior-expected.txt: Added.
220         * http/tests/websocket/tests/hybi/websocket-cookie-overwrite-behavior.html: Added.
221
222 2018-03-28  Matt Lewis  <jlewis3@apple.com>
223
224         Skipped imported/mozilla/css-animations/test_keyframeeffect-getkeyframes.html.
225         https://bugs.webkit.org/show_bug.cgi?id=183848
226
227         Unreviewed test gardening.
228
229         * TestExpectations:
230
231 2018-03-28  Ryan Haddad  <ryanhaddad@apple.com>
232
233         Unreviewed, rolling out r230033.
234
235         The LayoutTests modified in this change fail an assertion on
236         WK1.
237
238         Reverted changeset:
239
240         "[Web Animations] Implement more CSSPropertyBlendingClient
241         methods"
242         https://bugs.webkit.org/show_bug.cgi?id=184077
243         https://trac.webkit.org/changeset/230033
244
245 2018-03-28  Alicia Boya García  <aboya@igalia.com>
246
247         Unreviewed GTK test gardening.
248         https://bugs.webkit.org/show_bug.cgi?id=184088
249
250         * TestExpectations:
251         * platform/gtk/TestExpectations:
252         * platform/ios/TestExpectations:
253         * platform/mac/TestExpectations:
254         * platform/wpe/TestExpectations:
255
256 2018-03-28  Antoine Quint  <graouts@apple.com>
257
258         [Web Animations] Implement more CSSPropertyBlendingClient methods
259         https://bugs.webkit.org/show_bug.cgi?id=184077
260
261         Reviewed by Dean Jackson.
262
263         Make 31 tests opt into the CSS Animations and CSS Transitions as Web Animations feature.
264
265         * animations/3d/replace-filling-transform.html:
266         * animations/additive-transform-animations.html:
267         * animations/animation-direction-reverse-fill-mode-hardware.html:
268         * animations/combo-transform-rotate+scale.html:
269         * animations/simultaneous-start-transform.html:
270         * compositing/animation/layer-for-filling-animation.html:
271         * compositing/reflections/animation-inside-reflection.html:
272         * compositing/reflections/nested-reflection-animated.html:
273         * css3/filters/backdrop/animation.html:
274         * css3/filters/composited-during-animation.html:
275         * css3/filters/filter-animation-from-none-hw.html:
276         * css3/filters/filter-animation-from-none-multi-hw.html:
277         * css3/filters/filter-animation-from-none-multi.html:
278         * css3/filters/filter-animation-from-none.html:
279         * css3/filters/filter-animation-hw.html:
280         * css3/filters/filter-animation-multi-hw.html:
281         * css3/filters/filter-animation-multi.html:
282         * css3/filters/filter-animation.html:
283         * css3/masking/clip-path-animation.html:
284         * fast/filter-image/filter-image-animation.html:
285         * fast/shapes/shape-outside-floats/shape-outside-animation.html:
286         * fast/shapes/shape-outside-floats/shape-outside-shape-image-threshold-animation.html:
287         * fast/shapes/shape-outside-floats/shape-outside-shape-margin-animation.html:
288         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
289         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt:
290         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
291         * transitions/clip-path-transitions.html:
292         * transitions/color-transition-premultiplied.html:
293         * transitions/cross-fade-border-image.html:
294         * transitions/cubic-bezier-overflow-length.html:
295         * transitions/cubic-bezier-overflow-svg-length.html:
296         * transitions/delay.html:
297         * transitions/longhand-vs-shorthand-initial.html:
298         * transitions/multiple-background-transitions.html:
299
300 2018-03-27  Timothy Hatcher  <timothy@apple.com>
301
302         Web Inspector: Modernize some utility functions
303         https://bugs.webkit.org/show_bug.cgi?id=184047
304
305         Rubber-stamped by Matt Baker.
306
307         * inspector/unit-tests/string-utilities-expected.txt: Updated.
308         * inspector/unit-tests/string-utilities.html: Added String.prototype.escapeCharacters test.
309
310 2018-03-26  Ryan Haddad  <ryanhaddad@apple.com>
311
312         Skip http/wpt/service-workers/third-party-registration.html.
313         https://bugs.webkit.org/show_bug.cgi?id=183860
314
315         Unreviewed test gardening.
316
317         * platform/ios-wk2/TestExpectations:
318         * platform/mac-wk2/TestExpectations:
319
320 2018-03-27  Youenn Fablet  <youenn@apple.com>
321
322         Move request checking out of PingLoad for future reuse in NetworkLoad
323         https://bugs.webkit.org/show_bug.cgi?id=183865
324
325         Reviewed by Chris Dumez.
326
327         * http/wpt/beacon/cors/cors-preflight-cookie-expected.txt:
328         * http/wpt/beacon/cors/cors-preflight-cookie.html:
329
330 2018-03-27  Daniel Bates  <dabates@apple.com>
331
332         CSS mask images should be retrieved using potentially CORS-enabled fetch
333         https://bugs.webkit.org/show_bug.cgi?id=179983
334         <rdar://problem/35678149>
335
336         Reviewed by Brent Fulgham.
337
338         Add a test to ensure we do not fetch a cross-origin CSS mask image that does
339         not allow CORS access.
340
341         * http/tests/security/css-mask-image-expected.html: Added.
342         * http/tests/security/css-mask-image.html: Added.
343         * http/tests/security/resources/black-square.png: Added.
344         * http/tests/security/resources/fail-mask.png: Added.
345         * media/modern-media-controls/resources/media-controls-loader.js: Disable "Anonymous" mode
346         fetching of mask images to allow modern media controls to load mask assets from the filesystem.
347
348 2018-03-27  Zalan Bujtas  <zalan@apple.com>
349
350         RenderBox::parent/firstChild/nextSibling/previousSiblingBox() functions should type check.
351         https://bugs.webkit.org/show_bug.cgi?id=184032
352         <rdar://problem/38384984>
353
354         Reviewed by Antti Koivisto.
355
356         * fast/multicol/parent-box-when-spanner-is-present-expected.txt: Added.
357         * fast/multicol/parent-box-when-spanner-is-present.html: Added.
358
359
360 2018-03-27  Antoine Quint  <graouts@apple.com>
361
362         [Web Animations] Stop using internals.pauseAnimationAtTimeOnElement() in favor of Web Animations API for animations tests
363         https://bugs.webkit.org/show_bug.cgi?id=184038
364
365         Reviewed by Dean Jackson.
366
367         Make 48 tests opt into CSS Animations and CSS Transitions as Web Animations. These tests used the internals.pauseAnimationAtTimeOnElement()
368         method, but this method should be going away since the Web Animations API allows seeking and pausing. To support this, we make
369         animation-test-helpers.js use the Web Animations API instead of internals.pauseAnimationAtTimeOnElement() if the tests has opted
370         into CSS Animations and CSS Transitions as Web Animations and we know it's safe to use these APIs.
371
372         * animations/3d/matrix-transform-type-animation.html:
373         * animations/3d/transform-perspective.html:
374         * animations/animation-callback-timestamp.html:
375         * animations/animation-direction-reverse-hardware-opacity.html:
376         * animations/animation-direction-reverse-hardware.html:
377         * animations/animation-direction-reverse-non-hardware.html:
378         * animations/animation-direction-reverse-timing-functions-hardware.html:
379         * animations/animation-direction-reverse-timing-functions.html:
380         * animations/animation-direction.html:
381         * animations/animation-hit-test.html:
382         * animations/animation-offscreen-to-onscreen.html:
383         * animations/change-keyframes-expected.txt:
384         * animations/change-keyframes.html:
385         * animations/cross-fade-background-image.html:
386         * animations/cross-fade-border-image-source.html:
387         * animations/cross-fade-list-style-image.html:
388         * animations/cross-fade-webkit-mask-box-image.html:
389         * animations/duplicate-keys-expected.html:
390         * animations/duplicate-keys.html:
391         * animations/font-variations/font-stretch.html:
392         * animations/font-variations/font-style.html:
393         * animations/font-variations/font-variation-settings-order.html:
394         * animations/font-variations/font-variation-settings-unlike.html:
395         * animations/font-variations/font-variation-settings.html:
396         * animations/font-variations/font-weight.html:
397         * animations/generic-from-to.html:
398         * animations/import.html:
399         * animations/keyframe-multiple-timing-functions-transform.html:
400         * animations/keyframes-comma-separated.html:
401         * animations/keyframes-infinite-iterations.html:
402         * animations/keyframes-invalid-keys.html:
403         * animations/keyframes-out-of-order.html:
404         * animations/keyframes.html:
405         * animations/longhand-timing-function.html:
406         * animations/matrix-anim.html:
407         * animations/missing-keyframe-properties-repeating.html:
408         * animations/missing-keyframe-properties.html:
409         * animations/missing-values-first-keyframe.html:
410         * animations/missing-values-last-keyframe.html:
411         * animations/multiple-animations-timing-function.html:
412         * animations/multiple-animations.html:
413         * animations/multiple-keyframes.html:
414         * animations/negative-delay.html:
415         * animations/pause-crash.html:
416         * animations/resources/animation-test-helpers.js:
417         (checkExpectedValue):
418         (pauseAnimationAtTimeOnElement):
419         (startTest):
420         (runAnimationTest):
421         * animations/simultaneous-start-left.html:
422         * animations/spring-function.html:
423         * animations/stacking-context-unchanged-while-running.html:
424         * animations/timing-functions.html:
425         * animations/unanimated-style.html:
426         * animations/unprefixed-keyframes.html:
427
428 2018-03-27  Per Arne Vollan  <pvollan@apple.com>
429
430         Mark some CSS animations tests as failing on Windows.
431         https://bugs.webkit.org/show_bug.cgi?id=183953
432
433         Unreviewed test gardening.
434
435         * platform/win/TestExpectations:
436
437 2018-03-27  Eric Carlson  <eric.carlson@apple.com>
438
439         Make AVFoundationEnabled preference available on iOS
440         https://bugs.webkit.org/show_bug.cgi?id=183876
441         <rdar://problem/38726459>
442
443         Reviewed by Youenn Fablet.
444
445         * media/media-error-fired-once-expected.txt: Added.
446         * media/media-error-fired-once.html: Added.
447
448 2018-03-27  Fujii Hironori  <Hironori.Fujii@sony.com>
449
450         [GTK] Layout test editing/deleting/delete-surrogatepair.html crashing with CRITICAL **: enchant_dict_check: assertion 'g_utf8_validate(word, len, NULL)' failed
451         https://bugs.webkit.org/show_bug.cgi?id=176799
452
453         Reviewed by Carlos Garcia Campos.
454
455         * platform/gtk/TestExpectations: Unmarked editing/deleting/delete-surrogatepair.html.
456
457 2018-03-23  Antoine Quint  <graouts@apple.com>
458
459         [Web Animations] Make imported/mozilla/css-animations/test_animation-currenttime.html pass reliably
460         https://bugs.webkit.org/show_bug.cgi?id=183819
461
462         Reviewed by Dean Jackson.
463
464         The test imported/mozilla/css-animations/test_animation-currenttime.html now passes reliably.
465
466         * TestExpectations:
467
468 2018-03-23  Antoine Quint  <graouts@apple.com>
469
470         [Web Animations] Correctly handle timing functions specified by CSS Animations and CSS Transitions
471         https://bugs.webkit.org/show_bug.cgi?id=183935
472
473         Reviewed by Dean Jackson.
474
475         We now pass 2 additional Mozilla tests completely, so they no longer need to be marked as flaky failures or timeouts.
476         We also update tests that we wrote ourselves and which incorrectly assumed that the effect's timing would reflect
477         the timing function set by CSS.
478
479         * TestExpectations:
480         * webanimations/css-animations-expected.txt:
481         * webanimations/css-animations.html:
482         * webanimations/css-transitions-expected.txt:
483         * webanimations/css-transitions.html:
484
485 2018-03-26  Ryan Haddad  <ryanhaddad@apple.com>
486
487         Mark imported/mozilla/css-animations/test_animation-cancel.html as flaky.
488         https://bugs.webkit.org/show_bug.cgi?id=184011
489
490         Unreviewed test gardening.
491
492         * TestExpectations:
493
494 2018-03-23  Daniel Bates  <dabates@apple.com>
495
496         Unreviewed, rolling out r229868.
497
498         Caused media controls tests to timeout. Will investigate
499         offline.
500
501         Reverted changeset:
502
503         "CSS mask images should be retrieved using potentially CORS-
504         enabled fetch"
505         https://bugs.webkit.org/show_bug.cgi?id=179983
506         https://trac.webkit.org/changeset/229868
507
508 2018-03-23  Per Arne Vollan  <pvollan@apple.com>
509
510         Mark accessibility/row-with-aria-role-in-native-table.html as failing on Windows.
511         https://bugs.webkit.org/show_bug.cgi?id=183955
512
513         Unreviewed test gardening.
514
515         * platform/win/TestExpectations:
516
517 2018-03-23  Per Arne Vollan  <pvollan@apple.com>
518
519         Mark some CSS animations tests as failing on Windows.
520         https://bugs.webkit.org/show_bug.cgi?id=183953
521
522         Unreviewed test gardening.
523
524         * platform/win/TestExpectations:
525
526 2018-03-23  Eric Carlson  <eric.carlson@apple.com>
527
528         HTMLElement factory doesn't need to call MediaPlayer::isAvailable
529         https://bugs.webkit.org/show_bug.cgi?id=183946
530         <rdar://problem/38802687>
531
532         Reviewed by Youenn Fablet.
533
534         * media/media-disabled-expected.txt: Added.
535         * media/media-disabled.html: Added.
536
537 2018-03-23  Ryan Haddad  <ryanhaddad@apple.com>
538
539         Only enable LayoutTest fast/css/apple-system-control-colors.html on macOS.
540
541         Unreviewed test gardening.
542
543         * TestExpectations:
544         * platform/mac/TestExpectations:
545
546 2018-03-23  Adrian Perez de Castro  <aperez@igalia.com>
547
548         Unreviewed WPE gardening.
549
550         Removed imported/mathml-in-html5 from WPE test expectations, as the
551         path does not exit anymore after r229601
552
553         * platform/wpe/TestExpectations: Removd imported/mathml-in-html5
554
555 2018-03-23  Youenn Fablet  <youenn@apple.com>
556
557         Safari WebKitWebRTCAudioModule crash during <video> tag update when audio track present in MediaStream
558         https://bugs.webkit.org/show_bug.cgi?id=181180
559         <rdar://problem/36302375>
560
561         Reviewed by Eric Carlson.
562
563         * webrtc/video-update-often-expected.txt: Added.
564         * webrtc/video-update-often.html: Added.
565
566 2018-03-23  Antoine Quint  <graouts@apple.com>
567
568         [Web Animations] infinite repeat counts aren't reflected for CSS Animations
569         https://bugs.webkit.org/show_bug.cgi?id=183932
570
571         Reviewed by Dean Jackson.
572
573         One of the Mozilla tests now passes completely and reliably.
574
575         * TestExpectations:
576
577 2018-03-22  Antoine Quint  <graouts@apple.com>
578
579         [Web Animations] Correctly cancel animations when a parent gets a "display: none" style or when an element is removed
580         https://bugs.webkit.org/show_bug.cgi?id=183919
581
582         Reviewed by Dean Jackson.
583
584         Three of the imported Mozilla tests now pass reliably, removing them from the list of flaky failure and timeout tests.
585
586         * TestExpectations:
587
588 2018-03-23  Antoine Quint  <graouts@apple.com>
589
590         [Web Animations] Animated transform styles are ignored when calling getComputedStyle()
591         https://bugs.webkit.org/show_bug.cgi?id=183918
592
593         Reviewed by Dean Jackson.
594
595         We obtain a number of progressions by correctly serializing the transform property on getComputedStyle().
596
597         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt:
598         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt:
599
600 2018-03-23  Zan Dobersek  <zdobersek@igalia.com>
601
602         Unreviewed GTK+ gardening.
603
604         Add a port-specific baseline for fast/css/apple-system-control.html.
605
606         Mark http/wpt/service-workers tests as a mix of failures and passes,
607         since a lot of the tests pass now that service workers were enabled, but
608         the passing ones are still in minority and there's additionally flaky
609         tests. This should improve after necessary testing SW directories are
610         properly specified.
611
612         In contrast, a bunch of SW-reliant tests under
613         imported/w3c/web-platform-tests/streams are now passing consistently.
614         Failure expectations for these are removed.
615
616         Failue expectations for three compositing tests are also removed after
617         r229804 fixed them.
618
619         * platform/gtk/TestExpectations:
620         * platform/gtk/fast/css/apple-system-control-colors-expected.txt: Added.
621
622 2018-03-22  Nan Wang  <n_wang@apple.com>
623
624         AX: Web table row count is incorrect when role row is added to <tr> in DOM
625         https://bugs.webkit.org/show_bug.cgi?id=183922
626
627         Reviewed by Chris Fleizach.
628
629         * accessibility/row-with-aria-role-in-native-table-expected.txt: Added.
630         * accessibility/row-with-aria-role-in-native-table.html: Added.
631
632 2018-03-22  Daniel Bates  <dabates@apple.com>
633
634         CSS mask images should be retrieved using potentially CORS-enabled fetch
635         https://bugs.webkit.org/show_bug.cgi?id=179983
636         <rdar://problem/35678149>
637
638         Reviewed by Brent Fulgham.
639
640         Add a test to ensure we do not fetch a cross-origin CSS mask image that does
641         not allow CORS access.
642
643         * http/tests/security/css-mask-image-expected.html: Added.
644         * http/tests/security/css-mask-image.html: Added.
645         * http/tests/security/resources/black-square.png: Added.
646         * http/tests/security/resources/fail-mask.png: Added.
647
648 2018-03-22  Zalan Bujtas  <zalan@apple.com>
649
650         [Simple line layout] Text with letter spacing is not positioned properly.
651         https://bugs.webkit.org/show_bug.cgi?id=183079
652         <rdar://problem/38762569>
653
654         Reviewed by Antti Koivisto.
655
656         * fast/text/simple-line-layout-dynamic-letter-word-spacing-expected.html: Added.
657         * fast/text/simple-line-layout-dynamic-letter-word-spacing.html: Added.
658
659 2018-03-22  Adrian Perez de Castro  <aperez@igalia.com>
660
661         [WPE] Enable WOFF2 support
662         https://bugs.webkit.org/show_bug.cgi?id=178158
663
664         Reviewed by Frédéric Wang.
665
666         * platform/wpe/TestExpectations: Unskip the fast/text/woff2.html and fast/text/woff2-totalsfntsize.html
667
668 2018-03-21  Antoine Quint  <graouts@apple.com>
669
670         [Web Animations] Make imported/mozilla/css-animations/test_event-dispatch.html pass reliably
671         https://bugs.webkit.org/show_bug.cgi?id=183845
672
673         Reviewed by Dean Jackson.
674
675         A couple of crashing tests no longer crash and a couple are now reliably passing.
676
677         * TestExpectations:
678
679 2018-03-22  Ross Kirsling  <ross.kirsling@sony.com>
680
681         Unreviewed gardening. Update WinCairo TestExpectations and drop the unnecessary suffix.
682
683         * platform/wincairo-win10/TestExpectations: Removed.
684         * platform/wincairo/TestExpectations: Added.
685
686 2018-03-22  Zalan Bujtas  <zalan@apple.com>
687
688         Unreviewed gardening.
689
690         Unskipping imported/blink/svg/css/path-layout-crash.html (should have been unskipped with r229782). 
691
692         * TestExpectations:
693
694 2018-03-22  Miguel Gomez  <magomez@igalia.com>
695
696         Unreviewed GTK+ gardening after r229847.
697
698         * platform/gtk/TestExpectations:
699         * platform/gtk/http/tests/loading/simple-subframe-expected.txt:
700         * platform/gtk/http/tests/navigation/redirect-to-fragment2-expected.txt: Added.
701         * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt:
702
703 2018-03-22  Zalan Bujtas  <zalan@apple.com>
704
705         SVG root is skipped while marking percentage height descendants dirty.
706         https://bugs.webkit.org/show_bug.cgi?id=183877
707
708         Reviewed by Antti Koivisto.
709
710         * TestExpectations:
711
712 2018-03-22  Frederic Wang  <fwang@igalia.com>
713
714         [MathML] Import WPT test to replace mathml/opentype/large-operators-italic-correction.html
715         https://bugs.webkit.org/show_bug.cgi?id=183891
716
717         Reviewed by Manuel Rego Casasnovas.
718
719         Remove large-operators-italic-correction.html. Italic correction is tested more completely by
720         a new WPT test that does not require Latin Modern Math to be installed on the try bots.
721
722         * mathml/opentype/large-operators-italic-correction-expected.txt: Removed.
723         * mathml/opentype/large-operators-italic-correction.html: Removed.
724         * platform/ios/TestExpectations: Remove test expectation.
725         * platform/mac/TestExpectations: Ditto.
726         * platform/win/TestExpectations: Ditto.
727
728 2018-03-21  Chris Dumez  <cdumez@apple.com>
729
730         Regression(r229831): fast/loader/javascript-url-iframe-remove-on-navigate-async-delegate.html is flaky
731         https://bugs.webkit.org/show_bug.cgi?id=183885
732
733         Unreviewed, temporarily mark the test as flaky while I investigate.
734
735         * TestExpectations:
736
737 2018-03-21  Ryan Haddad  <ryanhaddad@apple.com>
738
739         Mark fast/scrolling/latching/scroll-div-no-latching.html as flaky.
740         https://bugs.webkit.org/show_bug.cgi?id=183879
741
742         Unreviewed test gardening.
743
744         * platform/mac-wk2/TestExpectations:
745
746 2018-03-21  Ryan Haddad  <ryanhaddad@apple.com>
747
748         Mark inspector/console/messageAdded-from-named-evaluations.html as slow.
749         https://bugs.webkit.org/show_bug.cgi?id=183880
750
751         Unreviewed test gardening.
752
753         * platform/mac/TestExpectations:
754
755 2018-03-21  Ryan Haddad  <ryanhaddad@apple.com>
756
757         Mark media/modern-media-controls/seek-backward-support/seek-backward-support.html as flaky.
758         https://bugs.webkit.org/show_bug.cgi?id=183869
759
760         Unreviewed test gardening.
761
762         * platform/mac-wk2/TestExpectations:
763
764 2018-03-21  Chris Dumez  <cdumez@apple.com>
765
766         Make policy decisions asynchronous
767         https://bugs.webkit.org/show_bug.cgi?id=180568
768         <rdar://problem/37131297>
769
770         Reviewed by Alex Christensen.
771
772         Rebaseline tests for WebKit2. The issue is that some tests dump policy delegate calls
773         and things now happen in a slightly different order now that those delegates are
774         asynchronous.
775
776         * TestExpectations:
777         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt:
778         * platform/ios/http/tests/loading/simple-subframe-expected.txt:
779         * platform/mac-wk2/http/tests/loading/simple-subframe-expected.txt: Copied from LayoutTests/platform/ios/http/tests/loading/simple-subframe-expected.txt.
780         * platform/wk2/fast/loader/fragment-navigation-base-blank-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
781         * platform/wk2/fast/loader/iframe-meta-refresh-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
782         * platform/wk2/fast/loader/iframe-set-location-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
783         * platform/wk2/fast/loader/main-document-url-for-non-http-loads-expected.txt: Added.
784         * platform/wk2/fast/loader/refresh-iframe-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
785         * platform/wk2/fast/loader/subframe-removes-itself-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
786         * platform/wk2/http/tests/contentdispositionattachmentsandbox/cross-origin-frames-disabled-expected.txt: Added.
787         * platform/wk2/http/tests/contentextensions/block-everything-unless-domain-expected.txt: Added.
788         * platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt:
789         * platform/wk2/http/tests/loading/bad-server-subframe-expected.txt: Added.
790         * platform/wk2/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt:
791         * platform/wk2/http/tests/loading/redirect-with-no-location-crash-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
792         * platform/wk2/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: Added.
793         * platform/wk2/http/tests/loading/slow-parsing-subframe-expected.txt: Added.
794         * platform/wk2/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: Added.
795         * platform/wk2/http/tests/misc/window-dot-stop-expected.txt: Added.
796         * platform/wk2/http/tests/navigation/redirect-preserves-fragment-expected.txt: Added.
797         * platform/wk2/http/tests/navigation/redirect-to-fragment-expected.txt: Added.
798         * platform/wk2/http/tests/navigation/redirect-to-invalid-url-expected.txt: Added.
799         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt: Added.
800         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Added.
801         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-expected.txt: Added.
802         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-in-body-expected.txt: Added.
803         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-allow-expected.txt: Added.
804         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-deny-expected.txt: Added.
805         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt: Added.
806         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt: Added.
807         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt: Added.
808         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt: Added.
809         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt: Added.
810         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Added.
811         * platform/wk2/http/tests/security/blocked-on-redirect-expected.txt: Added.
812         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
813         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-expected.txt: Added.
814         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt: Added.
815         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
816         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe-expected.txt: Added.
817         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame-expected.txt: Added.
818         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-expected.txt: Added.
819         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: Added.
820         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy-expected.txt: Added.
821         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Added.
822         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
823         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy-expected.txt: Added.
824         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe-expected.txt: Added.
825         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
826         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-expected.txt: Added.
827         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy-expected.txt: Added.
828         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
829         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt: Added.
830         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt: Added.
831         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe-expected.txt: Added.
832         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame-expected.txt: Added.
833         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
834         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
835         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
836         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt: Added.
837         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
838         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
839         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
840         * platform/wk2/http/tests/security/http-0.9/iframe-blocked-expected.txt: Added.
841         * platform/wk2/http/tests/security/mixedContent/about-blank-iframe-in-main-frame-expected.txt: Added.
842         * platform/wk2/http/tests/security/mixedContent/data-url-iframe-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
843         * platform/wk2/http/tests/security/mixedContent/data-url-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
844         * platform/wk2/http/tests/security/mixedContent/empty-url-plugin-in-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
845         * platform/wk2/http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
846         * platform/wk2/http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt: Added.
847         * platform/wk2/http/tests/security/mixedContent/insecure-css-with-secure-cookies-expected.txt: Added.
848         * platform/wk2/http/tests/security/mixedContent/insecure-executable-css-with-secure-cookies-expected.txt: Added.
849         * platform/wk2/http/tests/security/mixedContent/insecure-form-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
850         * platform/wk2/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt: Added.
851         * platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-iframe-expected.txt: Added.
852         * platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt: Added.
853         * platform/wk2/http/tests/security/mixedContent/insecure-image-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
854         * platform/wk2/http/tests/security/mixedContent/javascript-url-form-in-main-frame-expected.txt: Added.
855         * platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt: Added.
856         * platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt: Added.
857         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt: Added.
858         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-block-expected.txt: Added.
859         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-expected.txt: Added.
860         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
861         * platform/wk2/http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
862         * platform/wk2/inspector/page/frameScheduledNavigation-expected.txt: Added.
863         * platform/wk2/loader/go-back-cached-main-resource-expected.txt: Added.
864         * platform/wk2/webarchive/loading/mainresource-null-mimetype-crash-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
865         * platform/wk2/webarchive/loading/test-loading-archive-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
866         * platform/wk2/webarchive/loading/video-in-webarchive-expected.txt: Renamed from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
867
868 2018-03-21  Said Abou-Hallawa  <sabouhallawa@apple.com>
869
870         Disconnect the SVGPathSegList items from their SVGPathElement before rebuilding a new list
871         https://bugs.webkit.org/show_bug.cgi?id=183723
872         <rdar://problem/38517871>
873
874         Reviewed by Daniel Bates.
875
876         * svg/dom/reuse-pathseg-after-changing-d-expected.txt: Added.
877         * svg/dom/reuse-pathseg-after-changing-d.html: Added.
878
879 2018-03-21  Ryan Haddad  <ryanhaddad@apple.com>
880
881         Skip imported/w3c/web-platform-tests/service-workers/service-worker/appcache-ordering-main.https.html.
882         https://bugs.webkit.org/show_bug.cgi?id=182176
883
884         Unreviewed test gardening.
885
886         * platform/mac-wk2/TestExpectations:
887
888 2018-03-21  Ryan Haddad  <ryanhaddad@apple.com>
889
890         Skip http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown.html.
891         https://bugs.webkit.org/show_bug.cgi?id=183093
892
893         Unreviewed test gardening.
894
895         * platform/mac-wk2/TestExpectations:
896
897 2018-03-21  Ryan Haddad  <ryanhaddad@apple.com>
898
899         Mark media/track/track-css-matching-timestamps.html as flaky.
900         https://bugs.webkit.org/show_bug.cgi?id=183220
901
902         Unreviewed test gardening.
903
904         * platform/mac-wk1/TestExpectations:
905
906 2018-03-21  Jer Noble  <jer.noble@apple.com>
907
908         REGRESSION (r226059?): [macOS WK2] Layout Test fast/mediastream/MediaStream-MediaElement-setObject-null.html is flaky
909         https://bugs.webkit.org/show_bug.cgi?id=181069
910         <rdar://problem/36188221>
911
912         Reviewed by Youenn Fablet.
913
914         Pass the function into the play() promise handler rather than calling it immediately.
915
916         * fast/mediastream/MediaStream-MediaElement-setObject-null.html:
917         * platform/mac-wk2/TestExpectations:
918
919 2018-03-21  Antoine Quint  <graouts@apple.com>
920
921         [Web Animations] Dispatch DOM events for CSS Transitions and CSS Animations implemented as Web Animations
922         https://bugs.webkit.org/show_bug.cgi?id=183781
923
924         Reviewed by Dean Jackson.
925
926         New attribute-based event handlers are now exposed, update the expectations for those.
927
928         * js/dom/dom-static-property-for-in-iteration-expected.txt:
929
930 2018-03-21  Antoine Quint  <graouts@apple.com>
931
932         [Web Animations] Import CSS Animations and CSS Transitions as Web Animations tests from Mozilla
933         https://bugs.webkit.org/show_bug.cgi?id=183851
934
935         Reviewed by Jon Lee.
936
937         Mark all imported tests as flaky failures or timeouts while we work on making them pass reliably.
938         Each test has a dedicated bug tracking progress.
939
940         * TestExpectations:
941
942 2018-03-21  Ms2ger  <Ms2ger@igalia.com>
943
944         [GTK] Mark fast/forms/file/entries-api/webkitdirectory-open-panel.html as passing.
945         https://bugs.webkit.org/show_bug.cgi?id=176024
946
947         Unreviewed test gardening.
948
949         It has been passing since the test was changed not to rely on the order
950         of files in the list in r229642.
951
952         * platform/gtk/TestExpectations:
953
954 2018-03-21  Frederic Wang  <fwang@igalia.com>
955
956         [iOS] Text highlighted by the Find UI overlaps with NBC news header on google.com
957         https://bugs.webkit.org/show_bug.cgi?id=183658
958
959         Reviewed by Tim Horton.
960
961         Improve the test added in r224284, so that we test when a result is revealed at
962         the center of the overflow node.
963
964         * platform/ios/fast/scrolling/find-text-in-overflow-node.html: Put some content after
965         'match 4' so that the overflow node can scroll and make the text appear at the center.
966         Perform more accurate testing of the scrollTop of the overflow node.
967         * platform/ios/fast/scrolling/find-text-in-overflow-node-expected.txt: Update expectation.
968
969 2018-03-20  Zalan Bujtas  <zalan@apple.com>
970
971         RenderTreeNeedsLayoutChecker fails with absolutely positioned svg and <use>
972         https://bugs.webkit.org/show_bug.cgi?id=183718
973
974         Reviewed by Antti Koivisto.
975
976         * svg/in-html/path-with-absolute-positioned-svg-and-use-crash-expected.txt: Added.
977         * svg/in-html/path-with-absolute-positioned-svg-and-use-crash.html: Added.
978
979 2018-03-20  Ryan Haddad  <ryanhaddad@apple.com>
980
981         Mark http/tests/appcache/abort-cache-onprogress.html as flaky.
982         https://bugs.webkit.org/show_bug.cgi?id=183684
983
984         Unreviewed test gardening.
985
986         * TestExpectations:
987
988 2018-03-20  Ryan Haddad  <ryanhaddad@apple.com>
989
990         Mark http/wpt/webrtc/third-party-frame-ice-candidate-filtering.html as flaky.
991         https://bugs.webkit.org/show_bug.cgi?id=183801
992
993         Unreviewed test gardening.
994
995         * platform/wk2/TestExpectations:
996
997 2018-03-20  Chris Dumez  <cdumez@apple.com>
998
999         Unreviewed, rolling out r229726 and r229763.
1000
1001         Caused some API test failures on iOS
1002
1003         Reverted changesets:
1004
1005         "Make policy decisions asynchronous"
1006         https://bugs.webkit.org/show_bug.cgi?id=180568
1007         https://trac.webkit.org/changeset/229726
1008
1009         "Rebaseline three webarchive tests for WK2 after r229726."
1010         https://bugs.webkit.org/show_bug.cgi?id=180568
1011         https://trac.webkit.org/changeset/229763
1012
1013 2018-03-20  Ryan Haddad  <ryanhaddad@apple.com>
1014
1015         Rebaseline three webarchive tests for WK2 after r229726.
1016         https://bugs.webkit.org/show_bug.cgi?id=180568
1017
1018         Unreviewed test gardening.
1019
1020         * platform/wk2/webarchive/loading/missing-data-expected.txt: Added.
1021         * platform/wk2/webarchive/loading/object-expected.txt: Added.
1022         * platform/wk2/webarchive/loading/test-loading-archive-subresource-null-mimetype-expected.txt: Added.
1023
1024 2018-03-20  Ryan Haddad  <ryanhaddad@apple.com>
1025
1026         Rebaseline three forms tests after r229730.
1027
1028         Unreviewed test gardening.
1029
1030         * platform/mac/fast/forms/basic-selects-expected.txt:
1031         * platform/mac/fast/forms/disabled-select-change-index-expected.txt:
1032         * platform/mac/fast/forms/select-disabled-appearance-expected.txt:
1033
1034 2018-03-20  Ryan Haddad  <ryanhaddad@apple.com>
1035
1036         Rebaseline a test after the case of the 'Strong Password' localized string was changed in r229724.
1037
1038         Unreviewed test gardening.
1039
1040         * platform/ios/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt:
1041         * platform/mac/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt:
1042
1043 2018-03-20  Ryan Haddad  <ryanhaddad@apple.com>
1044
1045         Skip http/tests/storageAccess/grant-storage-access-under-opener.html on iOS debug.
1046         https://bugs.webkit.org/show_bug.cgi?id=183714
1047
1048         Unreviewed test gardening.
1049
1050         * platform/ios-wk2/TestExpectations:
1051
1052 2018-03-19  Brady Eidson  <beidson@apple.com>
1053
1054         Add a layout test verifying AppCache resource fetches have the document's cookie in place.
1055         https://bugs.webkit.org/show_bug.cgi?id=183757
1056
1057         Reviewed by Alex Christensen.
1058
1059         * http/tests/appcache/document-cookie-expected.txt: Added.
1060         * http/tests/appcache/document-cookie.php: Added.
1061         * http/tests/appcache/resources/cookie-protected-script.php: Added.
1062         * http/tests/appcache/resources/document-cookie.manifest: Added.
1063
1064 2018-03-19  Chris Dumez  <cdumez@apple.com>
1065
1066         Make policy decisions asynchronous
1067         https://bugs.webkit.org/show_bug.cgi?id=180568
1068         <rdar://problem/37131297>
1069
1070         Reviewed by Alex Christensen.
1071
1072         Rebaseline tests for WebKit2. The issue is that some tests dump policy delegate calls
1073         and things now happen in a slightly different order now that those delegates are
1074         asynchronous.
1075
1076         * TestExpectations:
1077         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt:
1078         * platform/ios/http/tests/loading/simple-subframe-expected.txt:
1079         * platform/mac-wk2/http/tests/loading/simple-subframe-expected.txt: Copied from LayoutTests/platform/ios/http/tests/loading/simple-subframe-expected.txt.
1080         * platform/wk2/fast/loader/fragment-navigation-base-blank-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1081         * platform/wk2/fast/loader/iframe-meta-refresh-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
1082         * platform/wk2/fast/loader/iframe-set-location-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
1083         * platform/wk2/fast/loader/main-document-url-for-non-http-loads-expected.txt: Added.
1084         * platform/wk2/fast/loader/refresh-iframe-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
1085         * platform/wk2/fast/loader/subframe-removes-itself-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1086         * platform/wk2/http/tests/contentdispositionattachmentsandbox/cross-origin-frames-disabled-expected.txt: Added.
1087         * platform/wk2/http/tests/contentextensions/block-everything-unless-domain-expected.txt: Added.
1088         * platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt:
1089         * platform/wk2/http/tests/loading/bad-server-subframe-expected.txt: Added.
1090         * platform/wk2/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt:
1091         * platform/wk2/http/tests/loading/redirect-with-no-location-crash-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1092         * platform/wk2/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: Added.
1093         * platform/wk2/http/tests/loading/slow-parsing-subframe-expected.txt: Added.
1094         * platform/wk2/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: Added.
1095         * platform/wk2/http/tests/misc/window-dot-stop-expected.txt: Added.
1096         * platform/wk2/http/tests/navigation/redirect-preserves-fragment-expected.txt: Added.
1097         * platform/wk2/http/tests/navigation/redirect-to-fragment-expected.txt: Added.
1098         * platform/wk2/http/tests/navigation/redirect-to-invalid-url-expected.txt: Added.
1099         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt: Added.
1100         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Added.
1101         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-expected.txt: Added.
1102         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-in-body-expected.txt: Added.
1103         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-allow-expected.txt: Added.
1104         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-deny-expected.txt: Added.
1105         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt: Added.
1106         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt: Added.
1107         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt: Added.
1108         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt: Added.
1109         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt: Added.
1110         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Added.
1111         * platform/wk2/http/tests/security/blocked-on-redirect-expected.txt: Added.
1112         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1113         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-expected.txt: Added.
1114         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt: Added.
1115         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
1116         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe-expected.txt: Added.
1117         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame-expected.txt: Added.
1118         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-expected.txt: Added.
1119         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: Added.
1120         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy-expected.txt: Added.
1121         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Added.
1122         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
1123         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy-expected.txt: Added.
1124         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe-expected.txt: Added.
1125         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
1126         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-expected.txt: Added.
1127         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy-expected.txt: Added.
1128         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
1129         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt: Added.
1130         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt: Added.
1131         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe-expected.txt: Added.
1132         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame-expected.txt: Added.
1133         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1134         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1135         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
1136         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt: Added.
1137         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1138         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1139         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1140         * platform/wk2/http/tests/security/http-0.9/iframe-blocked-expected.txt: Added.
1141         * platform/wk2/http/tests/security/mixedContent/about-blank-iframe-in-main-frame-expected.txt: Added.
1142         * platform/wk2/http/tests/security/mixedContent/data-url-iframe-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1143         * platform/wk2/http/tests/security/mixedContent/data-url-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1144         * platform/wk2/http/tests/security/mixedContent/empty-url-plugin-in-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1145         * platform/wk2/http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1146         * platform/wk2/http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt: Added.
1147         * platform/wk2/http/tests/security/mixedContent/insecure-css-with-secure-cookies-expected.txt: Added.
1148         * platform/wk2/http/tests/security/mixedContent/insecure-executable-css-with-secure-cookies-expected.txt: Added.
1149         * platform/wk2/http/tests/security/mixedContent/insecure-form-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1150         * platform/wk2/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt: Added.
1151         * platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-iframe-expected.txt: Added.
1152         * platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt: Added.
1153         * platform/wk2/http/tests/security/mixedContent/insecure-image-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1154         * platform/wk2/http/tests/security/mixedContent/javascript-url-form-in-main-frame-expected.txt: Added.
1155         * platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt: Added.
1156         * platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt: Added.
1157         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt: Added.
1158         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-block-expected.txt: Added.
1159         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-expected.txt: Added.
1160         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1161         * platform/wk2/http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1162         * platform/wk2/inspector/page/frameScheduledNavigation-expected.txt: Added.
1163         * platform/wk2/loader/go-back-cached-main-resource-expected.txt: Added.
1164         * platform/wk2/webarchive/loading/mainresource-null-mimetype-crash-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1165         * platform/wk2/webarchive/loading/test-loading-archive-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1166         * platform/wk2/webarchive/loading/video-in-webarchive-expected.txt: Renamed from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1167
1168 2018-03-19  Chris Dumez  <cdumez@apple.com>
1169
1170         WebKit.WebsitePoliciesAutoplayQuirks API test times out with async policy delegates
1171         https://bugs.webkit.org/show_bug.cgi?id=183702
1172         <rdar://problem/38566060>
1173
1174         Reviewed by Alex Christensen.
1175
1176         Add variant of fast/loader/inner-iframe-loads-data-url-into-parent-on-unload-crash.html with async navigation
1177         delegate since the previous iteration of this patch broke this test case.
1178
1179         * fast/loader/inner-iframe-loads-data-url-into-parent-on-unload-crash-async-delegate-expected.txt: Added.
1180         * fast/loader/inner-iframe-loads-data-url-into-parent-on-unload-crash-async-delegate.html: Added.
1181
1182 2018-03-17  Jiewen Tan  <jiewen_tan@apple.com>
1183
1184         [WebAuthN] Implement authenticatorMakeCredential
1185         https://bugs.webkit.org/show_bug.cgi?id=183527
1186         <rdar://problem/35275886>
1187
1188         Reviewed by Brent Fulgham.
1189
1190         * http/wpt/credential-management/credentialscontainer-store-basics.https.html:
1191         * http/wpt/webauthn/idl.https.html:
1192         * http/wpt/webauthn/public-key-credential-create-success.https.html:
1193
1194 2018-03-16  Brent Fulgham  <bfulgham@apple.com>
1195
1196         Correct debug assertion in Range::borderAndTextRects
1197         https://bugs.webkit.org/show_bug.cgi?id=183710
1198         <rdar://problem/38466976>
1199
1200         Reviewed by Ryosuke Niwa.
1201
1202         * fast/dom/Range/range-selection-empty-body-expected.txt: Added.
1203         * fast/dom/Range/range-selection-empty-body.html: Added.
1204
1205 2018-03-16  Youenn Fablet  <youenn@apple.com>
1206
1207         Add a test verifying that an AppCache manifest request includes credentials
1208         https://bugs.webkit.org/show_bug.cgi?id=183716
1209
1210         Reviewed by Chris Dumez.
1211
1212         * http/tests/appcache/appcache-cookies-expected.txt: Added.
1213         * http/tests/appcache/appcache-cookies.html: Added.
1214         * http/tests/appcache/resources/appcache-cookies-test.html: Added.
1215         * http/tests/appcache/resources/manifest-if-cookie.php: Added.
1216
1217 2018-03-15  Ryan Haddad  <ryanhaddad@apple.com>
1218
1219         Skip editing/pasteboard/data-transfer-get-data-on-pasting-html-uses-blob-url.html on iOS.
1220         https://bugs.webkit.org/show_bug.cgi?id=183219
1221
1222         Unreviewed test gardening.
1223
1224         * platform/ios/TestExpectations:
1225
1226 2018-03-16  Joanmarie Diggs  <jdiggs@igalia.com>
1227
1228         AX: AccessibilityNodeObject::textForLabelElement() doesn't follow AccName calculation rules
1229         https://bugs.webkit.org/show_bug.cgi?id=183661
1230
1231         Reviewed by Chris Fleizach.
1232
1233         * accessibility/aria-label-on-label-element-expected.txt: Moved from Mac tests to shared tests.
1234         * accessibility/aria-label-on-label-element.html: Moved from Mac tests to shared tests.
1235         * accessibility/label-with-pseudo-elements-expected.txt: Added.
1236         * accessibility/label-with-pseudo-elements.html: Added.
1237         * platform/gtk/accessibility/aria-label-on-label-element-expected.txt: Added.
1238         * platform/gtk/accessibility/label-with-pseudo-elements-expected.txt: Added.
1239         * platform/mac/accessibility/label-with-pseudo-elements-expected.txt: Added.
1240         * platform/win/accessibility/label-with-pseudo-elements-expected.txt: Added.
1241
1242 2018-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1243
1244         [WPE] Rebaseline for web-platform-tests specific test
1245
1246         Unreviewed gardening.
1247         * platform/wpe/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt:
1248
1249 2018-03-16  Claudio Saavedra  <csaavedra@igalia.com>
1250
1251         [GTK][WPE] Remove baselines for FileAPI test.
1252
1253         Unreviewed gardening. Now with service workers the results in both
1254         WPE and GTK+ are the same as the default expectation.
1255         * platform/gtk/imported/w3c/web-platform-tests/FileAPI/historical.https-expected.txt: Removed.
1256         * platform/wpe/imported/w3c/web-platform-tests/FileAPI/historical.https-expected.txt: Removed.
1257
1258 2018-03-15  Matt Lewis  <jlewis3@apple.com>
1259
1260         Rebaselined test on macOS WK1 after r229642.
1261
1262         Unreviewed test gardening.
1263
1264         * platform/mac-wk1/fast/forms/file/entries-api/webkitdirectory-open-panel-expected.txt:
1265
1266 2018-03-15  Chris Dumez  <cdumez@apple.com>
1267
1268         Unreviewed, mark location-protocol-setter-non-broken-async-delegate.html as flaky on all platforms, not just WK1
1269
1270         * TestExpectations:
1271         * platform/mac-wk1/TestExpectations:
1272
1273 2018-03-15  Youenn Fablet  <youenn@apple.com>
1274
1275         Bad configuration parameters should make RTCPeerConnection constructor throw
1276         https://bugs.webkit.org/show_bug.cgi?id=183615
1277
1278         Reviewed by Eric Carlson.
1279
1280         Removed tests that are subsumed by WPT ones.
1281
1282         * fast/mediastream/RTCPeerConnection-expected.txt: Removed.
1283         * fast/mediastream/RTCPeerConnection-getConfiguration-expected.txt: Removed.
1284         * fast/mediastream/RTCPeerConnection-getConfiguration.html: Removed.
1285         * fast/mediastream/RTCPeerConnection.html: Removed.
1286         * platform/gtk/TestExpectations:
1287         * platform/ios/TestExpectations:
1288
1289 2018-03-15  Youenn Fablet  <youenn@apple.com>
1290
1291         replaceTrack triggers negotiationneeded
1292         https://bugs.webkit.org/show_bug.cgi?id=180342
1293         <rdar://problem/35822426>
1294
1295         Reviewed by Eric Carlson.
1296
1297         * webrtc/video-replace-track.html:
1298
1299 2018-03-15  Chris Dumez  <cdumez@apple.com>
1300
1301         webkitdirectory-open-panel stumbles over unordered results
1302         https://bugs.webkit.org/show_bug.cgi?id=183643
1303
1304         Reviewed by Wenson Hsieh.
1305
1306         Update fast/forms/file/entries-api/webkitdirectory-open-panel.html to not rely on a
1307         specific file ordering when checking input.files.
1308
1309         * fast/forms/file/entries-api/webkitdirectory-open-panel-expected.txt:
1310         * fast/forms/file/entries-api/webkitdirectory-open-panel.html:
1311
1312 2018-03-15  Youenn Fablet  <youenn@apple.com>
1313
1314         Layout Test http/wpt/service-workers/update-service-worker.https.html is flaky
1315         https://bugs.webkit.org/show_bug.cgi?id=181753
1316         <rdar://problem/36605091>
1317
1318         Unreviewed.
1319
1320         * platform/mac-wk2/TestExpectations: Test is no longer flaky on High Sierra Release.
1321
1322 2018-03-15  Youenn Fablet  <youenn@apple.com>
1323
1324         MessagePort is not always destroyed on the right thread
1325         https://bugs.webkit.org/show_bug.cgi?id=183619
1326         <rdar://problem/38204711>
1327
1328         Reviewed by Chris Dumez.
1329
1330         * TestExpectations:
1331         * http/tests/workers/worker-messageport-2-expected.txt: Added.
1332         * http/tests/workers/worker-messageport-2.html: Added.
1333
1334 2018-03-15  Ms2ger  <Ms2ger@igalia.com>
1335
1336         [GTK][WPE] Enable service workers
1337         https://bugs.webkit.org/show_bug.cgi?id=178576
1338
1339         Reviewed by Žan Doberšek.
1340
1341         * platform/wpe/TestExpectations: update remaining expectations to point to another bug.
1342
1343 2018-03-14  Devin Rousso  <webkit@devinrousso.com>
1344
1345         Web Inspector: Canvas: a recording initiated by the user should be shown immediately on completion
1346         https://bugs.webkit.org/show_bug.cgi?id=183647
1347         <rdar://problem/38479187>
1348
1349         Reviewed by Matt Baker.
1350
1351         * inspector/canvas/recording-2d.html:
1352         Reorder the agent calls so that the CanvasManager `_recordingCanvas` state variable has a
1353         chance to properly update after a recording is stopped.
1354
1355 2018-03-14  Ryan Haddad  <ryanhaddad@apple.com>
1356
1357         Unreviewed, rolling out r229613.
1358
1359         Caused API test failures
1360
1361         Reverted changeset:
1362
1363         "Make policy decisions asynchronous"
1364         https://bugs.webkit.org/show_bug.cgi?id=180568
1365         https://trac.webkit.org/changeset/229613
1366
1367 2018-03-14  Youenn Fablet  <youenn@apple.com>
1368
1369         MessagePort should remove its listeners when being closed
1370         https://bugs.webkit.org/show_bug.cgi?id=183644
1371
1372         Reviewed by Chris Dumez.
1373
1374         * http/tests/workers/resources/messageport-echo-worker.js: Added.
1375         * http/tests/workers/worker-messageport-expected.txt: Added.
1376         * http/tests/workers/worker-messageport.html: Added.
1377
1378 2018-03-14  Chris Dumez  <cdumez@apple.com>
1379
1380         Make policy decisions asynchronous
1381         https://bugs.webkit.org/show_bug.cgi?id=180568
1382         <rdar://problem/37131297>
1383
1384         Reviewed by Alex Christensen.
1385
1386         Rebaseline tests for WebKit2. The issue is that some tests dump policy delegate calls
1387         and things now happen in a slightly different order now that those delegates are
1388         asynchronous.
1389
1390         * TestExpectations:
1391         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt:
1392         * platform/ios/http/tests/loading/simple-subframe-expected.txt:
1393         * platform/mac-wk2/http/tests/loading/simple-subframe-expected.txt: Copied from LayoutTests/platform/ios/http/tests/loading/simple-subframe-expected.txt.
1394         * platform/wk2/fast/loader/fragment-navigation-base-blank-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1395         * platform/wk2/fast/loader/iframe-meta-refresh-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
1396         * platform/wk2/fast/loader/iframe-set-location-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
1397         * platform/wk2/fast/loader/main-document-url-for-non-http-loads-expected.txt: Added.
1398         * platform/wk2/fast/loader/refresh-iframe-base-blank-expected.txt: Copied from LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt.
1399         * platform/wk2/fast/loader/subframe-removes-itself-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1400         * platform/wk2/http/tests/contentdispositionattachmentsandbox/cross-origin-frames-disabled-expected.txt: Added.
1401         * platform/wk2/http/tests/contentextensions/block-everything-unless-domain-expected.txt: Added.
1402         * platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt:
1403         * platform/wk2/http/tests/loading/bad-server-subframe-expected.txt: Added.
1404         * platform/wk2/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes-expected.txt:
1405         * platform/wk2/http/tests/loading/redirect-with-no-location-crash-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1406         * platform/wk2/http/tests/loading/server-redirect-for-provisional-load-caching-expected.txt: Added.
1407         * platform/wk2/http/tests/loading/slow-parsing-subframe-expected.txt: Added.
1408         * platform/wk2/http/tests/misc/will-send-request-returns-null-on-redirect-expected.txt: Added.
1409         * platform/wk2/http/tests/misc/window-dot-stop-expected.txt: Added.
1410         * platform/wk2/http/tests/navigation/redirect-preserves-fragment-expected.txt: Added.
1411         * platform/wk2/http/tests/navigation/redirect-to-fragment-expected.txt: Added.
1412         * platform/wk2/http/tests/navigation/redirect-to-invalid-url-expected.txt: Added.
1413         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt: Added.
1414         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt: Added.
1415         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-expected.txt: Added.
1416         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-in-body-expected.txt: Added.
1417         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-allow-expected.txt: Added.
1418         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-ignore-deny-meta-tag-parent-same-origin-deny-expected.txt: Added.
1419         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt: Added.
1420         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-conflict-expected.txt: Added.
1421         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-allow-expected.txt: Added.
1422         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-multiple-headers-sameorigin-deny-expected.txt: Added.
1423         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-allow-expected.txt: Added.
1424         * platform/wk2/http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt: Added.
1425         * platform/wk2/http/tests/security/blocked-on-redirect-expected.txt: Added.
1426         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1427         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-expected.txt: Added.
1428         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt: Added.
1429         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
1430         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe-expected.txt: Added.
1431         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame-expected.txt: Added.
1432         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-expected.txt: Added.
1433         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: Added.
1434         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy-expected.txt: Added.
1435         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Added.
1436         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
1437         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy-expected.txt: Added.
1438         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe-expected.txt: Added.
1439         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
1440         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-expected.txt: Added.
1441         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy-expected.txt: Added.
1442         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt.
1443         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt: Added.
1444         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt: Added.
1445         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe-expected.txt: Added.
1446         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame-expected.txt: Added.
1447         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1448         * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1449         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
1450         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt: Added.
1451         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1452         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1453         * platform/wk2/http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1454         * platform/wk2/http/tests/security/http-0.9/iframe-blocked-expected.txt: Added.
1455         * platform/wk2/http/tests/security/mixedContent/about-blank-iframe-in-main-frame-expected.txt: Added.
1456         * platform/wk2/http/tests/security/mixedContent/data-url-iframe-in-main-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1457         * platform/wk2/http/tests/security/mixedContent/data-url-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1458         * platform/wk2/http/tests/security/mixedContent/empty-url-plugin-in-frame-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1459         * platform/wk2/http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1460         * platform/wk2/http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt: Added.
1461         * platform/wk2/http/tests/security/mixedContent/insecure-css-with-secure-cookies-expected.txt: Added.
1462         * platform/wk2/http/tests/security/mixedContent/insecure-executable-css-with-secure-cookies-expected.txt: Added.
1463         * platform/wk2/http/tests/security/mixedContent/insecure-form-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1464         * platform/wk2/http/tests/security/mixedContent/insecure-form-in-main-frame-expected.txt: Added.
1465         * platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-iframe-expected.txt: Added.
1466         * platform/wk2/http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt: Added.
1467         * platform/wk2/http/tests/security/mixedContent/insecure-image-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1468         * platform/wk2/http/tests/security/mixedContent/javascript-url-form-in-main-frame-expected.txt: Added.
1469         * platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt: Added.
1470         * platform/wk2/http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt: Added.
1471         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt: Added.
1472         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-block-expected.txt: Added.
1473         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-image-secure-cookies-expected.txt: Added.
1474         * platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1475         * platform/wk2/http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1476         * platform/wk2/inspector/page/frameScheduledNavigation-expected.txt: Added.
1477         * platform/wk2/loader/go-back-cached-main-resource-expected.txt: Added.
1478         * platform/wk2/webarchive/loading/mainresource-null-mimetype-crash-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1479         * platform/wk2/webarchive/loading/test-loading-archive-expected.txt: Copied from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1480         * platform/wk2/webarchive/loading/video-in-webarchive-expected.txt: Renamed from LayoutTests/platform/mac/webarchive/loading/mainresource-null-mimetype-crash-expected.txt.
1481
1482 2018-03-14  Ryan Haddad  <ryanhaddad@apple.com>
1483
1484         Skip three svg LayoutTests.
1485         https://bugs.webkit.org/show_bug.cgi?id=183572
1486
1487         Unreviewed test gardening.
1488
1489         * TestExpectations:
1490
1491 2018-03-14  Alicia Boya García  <aboya@igalia.com>
1492
1493         Unreviewed GTK test gardening.
1494         https://bugs.webkit.org/show_bug.cgi?id=183636
1495
1496         * platform/gtk/TestExpectations:
1497
1498 2018-03-14  Chris Fleizach  <cfleizach@apple.com>
1499
1500         AX: Implement accessible dismiss action on iOS
1501         https://bugs.webkit.org/show_bug.cgi?id=183352
1502         <rdar://problem/38161500>
1503
1504         Reviewed by Zalan Bujtas.
1505
1506         * accessibility/ios-simulator/AOM-dismiss-event-expected.txt: Added.
1507         * accessibility/ios-simulator/AOM-dismiss-event.html: Added.
1508         * platform/mac-wk1/TestExpectations:
1509
1510 2018-03-14  Youenn Fablet  <youenn@apple.com>
1511
1512         Update libwebrtc up to 36af4e9614f707f733eb2340fae66d6325aaac5b
1513         https://bugs.webkit.org/show_bug.cgi?id=183481
1514
1515         Reviewed by Eric Carlson.
1516
1517         * webrtc/video-stats.html:
1518
1519 2018-03-14  Frederic Wang  <fwang@igalia.com>
1520
1521         Finish migration to MathML WPT tests
1522         https://bugs.webkit.org/show_bug.cgi?id=183628
1523
1524         Reviewed by Manuel Rego Casasnovas.
1525
1526         In r225162, the MathML tests from the WPT repository were imported. They were intended to
1527         replace the ones in imported/mathml-in-html5 but the migration was not fully possible. The
1528         main issue was that many MathML tests use Web fonts to test the use of OpenType parameters
1529         but document.fonts.ready is unreliable in WebKit (bug 174030). A workaround was implemented
1530         in WPT ( https://github.com/w3c/web-platform-tests/pull/10025 ) so this commit finishes
1531         the migration. We update the WPT MathML tests and now run them all, we remove
1532         imported/mathml-in-html5 and the associated TestExpectations failures. Two cases unrelated to
1533         font loading are still failing: One for the SuperscriptShiftUpCramped parameter (bug 156401)
1534         and one for the RadicalDegreeBottomRaisePercent parameter (bug 183631).
1535
1536         * TestExpectations: Unskip MathML WPT tests.
1537         * imported/mathml-in-html5/LICENSE: Removed.
1538         * imported/mathml-in-html5/README.md: Removed.
1539         * imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1.html: Removed.
1540         * imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-2.html: Removed.
1541         * imported/mathml-in-html5/mathml/presentation-markup/radicals/root-parameters-1.html: Removed.
1542         * imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-parameters-1.html: Removed.
1543         * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-1.html: Removed.
1544         * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-2.html: Removed.
1545         * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-3.html: Removed.
1546         * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-4.html: Removed.
1547         * platform/mac-wk2/TestExpectations: Remove the expectation.
1548         * platform/win/TestExpectations: Remove the expectation.
1549
1550 2018-03-13  John Wilander  <wilander@apple.com>
1551
1552         Resource Load Statistics: Immediately forward cookie access for domains with previous user interaction when there's an opener document
1553         https://bugs.webkit.org/show_bug.cgi?id=183620
1554         <rdar://problem/38431469>
1555
1556         Reviewed by Brent Fulgham.
1557
1558         * http/tests/storageAccess/deny-storage-access-under-opener-expected.txt: Added.
1559         * http/tests/storageAccess/deny-storage-access-under-opener.html: Added.
1560         * http/tests/storageAccess/grant-storage-access-under-opener-expected.txt: Added.
1561         * http/tests/storageAccess/grant-storage-access-under-opener.html: Added.
1562         * http/tests/storageAccess/resources/set-cookie-and-report-back.html: Added.
1563         * platform/ios/TestExpectations:
1564             New tests marked as [ Pass ].
1565         * platform/mac-wk2/TestExpectations:
1566             New tests marked as [ Pass ].
1567
1568 2018-03-13  Youenn Fablet  <youenn@apple.com>
1569
1570         Layout Test imported/w3c/web-platform-tests/service-workers/service-worker/register-closed-window.https.html is flaky
1571         https://bugs.webkit.org/show_bug.cgi?id=182853
1572         <rdar://problem/37645429>
1573
1574         Reviewed by Chris Dumez.
1575
1576         * TestExpectations:
1577         * platform/ios/TestExpectations:
1578
1579 2018-03-13  Michael Catanzaro  <mcatanzaro@igalia.com>
1580
1581         Unreviewed GTK expectations gardening
1582
1583         * platform/gtk/TestExpectations:
1584
1585 2018-03-13  Youenn Fablet  <youenn@apple.com>
1586
1587         Changing link element rel attribute from preload to stylesheet should succeed loading the stylesheet
1588         https://bugs.webkit.org/show_bug.cgi?id=183601
1589         <rdar://problem/38309441>
1590
1591         Reviewed by Antti Koivisto.
1592
1593         * http/wpt/preload/change-link-rel-attribute-expected.txt: Added.
1594         * http/wpt/preload/change-link-rel-attribute.html: Added.
1595         * http/wpt/preload/resources/style.css: Added.
1596         (body):
1597
1598 2018-03-13  Frederic Wang  <fwang@igalia.com>
1599
1600         Skip mathml-in-dashboard-expected on Windows
1601         https://bugs.webkit.org/show_bug.cgi?id=183562
1602
1603         There is no dashboard compatibility mode on Windows so the test is not necessary.
1604
1605         Reviewed by Alexey Proskuryakov.
1606
1607         * platform/win/TestExpectations: Skip test.
1608         * platform/win/mathml/mathml-in-dashboard-expected.png: Removed.
1609         * platform/win/mathml/mathml-in-dashboard-expected.txt: Removed.
1610
1611 2018-03-13  Chris Dumez  <cdumez@apple.com>
1612
1613         fast/loader/javascript-url-iframe-remove-on-navigate.html is flaky with async policy delegates
1614         https://bugs.webkit.org/show_bug.cgi?id=183588
1615
1616         Reviewed by Alex Christensen.
1617
1618         The test was setting the frame's src to a javascript URL in a setTimeout(0), expecting the
1619         navigation policy delegate to have already completed. However, with asynchronous policy
1620         delegates, this is not necessarily the case. Therefore, we now wait for the beforeunload
1621         event to be fired at the window, since this indicates a policy decision has been made and
1622         we are actually navigating.
1623
1624         I checked that this test was printing the "FAIL" alert in both Firefox and Chrome before
1625         this change.
1626
1627         * fast/loader/javascript-url-iframe-remove-on-navigate-async-delegate-expected.txt: Added.
1628         * fast/loader/javascript-url-iframe-remove-on-navigate-async-delegate.html: Added.
1629         * fast/loader/javascript-url-iframe-remove-on-navigate.html:
1630
1631 2018-03-13  Ross Kirsling  <ross.kirsling@sony.com>
1632
1633         [Win] Layout Test fast/html/menuitem-element.html is failing.
1634         https://bugs.webkit.org/show_bug.cgi?id=179299
1635
1636         Reviewed by Per Arne Vollan.
1637
1638         * platform/win/TestExpectations:
1639         Remove "failure" line.
1640
1641 2018-03-13  Danyao Wang  <danyao@chromium.org>
1642
1643         LayoutTests/http/tests/navigation/page-cache-iframe-provisional-load.html fails with async policy delegate
1644         https://bugs.webkit.org/show_bug.cgi?id=183386
1645
1646         Reviewed by Chris Dumez.
1647
1648         This test relies on the happenstance that with sync poicy decision, the subframe transitions
1649         to FrameLoadProvisional before main frame navigation is committed. With async delegate,
1650         policy checks for the main frame and subframe are interleaved. When the main frame policy
1651         decision is received, it cancels the subframe check. So the page ends up being cached when
1652         navigating away. This is working as intended.
1653
1654         * http/tests/navigation/page-cache-iframe-provisional-load-async-delegates-expected.txt: Added.
1655         * http/tests/navigation/page-cache-iframe-provisional-load-async-delegates.html: Copied from LayoutTests/http/tests/navigation/page-cache-iframe-provisional-load.html.
1656         Add a new version of the test that forces async policy delegate.
1657
1658         * http/tests/navigation/page-cache-iframe-provisional-load.html:
1659         Update test to sequence main frame navigation after start of provisional navigation in subframe.
1660
1661 2018-03-13  Frederic Wang  <fwang@igalia.com>
1662
1663         Rewrite frameset-flattening-simple to make expectation clearer
1664         https://bugs.webkit.org/show_bug.cgi?id=183129
1665
1666         The description of fast/frames/flattening/frameset-flattening-simple.html says that the
1667         iframe should be 800px wide and should not have any scrollbars. However, it is a bit
1668         difficult to know the size when checking the test visually. Moreover, the scrollbars of the
1669         main frame are visible, which makes things a bit confusing and may be the cause of bug 71655
1670         on GTK.
1671
1672         Reviewed by Javier Fernandez.
1673
1674         * fast/frames/flattening/frameset-flattening-simple.html: Put the frame inside a 200x300
1675         frameset cell and set its width to 300px. The frame should be a 300x300 square when it is
1676         flattened (test passes) and a 200x300 rectangle when it is not (test fails). That's easier
1677         to verify visually. That also avoids scrollbars on the main frame.
1678         * platform/gtk/TestExpectations: Attempt to remove flacky expectation.
1679         * platform/gtk/fast/frames/flattening/frameset-flattening-simple-expected.png: Update.
1680         * platform/gtk/fast/frames/flattening/frameset-flattening-simple-expected.txt: Ditto.
1681         * platform/ios/fast/frames/flattening/frameset-flattening-simple-expected.txt: Ditto.
1682         * platform/mac-wk2/fast/frames/flattening/frameset-flattening-simple-expected.txt: Ditto.
1683         * platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.png: Ditto.
1684         * platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.txt: Ditto.
1685         * platform/win/fast/frames/flattening/frameset-flattening-simple-expected.txt: Ditto.
1686
1687 2018-03-12  Chris Dumez  <cdumez@apple.com>
1688
1689         Load may get committed before receiving policy for the resource response
1690         https://bugs.webkit.org/show_bug.cgi?id=183579
1691         <rdar://problem/38268780>
1692
1693         Reviewed by Youenn Fablet.
1694
1695         Add layout test coverage.
1696
1697         * http/tests/cache/cachedEntry-waits-for-response-policy-expected.txt: Added.
1698         * http/tests/cache/cachedEntry-waits-for-response-policy.html: Added.
1699
1700 2018-03-12  Ali Juma  <ajuma@chromium.org>
1701
1702         http/tests/workers/service/service-worker-download.https.html times out with async policy delegates
1703         https://bugs.webkit.org/show_bug.cgi?id=183479
1704
1705         Reviewed by Youenn Fablet.
1706
1707         Add layout test coverage.
1708
1709         * http/tests/workers/service/service-worker-download-async-delegates.https-expected.txt: Added.
1710         * http/tests/workers/service/service-worker-download-async-delegates.https.html: Added.
1711
1712 2018-03-12  Chris Dumez  <cdumez@apple.com>
1713
1714         http/tests/security/frame-loading-via-document-write-async-delegates.html fails with async delegates
1715         https://bugs.webkit.org/show_bug.cgi?id=183460
1716
1717         Reviewed by Alex Christensen.
1718
1719         The test has 3 frames which all initially load "about:blank". Then using document.write(), it inserts
1720         HTML in each frame.
1721         Frame 1: body has an onload event handler, which calls JS is click an anchor link to navigate the frame.
1722         Frame 2: body has an onload event handler to do some logging
1723         Frame 3: body has an onload event handler and finishes the test (calls testRunner.notifyDone())
1724
1725         The issue is that with asynchronous policy delegates, the first frame may not have navigated yet by the
1726         time the third frame is loaded. Indeed, the onload event of the first frame merely clicks am anchor link
1727         which will trigger a navigation policy check and then later navigate.
1728
1729         To make the test more robust, we now count the number of loads and call testRunner.notifyDone() when
1730         we've reached the expected number of loads.
1731
1732         * http/tests/security/frame-loading-via-document-write-async-delegates-expected.txt: Added.
1733         * http/tests/security/frame-loading-via-document-write-async-delegates.html: Copied from LayoutTests/http/tests/security/frame-loading-via-document-write.html.
1734         * http/tests/security/frame-loading-via-document-write.html:
1735         * http/tests/security/resources/frame-loading-via-document-write.js:
1736
1737 2018-03-12  Per Arne Vollan  <pvollan@apple.com>
1738
1739         Mark webanimations/css-animations.html and webanimations/css-transitions.html as failures on Windows.
1740         https://bugs.webkit.org/show_bug.cgi?id=183569
1741
1742         Unreviewed test gardening.
1743
1744         * platform/win/TestExpectations:
1745
1746 2018-03-12  Frederic Wang  <fwang@igalia.com>
1747
1748         Do not rely on Latin Modern Math to test fraction/radical bars
1749         https://bugs.webkit.org/show_bug.cgi?id=183446
1750
1751         Reviewed by Manuel Rego Casasnovas.
1752
1753         mathml/opentype/fraction-line.html was added in bug 155639 to test OpenType MATH parameters
1754         for fraction but relies on the presence of the Latin Modern Math font, which is not available
1755         on several platforms. Since these features are now already covered by the Web Platform
1756         tests in Layout/imported/mathml-in-html5/mathml/presentation-markup/fractions/ we just remove
1757         the test. Similarly, mathml/presentation/fractions-linethickness.html relies on Latin Modern
1758         Math to ensure correct linethickness and we rewrite that test to use the web font
1759         fraction-rulethickness10000.woff instead. We perform similar rewriting for
1760         radical-bar-visibility.html, using a WOFF font with a specified radical line thickness.
1761         Finally, we update the test expectations accordingly on iOS, macOS and Windows platform.
1762
1763         * mathml/opentype/fraction-line.html: Removed. Already tested by other tests.
1764         * mathml/opentype/fraction-line-expected.html: Ditto.
1765         * mathml/presentation/fractions-linethickness.html: Use fraction-rulethickness10000.woff
1766         * mathml/presentation/fractions-linethickness-expected.html: Ditto.
1767         * mathml/presentation/radical-bar-visibility.html: Use radical-degreebottomraisepercent25-rulethickness1000.woff
1768         * platform/ios/TestExpectations: Update expectations.
1769         * platform/mac/TestExpectations: Ditto.
1770         * platform/win/TestExpectations: Ditto.
1771
1772 2018-03-12  Javier Fernandez  <jfernandez@igalia.com>
1773
1774         Remove GridLayout runtime flag
1775         https://bugs.webkit.org/show_bug.cgi?id=183484
1776
1777         Reviewed by Myles C. Maxfield.
1778
1779         Since the GridLayout runtime flag is removed and the feature
1780         enabled by default, we don't need the tests verifying the
1781         codepaths run when the feature is disabled.
1782
1783         * css3/flexbox/flexbox-lines-must-be-stretched-by-default.html:
1784         * css3/flexbox/new-alignment-values-invalid-if-grid-not-enabled-expected.txt: Removed.
1785         * css3/flexbox/new-alignment-values-invalid-if-grid-not-enabled.html: Removed.
1786         * fast/css-grid-layout/grid-disable-expected.txt: Removed.
1787         * fast/css-grid-layout/grid-disable.html: Removed.
1788         * fast/css/ensure-flexbox-compatibility-with-initial-values-expected.txt: Removed.
1789         * fast/css/ensure-flexbox-compatibility-with-initial-values.html: Removed.
1790
1791 2018-03-12  Antoine Quint  <graouts@apple.com>
1792
1793         [Web Animations] Implement CSS Animations and CSS Transitions as Web Animations
1794         https://bugs.webkit.org/show_bug.cgi?id=183504
1795         <rdar://problem/38372965>
1796
1797         Reviewed by Dean Jackson and Jon Lee.
1798
1799         Add a series of new tests to check CSSAnimation and CSSTransition objects are correctly created
1800         as CSS animation-* and CSS transition-* properties are used. We also update some existing tests
1801         to use a more concise API since we've implement Element.animate() since their creation.
1802
1803         * webanimations/animation-opacity-animation-crash.html:
1804         * webanimations/css-animations-expected.txt: Added.
1805         * webanimations/css-animations.html: Added.
1806         * webanimations/css-transitions-expected.txt: Added.
1807         * webanimations/css-transitions.html: Added.
1808         * webanimations/opacity-animation-no-longer-composited-upon-completion.html:
1809         * webanimations/opacity-animation-yields-compositing.html:
1810
1811 2018-03-09  Zalan Bujtas  <zalan@apple.com>
1812
1813         Turn off offset*/scroll* optimization for input elements with shadow content
1814         https://bugs.webkit.org/show_bug.cgi?id=182383
1815         <rdar://problem/37114190>
1816
1817         Reviewed by Antti Koivisto.
1818
1819         * fast/forms/scrollheight-with-mutation-crash-expected.txt: Added.
1820         * fast/forms/scrollheight-with-mutation-crash.html: Added.
1821
1822 2018-03-10  Wenson Hsieh  <wenson_hsieh@apple.com>
1823
1824         [macOS] Copying a table from the Numbers app and pasting into iCloud Numbers fails
1825         https://bugs.webkit.org/show_bug.cgi?id=183485
1826         <rdar://problem/38041984>
1827
1828         Reviewed by Ryosuke Niwa.
1829
1830         Rebaseline some pasteboard-related layout tests, in which we now expose text/plain alongside files that were
1831         written to the DataTransfer by the page itself.
1832
1833         * editing/pasteboard/data-transfer-item-list-add-file-multiple-times-expected.txt:
1834         * editing/pasteboard/data-transfer-item-list-add-file-on-copy-expected.txt:
1835         * editing/pasteboard/data-transfer-item-list-add-file-on-drag-expected.txt:
1836
1837 2018-03-09  Chris Dumez  <cdumez@apple.com>
1838
1839         inspector/page/frameScheduledNavigation.html has different output with async policy delegates
1840         https://bugs.webkit.org/show_bug.cgi?id=183469
1841
1842         Reviewed by Ryosuke Niwa.
1843
1844         The test tracks 3 internal events:
1845         1. frameScheduledNavigation
1846         2. frameStartedLoading
1847         3. frameClearedScheduledNavigation
1848
1849         Without async policy delegates, the events happen in this order. However, with asynchronous
1850         policy delegates, frameStartedLoading happens *after* frameClearedScheduledNavigation. What
1851         happens *before* frameClearedScheduledNavigation is the navigation policy check. When we
1852         get the policy response to continue (asynchronously), we then actually start the load and
1853         frameStartedLoading gets logged.
1854
1855         * inspector/page/frameScheduledNavigation-async-delegates-expected.txt: Added.
1856         * inspector/page/frameScheduledNavigation-async-delegates.html: Copied from LayoutTests/inspector/page/frameScheduledNavigation.html.
1857         * inspector/page/frameScheduledNavigation.html:
1858
1859 2018-03-09  Chris Fleizach  <cfleizach@apple.com>
1860
1861         AX: WebKit seems to be running spell checker even on non-editable content text
1862         https://bugs.webkit.org/show_bug.cgi?id=183456
1863         <rdar://problem/38076042>
1864
1865         Reviewed by Joanmarie Diggs.
1866
1867         * accessibility/mac/attributed-string/attributed-string-does-not-includes-misspelled-for-non-editable-expected.txt: Added.
1868         * accessibility/mac/attributed-string/attributed-string-does-not-includes-misspelled-for-non-editable.html: Added.
1869         * accessibility/mac/attributed-string/attributed-string-for-range-with-options.html:
1870         * accessibility/mac/attributed-string/attributed-string-for-range.html:
1871              Update tests to reflect that only editable content returns misspelled attributes.
1872
1873 2018-03-09  Nan Wang  <n_wang@apple.com>
1874
1875         AX: AOM: More accessibility events support
1876         https://bugs.webkit.org/show_bug.cgi?id=183023
1877         <rdar://problem/37764380>
1878
1879         Reviewed by Chris Fleizach.
1880
1881         * accessibility/mac/AOM-events-webarea-crash.html:
1882
1883 2018-03-09  Ryan Haddad  <ryanhaddad@apple.com>
1884
1885         Unreviewed, rolling out r229468.
1886
1887         This change caused http/tests/security/frame-loading-via-
1888         document-write.html to fail.
1889
1890         Reverted changeset:
1891
1892         "http/tests/security/frame-loading-via-document-write-async-
1893         delegates.html fails with async delegates"
1894         https://bugs.webkit.org/show_bug.cgi?id=183460
1895         https://trac.webkit.org/changeset/229468
1896
1897 2018-03-09  Youenn Fablet  <youenn@apple.com>
1898
1899         ServiceWorker should respect IDB and DOMCache partitioning
1900         https://bugs.webkit.org/show_bug.cgi?id=183496
1901
1902         Reviewed by Brady Eidson.
1903
1904         * http/wpt/service-workers/resources/third-party-registration-frame.html: Added.
1905         * http/wpt/service-workers/resources/third-party-worker.js: Added.
1906         * http/wpt/service-workers/third-party-registration-expected.txt: Added.
1907         * http/wpt/service-workers/third-party-registration.html: Added.
1908
1909 2018-03-09  Jer Noble  <jer.noble@apple.com>
1910
1911         Add new CSS env constants for use with fullscreen
1912         https://bugs.webkit.org/show_bug.cgi?id=183498
1913
1914         Reviewed by Dean Jackson.
1915
1916         * fullscreen/full-screen-test.js:
1917         (run):
1918         * fullscreen/fullscreen-auto-hide-delay-expected.txt: Added.
1919         * fullscreen/fullscreen-auto-hide-delay.html: Added.
1920         * fullscreen/fullscreen-inset-top-expected.txt: Added.
1921         * fullscreen/fullscreen-inset-top.html: Added.
1922
1923 2018-03-09  Zalan Bujtas  <zalan@apple.com>
1924
1925         RenderTreeBuilder::splitAnonymousBoxesAroundChild should take multicolumn spanners into account.
1926         https://bugs.webkit.org/show_bug.cgi?id=183493
1927         <rdar://problem/38030461>
1928
1929         Reviewed by Antti Koivisto.
1930
1931         * fast/multicol/adjust-beforeChild-for-spanner-crash-expected.txt: Added.
1932         * fast/multicol/adjust-beforeChild-for-spanner-crash.html: Added.
1933
1934 2018-03-09  Basuke Suzuki  <Basuke.Suzuki@sony.com>
1935
1936         [webkitpy, WinCairo] Launch Apache HTTPD for HTTP Tests.
1937         https://bugs.webkit.org/show_bug.cgi?id=183265
1938
1939         Reviewed by Daniel Bates.
1940
1941         Launch apache httpd server from python script for WinCairo HTTP LayoutTests. By now, AppleWin uses
1942         Cygwin to launch httpd server. This patch enables native Windows to run HTTP LayoutTests by starting
1943         and stopping httpd server from the script.
1944
1945         * http/conf/win-httpd-2.4-php7.conf: Added.
1946         For WinCairo from native Windows environment.
1947
1948 2018-03-09  Chris Dumez  <cdumez@apple.com>
1949
1950         http/tests/security/frame-loading-via-document-write-async-delegates.html fails with async delegates
1951         https://bugs.webkit.org/show_bug.cgi?id=183460
1952
1953         Reviewed by Alex Christensen.
1954
1955         The test has 3 frames which all initially load "about:blank". Then using document.write(), it inserts
1956         HTML in each frame.
1957         Frame 1: body has an onload event handler, which calls JS is click an anchor link to navigate the frame.
1958         Frame 2: body has an onload event handler to do some logging
1959         Frame 3: body has an onload event handler and finishes the test (calls testRunner.notifyDone())
1960
1961         The issue is that with asynchronous policy delegates, the first frame may not have navigated yet by the
1962         time the third frame is loaded. Indeed, the onload event of the first frame merely clicks am anchor link
1963         which will trigger a navigation policy check and then later navigate.
1964
1965         To make the test more robust, we now count the number of loads and call testRunner.notifyDone() when
1966         we've reached the expected number of loads.
1967
1968         * http/tests/security/frame-loading-via-document-write-async-delegates-expected.txt: Added.
1969         * http/tests/security/frame-loading-via-document-write-async-delegates.html: Copied from LayoutTests/http/tests/security/frame-loading-via-document-write.html.
1970         * http/tests/security/frame-loading-via-document-write.html:
1971         * http/tests/security/resources/frame-loading-via-document-write.js:
1972
1973 2018-03-09  Jer Noble  <jer.noble@apple.com>
1974
1975         webkitfullscreenchange event not fired at the same time as :-webkit-full-screen pseudo selector changes; causes glitchiness
1976         https://bugs.webkit.org/show_bug.cgi?id=183383
1977
1978         Fix a couple tests that depended on non-standard behavior, and skip other tests to be fixed later.
1979
1980         Reviewed by Eric Carlson.
1981
1982         * media/fullscreen-video-going-into-pip.html:
1983         * media/video-fullscreeen-only-playback.html:
1984         * platform/mac/TestExpectations:
1985
1986 2018-03-09  Frederic Wang  <fwang@igalia.com>
1987
1988         Unreviewed GTK+ gardening.
1989
1990         * platform/gtk/TestExpectations: Skip test requiring DASHBOARD_SUPPORT.
1991         * platform/gtk/mathml/mathml-in-dashboard-expected.txt: Removed.
1992
1993 2018-03-09  Andy Estes  <aestes@apple.com>
1994
1995         [Mac] WebKit fails to receive file promises when the embedding app is sandboxed
1996         https://bugs.webkit.org/show_bug.cgi?id=183489
1997         <rdar://problem/38267517>
1998
1999         Reviewed by Wenson Hsieh.
2000
2001         Now that we create a unique temporary directory per drop, this test no longer encounters a
2002         name conflict for apple.gif.
2003
2004         * editing/pasteboard/file-input-files-access-promise-expected.txt:
2005         * editing/pasteboard/file-input-files-access-promise.html:
2006
2007 2018-03-09  Zan Dobersek  <zdobersek@igalia.com>
2008
2009         Unreviewed GTK+ gardening.
2010
2011         * platform/gtk/TestExpectations: Add a failure expectation for the
2012         http/tests/preconnect/link-header-rel-preconnect-http.html test.
2013         * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt:
2014         Update baseline after r229310.
2015
2016 2018-03-08  Nan Wang  <n_wang@apple.com>
2017
2018         AX: AOM: More accessibility events support
2019         https://bugs.webkit.org/show_bug.cgi?id=183023
2020         <rdar://problem/37764380>
2021
2022         Reviewed by Chris Fleizach.
2023
2024         * accessibility/mac/AOM-events-webarea-crash-expected.txt: Added.
2025         * accessibility/mac/AOM-events-webarea-crash.html: Added.
2026
2027 2018-03-08  Chris Dumez  <cdumez@apple.com>
2028
2029         Safari not handling undefined global variables with same name as element Id correctly.
2030         https://bugs.webkit.org/show_bug.cgi?id=183087
2031         <rdar://problem/37927596>
2032
2033         Reviewed by Ryosuke Niwa.
2034
2035         * fast/dom/Window/es52-globals-expected.txt:
2036         Rebaseline test now that we are passing more checks. This covers the code change.
2037
2038         * fast/forms/listbox-visible-size.html:
2039         * js/dom/var-declarations-shadowing-expected.txt:
2040         * js/dom/var-declarations-shadowing.html:
2041         Tweak existing tests due to behavior change. I have checked that these tests
2042         were failing in other browsers as well.
2043
2044 2018-03-08  Chris Dumez  <cdumez@apple.com>
2045
2046         fast/events/before-unload-returnValue.html times out with async policy delegates
2047         https://bugs.webkit.org/show_bug.cgi?id=183472
2048
2049         Reviewed by Ryosuke Niwa.
2050
2051         Delay setting the beforeunload handler on the iframe until after the initial load
2052         (of resources/onclick.html). With asynchronous policy delegates, the beforeunload
2053         handler was set too early, during the async policy decision for navigating to
2054         "resources/onclick.html". As a result, the beforeunload handler would get called
2055         for the load to "resources/onclick.html", after receiving the navigation policy
2056         decision, which the test does not expect. The test only expects the beforeunload
2057         handler to be called for later navigations to "resources/does-not-exist.html".
2058
2059         * fast/events/before-unload-returnValue-async-delegates-expected.txt: Copied from LayoutTests/fast/events/before-unload-returnValue-expected.txt.
2060         * fast/events/before-unload-returnValue-async-delegates.html: Copied from LayoutTests/fast/events/before-unload-returnValue.html.
2061         * fast/events/before-unload-returnValue-expected.txt:
2062         * fast/events/before-unload-returnValue.html:
2063
2064 2018-03-08  Chris Dumez  <cdumez@apple.com>
2065
2066         fast/html/marquee-reparent-check.html is flaky with async delegates
2067         https://bugs.webkit.org/show_bug.cgi?id=183425
2068
2069         Reviewed by Youenn Fablet.
2070
2071         The test was missing the "TEST COMPLETE" line at the end of its output.
2072         When enabling async delegates, the "TEST COMPLETE" line would sometimes
2073         show. Move the test away from js-test.js and to js-test-pre.js / js-test-post.js
2074         so that the "TEST COMPLETE" line gets printed out consistently.
2075
2076         * fast/html/marquee-reparent-check-expected.txt:
2077         * fast/html/marquee-reparent-check.html:
2078
2079 2018-03-08  Chris Dumez  <cdumez@apple.com>
2080
2081         Unreviewed, skip imported/w3c/web-platform-tests/cors/remote-origin.htm
2082
2083         This test is timing out via testharness.js, there is no point in running it and
2084         it slows down running layout tests.
2085
2086         * TestExpectations:
2087
2088 2018-03-08  Ryan Haddad  <ryanhaddad@apple.com>
2089
2090         Move a test from fast/DOM to fast/dom and delete the fast/DOM directory.
2091
2092         Unreviewed test gardening.
2093
2094         * fast/dom/HTMLInputElement/input-value-and-type-change-crash-expected.txt: Renamed from LayoutTests/fast/DOM/HTMLInputElement/input-value-and-type-change-crash-expected.txt.
2095         * fast/dom/HTMLInputElement/input-value-and-type-change-crash.html: Renamed from LayoutTests/fast/DOM/HTMLInputElement/input-value-and-type-change-crash.html.
2096
2097 2018-03-08  Frederic Wang  <fwang@igalia.com>
2098
2099         Add references to bug 160161 for some MathML failures on iOS and macOS.
2100
2101         Unreviewed test gardening.
2102
2103         * platform/ios/TestExpectations:
2104         * platform/mac/TestExpectations:
2105
2106 2018-03-08  Frederic Wang  <fwang@igalia.com>
2107
2108         [iOS] Unskip MathML tests requiring a font with Mathematical Alphanumeric Symbols
2109         https://bugs.webkit.org/show_bug.cgi?id=183445
2110
2111         Unreviewed test gardening.
2112
2113         * platform/ios/TestExpectations: Unskip the tests.
2114
2115 2018-03-08  Frederic Wang  <fwang@igalia.com>
2116
2117         [iOS] Update PNG expectations for some MathML pixel tests.
2118
2119         Unreviewed test gardening.
2120
2121         * platform/ios/TestExpectations: Remove ImageOnlyFailure for pixel tests, add reference to
2122         bug 183441 for the reftest.
2123         * platform/ios/mathml/opentype/opentype-stretchy-expected.png: Update expectation.
2124         * platform/ios/mathml/presentation/menclose-notation-values-expected.png: Ditto.
2125         * platform/ios/mathml/presentation/mo-stretch-expected.png: Ditto.
2126         * platform/ios/mathml/presentation/roots-expected.png: Ditto.
2127         * platform/ios/mathml/radical-fallback-expected.png: Ditto.
2128
2129 2018-03-07  Zalan Bujtas  <zalan@apple.com>
2130
2131         Invalid innerTextRenderer in RenderTextControlSingleLine::styleDidChange()
2132         https://bugs.webkit.org/show_bug.cgi?id=183385
2133         <rdar://problem/38085397>
2134
2135         Reviewed by Antti Koivisto.
2136
2137         * fast/DOM/HTMLInputElement/input-value-and-type-change-crash-expected.txt: Added.
2138         * fast/DOM/HTMLInputElement/input-value-and-type-change-crash.html: Added.
2139
2140 2018-03-06  Ryan Haddad  <ryanhaddad@apple.com>
2141
2142         Update TestExpectations for media/modern-media-controls/fullscreen-support/fullscreen-support-press.html.
2143         https://bugs.webkit.org/show_bug.cgi?id=173946
2144
2145         Unreviewed test gardening.
2146
2147         * platform/mac-wk2/TestExpectations:
2148         * platform/mac/TestExpectations:
2149
2150 2018-03-07  Sihui Liu  <sihui_liu@apple.com>
2151
2152         replaceState cause back/forward malfunction on html page with <base href="/"> tag
2153         https://bugs.webkit.org/show_bug.cgi?id=182678
2154         <rdar://problem/37517821>
2155
2156         Reviewed by Chris Dumez.
2157
2158         * http/tests/history/replacestate-no-url-expected.txt: Added.
2159         * http/tests/history/replacestate-no-url.html: Added.
2160         Add layout test coverage.
2161
2162         * fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange-expected.txt:
2163         Rebaseline a layout test as empty string for URL is handled differently.
2164
2165 2018-03-07  Chris Dumez  <cdumez@apple.com>
2166
2167         http/tests/misc/location-replace-crossdomain.html is failing with async policy delegates
2168         https://bugs.webkit.org/show_bug.cgi?id=183408
2169
2170         Reviewed by Alex Christensen.
2171
2172         The test was trying to navigate a cross-origin iframe via location.replace() and checking
2173         that the load succeeded in a setTimeout(1). There is no guarantee that the frame has loaded
2174         by that point. We would normally rely on the 'load' event but it is not feasible here since
2175         the iframe is cross-origin. Instead, I opted to have the iframe to a page that posts a
2176         message to its parent window to indicate that the load has succeeded.
2177
2178         * http/tests/misc/location-replace-crossdomain-async-delegates-expected.txt: Added.
2179         * http/tests/misc/location-replace-crossdomain-async-delegates.html: Added.
2180         * http/tests/misc/location-replace-crossdomain-expected.txt: Added.
2181         * http/tests/misc/location-replace-crossdomain.html:
2182         * platform/gtk/http/tests/misc/location-replace-crossdomain-expected.txt: Removed.
2183         * platform/ios/http/tests/misc/location-replace-crossdomain-expected.txt: Removed.
2184         * platform/mac/http/tests/misc/location-replace-crossdomain-expected.txt: Removed.
2185         * platform/win/http/tests/misc/location-replace-crossdomain-expected.txt: Removed.
2186
2187 2018-03-07  Per Arne Vollan  <pvollan@apple.com>
2188
2189         Fix incorrect test expectations for http/wpt/resource-timing/rt-initiatorType-media.html.
2190
2191         Unreviewed test gardening.
2192
2193         * platform/win/TestExpectations:
2194
2195 2018-03-07  Chris Dumez  <cdumez@apple.com>
2196
2197         http/tests/dom/window-open-about-webkit-org-and-access-document.html is failing with async policy delegates
2198         https://bugs.webkit.org/show_bug.cgi?id=183394
2199
2200         Reviewed by Alex Christensen.
2201
2202         http/tests/dom/window-open-about-webkit-org-and-access-document.html is failing with async policy delegates.
2203         The issue is that the test calls window.open() with a cross-origin URL and then right away tries to access
2204         newWindow.document, expecting it to throw. However, there is no guarantee that the cross origin URL has
2205         started loading at this point. In particular, when the navigation policy decision is made asynchronously,
2206         the URL is initially "about:blank" and it is OK to access the newWindow's document at this point.
2207
2208         We would normally rely on the window's load event before doing the check. However, this would not work
2209         here since the window is cross origin. As a result, I am using a setInterval() in order to wait for the
2210         cross-origin URL to load and for newWindow.document to start throwing.
2211
2212         * http/tests/dom/window-open-about-webkit-org-and-access-document-async-delegates-expected.txt: Added.
2213         * http/tests/dom/window-open-about-webkit-org-and-access-document-async-delegates.html: Added.
2214         * http/tests/dom/window-open-about-webkit-org-and-access-document-expected.txt:
2215         * http/tests/dom/window-open-about-webkit-org-and-access-document.html:
2216
2217 2018-03-07  Yusuke Suzuki  <utatane.tea@gmail.com>
2218
2219         HTML `pattern` attribute should set `u` flag for regular expressions
2220         https://bugs.webkit.org/show_bug.cgi?id=151598
2221
2222         Reviewed by Chris Dumez.
2223
2224         * fast/forms/ValidityState-patternMismatch-expected.txt:
2225         * fast/forms/ValidityState-patternMismatch.html:
2226
2227 2018-03-07  Frederic Wang  <fwang@igalia.com>
2228
2229         Relayout frames after AsyncFrameScrolling or FrameFlattening option is changed
2230         https://bugs.webkit.org/show_bug.cgi?id=183081
2231
2232         Reviewed by Antonio Gomes.
2233
2234         Add a test to check whether an iframe changes its flattening status after one of the option
2235         AsyncFrameScrolling/FrameFlattening is enabled/disabled.
2236
2237         * platform/ios-simulator/TestExpectations: Remove failure for scrolling-in-object.html.
2238         * platform/ios/fast/frames/flattening/iframe-flattening-async-frame-scrolling-dynamic-expected.txt: Added.
2239         * platform/ios/fast/frames/flattening/iframe-flattening-async-frame-scrolling-dynamic.html: Added.
2240
2241 2018-03-07  Per Arne Vollan  <pvollan@apple.com>
2242
2243         Mark http/wpt/resource-timing/rt-initiatorType-media.html as a flaky crash on Windows.
2244         https://bugs.webkit.org/show_bug.cgi?id=179297
2245
2246         Unreviewed test gardening.
2247
2248         * platform/win/TestExpectations:
2249
2250 2018-03-07  Ms2ger  <Ms2ger@igalia.com>
2251
2252         [WPE] Test gardening
2253         https://bugs.webkit.org/show_bug.cgi?id=183402
2254
2255         Unreviewed test gardening.
2256
2257         * platform/gtk/TestExpectations: skip some more appcache-sw tests.
2258         * platform/wpe/TestExpectations:
2259           - Mark http/tests/appcache/different-https-origin-resource-main.html as passing after r228892.
2260           - Mark fast/canvas/canvas-createPattern-video-modify.html as passing after r228221.
2261           - Mark storage/indexeddb/modern/index-3-private.html as passing since r228560.
2262           - Skip some more appcache - service worker tests.
2263           - Mark some svg/animations tests as flaky (as they already are on GTK).
2264           - Mark imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-multiple-times-with-the-same-mediakeys.html as passing after r228983.
2265           - Mark http/tests/appcache/fail-on-update-2.html as flaky.
2266         * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: Added baseline.
2267         * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: Added baseline.
2268         * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: Added baseline.
2269         * platform/wpe/js/dom/dom-static-property-for-in-iteration-expected.txt: rebaseline.
2270
2271 2018-03-07  Claudio Saavedra  <csaavedra@igalia.com>
2272
2273         [GTK] fast/animation/request-animation-frame-during-modal.html sometimes crashing
2274
2275         Unreviewed gardening
2276         * platform/gtk/TestExpectations:
2277
2278 2018-03-06  Per Arne Vollan  <pvollan@apple.com>
2279
2280         Skip fast/loader/redirect-to-invalid-url-using-javascript-disallowed.html and related tests on Windows.
2281         https://bugs.webkit.org/show_bug.cgi?id=183393
2282
2283         Unreviewed test gardening.
2284
2285         * platform/win/TestExpectations:
2286
2287 2018-03-06  Ross Kirsling  <ross.kirsling@sony.com>
2288
2289         [WinCairo] Unreviewed. Add platform-specific expectations.
2290
2291         Individual filenames are omitted for brevity.
2292
2293         * platform/wincairo/accessibility/: Added.
2294         * platform/wincairo/animations/: Added.
2295         * platform/wincairo/css1/: Added.
2296         * platform/wincairo/css2.1/: Added.
2297         * platform/wincairo/css3/: Added.
2298         * platform/wincairo/editing/: Added.
2299         * platform/wincairo/fast/: Added.
2300         * platform/wincairo/fonts/: Added.
2301         * platform/wincairo/ietestcenter/: Added.
2302         * platform/wincairo/js/: Added.
2303         * platform/wincairo/mathml/: Added.
2304         * platform/wincairo/media/: Added.
2305         * platform/wincairo/plugins/: Added.
2306         * platform/wincairo/printing/: Added.
2307         * platform/wincairo/scrollbars/: Added.
2308         * platform/wincairo/svg/: Added.
2309         * platform/wincairo/tables/: Added.
2310         * platform/wincairo/transforms/: Added.
2311         * platform/wincairo/transitions/: Added.
2312
2313 2018-03-06  Youenn Fablet  <youenn@apple.com>
2314
2315         didReceiveServerRedirectForProvisionalNavigation is not called in case of document redirection with service worker registration change
2316         https://bugs.webkit.org/show_bug.cgi?id=183299
2317         <rdar://problem/37547029>
2318
2319         Reviewed by Alex Christensen.
2320
2321         * http/wpt/service-workers/navigation-redirect-main-frame-worker.js: Added.
2322         * http/wpt/service-workers/navigation-redirect-main-frame.https-expected.txt: Added.
2323         * http/wpt/service-workers/navigation-redirect-main-frame.https.html: Added.
2324
2325 2018-03-06  Chris Dumez  <cdumez@apple.com>
2326
2327         http/wpt/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-async-delegate.html is flaky
2328         https://bugs.webkit.org/show_bug.cgi?id=183390
2329
2330         Unreviewed, temporarily mark the test as flaky while I investigate.
2331
2332         * platform/mac-wk1/TestExpectations:
2333
2334 2018-03-06  Per Arne Vollan  <pvollan@apple.com>
2335
2336         Unreviewed, fixed incorrect name of test expectation file.
2337
2338         * platform/win/fast/text/combining-enclosing-keycap-expected.txt: Copied from LayoutTests/platform/win/fast/text/combining-enclosing-keycap.txt.
2339         * platform/win/fast/text/combining-enclosing-keycap.txt: Removed.
2340
2341 2018-03-06  Nan Wang  <n_wang@apple.com>
2342
2343         AX: Flaky test after r229310
2344         https://bugs.webkit.org/show_bug.cgi?id=183376
2345         <rdar://problem/38188685>
2346
2347         Reviewed by Chris Fleizach.
2348
2349         * accessibility/mac/AOM-events-all-expected.txt:
2350         * accessibility/mac/AOM-events-all.html:
2351
2352 2018-03-06  Chris Dumez  <cdumez@apple.com>
2353
2354         fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed.html fails with async policy delegates
2355         https://bugs.webkit.org/show_bug.cgi?id=183345
2356
2357         Reviewed by Alex Christensen.
2358
2359         * fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-async-delegates-expected.txt: Added.
2360         * fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-async-delegates.html: Added.
2361         Add layout test coverage.
2362
2363         * fast/loader/redirect-to-invalid-url-using-javascript-disallowed-expected.txt:
2364         * fast/loader/redirect-to-invalid-url-using-javascript-disallowed.html:
2365         * fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-expected.txt:
2366         * fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed.html:
2367         * fast/loader/window-open-to-invalid-url-disallowed-expected.txt:
2368         * fast/loader/window-open-to-invalid-url-disallowed.html:
2369         * platform/mac-wk1/fast/loader/redirect-to-invalid-url-using-javascript-disallowed-expected.txt:
2370         * platform/mac-wk1/fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-async-delegates-expected.txt: Added.
2371         * platform/mac-wk1/fast/loader/redirect-to-invalid-url-using-meta-refresh-disallowed-expected.txt:
2372         * platform/mac-wk1/fast/loader/window-open-to-invalid-url-disallowed-expected.txt:
2373         Update tests that were relying on a 0-timer to make sure that didCancelClientRedirectForFrame was
2374         called to rely on our new test infrastructure instead. This is needed so that these tests keep passing
2375         once we make policy delegates asynchronous by default. Without this, the didCancelClientRedirectForFrame lines
2376         would be missing in the tests' output.
2377
2378 2018-03-06  Youenn Fablet  <youenn@apple.com>
2379
2380         Service worker test gardening
2381         https://bugs.webkit.org/show_bug.cgi?id=183264
2382         <rdar://problem/38048743>
2383
2384         Unreviewed.
2385
2386         * TestExpectations: mark test as slow in Debug.
2387
2388 2018-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2389
2390         [GTK] Add new baseline after r229177
2391
2392         Unreviewed gardening.
2393
2394         This baseline is needed because our mimetype database recognizes
2395         the type of the file in the test and therefore the extension gets
2396         added to the downloaded file.
2397         * platform/gtk/fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download-async-delegate-expected.txt: Added.
2398
2399 2018-03-06  Per Arne Vollan  <pvollan@apple.com>
2400
2401         Unreviewed, add baseline for fast/text/combining-enclosing-keycap.html.
2402
2403         * platform/win/fast/text/combining-enclosing-keycap.txt: Added.
2404
2405 2018-03-06  Claudio Saavedra  <csaavedra@igalia.com>
2406
2407         [GTK] Mark a few Wayland tests as failing
2408
2409         Unreviewed gardening
2410         * platform/gtk-wayland/TestExpectations:
2411
2412 2018-03-06  Dominik Infuehr  <dinfuehr@igalia.com>
2413
2414         [ARM] Disable tests that run out of memory
2415         https://bugs.webkit.org/show_bug.cgi?id=182699
2416
2417         Reviewed by Žan Doberšek.
2418
2419         Do not run test with LLInt disabled on Linux.
2420
2421         * js/script-tests/dfg-osr-entry-hoisted-clobbered-structure-check.js:
2422
2423 2018-03-06  Nan Wang  <n_wang@apple.com>
2424
2425         AX: AOM: More accessibility events support
2426         https://bugs.webkit.org/show_bug.cgi?id=183023
2427         <rdar://problem/37764380>
2428
2429         Reviewed by Chris Fleizach.
2430
2431         * accessibility/mac/AOM-events-all-expected.txt: Added.
2432         * accessibility/mac/AOM-events-all.html: Added.
2433         * js/dom/dom-static-property-for-in-iteration-expected.txt:
2434
2435 2018-03-05  Yoav Weiss  <yoav@yoav.ws>
2436
2437         Support for preconnect Link headers
2438         https://bugs.webkit.org/show_bug.cgi?id=181657
2439
2440         Reviewed by Darin Adler.
2441
2442         Add test to see Link preconnect headers trigger a connection.
2443
2444         * http/tests/preconnect/link-header-rel-preconnect-http-expected.txt: Added.
2445         * http/tests/preconnect/link-header-rel-preconnect-http.html: Added.
2446         * http/tests/preconnect/resources/header-preconnect.php: Added.
2447         * platform/win/TestExpectations: Skipped the preconnect test directory, rather than the individual files in it.
2448
2449 2018-03-05  Ryan Haddad  <ryanhaddad@apple.com>
2450
2451         Mark imported/w3c/web-platform-tests/service-workers/service-worker/registration-updateviacache.https.html as slow.
2452         https://bugs.webkit.org/show_bug.cgi?id=180982
2453
2454         Unreviewed test gardening.
2455
2456         * platform/mac-wk2/TestExpectations:
2457
2458 2018-03-05  Chris Dumez  <cdumez@apple.com>
2459
2460         fast/loader/onload-policy-ignore-for-frame.html is timing out with async policy delegates
2461         https://bugs.webkit.org/show_bug.cgi?id=183337
2462
2463         Reviewed by Ryosuke Niwa.
2464
2465         Add layout test coverage.
2466
2467         * fast/loader/onload-policy-ignore-for-frame-async-delegates-expected.txt: Added.
2468         * fast/loader/onload-policy-ignore-for-frame-async-delegates.html: Added.
2469
2470 2018-03-05  Andy Estes  <aestes@apple.com>
2471
2472         [Mac] Teach WebCore::Pasteboard about file promise drags
2473         https://bugs.webkit.org/show_bug.cgi?id=183314
2474         <rdar://problem/38105493>
2475
2476         Reviewed by Darin Adler.
2477
2478         Added versions of file dragging tests in editing/pasteboard/ that use
2479         beginDragWithFilePromises() instead of beginDragWithFiles().
2480
2481         * TestExpectations: Skipped the new tests.
2482         * editing/pasteboard/data-transfer-items-drag-drop-file-promise-expected.txt: Added.
2483         * editing/pasteboard/data-transfer-items-drag-drop-file-promise.html: Added.
2484         * editing/pasteboard/data-transfer-items-drop-file-promise-expected.txt: Added.
2485         * editing/pasteboard/data-transfer-items-drop-file-promise.html: Added.
2486         * editing/pasteboard/datatransfer-items-drop-plaintext-file-promise-expected.txt: Added.
2487         * editing/pasteboard/datatransfer-items-drop-plaintext-file-promise.html: Added.
2488         * editing/pasteboard/datatransfer-types-dropping-text-file-promise-expected.txt: Added.
2489         * editing/pasteboard/datatransfer-types-dropping-text-file-promise.html: Added.
2490         * editing/pasteboard/drag-file-promises-to-editable-element-as-URLs-expected.txt: Added.
2491         * editing/pasteboard/drag-file-promises-to-editable-element-as-URLs.html: Added.
2492         * editing/pasteboard/drag-file-promises-to-editable-element-as-attachment-expected.txt: Added.
2493         * editing/pasteboard/drag-file-promises-to-editable-element-as-attachment.html: Added.
2494         * editing/pasteboard/file-input-files-access-promise-expected.txt: Added.
2495         * editing/pasteboard/file-input-files-access-promise.html: Added.
2496         * platform/mac-wk1/TestExpectations: Un-skipped the new tests.
2497         * platform/win/TestExpectations: Skipped the new tests.
2498
2499 2018-03-05  Ryan Haddad  <ryanhaddad@apple.com>
2500
2501         Unreviewed, add baseline for fast/text/combining-enclosing-keycap.html.
2502
2503         * platform/ios/fast/text/combining-enclosing-keycap-expected.txt: Added.
2504         * platform/mac/fast/text/combining-enclosing-keycap-expected.txt: Added.
2505
2506 2018-03-05  Ali Juma  <ajuma@chromium.org>
2507
2508         imported/w3c/web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html times out with async policy delegates
2509         https://bugs.webkit.org/show_bug.cgi?id=183297
2510
2511         Reviewed by Chris Dumez.
2512
2513         Add layout test coverage. Copy expectations from the existing sync-policy version of the test.
2514
2515         * http/wpt/html/semantics/text-level-semantics/the-a-element/a-download-click-404-expected.txt: Added.
2516         * http/wpt/html/semantics/text-level-semantics/the-a-element/a-download-click-404.html: Added.
2517         * http/wpt/html/semantics/text-level-semantics/the-a-element/resources/a-download-404.html: Added.
2518         * platform/ios-wk2/http/wpt/html/semantics/text-level-semantics/the-a-element/a-download-click-404-expected.txt: Added.
2519         * platform/mac-wk1/http/wpt/html/semantics/text-level-semantics/the-a-element/a-download-click-404-expected.txt: Added.
2520         * platform/win/http/wpt/html/semantics/text-level-semantics/the-a-element/a-download-click-404-expected.txt: Added.
2521         * platform/wpe/TestExpectations:
2522
2523 2018-03-05  Youenn Fablet  <youenn@apple.com>
2524
2525         Service worker test gardening
2526         https://bugs.webkit.org/show_bug.cgi?id=183264
2527         <rdar://problem/38048743>
2528
2529         Unreviewed.
2530
2531         * TestExpectations:
2532         * platform/mac-wk2/TestExpectations:
2533
2534 2018-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2535
2536         [GTK] fast/events/blur-focus-window-should-blur-focus-element.html failing
2537
2538         Unreviewed gardening.
2539
2540         * platform/gtk/TestExpectations: Move this test to the failing test section.
2541
2542 2018-03-05  Claudio Saavedra  <csaavedra@igalia.com>
2543
2544         [GTK] Implement WTR's PlatformWebView::setWindowIsKey()
2545         https://bugs.webkit.org/show_bug.cgi?id=183143
2546
2547         Reviewed by Carlos Garcia Campos.
2548
2549         * platform/gtk/TestExpectations: Unmark the passing tests
2550
2551 2018-03-04  Per Arne Vollan  <pvollan@apple.com>
2552
2553         Mark http/wpt/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-async-delegate.html as failure on Windows.
2554         https://bugs.webkit.org/show_bug.cgi?id=183322
2555
2556         Unreviewed test gardening.
2557
2558         * platform/win/TestExpectations:
2559
2560 2018-03-03  Said Abou-Hallawa  <sabouhallawa@apple.com>
2561
2562         Delete incorrect version of clampTo() function from SVGToOTFFontConversion.cpp
2563         https://bugs.webkit.org/show_bug.cgi?id=183165
2564
2565         Reviewed by Darin Adler.
2566
2567         Re-baseline the results of these two tests since the local version of
2568         clampTo() was not returning the expected results always.
2569
2570         * platform/ios/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
2571         * platform/ios/svg/text/text-altglyph-01-b-expected.txt:
2572
2573 2018-03-03  Zalan Bujtas  <zalan@apple.com>
2574
2575         [RenderTreeBuilder] Move styleDidChange mutation logic to RenderTreeUpdater
2576         https://bugs.webkit.org/show_bug.cgi?id=183273
2577         <rdar://problem/38054892>
2578
2579         Reviewed by Antti Koivisto.
2580
2581         This is just a different repaint order.
2582
2583         * fast/repaint/absolute-position-change-containing-block-expected.txt:
2584
2585 2018-03-03  Yoav Weiss  <yoav@yoav.ws>
2586
2587         Link headers for subresources are not being processed
2588         https://bugs.webkit.org/show_bug.cgi?id=181789
2589
2590         Reviewed by Youenn Fablet.
2591
2592         Adds tests to make sure Link headers on subresources are being processed.
2593
2594         * http/tests/preload/link-header-on-subresource-expected.txt: Added.
2595         * http/tests/preload/link-header-on-subresource.html: Added.
2596         * http/tests/preload/resources/dummy-preloads-subresource.css.php: Added.
2597
2598 2018-03-02  Youenn Fablet  <youenn@apple.com>
2599
2600         Service worker test gardening
2601         https://bugs.webkit.org/show_bug.cgi?id=183264
2602         <rdar://problem/38048743>
2603
2604         Unreviewed.
2605
2606         * TestExpectations:
2607         * platform/mac-wk2/TestExpectations:
2608
2609 2018-03-02  Chris Dumez  <cdumez@apple.com>
2610
2611         imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html crashes with async policy delegates
2612         https://bugs.webkit.org/show_bug.cgi?id=183294
2613         <rdar://problem/38073596>
2614
2615         Reviewed by Youenn Fablet.
2616
2617         Add layout test coverage.
2618
2619         * http/wpt/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-async-delegate-expected.txt: Added.
2620         * http/wpt/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-async-delegate.html: Added.
2621
2622 2018-03-02  Chris Dumez  <cdumez@apple.com>
2623
2624         fast/events/before-unload-remove-itself.html crashes with async policy delegates
2625         https://bugs.webkit.org/show_bug.cgi?id=183290
2626         <rdar://problem/38069045>
2627
2628         Reviewed by Alex Christensen.
2629
2630         Add layout test coverage.
2631
2632         * fast/events/before-unload-remove-itself-async-delegate-expected.txt: Added.
2633         * fast/events/before-unload-remove-itself-async-delegate.html: Added.
2634
2635 2018-03-02  Chris Dumez  <cdumez@apple.com>
2636
2637         Converting a load to a download does not work with async policy delegates
2638         https://bugs.webkit.org/show_bug.cgi?id=183254
2639         <rdar://problem/38035334>
2640
2641         Reviewed by Youenn Fablet.
2642
2643         Add layout test coverage.
2644
2645         * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download-async-delegate-expected.txt: Added.
2646         * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download-async-delegate.html: Added.
2647
2648 2018-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2649
2650         [GTK] Unreviewed gardening
2651
2652         * platform/gtk/TestExpectations: Add
2653         imported/w3c/web-platform-tests/css/css-ui/text-overflow-022.html,
2654         which started failing in the bots.
2655
2656 2018-03-02  Claudio Saavedra  <csaavedra@igalia.com>
2657
2658         [GTK][WPE] Update js/dom static properties after r229112
2659
2660         Unreviewed gardening.
2661         * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt:
2662         * platform/wpe/js/dom/dom-static-property-for-in-iteration-expected.txt:
2663
2664 2018-03-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2665
2666         REGRESSION(r222843): [HarfBuzz] Combining enclosed keycap not correctly handled
2667         https://bugs.webkit.org/show_bug.cgi?id=183246
2668
2669         Reviewed by Michael Catanzaro.
2670
2671         * fast/text/combining-enclosing-keycap-expected.txt: Added.
2672         * platform/gtk/fast/text/combining-enclosing-keycap.html: Added.
2673         * platform/gtk/TestExpectations:
2674
2675 2018-03-01  Carlos Garcia Campos  <cgarcia@igalia.com>
2676
2677         [FreeType] Remove FontPlatformData fallbacks
2678         https://bugs.webkit.org/show_bug.cgi?id=183210
2679
2680         Reviewed by Michael Catanzaro.
2681
2682         Rebaseline 3 tests that progressed.
2683
2684         * platform/gtk/fast/text/international/bidi-LDB-2-CSS-expected.png:
2685         * platform/gtk/fast/text/international/bidi-LDB-2-CSS-expected.txt:
2686         * platform/gtk/fast/text/international/bidi-LDB-2-HTML-expected.png:
2687         * platform/gtk/fast/text/international/bidi-LDB-2-HTML-expected.txt:
2688         * platform/gtk/fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
2689         * platform/gtk/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt:
2690
2691 2018-03-01  Youenn Fablet  <youenn@apple.com>
2692
2693         Service worker test gardening
2694         https://bugs.webkit.org/show_bug.cgi?id=183264
2695
2696         Unreviewed.
2697
2698         * TestExpectations: Unflake/Unskip some tests that seem stable now.
2699
2700 2018-03-01  John Wilander  <wilander@apple.com>
2701
2702         Move resource load statistics tests from js-test-pre.js to js-test.js
2703         https://bugs.webkit.org/show_bug.cgi?id=183249
2704         <rdar://problem/38033096>
2705
2706         Unreviewed test gardening.
2707
2708         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics-expected.txt:
2709         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-mixed-statistics.html:
2710         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins-expected.txt:
2711         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-sub-frame-under-top-frame-origins.html:
2712         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins-expected.txt:
2713         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-under-top-frame-origins.html:
2714         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to-expected.txt:
2715         * http/tests/resourceLoadStatistics/classify-as-non-prevalent-based-on-subresource-unique-redirects-to.html:
2716         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics-expected.txt:
2717         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics.html:
2718         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins-expected.txt:
2719         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins.html:
2720         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins-expected.txt:
2721         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins.html:
2722         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to-expected.txt:
2723         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to.html:
2724         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics.html:
2725         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-expected.txt:
2726         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-expected.txt:
2727         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html:
2728         * http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store.html:
2729         * http/tests/resourceLoadStatistics/grandfathering-expected.txt:
2730         * http/tests/resourceLoadStatistics/grandfathering.html:
2731         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-expected.txt:
2732         * http/tests/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html:
2733         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-expected.txt:
2734         * http/tests/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html:
2735         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html:
2736         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt:
2737         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html:
2738         * http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction-expected.txt:
2739         * http/tests/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html:
2740         * http/tests/resourceLoadStatistics/prevalent-resource-handled-keydown.html:
2741         * http/tests/resourceLoadStatistics/prevalent-resource-unhandled-keydown.html:
2742         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-expected.txt:
2743         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-expected.txt:
2744         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout.html:
2745         * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction.html:
2746         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction-expected.txt:
2747         * http/tests/resourceLoadStatistics/prevalent-resource-without-user-interaction.html:
2748
2749 2018-03-01  Youenn Fablet  <youenn@apple.com>
2750
2751         LayoutTest imported/w3c/web-platform-tests/service-workers/service-worker/fetch-event-within-sw.https.html is a flaky failure
2752         https://bugs.webkit.org/show_bug.cgi?id=179248
2753         <rdar://problem/35377756>
2754
2755         Reviewed by Chris Dumez.
2756
2757         * TestExpectations:
2758
2759 2018-03-01  Youenn Fablet  <youenn@apple.com>
2760
2761         Add API test to validate setting of service worker and cache storage directories
2762         https://bugs.webkit.org/show_bug.cgi?id=182543
2763
2764         Reviewed by Chris Dumez.
2765
2766         Updated tests according new engine representation.
2767
2768         * http/tests/cache-storage/cache-clearing-origin.https.html:
2769         * http/tests/cache-storage/cache-origins.https.html:
2770         * http/tests/cache-storage/cache-representation.https.html:
2771
2772 2018-03-01  Daniel Bates  <dabates@apple.com>
2773
2774         CSS ::selection stroke-color and stroke-width are not applied to selected text in text fields
2775         and ::selection:window-inactive stroke-color and stroke-width are never applied
2776         https://bugs.webkit.org/show_bug.cgi?id=183178
2777
2778         Reviewed by David Hyatt.
2779
2780         Add tests to ensure that we paint ::selection stroke-color and stroke-width for selected text
2781         in text fields. Add tests to ensure that we apply ::selection:window-inactive stroke-color
2782         and stroke-width to selected text when the page is deactivated.
2783
2784         * fast/selectors/selection-window-inactive-stroke-color-expected.html: Added.
2785         * fast/selectors/selection-window-inactive-stroke-color.html: Added.
2786         * fast/selectors/selection-window-inactive-text-shadow-expected.html: Added.
2787         * fast/selectors/selection-window-inactive-text-shadow.html: Added.
2788         * fast/selectors/text-field-selection-stroke-color-expected.html: Added.
2789         * fast/selectors/text-field-selection-stroke-color.html: Added.
2790         * fast/selectors/text-field-selection-text-shadow-expected.html: Added.
2791         * fast/selectors/text-field-selection-text-shadow.html: Added.
2792         * fast/selectors/text-field-selection-window-inactive-stroke-color-expected.html: Added.
2793         * fast/selectors/text-field-selection-window-inactive-stroke-color.html: Added.
2794         * fast/selectors/text-field-selection-window-inactive-text-shadow-expected.html: Added.
2795         * fast/selectors/text-field-selection-window-inactive-text-shadow.html: Added.
2796         * platform/gtk/TestExpectations: Skip the ::selection:window-inactive tests until we fix
2797         <https://bugs.webkit.org/show_bug.cgi?id=183143>.
2798         * platform/ios/TestExpectations: Mark the tests as won't fix since UIKit draws selection on iOS.
2799         * platform/win/TestExpectations: Mark tests as image failures an associated with <https://bugs.webkit.org/show_bug.cgi?id=117322>.
2800         Windows does not seem to be updating selectors when the window is deactivated or window deactivation,
2801         testRunner.setWindowIsKey() is broken.
2802         * platform/wpe/TestExpectations: Skip the ::selection:window-inactive tests until we fix
2803         <https://bugs.webkit.org/show_bug.cgi?id=183144>.
2804
2805 2018-03-01  Ross Kirsling  <ross.kirsling@sony.com>
2806
2807         [Win][DRT] Implement setSpatialNavigationEnabled.
2808         https://bugs.webkit.org/show_bug.cgi?id=183166
2809
2810         Reviewed by Per Arne Vollan.
2811
2812         * platform/win/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt:
2813         * platform/wincairo/fast/spatial-navigation/snav-multiple-select-focusring-expected.txt: Added.
2814         This test requires an expectation for every platform. AppleWin had one but it must've been a copy-paste job?
2815
2816         * platform/win/TestExpectations:
2817         Enable fast/spatial-navigation tests on AppleWin too.
2818
2819 2018-03-01  Chris Dumez  <cdumez@apple.com>
2820
2821         imported/w3c/web-platform-tests/html/browsers/windows/browsing-context.html fails with async policy delegates
2822         https://bugs.webkit.org/show_bug.cgi?id=183225
2823         <rdar://problem/38003828>
2824
2825         Reviewed by Alex Christensen.
2826
2827         * http/wpt/html/browsers/windows/browsing-context-expected.txt: Added.
2828         * http/wpt/html/browsers/windows/browsing-context.html: Added.
2829         Add layout test coverage.
2830
2831         * fast/loader/iframe-src-invalid-url-expected.txt:
2832         * fast/loader/policy-delegate-action-hit-test-zoomed-expected.txt:
2833         * loader/navigation-policy/should-open-external-urls/subframe-click-target-self-expected.txt:
2834         * loader/navigation-policy/should-open-external-urls/subframe-click-target-top-expected.txt:
2835         Rebaseline a few layout tests now that the log lines for the about:blank policy checks are
2836         gone.
2837
2838 2018-02-28  Nan Wang  <n_wang@apple.com>
2839
2840         Layout Test accessibility/mac/accessibility-make-first-responder.html is flaky
2841         https://bugs.webkit.org/show_bug.cgi?id=183232
2842
2843         Reviewed by Chris Fleizach.
2844
2845         The test is flaky because that the UIProcess might have received the IPC message
2846         to set the first responder after we check the current state. Added a delay 
2847         in the test to fix that.
2848
2849         * accessibility/mac/accessibility-make-first-responder.html:
2850
2851 2018-02-28  Nan Wang  <n_wang@apple.com>
2852
2853         AX: AOM: Dispatch accessiblesetvalue event
2854         https://bugs.webkit.org/show_bug.cgi?id=183021
2855         <rdar://problem/37764242>
2856
2857         Reviewed by Chris Fleizach.
2858
2859         * accessibility/mac/AOM-event-accessiblesetvalue-expected.txt: Added.
2860         * accessibility/mac/AOM-event-accessiblesetvalue.html: Added.
2861         * js/dom/dom-static-property-for-in-iteration-expected.txt:
2862
2863 2018-02-28  Chris Dumez  <cdumez@apple.com>
2864
2865         html/browsers/browsing-the-web/navigating-across-documents/006.html fails with async policy delegates
2866         https://bugs.webkit.org/show_bug.cgi?id=183168
2867         <rdar://problem/37951341>
2868
2869         Reviewed by Alex Christensen.
2870
2871         Add layout test coverage.
2872
2873         * TestExpectations:
2874         * http/wpt/html/browsers/browsing-the-web/navigating-across-documents/006-expected.txt: Added.
2875         * http/wpt/html/browsers/browsing-the-web/navigating-across-documents/006.html: Added.
2876         * http/wpt/html/browsers/browsing-the-web/navigating-across-documents/click.html: Added.
2877         * http/wpt/html/browsers/browsing-the-web/navigating-across-documents/href.html: Added.
2878
2879 2018-02-28  Alicia Boya García  <aboya@igalia.com>
2880
2881         Unreviewed GTK test gardening.
2882         https://bugs.webkit.org/show_bug.cgi?id=183217
2883
2884         * platform/gtk/TestExpectations:
2885
2886 2018-02-28  John Wilander  <wilander@apple.com>
2887
2888         Add a second tier of prevalence to facilitate telemetry on very prevalent domains
2889         https://bugs.webkit.org/show_bug.cgi?id=183218
2890         <rdar://problem/37992388>
2891
2892         Reviewed by Brent Fulgham.
2893
2894         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-mixed-statistics.html:
2895         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-sub-frame-under-top-frame-origins.html:
2896         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion.html:
2897         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-under-top-frame-origins.html:
2898         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-unique-redirects-to.html:
2899         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion.html:
2900         * http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-unique-redirects-to.html:
2901         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics-expected.txt: Added.
2902         * http/tests/resourceLoadStatistics/classify-as-very-prevalent-based-on-mixed-statistics.html: Added.
2903         * platform/wk2/TestExpectations:
2904             New test marked as [ Pass ].
2905
2906 2018-02-28  Ryan Haddad  <ryanhaddad@apple.com>
2907
2908         Disable three resourceLoadStatistics tests on iOS Simulator Debug because they frequently time out.
2909         https://bugs.webkit.org/show_bug.cgi?id=183216
2910
2911         Unreviewed test gardening.
2912
2913         * platform/ios/TestExpectations:
2914
2915 2018-02-28  Ryan Haddad  <ryanhaddad@apple.com>
2916
2917         Mark http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion.html as flaky.
2918         https://bugs.webkit.org/show_bug.cgi?id=182983
2919
2920         Unreviewed test gardening.
2921
2922         * platform/wk2/TestExpectations:
2923
2924 2018-02-27  Commit Queue  <commit-queue@webkit.org>
2925
2926         Unreviewed, rolling out r229060.
2927         https://bugs.webkit.org/show_bug.cgi?id=183198
2928
2929         This patch causes crashes on two SVG tests (Requested by fredw
2930         on #webkit).
2931
2932         Reverted changeset:
2933
2934         "Relayout frames after AsyncFrameScrolling or FrameFlattening
2935         option is changed"
2936         https://bugs.webkit.org/show_bug.cgi?id=183081
2937         https://trac.webkit.org/changeset/229060
2938
2939 2018-02-27  Youenn Fablet  <youenn@apple.com>
2940
2941         Do not trigger a service worker match in case of document redirection if it will be already served by AppCache
2942         https://bugs.webkit.org/show_bug.cgi?id=183185
2943         <rdar://problem/37693796>
2944
2945         Reviewed by Chris Dumez.
2946
2947         * http/tests/appcache/main-resource-redirect-with-sw-expected.txt: Added.
2948         * http/tests/appcache/main-resource-redirect-with-sw.html: Added.
2949         * http/tests/appcache/resources/main-resource-redirect-with-sw.manifest: Added.
2950         * http/tests/appcache/resources/register-resources-service-worker.html: Added.
2951         * http/tests/appcache/service-worker-proxy.js: Added.
2952         * platform/gtk/TestExpectations:
2953         * platform/mac-wk1/TestExpectations:
2954         * platform/win/TestExpectations:
2955         * platform/wpe/TestExpectations:
2956
2957 2018-02-27  Ryan Haddad  <ryanhaddad@apple.com>
2958
2959         Mark http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html as flaky.
2960         https://bugs.webkit.org/show_bug.cgi?id=183094
2961
2962         Unreviewed test gardening.
2963
2964         * platform/mac-wk2/TestExpectations:
2965
2966 2018-02-27  Ryan Haddad  <ryanhaddad@apple.com>
2967
2968         Mark fast/dom/Window/window-focus-self.html as flaky.
2969         https://bugs.webkit.org/show_bug.cgi?id=183164
2970
2971         Unreviewed test gardening.
2972
2973         * platform/mac-wk2/TestExpectations:
2974
2975 2018-02-27  Michael Catanzaro  <mcatanzaro@igalia.com>
2976
2977         Unreviewed GTK test gardening
2978
2979         * TestExpectations:
2980         * platform/gtk/TestExpectations:
2981
2982 2018-02-27  Doug Russell  <doug@getitdownonpaper.com>
2983
2984         AX: Spell check and style attributes should be optional when fetching attributed string
2985         https://bugs.webkit.org/show_bug.cgi?id=160744
2986
2987         Reviewed by Chris Fleizach.
2988
2989         The overhead of fetching a spell checked attributed string via AX API is substantial. 
2990         In some cases on the order of 7/8 of the total time spent fetching the string.
2991
2992         This change introduces the new attribute AXAttributedStringForTextMarkerRangeWithOptions which accepts an NSDictionary as it's parameter with keys "AXTextMarkerRange" (AXTextMarkerRangeRef) and "AXSpellCheck" (NSNumber(BOOL)).
2993
2994         AXAttributedStringForTextMarkerRange will remain unchanged.
2995
2996         * accessibility/mac/attributed-string: Added.
2997         * accessibility/mac/attributed-string/attributed-string-for-range-expected.txt: Added.
2998         * accessibility/mac/attributed-string/attributed-string-for-range-with-options-expected.txt: Added.
2999         * accessibility/mac/attributed-string/attributed-string-for-range-with-options.html: Added.
3000         * accessibility/mac/attributed-string/attributed-string-for-range.html: Added.
3001         * accessibility/mac/bounds-for-range-expected.txt:
3002
3003 2018-02-27  Antoine Quint  <graouts@apple.com>
3004
3005         Unreviewed, marking a number of Web Animations WPT tests non-flaky.
3006
3007         * TestExpectations:
3008
3009 2018-02-27  Frederic Wang  <fwang@igalia.com>
3010
3011         Relayout frames after AsyncFrameScrolling or FrameFlattening option is changed
3012         https://bugs.webkit.org/show_bug.cgi?id=183081
3013
3014         Reviewed by Antonio Gomes.
3015
3016         Add a test to check whether an iframe changes its flattening status after one of the option
3017         AsyncFrameScrolling/FrameFlattening is enabled/disabled.
3018
3019         * platform/ios-simulator/TestExpectations: Remove failure.
3020         * platform/ios/fast/frames/flattening/iframe-flattening-async-frame-scrolling-dynamic-expected.txt: Added.
3021         * platform/ios/fast/frames/flattening/iframe-flattening-async-frame-scrolling-dynamic.html: Added.
3022
3023 2018-02-26  Daniel Bates  <dabates@apple.com>
3024
3025         testRunner.setWindowIsKey() has no effect on the web process side in WebKit2
3026         https://bugs.webkit.org/show_bug.cgi?id=81736
3027         <rdar://problem/11088268>
3028
3029         Remove some tests from the platform-independent WebKit2 TestExpectations file that
3030         now pass on iOS and Mac following r189959 and r211910, respectively. Skip these
3031         tests on GTK and WPE. For GTK we need to fix <https://bugs.webkit.org/show_bug.cgi?id=183140>
3032         For WPE we need to fix <https://bugs.webkit.org/show_bug.cgi?id=183144>.
3033
3034         The test fast/selectors/querySelector-window-inactive.html still fails on WebKit2,
3035         but for a different reason. See <https://bugs.webkit.org/show_bug.cgi?id=183140>
3036         for more details.
3037
3038         * platform/gtk/TestExpectations:
3039         * platform/wk2/TestExpectations:
3040         * platform/wpe/TestExpectations:
3041
3042 2018-02-26  Commit Queue  <commit-queue@webkit.org>
3043
3044         Unreviewed, rolling out r226745.
3045         https://bugs.webkit.org/show_bug.cgi?id=183132
3046
3047         This is breaking some websites (Requested by youenn on
3048         #webkit).
3049
3050         Reverted changeset:
3051
3052         "Use no-cache fetch mode when loading main documents with
3053         location.reload()"
3054         https://bugs.webkit.org/show_bug.cgi?id=181285
3055         https://trac.webkit.org/changeset/226745
3056
3057 2018-02-25  Fujii Hironori  <Hironori.Fujii@sony.com>
3058
3059         [WK2] http/tests/navigation/new-window-redirect-history.html crashes
3060         https://bugs.webkit.org/show_bug.cgi?id=127683
3061
3062         Reviewed by Dan Bernstein.
3063
3064         * platform/ios-wk2/TestExpectations:
3065         Unmarked http/tests/navigation/new-window-redirect-history.html.
3066         * platform/wk2/TestExpectations: Ditto.
3067
3068 2018-02-22  Antoine Quint  <graouts@apple.com>
3069
3070         REGRESSION (r228445): A big pause button shows over YouTube videos if you tap "Tap To Unmute" on iOS
3071         https://bugs.webkit.org/show_bug.cgi?id=183074
3072         <rdar://problem/37747028>
3073
3074         Reviewed by Eric Carlson.
3075
3076         Add a new test that set controls on the video, then immediately removes them, plays the video and turns the controls
3077         back on as soon as the video starts to check that the "showsStartButton" property is false on the media controls.
3078         Prior to this patch this test would fail.
3079
3080         * media/modern-media-controls/start-support/start-support-disable-controls-and-re-enable-post-play-expected.txt: Added.
3081         * media/modern-media-controls/start-support/start-support-disable-controls-and-re-enable-post-play.html: Added.
3082         * platform/ios/TestExpectations:
3083
3084 2018-02-22  Youenn Fablet  <youenn@apple.com>
3085
3086         CacheStorage::Engine::Caches::writeRecord is not always calling the completion handler
3087         https://bugs.webkit.org/show_bug.cgi?id=183055
3088
3089         Reviewed by Chris Dumez.
3090
3091         * http/tests/cache-storage/resources/cache-persistency-iframe.html:
3092
3093 2018-02-22  Chris Dumez  <cdumez@apple.com>
3094
3095         Document.open() cancels existing provisional load but not navigation policy check
3096         https://bugs.webkit.org/show_bug.cgi?id=183012
3097         <rdar://problem/37755831>
3098
3099         Reviewed by Alex Christensen.
3100
3101         Add layout test coverage.
3102
3103         * fast/dom/Document/open-with-pending-load-async-policy-expected.txt: Added.
3104         * fast/dom/Document/open-with-pending-load-async-policy.html: Added.
3105
3106 2018-02-22  Matt Lewis  <jlewis3@apple.com>
3107
3108         Updated expectations for http/tests/appcache/404-resource-with-slow-main-resource.php.
3109         https://bugs.webkit.org/show_bug.cgi?id=153503
3110
3111         Unreviewed test gardening.
3112
3113         * platform/mac-wk1/TestExpectations:
3114         * platform/mac/TestExpectations:
3115
3116 2018-02-22  Per Arne Vollan  <pvollan@apple.com>
3117
3118         Mark http/tests/preload/onerror_event.html as a flaky crash on Windows.
3119         https://bugs.webkit.org/show_bug.cgi?id=179297
3120
3121         Unreviewed test gardening.
3122
3123         * platform/win/TestExpectations:
3124
3125 2018-02-22  Miguel Gomez  <magomez@igalia.com>
3126
3127         Unreviewed GTK+ gardening after r228915.
3128
3129         * platform/gtk/TestExpectations:
3130
3131 2018-02-21  John Wilander  <wilander@apple.com>
3132
3133         Add delay to make cookie purge catch up when running http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html
3134         https://bugs.webkit.org/show_bug.cgi?id=183024
3135         <rdar://problem/37765207>
3136
3137         Unreviewed test gardening.
3138
3139         * http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html:
3140             Added a setTimeout() delay.
3141
3142 2018-02-21  Youenn Fablet  <youenn@apple.com>
3143
3144         Move AppCache loading to the NetworkProcess
3145         https://bugs.webkit.org/show_bug.cgi?id=178540
3146         <rdar://problem/37119346>
3147
3148         Reviewed by Alex Christensen.
3149
3150         There is no guarantee that aborting in an event handler will be executed before some loads finish,
3151         as the events are fired asynchronously.
3152         Making tests less flaky by waiting some time before fnishing some loads.
3153
3154         * http/tests/appcache/abort-cache-onchecking.html:
3155         * http/tests/appcache/resource-redirect-2-expected.txt:
3156         * http/tests/appcache/resources/abort-cache-onchecking-resource-404.manifest:
3157         * http/tests/appcache/resources/abort-cache-onchecking.manifest: Removed.
3158         * http/tests/appcache/resources/abort-cache-onchecking.manifest.php: Added.
3159         * http/tests/appcache/resources/abort-cache-ondownloading.manifest:
3160         * http/tests/appcache/resources/abort-cache-ondownloading.text: Removed.
3161         * http/tests/appcache/resources/abort-cache-ondownloading.text.php: Added.
3162         * http/tests/appcache/resources/not-exist.vob.php: Added.
3163
3164 2018-02-21  Youenn Fablet  <youenn@apple.com>
3165
3166         Use ResourceLoader to load appcache manifest
3167         https://bugs.webkit.org/show_bug.cgi?id=182861
3168
3169         Reviewed by Alex Christensen.
3170
3171         * http/tests/appcache/fail-on-update-2-expected.txt:
3172         * http/tests/appcache/manifest-redirect-2-expected.txt:
3173         * http/tests/appcache/offline-access-expected.txt:
3174
3175 2018-02-21  Chris Dumez  <cdumez@apple.com>
3176
3177         VTTCue constructor should use 'double' type for startTime / endTime
3178         https://bugs.webkit.org/show_bug.cgi?id=182988
3179
3180         Reviewed by Eric Carlson.
3181
3182         Update existing test to reflect behavior change.
3183
3184         * media/track/track-add-remove-cue-expected.txt:
3185         * media/track/track-add-remove-cue.html:
3186
3187 2018-02-21  Ms2ger  <Ms2ger@gmail.com>
3188
3189         Test gardening.
3190         https://bugs.webkit.org/show_bug.cgi?id=183006
3191
3192         Unreviewed test gardening.
3193
3194         * TestExpectations: add ietestcenter/css3/valuesandunits/units-000.htm.
3195         * platform/gtk/TestExpectations: remove ietestcenter/css3/valuesandunits/units-000.htm.
3196         * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: update for r228827.
3197         * platform/ios/TestExpectations: remove ietestcenter/css3/valuesandunits/units-000.htm.
3198         * platform/mac/TestExpectations: remove ietestcenter/css3/valuesandunits/units-000.htm.
3199         * platform/win/TestExpectations: remove ietestcenter/css3/valuesandunits/units-000.htm.
3200         * platform/wpe/TestExpectations: remove ietestcenter/css3/valuesandunits/units-000.htm.
3201         * platform/wpe/js/dom/dom-static-property-for-in-iteration-expected.txt: update for r228827.
3202
3203 2018-02-21  Charlie Turner  <cturner@igalia.com>
3204
3205         Update test expectations
3206         https://bugs.webkit.org/show_bug.cgi?id=182973
3207
3208         Unreviewed gardening.
3209
3210         * platform/gtk/TestExpectations:
3211
3212 2018-02-21  Charlie Turner  <cturner@igalia.com>
3213
3214         Rebaseline web animations tests after r228717
3215         https://bugs.webkit.org/show_bug.cgi?id=182970
3216
3217         Reviewed by Antoine Quint.
3218
3219         * platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: Added.
3220         * platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: Added.
3221         * platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: Added.
3222
3223 2018-02-21  Myles C. Maxfield  <mmaxfield@apple.com>
3224
3225         [Cocoa] Make system-ui obey the user-installed-font policy
3226         https://bugs.webkit.org/show_bug.cgi?id=182860
3227         <rdar://problem/36158249>
3228
3229         Reviewed by Antti Koivisto.
3230
3231         FakeHelvetica-ArmenianCharacter.ttf is a font which supports a particular Armenian character which
3232         isn't supported by any other font on the system. Installing this font will cause it to be added to
3233         the 'system-ui' font cascade list. When we disable user-installed-fonts, this font should not be
3234         used to render the character.
3235
3236         * fast/text/user-installed-fonts/system-ui-expected-mismatch.html:
3237         * fast/text/user-installed-fonts/system-ui.html:
3238
3239 2018-02-20  Nan Wang  <n_wang@apple.com>
3240
3241         AX: Keyboard focus not following VoiceOver cursor into web content or within web content.
3242         https://bugs.webkit.org/show_bug.cgi?id=182752
3243         <rdar://problem/37518233>
3244
3245         Reviewed by Ryosuke Niwa.
3246
3247         * accessibility/mac/accessibility-make-first-responder-expected.txt: Added.
3248         * accessibility/mac/accessibility-make-first-responder.html: Added.
3249         * platform/mac-wk1/TestExpectations:
3250
3251 2018-02-20  Chris Dumez  <cdumez@apple.com>
3252
3253         Crash under JSC::JSCell::toNumber(JSC::ExecState*)
3254         https://bugs.webkit.org/show_bug.cgi?id=182984
3255         <rdar://problem/37694346>
3256
3257         Reviewed by Mark Lam.
3258
3259         Add layout test coverage.
3260
3261         * js/dom/webidl-type-mapping-expected.txt:
3262         * js/dom/webidl-type-mapping.html:
3263
3264 2018-02-20  Ryan Haddad  <ryanhaddad@apple.com>
3265
3266         Mark two imported/w3c/web-platform-tests/2dcontext/imagebitmap tests as flaky on iOS.
3267         https://bugs.webkit.org/show_bug.cgi?id=182833
3268
3269         Unreviewed test gardening.
3270
3271         * platform/ios/TestExpectations:
3272
3273 2018-02-20  Manuel Rego Casasnovas  <rego@igalia.com>
3274
3275         Skip tests that need ENABLE_LINK_PREFETCH
3276         https://bugs.webkit.org/show_bug.cgi?id=182981
3277
3278         Unreviewed gardening.
3279
3280         These tests were marked in the different TestExpectations fails of each port,
3281         when actually none of them were testing this code as ENABLE_LINK_PREFETCH is disabled by default
3282         (even in development builds).
3283
3284         The patch just moves the flagged tests from the port specific TestExpectations files
3285         to the generic TestExpectations file skipping them.
3286
3287         * TestExpectations:
3288         * platform/gtk/TestExpectations:
3289         * platform/ios/TestExpectations:
3290         * platform/mac/TestExpectations:
3291         * platform/win/TestExpectations:
3292
3293 2018-02-20  John Wilander  <wilander@apple.com>
3294
3295         Make WebResourceLoadStatisticsStore::processStatisticsAndDataRecords() call WebProcessProxy::notifyPageStatisticsAndDataRecordsProcessed() in a proper callback
3296         https://bugs.webkit.org/show_bug.cgi?id=182719
3297         <rdar://problem/37517370>
3298
3299         Reviewed by Brent Fulgham.
3300
3301         * platform/mac-wk2/TestExpectations:
3302             Marked http/tests/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html
3303             as [ Pass ].
3304         * platform/wk2/TestExpectations:
3305             Marked http/tests/resourceLoadStatistics/clear-in-memory-and-persistent-store.html
3306             as [ Pass ]. This should have been done already in r227223:
3307             https://bugs.webkit.org/show_bug.cgi?id=181822
3308
3309 2018-02-20  Nan Wang  <n_wang@apple.com>
3310
3311         AX: AOM: Dispatch accessibleclick event
3312         https://bugs.webkit.org/show_bug.cgi?id=180898
3313         <rdar://problem/36086710>
3314
3315         Reviewed by Ryosuke Niwa.
3316
3317         * accessibility/mac/AOM-events-expected.txt: Added.
3318         * accessibility/mac/AOM-events.html: Added.
3319         * js/dom/dom-static-property-for-in-iteration-expected.txt:
3320         * platform/mac-wk1/TestExpectations:
3321
3322 2018-02-19  Dean Jackson  <dino@apple.com>
3323
3324         Handle all writing-modes in downcast
3325         https://bugs.webkit.org/show_bug.cgi?id=182949
3326         <rdar://problem/37710687>
3327
3328         Reviewed by Myles Maxfield.
3329
3330         Test all the deprecated SVG writing modes.
3331
3332         * fast/writing-mode/svg-writing-modes-expected.html: Added.
3333         * fast/writing-mode/svg-writing-modes.html: Added.
3334
3335 2018-02-20  Manuel Rego Casasnovas  <rego@igalia.com>
3336
3337         [css3-text] Skip tests that need ENABLE_CSS3_TEXT
3338         https://bugs.webkit.org/show_bug.cgi?id=182963
3339
3340         Unreviewed gardening.
3341
3342         These tests were marked in the different TestExpectations fails of each port,
3343         when actually none of them were testing this code as ENABLE_CSS3_TEXT is disabled by default
3344         (even in development builds).
3345
3346         The patch just moves the flagged tests from the port specific TestExpectations files
3347         to the generic TestExpectations file skipping them.
3348
3349         It also removes editing/pasteboard/insert-text-decoration.html from the skipping list
3350         as it should be passing for Mac an iOs too.
3351
3352         * TestExpectations:
3353         * platform/gtk/TestExpectations:
3354         * platform/ios/TestExpectations:
3355         * platform/mac/TestExpectations:
3356
3357 2018-02-19  Fujii Hironori  <Hironori.Fujii@sony.com>
3358
3359         null m_lastNodeInserted dereference at ReplaceSelectionCommand::InsertedNodes::lastLeafInserted
3360         https://bugs.webkit.org/show_bug.cgi?id=161947
3361
3362         Reviewed by Ryosuke Niwa.
3363
3364         * platform/gtk/TestExpectations:
3365         Unmarked editing/execCommand/crash-replacing-list-by-list.html and editing/inserting/insert-table-in-paragraph-crash.html.
3366
3367 2018-02-19  Antoine Quint  <graouts@apple.com>
3368
3369         [Modern Media Controls] Implement a compact set of media controls
3370         https://bugs.webkit.org/show_bug.cgi?id=182937
3371         <rdar://problem/37682257>
3372
3373         Reviewed by Eric Carlson.
3374
3375         Add new tests that cover the basic properties and layout under different situations of the new CompactMediaControls.
3376
3377         * media/modern-media-controls/compact-media-controls/compact-media-controls-constructor-expected.txt: Added.
3378         * media/modern-media-controls/compact-media-controls/compact-media-controls-constructor.html: Added.
3379         * media/modern-media-controls/compact-media-controls/compact-media-controls-layout-expected.txt: Added.
3380         * media/modern-media-controls/compact-media-controls/compact-media-controls-layout.html: Added.
3381
3382 2018-02-19  Antoine Quint  <graouts@apple.com>
3383
3384         [Web Animations] Make KeyframeEffect target nullable and read-write
3385         https://bugs.webkit.org/show_bug.cgi?id=182741
3386
3387         Reviewed by Dean Jackson.
3388
3389         Add some platform-specific results for Sierra where we don't support the "font-variation-settings" property.
3390
3391         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: Added.
3392         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: Added.
3393         * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: Added.
3394
3395 2018-02-19  Dean Jackson  <dino@apple.com>
3396
3397         SIGFPE @ int WebCore::SVGToOTFFontConverter::scaleUnitsPerEm<int> const + 45
3398         https://bugs.webkit.org/show_bug.cgi?id=182944
3399         <rdar://problem/35369984>
3400
3401         Reviewed by Myles Maxfield.
3402
3403         Add a test with a 0 unitsperem SVG font.
3404
3405         * svg/text/font-bad-unitsperem-expected.txt: Added.
3406         * svg/text/font-bad-unitsperem.html: Added.
3407         * svg/text/resources/font-bad-unitsperem.svg: Added.
3408
3409 2018-02-19  Tim Horton  <timothy_horton@apple.com>
3410
3411         REGRESSION (r219342): Touch event coordinates and elementFromPoint coordinates differ
3412         https://bugs.webkit.org/show_bug.cgi?id=182910
3413         <rdar://problem/37533950>
3414
3415         Reviewed by Simon Fraser.
3416
3417         * fast/dom/elementFromPoint-scaled-scrolled.html:
3418         Revert changes to this test made in r219342.
3419
3420         * fast/dom/elementFromPoint-scaled-scrolled-layout-viewport.html:
3421         * fast/dom/elementFromPoint-scaled-scrolled-layout-viewport-expected.txt:
3422         Add a test that is equivalent to elementFromPoint-scaled-scrolled.html after r219342,
3423         which turns on the new setting. This test is disabled on iOS (like it was
3424         in r219342) because it needs window.scrollTo.
3425
3426         * platform/ios-wk2/fast/dom/elementFromPoint-relative-to-viewport-expected.txt:
3427         This now passes.
3428
3429         * platform/ios/TestExpectations:
3430         Re-mark-failing a test that was un-marked-failing by r219342.
3431
3432 2018-02-19  Daniel Bates  <dabates@apple.com>
3433
3434         Do not block authentication challenge to navigated resources
3435         https://bugs.webkit.org/show_bug.cgi?id=182807
3436         <rdar://problem/37481619>
3437
3438         Reviewed by Brent Fulgham.
3439
3440         Update tests based on the new behavior.
3441
3442         * http/tests/security/mixedContent/insecure-basic-auth-image-allowCrossOriginSubresourcesToAskForCredentials.https-expected.txt:
3443         * http/tests/security/mixedContent/insecure-basic-auth-image-allowCrossOriginSubresourcesToAskForCredentials.https.html:
3444         * http/tests/security/mixedContent/insecure-download-redirects-to-basic-auth-secure-download.https-expected.txt: Removed.
3445         * http/tests/security/mixedContent/insecure-download-redirects-to-basic-auth-secure-download.https.html: Removed.
3446         * http/tests/security/mixedContent/insecure-image-redirects-to-basic-auth-secure-image-allowCrossOriginSubresourcesToAskForCredentials-expected.txt:
3447         * http/tests/security/mixedContent/insecure-image-redirects-to-basic-auth-secure-image-allowCrossOriginSubresourcesToAskForCredentials.html:
3448         * http/tests/security/mixedContent/insecure-image-redirects-to-basic