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