dcc62db5c5df778d159130d8a216c1aa2238f640
[WebKit-https.git] / LayoutTests / ChangeLog
1 2017-02-16  Javier Fernandez  <jfernandez@igalia.com>
2
3         [GTK] Unreviewed test gardening
4         https://bugs.webkit.org/show_bug.cgi?id=168436
5
6         Unreviewed GTK+ gardening.
7
8         - imported/w3c/web-platform-tests/XMLHttpRequest/event-readystatechange-loaded.htm marked as slow
9         - rebaseline LayoutTests/platform/gtk/js/dom/constructor-length-expected.txt to it matches current Mac expected results.
10         - the tests http/tests/xmlhttprequest/redirections-and-user-headers.html marked as Failure (bug 168433)
11
12         * platform/gtk/TestExpectations:
13         * platform/gtk/js/dom/constructor-length-expected.txt:
14
15 2017-02-16  Yusuke Suzuki  <utatane.tea@gmail.com>
16
17         Web Inspector: allow import() inside the inspector
18         https://bugs.webkit.org/show_bug.cgi?id=167457
19
20         Reviewed by Ryosuke Niwa.
21
22         Extract the test to single file. And make it deterministic.
23
24         * inspector/controller/resources/cappuccino.js: Added.
25         * inspector/controller/resources/cocoa.js: Added.
26         * inspector/controller/resources/drink.js: Added.
27         * inspector/controller/runtime-controller-import-expected.txt: Added.
28         * inspector/controller/runtime-controller-import.html: Added.
29
30 2017-02-16  Carlos Garcia Campos  <cgarcia@igalia.com>
31
32         Unreviewed GTK+ gardening. Rebaseline http/tests/xmlhttprequest/xmlhttprequest-test-custom-headers.html.
33
34         We always expect ',' since r212355.
35
36         * platform/gtk/http/tests/xmlhttprequest/xmlhttprequest-test-custom-headers-expected.txt: Added.
37
38 2017-02-16  Carlos Garcia Campos  <cgarcia@igalia.com>
39
40         Unreviewed GTK+ gardening. Mark several reftests as image only failures.
41
42         * platform/gtk/TestExpectations:
43
44 2017-02-16  Miguel Gomez  <magomez@igalia.com>
45
46         [GTK] scroll with transparent background not repainted after scrollY >= 32768
47         https://bugs.webkit.org/show_bug.cgi?id=154283
48
49         Reviewed by Carlos Garcia Campos.
50
51         Test to ensure that the background pattern of an element is properly being drawn when it's in a position
52         bigger than 32768.
53
54         * fast/backgrounds/background-repeat-long-scroll-expected.html: Added.
55         * fast/backgrounds/background-repeat-long-scroll.html: Added.
56
57 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
58
59         Mark inspector/debugger/search-scripts.html as flaky.
60         https://bugs.webkit.org/show_bug.cgi?id=168399
61
62         Unreviewed test gardening.
63
64         * platform/mac/TestExpectations:
65
66 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
67
68         Mark pageoverlay/overlay-remove-reinsert-view.html as flaky on ios-simulator.
69         https://bugs.webkit.org/show_bug.cgi?id=168053
70
71         Unreviewed test gardening.
72
73         * platform/ios-simulator/TestExpectations:
74
75 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
76
77         Rebaseline fast/text/font-face-javascript.html after r212405.
78
79         Unreviewed test gardening.
80
81         * fast/text/font-face-javascript-expected.txt:
82
83 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
84
85         Mark media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html as flaky.
86         https://bugs.webkit.org/show_bug.cgi?id=167589
87
88         Unreviewed test gardening.
89
90         * platform/mac-wk1/TestExpectations:
91
92 2017-02-15  Sam Weinig  <sam@webkit.org>
93
94         [WebIDL] Remove custom conversion from FontFace code by using a Variant
95         https://bugs.webkit.org/show_bug.cgi?id=168384
96
97         Reviewed by Alex Christensen.
98
99         * fast/text/font-face-javascript.html:
100
101 2017-02-15  Jer Noble  <jer.noble@apple.com>
102
103         Disabled Media Sources should render black/silence
104         https://bugs.webkit.org/show_bug.cgi?id=168281
105         <rdar://problem/30508003>
106
107         Reviewed by Eric Carlson.
108
109         * webrtc/video-disabled-black-expected.txt: Added.
110         * webrtc/video-disabled-black.html: Added.
111
112 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
113
114         Remove ElCapitan flag from flaky test media/modern-media-controls/airplay-support/airplay-support.html.
115         https://bugs.webkit.org/show_bug.cgi?id=167442
116
117         Unreviewed test gardening.
118
119         * TestExpectations:
120         * platform/mac/TestExpectations:
121
122 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
123
124         Update TestExpectations for resourceLoadStatistics tests.
125
126         Unreviewed test gardening.
127
128         * platform/wk2/TestExpectations:
129
130 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
131
132         Skip fast/frames/exponential-frames.html on ios-simulator
133
134         Unreviewed test gardening.
135
136         * platform/ios-simulator/TestExpectations:
137
138 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
139
140         Skip fast/frames/exponential-frames.html.
141
142         Unreviewed test gardening.
143
144         * platform/mac/TestExpectations:
145
146 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
147
148         Remove Release flag from flaky test http/tests/xmlhttprequest/auth-reject-protection-space.html.
149         https://bugs.webkit.org/show_bug.cgi?id=163136
150
151         Unreviewed test gardening.
152
153         * platform/mac-wk2/TestExpectations:
154
155 2017-02-15  Chris Dumez  <cdumez@apple.com>
156
157         Expose Symbol.toPrimitive / valueOf on Location instances
158         https://bugs.webkit.org/show_bug.cgi?id=168295
159
160         Reviewed by Geoffrey Garen, Keith Miller and Mark Lam.
161
162         Add test coverage for cases where the Object prototype has been updated before
163         the Location object is constructed.
164
165         * fast/dom/location-valueOf-after-object-prototype-update-expected.txt: Added.
166         * fast/dom/location-valueOf-after-object-prototype-update.html: Added.
167         * fast/dom/location-valueOf-after-object-prototype-update2-expected.txt: Added.
168         * fast/dom/location-valueOf-after-object-prototype-update2.html: Added.
169
170 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
171
172         Mark media/modern-media-controls/media-controller/media-controller-resize.html as flaky.
173         https://bugs.webkit.org/show_bug.cgi?id=168378
174
175         Unreviewed test gardening.
176
177         * platform/mac-wk1/TestExpectations:
178
179 2017-02-15  Chris Dumez  <cdumez@apple.com>
180
181         [iOS] Form Validation Bubble should be sensitive to Dynamic Type
182         https://bugs.webkit.org/show_bug.cgi?id=168291
183         <rdar://problem/30508593>
184
185         Reviewed by Tim Horton.
186
187         Skip fast/forms/validation-message-minimum-font-size.html on iOS now
188         that the ValidationBubble implementation no longer obeys the minimum
189         font size setting on iOS.
190
191         * platform/ios-simulator/TestExpectations:
192
193 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
194
195         Mark animations/trigger-container-scroll-empty.html as flaky.
196         https://bugs.webkit.org/show_bug.cgi?id=168089
197
198         Unreivewed test gardening.
199
200         * platform/mac-wk2/TestExpectations:
201
202 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
203
204         Mark imported/w3c/web-platform-tests/media-source/SourceBuffer-abort-removed.html as flaky on macOS.
205         https://bugs.webkit.org/show_bug.cgi?id=167975
206
207         Unreviewed test gardening.
208
209         * platform/mac/TestExpectations:
210
211 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
212
213         Move TestExpectation from mac-wk1 to mac file.
214
215         Unreviewed test gardening.
216
217         * platform/mac-wk1/TestExpectations:
218         * platform/mac/TestExpectations:
219
220 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
221
222         Mark inspector/dom-debugger/node-removed.html as flaky.
223         https://bugs.webkit.org/show_bug.cgi?id=154610
224
225         Unreviewed test gardening.
226
227         * platform/mac/TestExpectations:
228
229 2017-02-15  Ryan Haddad  <ryanhaddad@apple.com>
230
231         Update TestExpectations for fast/frames/exponential-frames.html.
232
233         Unreviewed test gardening.
234
235         * platform/mac-wk1/TestExpectations:
236
237 2017-02-15  Carlos Garcia Campos  <cgarcia@igalia.com>
238
239         Unreviewed GTK+ gardening. Mark a11y and media tests currently failing.
240
241         * platform/gtk/TestExpectations:
242
243 2017-02-15  Carlos Garcia Campos  <cgarcia@igalia.com>
244
245         Unreviewed GTK+ gardening. Skip tests that need DASHBOARD_SUPPORT enabled.
246
247         * platform/gtk/TestExpectations:
248
249 2017-02-15  Carlos Garcia Campos  <cgarcia@igalia.com>
250
251         Unreviewed GTK+ gardening. Mark several IndexedDB tests as crashing.
252
253         * platform/gtk/TestExpectations:
254
255 2017-02-15  Carlos Garcia Campos  <cgarcia@igalia.com>
256
257         Unreviewed GTK+ gardening. Rebaseline http/tests/security/video-cross-origin-accessfailure.html.
258
259         * http/tests/security/video-cross-origin-accessfailure-expected.txt:
260
261 2017-02-15  Carlos Garcia Campos  <cgarcia@igalia.com>
262
263         Unreviewed GTK+ gardening. Mark http/tests/security/credentials-iframes.html as expected failure.
264
265         * platform/gtk/TestExpectations:
266
267 2017-02-15  Zan Dobersek  <zdobersek@igalia.com>
268
269         [EME] MediaKeys::setServerCertificate() must resolve with 'false' when certificates aren't supported
270         https://bugs.webkit.org/show_bug.cgi?id=168362
271
272         Reviewed by Xabier Rodriguez-Calvar.
273
274         Update the certificates-not-supported test case, making sure the promise
275         is resolved with the 'false' result.
276
277         * media/encrypted-media/mock-MediaKeys-setServerCertificate-expected.txt:
278         * media/encrypted-media/mock-MediaKeys-setServerCertificate.html:
279
280 2017-02-15  Carlos Garcia Campos  <cgarcia@igalia.com>
281
282         REGRESSION (r206014): HTTPHeaderMap does not consistently use comma without space to separate values of header fields
283         https://bugs.webkit.org/show_bug.cgi?id=168115
284
285         Reviewed by Darin Adler.
286
287         * http/tests/xmlhttprequest/check-combining-headers-expected.txt:
288         * platform/mac/imported/w3c/web-platform-tests/XMLHttpRequest/getresponseheader-case-insensitive-expected.txt: Added.
289         * platform/ios-simulator/imported/w3c/web-platform-tests/XMLHttpRequest/getresponseheader-case-insensitive-expected.txt: Added.
290
291 2017-02-14  Ryosuke Niwa  <rniwa@webkit.org>
292
293         An assertion failure inside removeChildren
294         https://bugs.webkit.org/show_bug.cgi?id=168069
295
296         Reviewed by Brent Fulgham.
297
298         * http/tests/security/move-iframe-within-focus-handler-inside-removal-expected.txt: Added.
299         * http/tests/security/move-iframe-within-focus-handler-inside-removal.html: Added.
300
301 2017-02-14  Brent Fulgham  <bfulgham@apple.com>
302
303         Revalidate URL after events that could trigger navigations
304         https://bugs.webkit.org/show_bug.cgi?id=168071
305         <rdar://problem/30450379>
306
307         Reviewed by Ryosuke Niwa.
308
309         * http/tests/plugins/navigation-during-load-embed-expected.txt: Added.
310         * http/tests/plugins/navigation-during-load-embed.html: Added.
311         * http/tests/plugins/navigation-during-load-expected.txt: Added.
312         * http/tests/plugins/navigation-during-load.html: Added.
313
314 2017-02-14  Youenn Fablet  <youennf@gmail.com>
315
316         [WebRTC] Add support for libwebrtc negotiation needed event
317         https://bugs.webkit.org/show_bug.cgi?id=168267
318
319         Reviewed by Eric Carlson.
320
321         * fast/mediastream/RTCPeerConnection-more-media-to-negotiate-expected.txt:
322         * platform/gtk/fast/mediastream/RTCPeerConnection-more-media-to-negotiate-expected.txt: Copied from LayoutTests/fast/mediastream/RTCPeerConnection-more-media-to-negotiate-expected.txt.
323         * webrtc/negotiatedneeded-event-addStream-expected.txt: Added.
324         * webrtc/negotiatedneeded-event-addStream.html: Added.
325
326 2017-02-14  Ryan Haddad  <ryanhaddad@apple.com>
327
328         Mark media/modern-media-controls/placard-support/placard-support-airplay.html as flaky.
329         https://bugs.webkit.org/show_bug.cgi?id=167441
330
331         Unreviewed test gardening.
332
333         * platform/mac/TestExpectations:
334
335 2017-02-14  Ryan Haddad  <ryanhaddad@apple.com>
336
337         Mark media/video-zoom.html as flaky.
338         https://bugs.webkit.org/show_bug.cgi?id=168087
339
340         Unreviewed test gardening.
341
342         * platform/mac/TestExpectations:
343
344 2017-02-14  Ryan Haddad  <ryanhaddad@apple.com>
345
346         Mark imported/w3c/web-platform-tests/streams/readable-streams/garbage-collection.html as flaky.
347         https://bugs.webkit.org/show_bug.cgi?id=168336
348
349         Unreviewed test gardening.
350
351         * platform/mac-wk2/TestExpectations:
352
353 2017-02-14  Chris Dumez  <cdumez@apple.com>
354
355         HTML Form Validation bubble should take minimum font size setting into consideration
356         https://bugs.webkit.org/show_bug.cgi?id=168271
357         <rdar://problem/29869869>
358
359         Reviewed by Simon Fraser.
360
361         Add layout test coverage.
362
363         * fast/forms/validation-message-minimum-font-size-expected.txt: Added.
364         * fast/forms/validation-message-minimum-font-size.html: Added.
365
366 2017-02-14  Ryan Haddad  <ryanhaddad@apple.com>
367
368         Remove debug flag from flaky test imported/w3c/web-platform-tests/dom/events/EventListener-invoke-legacy.html.
369         https://bugs.webkit.org/show_bug.cgi?id=168238
370
371         Unreviewed test gardening.
372
373         * TestExpectations:
374
375 2017-02-14  Eric Carlson  <eric.carlson@apple.com>
376
377         [MediaStream] add navigator.getUserMedia for compatibility with legacy content
378         https://bugs.webkit.org/show_bug.cgi?id=168324
379         <rdar://problem/30513125>
380
381         Reviewed by Youenn Fablet.
382
383         * fast/mediastream/argument-types-expected.txt:
384         * fast/mediastream/argument-types.html: Added.
385         * fast/mediastream/getusermedia-expected.txt:
386         * fast/mediastream/getusermedia.html: Added.
387         * fast/mediastream/script-tests/argument-types.js: Added.
388         * fast/mediastream/webkitGetUserMedia-shadowing-then.html: Added.
389
390 2017-02-13  Dean Jackson  <dino@apple.com>
391
392         Rename preferLowPowerToHighPerformance to powerPreference
393         https://bugs.webkit.org/show_bug.cgi?id=168269
394         <rdar://problem/30504444>
395
396         Reviewed by Chris Dumez.
397
398         Handle the rename in the test case. Since Settings.in has
399         preferLowPowerWebGLRendering initial=true
400         we will override the incoming request and set the value to
401         "low-power". This behaviour will change in a subsequent bug.
402
403         * fast/canvas/webgl/context-creation-attributes-expected.txt:
404         * fast/canvas/webgl/context-creation-attributes.html:
405
406 2017-02-14  Jeremy Jones  <jeremyj@apple.com>
407
408         When playing inline after fullscreen, set a flag instead of adding attribute plays inline, and use in requiresFullscreenForVideoPlayback.
409         https://bugs.webkit.org/show_bug.cgi?id=167815
410         rdar://problem/27685077
411
412         Reviewed by Jer Noble.
413
414         Add a new test that tests inline after fullscreen behavior of looping video.
415
416         * media/media-fullscreen-loop-inline-expected.txt: Added.
417         * media/media-fullscreen-loop-inline.html: Added.
418         * platform/mac-wk2/TestExpectations: Skipped on webkit2.
419
420 2017-02-14  Ryan Haddad  <ryanhaddad@apple.com>
421
422         Rebaseline media/modern-media-controls/airplay-button/airplay-button-on.html for ios-simulator.
423
424         Unreviewed test gardening.
425
426         * platform/ios-simulator/media/modern-media-controls/airplay-button/airplay-button-on-expected.txt:
427
428 2017-02-14  Jer Noble  <jer.noble@apple.com>
429
430         Video elements with MediaSource objects set by srcObject are not cleared when srcObject is set to null
431         https://bugs.webkit.org/show_bug.cgi?id=168268
432
433         Reviewed by Eric Carlson.
434
435         * fast/mediastream/MediaStream-MediaElement-setObject-null-expected.txt: Added.
436         * fast/mediastream/MediaStream-MediaElement-setObject-null.html: Added.
437         * fast/mediastream/MediaStream-video-element-expected.txt:
438         * fast/mediastream/MediaStream-video-element-track-stop-expected.txt:
439         * fast/mediastream/MediaStream-video-element-track-stop.html:
440         * fast/mediastream/MediaStream-video-element.html:
441
442 2017-02-14  Antoine Quint  <graouts@apple.com>
443
444         [mac-wk1] LayoutTest media/modern-media-controls/forward-button/forward-button.html is a flaky timeout
445         https://bugs.webkit.org/show_bug.cgi?id=168265
446
447         Unreviewed test gardening.
448
449         * media/modern-media-controls/forward-button/forward-button-expected.txt:
450         * media/modern-media-controls/forward-button/forward-button.html:
451         * platform/mac-wk1/TestExpectations:
452
453 2017-02-13  Filip Pizlo  <fpizlo@apple.com>
454
455         worker.postMessage should throw a TypeError if a SharedArrayBuffer is in the transfer list
456         https://bugs.webkit.org/show_bug.cgi?id=168277
457
458         Reviewed by Mark Lam.
459         
460         Add a test of the new behavior, and remove tests for the old behavior.
461         
462         Most of the SharedArrayBuffer tests use the new style, where the buffer is not in the
463         transfer list, and the tests being removed are clones of the no-transfer tests. So, we
464         aren't losing any coverage.
465
466         * workers/sab/null-worker.js: Added.
467         * workers/sab/postMessage-transfer-type-error-expected.txt: Added.
468         * workers/sab/postMessage-transfer-type-error.html: Added.
469         * workers/sab/sab-creator-transfer.js: Removed. (Sibling: sab-creator-no-transfer.js)
470         * workers/sab/sent-from-worker-transfer.html: Removed. (Sibling: sent-from-worker-no-transfer.html)
471         * workers/sab/simple.html: Removed. (Sibling: no-transfer.html)
472
473 2017-02-14  Antoine Quint  <graouts@apple.com>
474
475         [mac-wk1] LayoutTest media/modern-media-controls/airplay-button/airplay-button-on.html is a flaky timeout
476         https://bugs.webkit.org/show_bug.cgi?id=167347
477
478         Unreviewed test gardening.
479
480         * media/modern-media-controls/airplay-button/airplay-button-on-expected.txt:
481         * media/modern-media-controls/airplay-button/airplay-button-on.html:
482         * platform/mac-wk1/TestExpectations:
483
484 2017-02-14  Antoine Quint  <graouts@apple.com>
485
486         LayoutTest media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html is a flaky timeout
487         https://bugs.webkit.org/show_bug.cgi?id=167589
488
489         Unreviewed test gardening.
490
491         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt:
492         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
493
494 2017-02-14  Antoine Quint  <graouts@apple.com>
495
496         LayoutTest media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-buttons-styles.html is a flaky timeout
497         https://bugs.webkit.org/show_bug.cgi?id=168125
498
499         Unreviewed test gardening.
500
501         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-buttons-styles-expected.txt:
502         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-buttons-styles.html:
503
504 2017-02-14  Alex Christensen  <achristensen@webkit.org>
505
506         Rebase URL test after r212279.
507         https://bugs.webkit.org/show_bug.cgi?id=168260
508
509         * fast/url/ipv4-expected.txt:
510         http://0X12C0a80001/ is an invalid IPv4 address, so parsing should fail.
511         This matches Chrome and the URL specification.
512
513 2017-02-14  Antoine Quint  <graouts@apple.com>
514
515         LayoutTest media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html is a flaky failure
516         https://bugs.webkit.org/show_bug.cgi?id=167372
517
518         Unreviewed test gardening.
519
520         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt:
521         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
522
523 2017-02-14  Antoine Quint  <graouts@apple.com>
524
525         [mac-wk1] LayoutTest media/modern-media-controls/layout-node/addChild.html is a flaky timeout
526         https://bugs.webkit.org/show_bug.cgi?id=168074
527
528         Unreviewed test gardening.
529
530         * media/modern-media-controls/layout-node/addChild-expected.txt:
531         * media/modern-media-controls/layout-node/addChild.html:
532         * platform/mac-wk1/TestExpectations:
533
534 2017-02-14  Carlos Garcia Campos  <cgarcia@igalia.com>
535
536         Unreviewed GTK+ gardening. Add platform specific resuls for http/tests/security/module-no-mime-type.html.
537
538         libsoup sniffer correctly guesses the perl MIME type as text/plain which is still an invalid JavaScript MIME type.
539
540         * platform/gtk/http/tests/security/module-no-mime-type-expected.txt: Added.
541
542 2017-02-14  Joseph Pecoraro  <pecoraro@apple.com>
543
544         Fix typo in performance-observer-callback-mutate.html
545         https://bugs.webkit.org/show_bug.cgi?id=168294
546
547         Reviewed by Ryosuke Niwa.
548
549         * performance-api/performance-observer-callback-mutate-expected.txt:
550         * performance-api/performance-observer-callback-mutate.html:
551
552 2017-02-13  Antoine Quint  <graouts@apple.com>
553
554         REGRESSION: Update volume and scrubbing slider to match HI designs
555         https://bugs.webkit.org/show_bug.cgi?id=168170
556         <rdar://problem/28095266>
557
558         Reviewed by Dean Jackson.
559
560         Rebaselining a host of existing tests to account for new DOM structure, metrics,
561         colors, blend modes, etc. We're also adding a new test for the BackgroundTint
562         class and removing one for the slider fill which is no longer appopriate since
563         we're drawing the slider's fill with a <canvas> element rather than a DOM element.
564
565         * media/modern-media-controls/background-tint/background-tint-expected.txt: Added.
566         * media/modern-media-controls/background-tint/background-tint.html: Added.
567         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-time-control-styles-expected.txt:
568         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-time-control-styles.html:
569         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
570         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt:
571         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
572         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor-expected.txt:
573         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor.html:
574         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles-expected.txt:
575         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles.html:
576         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin.html:
577         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-time-control-styles-expected.txt:
578         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-time-control-styles.html:
579         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-volume-styles-expected.txt:
580         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-volume-styles.html:
581         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-buttons-styles-expected.txt:
582         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-buttons-styles.html:
583         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor-expected.txt:
584         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor.html:
585         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-controls-bar-styles-expected.txt:
586         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-controls-bar-styles.html:
587         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-layout-expected.txt:
588         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-layout.html:
589         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-resize-with-hidden-controls-bar.html:
590         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-time-control-styles-expected.txt:
591         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-time-control-styles.html:
592         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles-expected.txt:
593         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles.html:
594         * media/modern-media-controls/resources/media-controls-loader.js:
595         * media/modern-media-controls/scrubber/scrubber.html:
596         * media/modern-media-controls/slider/slider-constructor-expected.txt:
597         * media/modern-media-controls/slider/slider-constructor.html:
598         * media/modern-media-controls/slider/slider-fill-expected.txt: Removed.
599         * media/modern-media-controls/slider/slider-fill.html: Removed.
600         * media/modern-media-controls/slider/slider-styles-expected.txt:
601         * media/modern-media-controls/slider/slider-styles.html:
602         * media/modern-media-controls/time-label/time-label-expected.txt:
603         * media/modern-media-controls/time-label/time-label.html:
604         * media/modern-media-controls/tracks-panel/tracks-panel-population-expected.txt:
605         * media/modern-media-controls/tracks-panel/tracks-panel-population.html:
606         * media/modern-media-controls/tracks-support/tracks-support-show-and-populate-panel.html:
607         * media/modern-media-controls/volume-slider/volume-slider-value-expected.txt:
608         * media/modern-media-controls/volume-slider/volume-slider-value.html:
609         * media/modern-media-controls/volume-slider/volume-slider.html:
610         * media/modern-media-controls/volume-support/volume-support-click-expected.txt:
611         * media/modern-media-controls/volume-support/volume-support-click.html:
612         * media/modern-media-controls/volume-support/volume-support-drag-expected.txt:
613         * media/modern-media-controls/volume-support/volume-support-drag.html:
614
615 2017-02-13  Alex Christensen  <achristensen@webkit.org>
616
617         URLs with an invalid IPv4 address should be invalid
618         https://bugs.webkit.org/show_bug.cgi?id=168260
619
620         Reviewed by Tim Horton.
621
622         * fetch/fetch-url-serialization-expected.txt:
623
624 2017-02-13  Karim H  <karim@karhm.com>
625
626         Added the BSTR roles tag test for Windows.
627         https://bugs.webkit.org/show_bug.cgi?id=165545
628
629         Reviewed by Chris Fleizach.
630
631         * accessibility/win/bstr-elements-role-expected.txt: Added.
632         * accessibility/win/bstr-elements-role.html: Added.
633
634 2017-02-13  Said Abou-Hallawa  <sabouhallawa@apple.com>
635
636         The current frame of an image should not deleted if another frame is asynchronously being decoded
637         https://bugs.webkit.org/show_bug.cgi?id=167618
638
639         Reviewed by Simon Fraser.
640
641         This test did not crash on Mac when running it without this patch. But
642         the new ASSERT_IMPLIES(), which is added to BitmapImage::draw(), fires
643         when the other changes are not included. So the bug could have happened
644         without the patch but the crash did not since it requires a thread
645         contention in the system underlying components.
646
647         * fast/images/animated-image-draw-while-decode-expected.txt: Added.
648         * fast/images/animated-image-draw-while-decode.html: Added.
649
650 2017-02-13  Jiewen Tan  <jiewen_tan@apple.com>
651
652         [WebCrypto] WebInspector should indicate webkitSubtle is deprecated
653         https://bugs.webkit.org/show_bug.cgi?id=165913
654         <rdar://problem/30477222>
655
656         Reviewed by Joseph Pecoraro.
657
658         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html:
659         Change webkitSubtle to subtle.
660         * crypto/webkitSubtle/aes-cbc-192-encrypt-decrypt-expected.txt:
661         * crypto/webkitSubtle/aes-cbc-256-encrypt-decrypt-expected.txt:
662         * crypto/webkitSubtle/aes-cbc-encrypt-decrypt-expected.txt:
663         * crypto/webkitSubtle/aes-cbc-encrypt-decrypt-with-padding-expected.txt:
664         * crypto/webkitSubtle/aes-cbc-generate-key-expected.txt:
665         * crypto/webkitSubtle/aes-cbc-import-jwk-expected.txt:
666         * crypto/webkitSubtle/aes-cbc-invalid-length-expected.txt:
667         * crypto/webkitSubtle/aes-cbc-unwrap-failure-expected.txt:
668         * crypto/webkitSubtle/aes-cbc-unwrap-rsa-expected.txt:
669         * crypto/webkitSubtle/aes-cbc-wrap-rsa-expected.txt:
670         * crypto/webkitSubtle/aes-cbc-wrap-rsa-non-extractable-expected.txt:
671         * crypto/webkitSubtle/aes-cbc-wrong-key-class-expected.txt:
672         * crypto/webkitSubtle/aes-export-key-expected.txt:
673         * crypto/webkitSubtle/aes-kw-key-manipulation-expected.txt:
674         * crypto/webkitSubtle/aes-kw-wrap-unwrap-aes-expected.txt:
675         * crypto/webkitSubtle/aes-postMessage-expected.txt:
676         * crypto/webkitSubtle/argument-conversion-expected.txt:
677         * crypto/webkitSubtle/array-buffer-view-offset-expected.txt:
678         * crypto/webkitSubtle/gc-2-expected.txt:
679         * crypto/webkitSubtle/gc-expected.txt:
680         * crypto/webkitSubtle/hmac-check-algorithm-expected.txt:
681         * crypto/webkitSubtle/hmac-export-key-expected.txt:
682         * crypto/webkitSubtle/hmac-generate-key-expected.txt:
683         * crypto/webkitSubtle/hmac-import-jwk-expected.txt:
684         * crypto/webkitSubtle/hmac-postMessage-expected.txt:
685         * crypto/webkitSubtle/hmac-sign-verify-empty-key-expected.txt:
686         * crypto/webkitSubtle/hmac-sign-verify-expected.txt:
687         * crypto/webkitSubtle/import-jwk-expected.txt:
688         * crypto/webkitSubtle/jwk-export-use-values-expected.txt:
689         * crypto/webkitSubtle/jwk-import-use-values-expected.txt:
690         * crypto/webkitSubtle/rsa-export-generated-keys-expected.txt:
691         * crypto/webkitSubtle/rsa-export-key-expected.txt:
692         * crypto/webkitSubtle/rsa-export-private-key-expected.txt:
693         * crypto/webkitSubtle/rsa-indexeddb-expected.txt:
694         * crypto/webkitSubtle/rsa-indexeddb-non-exportable-expected.txt:
695         * crypto/webkitSubtle/rsa-indexeddb-non-exportable-private-expected.txt:
696         * crypto/webkitSubtle/rsa-indexeddb-private-expected.txt:
697         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key-expected.txt:
698         * crypto/webkitSubtle/rsa-oaep-key-manipulation-expected.txt:
699         * crypto/webkitSubtle/rsa-oaep-plaintext-length-expected.txt:
700         * crypto/webkitSubtle/rsa-oaep-wrap-unwrap-aes-expected.txt:
701         * crypto/webkitSubtle/rsa-postMessage-expected.txt:
702         * crypto/webkitSubtle/rsaes-pkcs1-v1_5-decrypt-expected.txt:
703         * crypto/webkitSubtle/rsaes-pkcs1-v1_5-wrap-unwrap-aes-expected.txt:
704         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-expected.txt:
705         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt:
706         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-import-jwk-expected.txt:
707         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-import-jwk-small-key-expected.txt:
708         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-sign-verify-expected.txt:
709         * crypto/webkitSubtle/sha-1-expected.txt:
710         * crypto/webkitSubtle/sha-224-expected.txt:
711         * crypto/webkitSubtle/sha-256-expected.txt:
712         * crypto/webkitSubtle/sha-384-expected.txt:
713         * crypto/webkitSubtle/sha-512-expected.txt:
714         * crypto/webkitSubtle/unimplemented-unwrap-crash-expected.txt:
715         * crypto/webkitSubtle/unwrapKey-check-usage-expected.txt:
716         * crypto/webkitSubtle/wrapKey-check-usage-expected.txt:
717         * fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt:
718
719 2017-02-13  Ryan Haddad  <ryanhaddad@apple.com>
720
721         Mark media/modern-media-controls/layout-node/addChild.html as flaky on El Capitan WK1.
722         https://bugs.webkit.org/show_bug.cgi?id=168074
723
724         Unreviewed test gardening.
725
726         * platform/mac-wk1/TestExpectations:
727
728 2017-02-13  Ryan Haddad  <ryanhaddad@apple.com>
729
730         Mark media/modern-media-controls/forward-button/forward-button.html as flaky on mac-wk1.
731         https://bugs.webkit.org/show_bug.cgi?id=168265
732
733         Unreviewed test gardening.
734
735         * platform/mac-wk1/TestExpectations:
736
737 2017-02-13  Ryan Haddad  <ryanhaddad@apple.com>
738
739         Mark tiled-drawing/scrolling/latched-to-deleted-node.html as flaky on mac-wk2.
740         https://bugs.webkit.org/show_bug.cgi?id=168085
741
742         Unreviewed testg gardening.
743
744         * platform/mac-wk2/TestExpectations:
745
746 2017-02-13  Ryan Haddad  <ryanhaddad@apple.com>
747
748         Mark imported/w3c/web-platform-tests/dom/events/EventListener-invoke-legacy.html as flaky on debug.
749         https://bugs.webkit.org/show_bug.cgi?id=168238
750
751         Unreviewed test gardening.
752
753         * TestExpectations:
754
755 2017-02-13  Ryan Haddad  <ryanhaddad@apple.com>
756
757         TestExpectations gardening for imported/w3c/web-platform-tests/html/semantics/embedded-content/the-area-element/area-download-click.html.
758
759         Unreviewed test gardening.
760
761         * platform/ios-simulator/TestExpectations:
762         * platform/mac-wk1/TestExpectations:
763
764 2017-02-13  Myles C. Maxfield  <mmaxfield@apple.com>
765
766         Update custom line breaking iterators to the latest version of Unicode
767         https://bugs.webkit.org/show_bug.cgi?id=168182
768
769         Reviewed by Zalan Bujtas.
770
771         Migrated to TestWebKitAPI.
772
773         * css3/line-break/line-break-auto-centered-2-expected.html: Removed.
774         * css3/line-break/line-break-auto-centered-2.html: Removed.
775         * css3/line-break/line-break-auto-centered-expected.html: Removed.
776         * css3/line-break/line-break-auto-centered.html: Removed.
777         * css3/line-break/line-break-auto-half-kana-2-expected.html: Removed.
778         * css3/line-break/line-break-auto-half-kana-2.html: Removed.
779         * css3/line-break/line-break-auto-half-kana-3-expected.html: Removed.
780         * css3/line-break/line-break-auto-half-kana-3.html: Removed.
781         * css3/line-break/line-break-auto-half-kana-4-expected.html: Removed.
782         * css3/line-break/line-break-auto-half-kana-4.html: Removed.
783         * css3/line-break/line-break-auto-half-kana-5-expected.html: Removed.
784         * css3/line-break/line-break-auto-half-kana-5.html: Removed.
785         * css3/line-break/line-break-auto-half-kana-expected.html: Removed.
786         * css3/line-break/line-break-auto-half-kana.html: Removed.
787         * css3/line-break/line-break-auto-hyphens-expected.html: Removed.
788         * css3/line-break/line-break-auto-hyphens.html: Removed.
789         * css3/line-break/line-break-auto-inseparables-expected.html: Removed.
790         * css3/line-break/line-break-auto-inseparables.html: Removed.
791         * css3/line-break/line-break-auto-iteration-marks-expected.html: Removed.
792         * css3/line-break/line-break-auto-iteration-marks.html: Removed.
793         * css3/line-break/line-break-auto-postfixes-expected.html: Removed.
794         * css3/line-break/line-break-auto-postfixes.html: Removed.
795         * css3/line-break/line-break-auto-prefixes-expected.html: Removed.
796         * css3/line-break/line-break-auto-prefixes.html: Removed.
797         * css3/line-break/line-break-auto-sound-marks-expected.html: Removed.
798         * css3/line-break/line-break-auto-sound-marks.html: Removed.
799         * css3/line-break/line-break-loose-centered-2-expected.html: Removed.
800         * css3/line-break/line-break-loose-centered-2.html: Removed.
801         * css3/line-break/line-break-loose-centered-expected.html: Removed.
802         * css3/line-break/line-break-loose-centered.html: Removed.
803         * css3/line-break/line-break-loose-half-kana-2-expected.html: Removed.
804         * css3/line-break/line-break-loose-half-kana-2.html: Removed.
805         * css3/line-break/line-break-loose-half-kana-3-expected.html: Removed.
806         * css3/line-break/line-break-loose-half-kana-3.html: Removed.
807         * css3/line-break/line-break-loose-half-kana-4-expected.html: Removed.
808         * css3/line-break/line-break-loose-half-kana-4.html: Removed.
809         * css3/line-break/line-break-loose-half-kana-5-expected.html: Removed.
810         * css3/line-break/line-break-loose-half-kana-5.html: Removed.
811         * css3/line-break/line-break-loose-half-kana-expected.html: Removed.
812         * css3/line-break/line-break-loose-half-kana.html: Removed.
813         * css3/line-break/line-break-loose-hyphens-expected.html: Removed.
814         * css3/line-break/line-break-loose-hyphens.html: Removed.
815         * css3/line-break/line-break-loose-inseparables-expected.html: Removed.
816         * css3/line-break/line-break-loose-inseparables.html: Removed.
817         * css3/line-break/line-break-loose-iteration-marks-expected.html: Removed.
818         * css3/line-break/line-break-loose-iteration-marks.html: Removed.
819         * css3/line-break/line-break-loose-postfixes-expected.html: Removed.
820         * css3/line-break/line-break-loose-postfixes.html: Removed.
821         * css3/line-break/line-break-loose-prefixes-expected.html: Removed.
822         * css3/line-break/line-break-loose-prefixes.html: Removed.
823         * css3/line-break/line-break-loose-sound-marks-expected.html: Removed.
824         * css3/line-break/line-break-loose-sound-marks.html: Removed.
825         * css3/line-break/line-break-normal-centered-2-expected.html: Removed.
826         * css3/line-break/line-break-normal-centered-2.html: Removed.
827         * css3/line-break/line-break-normal-centered-expected.html: Removed.
828         * css3/line-break/line-break-normal-centered.html: Removed.
829         * css3/line-break/line-break-normal-half-kana-2-expected.html: Removed.
830         * css3/line-break/line-break-normal-half-kana-2.html: Removed.
831         * css3/line-break/line-break-normal-half-kana-3-expected.html: Removed.
832         * css3/line-break/line-break-normal-half-kana-3.html: Removed.
833         * css3/line-break/line-break-normal-half-kana-4-expected.html: Removed.
834         * css3/line-break/line-break-normal-half-kana-4.html: Removed.
835         * css3/line-break/line-break-normal-half-kana-5-expected.html: Removed.
836         * css3/line-break/line-break-normal-half-kana-5.html: Removed.
837         * css3/line-break/line-break-normal-half-kana-expected.html: Removed.
838         * css3/line-break/line-break-normal-half-kana.html: Removed.
839         * css3/line-break/line-break-normal-hyphens-expected.html: Removed.
840         * css3/line-break/line-break-normal-hyphens.html: Removed.
841         * css3/line-break/line-break-normal-inseparables-expected.html: Removed.
842         * css3/line-break/line-break-normal-inseparables.html: Removed.
843         * css3/line-break/line-break-normal-iteration-marks-expected.html: Removed.
844         * css3/line-break/line-break-normal-iteration-marks.html: Removed.
845         * css3/line-break/line-break-normal-postfixes-expected.html: Removed.
846         * css3/line-break/line-break-normal-postfixes.html: Removed.
847         * css3/line-break/line-break-normal-prefixes-expected.html: Removed.
848         * css3/line-break/line-break-normal-prefixes.html: Removed.
849         * css3/line-break/line-break-normal-sound-marks-expected.html: Removed.
850         * css3/line-break/line-break-normal-sound-marks.html: Removed.
851         * css3/line-break/line-break-strict-centered-2-expected.html: Removed.
852         * css3/line-break/line-break-strict-centered-2.html: Removed.
853         * css3/line-break/line-break-strict-centered-expected.html: Removed.
854         * css3/line-break/line-break-strict-centered.html: Removed.
855         * css3/line-break/line-break-strict-half-kana-2-expected.html: Removed.
856         * css3/line-break/line-break-strict-half-kana-2.html: Removed.
857         * css3/line-break/line-break-strict-half-kana-3-expected.html: Removed.
858         * css3/line-break/line-break-strict-half-kana-3.html: Removed.
859         * css3/line-break/line-break-strict-half-kana-4-expected.html: Removed.
860         * css3/line-break/line-break-strict-half-kana-4.html: Removed.
861         * css3/line-break/line-break-strict-half-kana-5-expected.html: Removed.
862         * css3/line-break/line-break-strict-half-kana-5.html: Removed.
863         * css3/line-break/line-break-strict-half-kana-expected.html: Removed.
864         * css3/line-break/line-break-strict-half-kana.html: Removed.
865         * css3/line-break/line-break-strict-hyphens-expected.html: Removed.
866         * css3/line-break/line-break-strict-hyphens.html: Removed.
867         * css3/line-break/line-break-strict-inseparables-expected.html: Removed.
868         * css3/line-break/line-break-strict-inseparables.html: Removed.
869         * css3/line-break/line-break-strict-iteration-marks-expected.html: Removed.
870         * css3/line-break/line-break-strict-iteration-marks.html: Removed.
871         * css3/line-break/line-break-strict-postfixes-expected.html: Removed.
872         * css3/line-break/line-break-strict-postfixes.html: Removed.
873         * css3/line-break/line-break-strict-prefixes-expected.html: Removed.
874         * css3/line-break/line-break-strict-prefixes.html: Removed.
875         * css3/line-break/line-break-strict-sound-marks-expected.html: Removed.
876         * css3/line-break/line-break-strict-sound-marks.html: Removed.
877         * platform/ios-simulator-wk1/TestExpectations:
878         * platform/ios-simulator/TestExpectations:
879
880 2017-02-13  Ryan Haddad  <ryanhaddad@apple.com>
881
882         TestExpectations gardening for imported/w3c/web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click.html.
883
884         Unreviewed test gardening.
885
886         * platform/ios-simulator/TestExpectations:
887         * platform/mac-wk1/TestExpectations:
888         * platform/mac-wk2/TestExpectations:
889
890 2017-02-12  Ryosuke Niwa  <rniwa@webkit.org>
891
892         parserRemoveChild should unload subframes
893         https://bugs.webkit.org/show_bug.cgi?id=168151
894
895         Reviewed by Darin Adler.
896
897         Add two W3C-style testharness tests for unloading iframes inside the adoption agency algorithm.
898
899         Also added a test to make sure ContainerNode::takeAllChildrenFrom adjusts the focused element and DOM ranges.
900
901         * fast/css/stylesheet-candidate-nodes-crash-expected.txt: Rebaselined. The difference comes from the fact
902         iframe now is unloaded in parserRemoveChild as expected and then reloaded in parserAppendChild inside
903         insertErrorMessageBlock as opposed to after the parser had completed as if the iframe had never been detached.
904         * fast/parser/adoption-agency-clear-focus-range-expected.txt: Added.
905         * fast/parser/adoption-agency-clear-focus-range.html: Added.
906         * fast/parser/adoption-agency-unload-iframe-1-expected.txt: Added.
907         * fast/parser/adoption-agency-unload-iframe-1.html: Added.
908         * fast/parser/adoption-agency-unload-iframe-2-expected.txt: Added.
909         * fast/parser/adoption-agency-unload-iframe-2.html: Added.
910
911 2017-02-12  Ryosuke Niwa  <rniwa@webkit.org>
912
913         REGRESSION (r179497): Crash inside setAttributeNode
914         https://bugs.webkit.org/show_bug.cgi?id=168161
915         <rdar://problem/30451581>
916
917         Reviewed by Andreas Kling.
918
919         Added a regression test.
920
921         * fast/dom/Attr/make-unique-element-data-while-replacing-attr-expected.txt: Added.
922         * fast/dom/Attr/make-unique-element-data-while-replacing-attr.html: Added.
923
924 2017-02-12  Carlos Garcia Campos  <cgarcia@igalia.com>
925
926         [GTK] Handle caps lock indicator in event modifiers
927         https://bugs.webkit.org/show_bug.cgi?id=168186
928
929         Reviewed by Michael Catanzaro.
930
931         Add platform specific results for fast/events/special-key-events-in-input-text.html. This patch fixes the caps
932         lock key case, but we still have different results in the PrintScreen case.
933
934         * platform/gtk/fast/events/special-key-events-in-input-text-expected.txt: Added.
935
936 2017-02-12  Carlos Garcia Campos  <cgarcia@igalia.com>
937
938         Unreviewed GTK+ gardening. Rebaseline some test and update expectations.
939
940         * platform/gtk/TestExpectations:
941         * platform/gtk/fast/events/focus-label-legend-elements-with-tab-expected.txt: Added.
942         * platform/gtk/fast/events/touch/document-create-touch-expected.txt: Added.
943         * platform/gtk/fast/repaint/block-inputrange-repaint-expected.txt: Added.
944         * platform/gtk/http/tests/dom/document-attributes-null-handling-expected.txt: Added.
945
946 2017-02-11  Youenn Fablet  <youennf@gmail.com>
947
948         Refresh WPT tests up to 06c6c52e05e05483d3c844168a417ee27a554eb7
949         https://bugs.webkit.org/show_bug.cgi?id=168175
950
951         Reviewed by Sam Weinig.
952
953         * TestExpectations: Marking some tests as failing/skipping.
954         * tests-options.json:
955
956 2017-02-11  Sam Weinig  <sam@webkit.org>
957
958         Remove custom bindings for XSLTProcessor.idl
959         https://bugs.webkit.org/show_bug.cgi?id=168174
960
961         Reviewed by Andreas Kling.
962
963         * fast/xsl/xslt-processor-expected.txt:
964         * fast/xsl/xslt-processor.html:
965         Update test / results for subtle new no-result behavior.
966
967 2017-02-11  Andreas Kling  <akling@apple.com>
968
969         LayoutTest fast/scrolling/page-cache-back-overflow-scroll-restore.html is a flaky failure
970         <https://webkit.org/b/168084>
971
972         Reviewed by Michael Catanzaro.
973
974         Wait for a scroll event before triggering a navigation. This removes the flakiness.
975         Also use element.scrollTop to scroll the overflow:scroll element instead of eventSender.
976
977         * fast/scrolling/page-cache-back-overflow-scroll-restore.html:
978
979 2017-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
980
981         Unreviewed GTK+ gardening. Mark resource load stats tests as crashing.
982
983         * platform/gtk/TestExpectations:
984
985 2017-02-11  Chris Dumez  <cdumez@apple.com>
986
987         Implement URL's toJSON()
988         https://bugs.webkit.org/show_bug.cgi?id=167979
989
990         Reviewed by Sam Weinig.
991
992         Extend test coverage.
993
994         * fast/url/url-tojson-expected.txt: Added.
995         * fast/url/url-tojson.html: Added.
996
997 2017-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
998
999         Unreviewed GTK+ gardening. Update several tests expected to timeout that are failing now.
1000
1001         * platform/gtk/TestExpectations:
1002
1003 2017-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1004
1005         Unreviewed GTK+ gardening. Updated expectations of several WebCryptoAPI tests that are failing.
1006
1007         * platform/gtk/TestExpectations:
1008
1009 2017-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1010
1011         Unreviewed GTK+ gardening. Mark tests using drag and drop as crashing in Wayland.
1012
1013         * platform/gtk-wayland/TestExpectations:
1014
1015 2017-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1016
1017         Unreviewed GTK+ gardening. Rebaseline several tests.
1018
1019         * platform/gtk/fast/css/font_property_normal-expected.png:
1020         * platform/gtk/fast/css/font_property_normal-expected.txt:
1021         * platform/gtk/fast/dynamic/text-combine-expected.png:
1022         * platform/gtk/fast/dynamic/text-combine-expected.txt:
1023         * platform/gtk/fast/forms/select-empty-option-height-expected.png:
1024         * platform/gtk/fast/forms/select-empty-option-height-expected.txt:
1025         * platform/gtk/fast/forms/select-writing-direction-natural-expected.png:
1026         * platform/gtk/fast/forms/select-writing-direction-natural-expected.txt:
1027         * platform/gtk/fast/forms/validation-message-appearance-expected.png:
1028         * platform/gtk/fast/forms/validation-message-appearance-expected.txt:
1029         * platform/gtk/fast/images/icon-decoding-expected.png:
1030         * platform/gtk/fast/images/icon-decoding-expected.txt: Added.
1031         * platform/gtk/fast/inline/continuation-outlines-with-layers-expected.png:
1032         * platform/gtk/fast/inline/continuation-outlines-with-layers-expected.txt:
1033         * platform/gtk/fast/inline/left-right-center-inline-alignment-in-ltr-and-rtl-blocks-expected.txt:
1034         * platform/gtk/fast/layers/video-layer-expected.png:
1035         * platform/gtk/fast/layers/video-layer-expected.txt:
1036         * platform/gtk/fast/repaint/4776765-expected.txt: Added.
1037         * platform/gtk/fast/repaint/focus-ring-repaint-expected.txt: Added.
1038         * platform/gtk/fast/repaint/zoomed-fixed-background-expected.txt: Added.
1039         * platform/gtk/fast/scrolling/page-cache-back-overflow-scroll-restore-expected.txt: Added.
1040         * platform/gtk/http/tests/plugins/plugin-javascript-access-expected.txt:
1041         * platform/gtk/http/tests/security/contentSecurityPolicy/sandbox-empty-in-http-header-inherited-by-subframe-expected.txt: Added.
1042         * platform/gtk/inspector/css/get-system-fonts-expected.txt:
1043         * platform/gtk/plugins/plugin-javascript-access-expected.txt:
1044         * platform/gtk/svg/W3C-SVG-1.1/text-align-06-b-expected.png:
1045         * platform/gtk/svg/W3C-SVG-1.1/text-align-06-b-expected.txt: Added.
1046         * platform/gtk/svg/batik/text/verticalText-expected.png:
1047         * platform/gtk/svg/batik/text/verticalText-expected.txt: Added.
1048         * platform/gtk/svg/batik/text/verticalTextOnPath-expected.png:
1049         * platform/gtk/svg/batik/text/verticalTextOnPath-expected.txt: Added.
1050         * platform/gtk/svg/text/text-align-06-b-expected.png:
1051         * platform/gtk/svg/text/text-align-06-b-expected.txt: Added.
1052         * platform/gtk/tables/mozilla/bugs/bug4427-expected.png:
1053         * platform/gtk/tables/mozilla/bugs/bug4427-expected.txt:
1054
1055 2017-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1056
1057         Unreviewed GTK+ gardening. Remove more platform specific results.
1058
1059         * platform/gtk/fast/media/w3c/test_media_queries-expected.txt: Removed.
1060         * platform/gtk/http/tests/eventsource/eventsource-cors-non-http-expected.txt: Removed.
1061         * platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt: Removed.
1062         * platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/failure-expected.txt: Removed.
1063
1064 2017-02-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1065
1066         Unreviewed GTK+ gardening. Update platform specific results for fast/css-generated-content/malformed-url.html and fast/events/mouse-cursor-image-set.html
1067
1068         Remove platform specific results of fast/css-generated-content/malformed-url.html and add platform specific
1069         results for fast/events/mouse-cursor-image-set.html, because this test fails only for the missing scale due to
1070         MOUSE_CURSOR_SCALE not implemented in GTK+ port.
1071
1072         * platform/gtk/TestExpectations:
1073         * platform/gtk/fast/css-generated-content/malformed-url-expected.txt: Removed.
1074         * platform/gtk/fast/events/mouse-cursor-image-set-expected.txt: Added.
1075
1076 2017-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1077
1078         Unreviewed GTK+ gardening. Skip CSS image-orientation and image-resolution tests.
1079
1080         * platform/gtk/TestExpectations:
1081
1082 2017-02-10  John Wilander  <wilander@apple.com>
1083
1084         Updates to Resource Load Statistics: Get the right website data store and introduce timeout for user interaction
1085         https://bugs.webkit.org/show_bug.cgi?id=167474
1086         <rdar://problem/24681808>
1087         <rdar://problem/24703286>
1088         <rdar://problem/30290270>
1089
1090         Reviewed by Andy Estes.
1091
1092         * TestExpectations:
1093             Marked as general skip (see WK2 expectations below).
1094         * http/tests/loading/resourceLoadStatistics: Added.
1095         * http/tests/loading/resourceLoadStatistics/non-prevalent-resource-with-user-interaction-expected.txt: Added.
1096         * http/tests/loading/resourceLoadStatistics/non-prevalent-resource-with-user-interaction.html: Added.
1097         * http/tests/loading/resourceLoadStatistics/non-prevalent-resource-without-user-interaction-expected.txt: Added.
1098         * http/tests/loading/resourceLoadStatistics/non-prevalent-resource-without-user-interaction.html: Added.
1099         * http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-expected.txt: Added.
1100         * http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout-expected.txt: Added.
1101         * http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction-timeout.html: Added.
1102         * http/tests/loading/resourceLoadStatistics/prevalent-resource-with-user-interaction.html: Added.
1103         * http/tests/loading/resourceLoadStatistics/prevalent-resource-without-user-interaction-expected.txt: Added.
1104         * http/tests/loading/resourceLoadStatistics/prevalent-resource-without-user-interaction.html: Added.
1105         * platform/wk2/TestExpectations:
1106             Marked as valid for WebKit2 only.
1107
1108 2017-02-10  Sam Weinig  <sam@webkit.org>
1109
1110         [WebIDL] Cleanup XMLHttpRequest's bindings
1111         https://bugs.webkit.org/show_bug.cgi?id=168067
1112
1113         Reviewed by Chris Dumez.
1114
1115         * http/tests/xmlhttprequest/set-bad-headervalue.html:
1116         Update test now that we throw the correct exceptions.
1117
1118 2017-02-10  Chris Dumez  <cdumez@apple.com>
1119
1120         document.origin doesn't match spec
1121         https://bugs.webkit.org/show_bug.cgi?id=168022
1122
1123         Reviewed by Sam Weinig.
1124
1125         * http/tests/media/media-stream/enumerate-devices-source-id-persistent.html:
1126         Fix test that was passing only because the document.origin would never match the
1127         expected string:
1128         - Move idCounts to the global scope has the handler function is called 3 times
1129           and we need to properly update the same idCounts object in all 3 calls.
1130         - Fix initialization of idCounts to start at 1, not 0. Otherwise, idCounts[uniqueID]
1131           is 0 instead of 1.
1132         - Use a Map instead of an array since the ids are UUID strings, not integers.
1133         - Fix check for non-unique ids, was idCounts[deviceId] == 1 instead of
1134          idCounts[deviceId] != 1.
1135
1136         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade.html:
1137         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https.html:
1138         * http/tests/ssl/iframe-upgrade.https.html:
1139         Update / rebaseline now that document.origin has the right format.
1140
1141 2017-02-10  Simon Fraser  <simon.fraser@apple.com>
1142
1143         REGRESSION (r211845): [ios-simulator] LayoutTest compositing/masks/solid-color-masked.html is a flaky failure
1144         https://bugs.webkit.org/show_bug.cgi?id=168054
1145
1146         Reviewed by Tim Horton.
1147
1148         Make the timeout 10ms so the test consistently fails with the old code.
1149
1150         * compositing/masks/solid-color-masked.html:
1151
1152 2017-02-10  Ryan Haddad  <ryanhaddad@apple.com>
1153
1154         Unreviewed test gardening.
1155
1156         * TestExpectations:
1157
1158 2017-02-10  Simon Fraser  <simon.fraser@apple.com>
1159
1160         Make sure the "inwindow" flag propagates to TiledBackings for masks and reflections
1161         https://bugs.webkit.org/show_bug.cgi?id=168127
1162         rdar://problem/30467120
1163
1164         Reviewed by Tim Horton.
1165
1166         * compositing/tiling/tiled-mask-inwindow-expected.txt: Added.
1167         * compositing/tiling/tiled-mask-inwindow.html: Added.
1168         * compositing/tiling/tiled-reflection-inwindow-expected.txt: Added.
1169         * compositing/tiling/tiled-reflection-inwindow.html: Added.
1170         * platform/ios-simulator-wk1/compositing/tiling/tiled-mask-inwindow-expected.txt: Added.
1171         * platform/ios-simulator-wk1/compositing/tiling/tiled-reflection-inwindow-expected.txt: Added.
1172         * platform/ios-simulator-wk2/compositing/tiling/tiled-mask-inwindow-expected.txt: Added.
1173         * platform/ios-simulator-wk2/compositing/tiling/tiled-reflection-inwindow-expected.txt: Added.
1174         * platform/mac-wk1/compositing/tiling/tiled-mask-inwindow-expected.txt: Added.
1175         * platform/mac-wk1/compositing/tiling/tiled-reflection-inwindow-expected.txt: Added.
1176
1177 2017-02-09  Simon Fraser  <simon.fraser@apple.com>
1178
1179         Tiled layers are sometimes left with some tiles when outside the viewport
1180         https://bugs.webkit.org/show_bug.cgi?id=168104
1181
1182         Reviewed by Tim Horton.
1183
1184         * tiled-drawing/tile-coverage-iframe-to-zero-coverage-expected.txt: Added.
1185         * tiled-drawing/tile-coverage-iframe-to-zero-coverage.html: Added.
1186
1187 2017-02-10  Joseph Pecoraro  <pecoraro@apple.com>
1188
1189         [Resource Timing] Enable Resource Timing by default in Tests
1190         https://bugs.webkit.org/show_bug.cgi?id=168145
1191
1192         Reviewed by Ryosuke Niwa.
1193
1194         * fast/dom/Window/window-properties-performance-resource-timing.html:
1195         * http/tests/misc/resource-timing-resolution.html:
1196         * http/tests/performance/performance-resource-timing-cached-entries-expected.txt:
1197         * http/tests/performance/performance-resource-timing-cached-entries.html:
1198         * http/tests/performance/performance-resource-timing-entries-iterable.html:
1199         * http/tests/performance/performance-resource-timing-entries.html:
1200         * http/tests/performance/performance-resource-timing-initiator-css.html:
1201         * http/tests/performance/performance-resource-timing-initiator-no-override.html:
1202         * http/tests/performance/performance-resource-timing-xhr-single-entry.html:
1203         * http/tests/preload/dynamic_remove_preload_href-expected.txt:
1204         * http/tests/preload/dynamic_remove_preload_href.html:
1205         * http/tests/preload/dynamic_removing_preload.html:
1206         * http/tests/preload/not_evicting_preload_at_onload.html:
1207         * http/tests/preload/single_download_preload-expected.txt:
1208         * http/tests/preload/single_download_preload.html:
1209         * resources/testharnessreport.js:
1210         Eliminate the internals setResourceTimingEnabled way to toggle a runtime feature.
1211
1212         * platform/efl/js/dom/global-constructors-attributes-expected.txt:
1213         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
1214         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
1215         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
1216         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
1217         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1218         * platform/win/js/dom/global-constructors-attributes-expected.txt:
1219         Update results when ResourceTiming is enabled.
1220
1221 2017-02-10  Chris Dumez  <cdumez@apple.com>
1222
1223         Update LayoutTests/resources/testharness.js
1224         https://bugs.webkit.org/show_bug.cgi?id=168100
1225
1226         Reviewed by Youenn Fablet.
1227
1228         Update LayoutTests/resources/testharness.js to match the web-platform-tests
1229         one landed in r211930.
1230
1231         * media/track/w3c/interfaces/HTMLTrackElement/srclang-expected.txt:
1232         * media/track/w3c/interfaces/TextTrack/language-expected.txt:
1233         * resources/testharness.js:
1234         (SharedWorkerTestEnvironment):
1235         (ServiceWorkerTestEnvironment):
1236         (create_test_environment):
1237         (promise_test):
1238         (EventWatcher):
1239         (is_node):
1240         (format_value):
1241         * streams/shadowing-Promise-expected.txt:
1242         * streams/shadowing-Promise.html:
1243         * streams/streams-public-array-api-expected.txt: Added.
1244         * streams/streams-public-array-api.html: Added.
1245
1246 2017-02-10  Ryan Haddad  <ryanhaddad@apple.com>
1247
1248         Skip some very slow WebCryptoAPI tests.
1249
1250         Unreviewed test gardening.
1251
1252         * TestExpectations:
1253
1254 2017-02-10  Jiewen Tan  <jiewen_tan@apple.com>
1255
1256         [WebCrypto] Remove imported/w3c/WebCryptoAPI tests
1257         https://bugs.webkit.org/show_bug.cgi?id=168064
1258
1259         Reviewed by Youenn Fablet.
1260
1261         * TestExpectations:
1262         Remove test expectations of imported/w3c/WebCryptoAPI tests.
1263
1264 2017-02-10  Joseph Pecoraro  <pecoraro@apple.com>
1265
1266         Remove platform expectations without tests
1267         https://bugs.webkit.org/show_bug.cgi?id=168139
1268
1269         Reviewed by Sam Weinig.
1270
1271         * platform/gtk/http/tests/w3c/webperf/approved/navigation-timing/html/test_performance_attributes_exist_in_object-expected.txt: Removed.
1272         * platform/gtk/http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_xserver_redirect-expected.txt: Removed.
1273
1274 2017-02-10  Chris Dumez  <cdumez@apple.com>
1275
1276         fast/forms/formsubmission-appendFormData-crash.html times out on WebKit1
1277         https://bugs.webkit.org/show_bug.cgi?id=168133
1278
1279         Reviewed by Brent Fulgham.
1280
1281         Call testRunner.notifyDone() synchronously instead of doing it in a
1282         setTimeout(). The test no longer times out on WK1 and still reproduces
1283         the original bug.
1284
1285         * fast/forms/formsubmission-appendFormData-crash.html:
1286
1287 2017-02-10  Filip Pizlo  <fpizlo@apple.com>
1288
1289         LayoutTest workers/sab/postMessage-clones.html is a flaky failure
1290         https://bugs.webkit.org/show_bug.cgi?id=168129
1291
1292         Unreviewed, make this test more deterministic.
1293
1294         * workers/sab/postMessage-clones.html:
1295
1296 2017-02-10  Dave Hyatt  <hyatt@apple.com>
1297
1298         [CSS Parser] Make intercap property values serialize correctly
1299         https://bugs.webkit.org/show_bug.cgi?id=168073
1300
1301         Reviewed by Zalan Bujtas.
1302
1303         * fast/css/getComputedStyle/computed-style-expected.txt:
1304         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
1305         * fast/css/image-rendering-parsing-expected.txt:
1306         * fast/css/parsing-text-rendering-expected.txt:
1307         * fast/css/resources/parsing-text-rendering.js:
1308         * fast/css/script-tests/image-rendering-parsing.js:
1309         * svg/css/getComputedStyle-basic-expected.txt:
1310         * svg/css/script-tests/shape-rendering-parsing.js:
1311         * svg/css/shape-rendering-parsing-expected.txt:
1312         * transforms/2d/transform-value-types-expected.txt:
1313         * transforms/2d/transform-value-types.html:
1314
1315 2017-02-08  Jiewen Tan  <jiewen_tan@apple.com>
1316
1317         [WebCrypto] Import imported/w3c/web-platform-tests/WebCryptoAPI tests
1318         https://bugs.webkit.org/show_bug.cgi?id=165723
1319
1320         Reviewed by Youenn Fablet.
1321
1322         * TestExpectations:
1323         Skip superset/unsupported tests and mark slow tests as Slow.
1324         * tests-options.json:
1325
1326 2017-02-10  Ryan Haddad  <ryanhaddad@apple.com>
1327
1328         Mark compositing/masks/solid-color-masked.html as failing on ios-simulator.
1329         https://bugs.webkit.org/show_bug.cgi?id=168054
1330
1331         Unreviewed test gardening.
1332
1333         * platform/ios-simulator/TestExpectations:
1334
1335 2017-02-10  Ryan Haddad  <ryanhaddad@apple.com>
1336
1337         Add platform specific expected.txt  file for fast/text/mark-matches-overflow-clip.html after r212113.
1338
1339         Unreviewed test gardening.
1340
1341         * fast/text/mark-matches-overflow-clip-expected.txt:
1342         * platform/gtk/fast/text/mark-matches-overflow-clip-expected.txt: Copied from LayoutTests/fast/text/mark-matches-overflow-clip-expected.txt.
1343
1344 2017-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1345
1346         Unreviewed GTK+ gardening. Rebaseline several fast/text/ tests.
1347
1348         * fast/text/mark-matches-overflow-clip-expected.txt:
1349         * platform/gtk/fast/text/crash-complex-text-surrogate-expected.txt:
1350         * platform/gtk/fast/text/hyphenate-first-word-expected.png:
1351         * platform/gtk/fast/text/hyphenate-first-word-expected.txt:
1352         * platform/gtk/fast/text/hyphenate-limit-lines-expected.png:
1353         * platform/gtk/fast/text/hyphenate-limit-lines-expected.txt:
1354         * platform/gtk/fast/text/hyphens-expected.png:
1355         * platform/gtk/fast/text/hyphens-expected.txt:
1356         * platform/gtk/fast/text/international/text-combine-image-test-expected.png:
1357         * platform/gtk/fast/text/international/text-combine-image-test-expected.txt:
1358         * platform/gtk/fast/text/international/thai-line-breaks-expected.png:
1359         * platform/gtk/fast/text/international/thai-line-breaks-expected.txt:
1360         * platform/gtk/fast/text/orientation-sideways-expected.png:
1361         * platform/gtk/fast/text/orientation-sideways-expected.txt:
1362         * platform/gtk/fast/text/whitespace/023-expected.txt:
1363
1364 2017-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1365
1366         Unreviewed GTK+ gardening. Rebaseline fast/table/ tests.
1367
1368         * platform/gtk/fast/table/border-collapsing/004-vertical-expected.png:
1369         * platform/gtk/fast/table/border-collapsing/004-vertical-expected.txt:
1370         * platform/gtk/fast/table/border-collapsing/cached-change-cell-border-width-expected.txt:
1371
1372 2017-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
1373
1374         Unreviewed GTK+ gardening. Update expectations of CSS shapes duplicated tests.
1375
1376         * platform/gtk/TestExpectations:
1377
1378 2017-02-10  Zan Dobersek  <zdobersek@igalia.com>
1379
1380         [EME] Implement MediaKeySession::load()
1381         https://bugs.webkit.org/show_bug.cgi?id=168041
1382
1383         Reviewed by Xabier Rodriguez-Calvar.
1384
1385         Add the mock-MediaKeySession-load.html test, testing the basic behavior
1386         of the MediaKeySession::load() implementation. Invalid session IDs and
1387         session types are tested to ensure the returned promise is rejected.
1388         A simplistic test case also tests that for a valid session ID and
1389         session type, the basic MockCDM implementation correctly 'loads' the
1390         specified session and provides the 'license-renewal' message in return.
1391         More tests should be added as the EME implementation advances and the
1392         MockCDM implementations improve to cover additional cases.
1393
1394         * media/encrypted-media/mock-MediaKeySession-load-expected.txt: Added.
1395         * media/encrypted-media/mock-MediaKeySession-load.html: Added.
1396         * platform/efl/TestExpectations:
1397         * platform/mac/TestExpectations:
1398
1399 2017-02-10  Zan Dobersek  <zdobersek@igalia.com>
1400
1401         [EME] Implement MediaKeySession::sessionClosed()
1402         https://bugs.webkit.org/show_bug.cgi?id=168039
1403
1404         Reviewed by Xabier Rodriguez-Calvar.
1405
1406         Enhance the mock-MediaKeySession-close.html test by adding test cases
1407         covering the dispatch of the promise that's accessible through the
1408         'closed' attribute and covering the session closure status, making
1409         sure that various operations properly resolve or reject after the
1410         session object was closed.
1411
1412         * media/encrypted-media/mock-MediaKeySession-close-expected.txt:
1413         * media/encrypted-media/mock-MediaKeySession-close.html:
1414
1415 2017-02-10  Zan Dobersek  <zdobersek@igalia.com>
1416
1417         [EME] Implement MediaKeySession::updateKeyStatuses(), MediaKeyStatusMap
1418         https://bugs.webkit.org/show_bug.cgi?id=167888
1419
1420         Reviewed by Xabier Rodriguez-Calvar.
1421
1422         Add another test case to the mock-MediaKeySession-update.html test that
1423         ensures the keystatuseschange event is fired on the MediaKeySession object
1424         and that the status of the keys is properly reported through the
1425         MediaKeyStatusMap object associated with this MediaKeySession.
1426
1427         * media/encrypted-media/mock-MediaKeySession-update-expected.txt:
1428         * media/encrypted-media/mock-MediaKeySession-update.html:
1429
1430 2017-02-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1431
1432         Unreviewed GTK+ gardening. Update expectations of tests using CSS3 Text each-line and hanging indent.
1433
1434         * platform/gtk/TestExpectations:
1435
1436 2017-02-09  Chris Dumez  <cdumez@apple.com>
1437
1438         [Mac][WK2] Use MIME type to add file extension to downloads' suggested filenames when missing
1439         https://bugs.webkit.org/show_bug.cgi?id=168077
1440         <rdar://problem/30412595>
1441
1442         Reviewed by Alex Christensen.
1443
1444         Rebaseline a couple of download tests where suggested filenames now have an extension
1445         and extend test coverage.
1446
1447         * fast/dom/HTMLAnchorElement/anchor-download-expected.txt:
1448         * fast/dom/HTMLAnchorElement/anchor-download-user-triggered-synthetic-click-expected.txt:
1449         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-no-extension-expected.txt: Added.
1450         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-no-extension.html: Added.
1451         * fast/dom/HTMLAnchorElement/anchor-nodownload-set-expected.txt:
1452         * http/tests/download/anchor-download-no-extension-expected.txt: Added.
1453         * http/tests/download/anchor-download-no-extension.html: Added.
1454         * platform/ios-simulator-wk2/TestExpectations:
1455         * platform/mac-wk1/TestExpectations:
1456         * platform/win/TestExpectations:
1457
1458 2017-02-09  Philip Rogers  <pdr@google.com>
1459
1460         SVG clip-path references can clip out later content
1461         https://bugs.webkit.org/show_bug.cgi?id=164181
1462
1463         Reviewed by Said Abou-Hallawa.
1464
1465         Make sure applying multiple clip-path references does not clip out later content.
1466
1467         * css3/masking/clip-path-reference-restore-expected.html: Added.
1468         * css3/masking/clip-path-reference-restore.html: Added.
1469
1470 2017-02-09  Filip Pizlo  <fpizlo@apple.com>
1471
1472         SharedArrayBuffer does not need to be in the transfer list
1473         https://bugs.webkit.org/show_bug.cgi?id=168079
1474
1475         Reviewed by Geoffrey Garen and Keith Miller.
1476         
1477         This adds tests that ensure that SABs behave correctly (are either cloned or shared)
1478         depending on context, and that we currently share SABs whether they are in the transfer
1479         list or not. This also adds tests for SABs being passed around via more complicated
1480         data structures.
1481
1482         * workers/sab/multi-memory-expected.txt: Added.
1483         * workers/sab/multi-memory-multi-buffer-expected.txt: Added.
1484         * workers/sab/multi-memory-multi-buffer.html: Added.
1485         * workers/sab/multi-memory-worker-1.js: Added.
1486         (onmessage):
1487         * workers/sab/multi-memory-worker-2.js: Added.
1488         (onmessage):
1489         * workers/sab/multi-memory.html: Added.
1490         * workers/sab/no-transfer-expected.txt: Added.
1491         * workers/sab/no-transfer.html: Added.
1492         * workers/sab/postMessage-clones-expected.txt: Added.
1493         * workers/sab/postMessage-clones.html: Added.
1494         * workers/sab/sab-creator-no-transfer.js: Added.
1495         * workers/sab/sab-creator-transfer.js: Added.
1496         * workers/sab/sent-from-worker-no-transfer-expected.txt: Added.
1497         * workers/sab/sent-from-worker-no-transfer.html: Added.
1498         * workers/sab/sent-from-worker-transfer-expected.txt: Added.
1499         * workers/sab/sent-from-worker-transfer.html: Added.
1500         * workers/sab/worker-resources.js:
1501
1502 2017-02-09  Chris Dumez  <cdumez@apple.com>
1503
1504         Make sure Event keeps its current target element alive
1505         https://bugs.webkit.org/show_bug.cgi?id=167885
1506         <rdar://problem/30376972>
1507
1508         Reviewed by Brent Fulgham.
1509
1510         Add layout test reproducing the crash.
1511
1512         * fast/events/currentTarget-gc-crash-expected.txt: Added.
1513         * fast/events/currentTarget-gc-crash.html: Added.
1514
1515 2017-02-09  Ryosuke Niwa  <rniwa@webkit.org>
1516
1517         Crash in render tree after dynamically mutating the slot value
1518         https://bugs.webkit.org/show_bug.cgi?id=167502
1519
1520         Reviewed by Antti Koivisto.
1521
1522         Added regression tests for the crash, and one for assigning non-empty slot value to a child
1523         of a summary element. The slot attribute should always be ignored since the fact summary
1524         element has its own shadow tree is an implementation detail that should never be exposed.
1525
1526         * fast/html/details-summary-slot-expected.html: Added.
1527         * fast/html/details-summary-slot.html: Added.
1528         * fast/shadow-dom/shadow-slot-attribute-change-crash-expected.txt: Added.
1529         * fast/shadow-dom/shadow-slot-attribute-change-crash.html: Added.
1530
1531 2017-02-09  Antti Koivisto  <antti@apple.com>
1532
1533         Details element doesn't work correctly when mutating content between closing and opening
1534         https://bugs.webkit.org/show_bug.cgi?id=167310
1535
1536         Reviewed by Ryosuke Niwa.
1537
1538         * fast/html/details-close-modify-open-expected.html: Added.
1539         * fast/html/details-close-modify-open.html: Added.
1540         * fast/shadow-dom/slot-remove-mutate-add-expected.html: Added.
1541         * fast/shadow-dom/slot-remove-mutate-add.html: Added.
1542
1543 2017-02-09  Chris Dumez  <cdumez@apple.com>
1544
1545         Crash under FormSubmission::create()
1546         https://bugs.webkit.org/show_bug.cgi?id=167200
1547         <rdar://problem/30096323>
1548
1549         Reviewed by Darin Adler.
1550
1551         Add layout test coverage.
1552
1553         * fast/forms/formsubmission-appendFormData-crash-expected.txt: Added.
1554         * fast/forms/formsubmission-appendFormData-crash.html: Added.
1555
1556 2017-02-09  Chris Dumez  <cdumez@apple.com>
1557
1558         Crash under HTMLFormElement::registerFormElement()
1559         https://bugs.webkit.org/show_bug.cgi?id=167162
1560
1561         Reviewed by Ryosuke Niwa.
1562
1563         Add layout test coverage.
1564
1565         * fast/forms/registerFormElement-crash-expected.txt: Added.
1566         * fast/forms/registerFormElement-crash.html: Added.
1567
1568 2017-02-09  Antti Koivisto  <antti@apple.com>
1569
1570         Tear down existing renderers when adding a shadow root.
1571         https://bugs.webkit.org/show_bug.cgi?id=167117
1572
1573         Reviewed by Andreas Kling.
1574
1575         * fast/shadow-dom/attach-shadow-teardown-expected.txt: Added.
1576         * fast/shadow-dom/attach-shadow-teardown.html: Added.
1577
1578 2017-02-09  Brent Fulgham  <bfulgham@apple.com>
1579
1580         Handle synchronous layout when setting a selection range
1581         https://bugs.webkit.org/show_bug.cgi?id=167092
1582         <rdar://problem/30041640>
1583
1584         Reviewed by Antti Koivisto.
1585
1586         * fast/forms/input-type-change-during-selection-expected.txt: Added.
1587         * fast/forms/input-type-change-during-selection.html: Added.
1588
1589 2017-02-09  Keith Miller  <keith_miller@apple.com>
1590
1591         Unreviewed, fix test for new .caller with native code caller semantics.
1592
1593         * js/dom/function-dot-arguments-and-caller.html:
1594
1595 2017-02-09  Mark Lam  <mark.lam@apple.com>
1596
1597         Constructed object's global object should be the global object of the constructor.
1598         https://bugs.webkit.org/show_bug.cgi?id=167121
1599         <rdar://problem/30054759>
1600
1601         Reviewed by Filip Pizlo and Geoffrey Garen.
1602
1603         * http/tests/security/xssAuditor/regress-167121-expected.txt: Added.
1604         * http/tests/security/xssAuditor/regress-167121.html: Added.
1605
1606 2017-02-09  Chris Dumez  <cdumez@apple.com>
1607
1608         REGRESSION: LayoutTest http/tests/cache/disk-cache/disk-cache-remove-several-pending-writes.html is a flaky failure
1609         https://bugs.webkit.org/show_bug.cgi?id=161650
1610
1611         Reviewed by Alexey Proskuryakov.
1612
1613         Make sure we clear the memory cache before trigerring new loads as this
1614         test is meant to cover the disk cache.
1615
1616         * http/tests/cache/disk-cache/disk-cache-remove-several-pending-writes.html:
1617         * platform/mac/TestExpectations:
1618
1619 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1620
1621         Mark inspector/model/remote-object-weak-collection.html as a flaky timeout.
1622
1623         Unreviewed test gardening.
1624
1625         * platform/mac/TestExpectations:
1626
1627 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1628
1629         Mark pointer-lock/mouse-event-delivery.html as flaky.
1630         https://bugs.webkit.org/show_bug.cgi?id=167965
1631
1632         Unreviewed test gardening.
1633
1634         * platform/mac-wk2/TestExpectations:
1635
1636 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1637
1638         Mark inspector/worker/resources-in-worker.html as flaky.
1639         https://bugs.webkit.org/show_bug.cgi?id=168091
1640
1641         Unreviewed test gardening.
1642
1643         * platform/mac/TestExpectations:
1644
1645 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1646
1647         Mark inspector/debugger/breakpoint-columns.html as a flaky timeout.
1648         https://bugs.webkit.org/show_bug.cgi?id=168090
1649
1650         Unreviewed test gardening.
1651
1652         * platform/mac/TestExpectations:
1653
1654 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1655
1656         Mark fast/backgrounds/hidpi-bitmap-background-on-subpixel-position.html as flaky.
1657         https://bugs.webkit.org/show_bug.cgi?id=167186
1658
1659         Unreviewed test gardening.
1660
1661         * platform/mac/TestExpectations:
1662
1663 2017-02-09  Brent Fulgham  <bfulgham@apple.com>
1664
1665         Disconnect shadow children of root when detaching a frame
1666         https://bugs.webkit.org/show_bug.cgi?id=166851
1667         <rdar://problem/29930443>
1668
1669         Reviewed by Andy Estes.
1670
1671         * fast/shadow-dom/resources/start.html: Added.
1672         * fast/shadow-dom/shadow-at-root-during-disconnect-expected.txt: Added.
1673         * fast/shadow-dom/shadow-at-root-during-disconnect.html: Added.
1674
1675 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1676
1677         Mark http/tests/contentextensions/async-xhr-onerror.html as flaky.
1678         https://bugs.webkit.org/show_bug.cgi?id=168081
1679
1680         Unreviewed test gardening.
1681
1682         * platform/mac-wk2/TestExpectations:
1683
1684 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1685
1686         Mark http/tests/contentextensions/invalid-selector.html as flaky.
1687         https://bugs.webkit.org/show_bug.cgi?id=168082
1688
1689         Unreviewed test gardening.
1690
1691         * platform/mac-wk2/TestExpectations:
1692
1693 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1694
1695         Mark http/tests/security/credentials-iframes.html as failing on ios-simulator.
1696         https://bugs.webkit.org/show_bug.cgi?id=167967
1697
1698         Unreviewed test gardening.
1699
1700         * platform/ios-simulator/TestExpectations:
1701
1702 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1703
1704         Mark fast/css-grid-layout/grid-simplified-layout-positioned.html as flaky.
1705         https://bugs.webkit.org/show_bug.cgi?id=167538
1706
1707         Unreviewed test gardening.
1708
1709         * platform/mac-wk2/TestExpectations:
1710
1711 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1712
1713         Unreviewed, rolling out r211802.
1714
1715         This change caused fast/regions/inline-block-inside-anonymous-
1716         overflow-with-covered-controls.html to be a flaky failure.
1717
1718         Reverted changeset:
1719
1720         "[Modern Media Controls] Improve handling of <video> with only
1721         audio tracks"
1722         https://bugs.webkit.org/show_bug.cgi?id=167836
1723         http://trac.webkit.org/changeset/211802
1724
1725 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1726
1727         Mark http/tests/media/track-in-band-hls-metadata-crash.html as a flaky timeout.
1728         https://bugs.webkit.org/show_bug.cgi?id=167749
1729
1730         Unreviewed test gardening.
1731
1732         * platform/mac/TestExpectations:
1733
1734 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1735
1736         Mark two scroll-snap tests as flaky.
1737
1738         Unreviewed test gardening.
1739
1740         * platform/mac-wk2/TestExpectations:
1741
1742 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1743
1744         Mark inspector/unit-tests/heap-snapshot.html as flaky.
1745         https://bugs.webkit.org/show_bug.cgi?id=168065
1746
1747         Unreviewed test gardening.
1748
1749         * platform/mac-wk2/TestExpectations:
1750
1751 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1752
1753         Mark two performance-api tests as flaky.
1754
1755         Unreviewed test gardening.
1756
1757         * TestExpectations:
1758
1759 2017-02-09  Ryan Haddad  <ryanhaddad@apple.com>
1760
1761         Skip media/modern-media-controls/media-controller/media-controller-ios-only-enable-tap-gesture-recognizer-with-fades-when-idle.html.
1762
1763         Unreviewed test gardening.
1764
1765         This test relies on touch events.
1766
1767         * platform/ios-simulator/TestExpectations:
1768
1769 2017-02-09  Chris Dumez  <cdumez@apple.com>
1770
1771         Object.getPrototypeOf(NodeFilter) should be Function.prototype, not Object.prototype
1772         https://bugs.webkit.org/show_bug.cgi?id=167964
1773
1774         Reviewed by Youenn Fablet.
1775
1776         Rebaseline existing tests now that output differs a bit.
1777
1778         * http/tests/security/cross-frame-access-put-expected.txt:
1779         * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
1780
1781 2017-02-09  Yusuke Suzuki  <utatane.tea@gmail.com>
1782
1783         Unreviewed, fix module test that has a meaningless onload handler
1784         https://bugs.webkit.org/show_bug.cgi?id=161291
1785
1786         * http/tests/misc/module-absolute-url.html:
1787
1788 2017-02-09  Ryosuke Niwa  <rniwa@webkit.org>
1789
1790         Adopting a child node of a script element can run script
1791         https://bugs.webkit.org/show_bug.cgi?id=167318
1792
1793         Reviewed by Darin Adler.
1794
1795         Added regression tests for adopting or removing a child node of a script element.
1796         The script must not run when nodes are adopted or removed.
1797
1798         * fast/html/script-must-not-run-when-child-is-adopted-expected.txt: Added.
1799         * fast/html/script-must-not-run-when-child-is-adopted.html: Added.
1800         * fast/html/script-must-not-run-when-child-is-removed-expected.txt: Added.
1801         * fast/html/script-must-not-run-when-child-is-removed.html: Added.
1802
1803 2017-02-09  Eric Carlson  <eric.carlson@apple.com>
1804
1805         [MediaStream] Remove legacy Navigator.webkitGetUserMedia
1806         https://bugs.webkit.org/show_bug.cgi?id=168016
1807         <rdar://problem/30431544>
1808
1809         Reviewed by Youenn Fablet.
1810
1811         Update valid tests to use navigator.mediaDevices.getUserMedia. Remove tests
1812         specific to Navigator.webkitGetUserMedia.
1813
1814         * fast/mediastream/RTCPeerConnection-AddRemoveStream.html:
1815         * fast/mediastream/argument-types.html: Removed.
1816         * fast/mediastream/delayed-permission-allowed.html:
1817         * fast/mediastream/delayed-permission-denied.html:
1818         * fast/mediastream/enabled-expected.txt:
1819         * fast/mediastream/error.html:
1820         * fast/mediastream/getusermedia.html: Removed.
1821         * fast/mediastream/script-tests/argument-types.js: Removed.
1822         * fast/mediastream/script-tests/enabled.js:
1823         (hasGetUserMediaProperty):
1824         * fast/mediastream/success.html:
1825         * fast/mediastream/webkitGetUserMedia-shadowing-then.html: Removed.
1826         * http/tests/media/media-stream/disconnected-frame-already-expected.txt:
1827         * http/tests/media/media-stream/disconnected-frame-already.html:
1828         * http/tests/media/media-stream/disconnected-frame-permission-denied.html:
1829         * http/tests/media/media-stream/disconnected-frame.html:
1830
1831 2017-02-09  Antoine Quint  <graouts@apple.com>
1832
1833         [Modern Media Controls] Tapping the skip back button on iOS inline media controls make the controls disappear
1834         https://bugs.webkit.org/show_bug.cgi?id=168049
1835         <rdar://problem/30442660>
1836
1837         Reviewed by Eric Carlson.
1838
1839         Add a new iOS-specific test that checks that tapping a button does not automatically dismisses the controls bar.
1840
1841         * media/modern-media-controls/media-controller/media-controller-ios-do-not-hide-controls-when-tapping-button-expected.txt: Added.
1842         * media/modern-media-controls/media-controller/media-controller-ios-do-not-hide-controls-when-tapping-button.html: Added.
1843         * platform/mac/TestExpectations:
1844
1845 2017-02-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1846
1847         Unreviewed GTK+ gardening. Skip tests that require UIScriptController::zoomToScale.
1848
1849         * platform/gtk/TestExpectations:
1850
1851 2017-02-09  Antoine Quint  <graouts@apple.com>
1852
1853         [Modern Media Controls] Playing an <audio> element on iOS makes the controls disappear
1854         https://bugs.webkit.org/show_bug.cgi?id=168047
1855         <rdar://problem/30441939>
1856
1857         Reviewed by Eric Carlson.
1858
1859         Add a new iOS-specific test that checks the TapGestureRecognizer is only enabled when
1860         fadesToIdle is true.
1861
1862         * media/modern-media-controls/media-controller/media-controller-ios-only-enable-tap-gesture-recognizer-with-fades-when-idle-expected.txt: Added.
1863         * media/modern-media-controls/media-controller/media-controller-ios-only-enable-tap-gesture-recognizer-with-fades-when-idle.html: Added.
1864         * platform/mac/TestExpectations:
1865
1866 2017-02-09  Antoine Quint  <graouts@apple.com>
1867
1868         [Modern Media Controls] <audio> element does not show any background on iOS
1869         https://bugs.webkit.org/show_bug.cgi?id=168046
1870         <rdar://problem/30441872>
1871
1872         Reviewed by Eric Carlson.
1873
1874         Add an iOS-specific test that checks that <audio> elements have a solid gray background.
1875
1876         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-audio-background-expected.txt: Added.
1877         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-audio-background.html: Added.
1878         * platform/mac/TestExpectations:
1879
1880 2017-02-09  Antoine Quint  <graouts@apple.com>
1881
1882         [Modern Media Controls] Controls fail to instantiate in an XHTML document
1883         https://bugs.webkit.org/show_bug.cgi?id=168045
1884         <rdar://problem/30290095>
1885
1886         Reviewed by Eric Carlson.
1887
1888         Add a new test to check that controls are created correctly when the media element
1889         is hosted in an XHTML document.
1890
1891         * media/modern-media-controls/media-controller/media-controller-in-xhtml-expected.txt: Added.
1892         * media/modern-media-controls/media-controller/media-controller-in-xhtml.xhtml: Added.
1893
1894 2017-02-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1895
1896         Unreviewed GTK+ gardening. Update tests that pass now with the URLParser enabled.
1897
1898         * platform/gtk/TestExpectations:
1899         * platform/gtk/fast/loader/redirect-to-invalid-url-using-javascript-calls-policy-delegate-expected.txt: Removed.
1900         * platform/gtk/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt: Removed.
1901         * platform/gtk/fast/loader/url-parse-1-expected.txt: Removed.
1902         * platform/gtk/fast/loader/window-open-to-invalid-url-calls-policy-delegate-expected.txt: Removed.
1903         * platform/gtk/fast/url/invalid-idn-expected.txt: Removed.
1904         * platform/gtk/fast/url/segments-userinfo-vs-host-expected.txt: Removed.
1905         * platform/gtk/fast/url/tab-and-newline-stripping-expected.txt: Removed.
1906         * platform/gtk/fast/url/url-credentials-escaping-expected.txt: Removed.
1907
1908 2017-02-09  Andreas Kling  <akling@apple.com>
1909
1910         Disallow accelerated rendering for ginormous 2D canvases.
1911         <https://webkit.org/b/167968>
1912         <rdar://problem/30119483>
1913
1914         Reviewed by Antti Koivisto.
1915
1916         Add a simple test that documents the fact that we no longer accelerate canvases
1917         larger than 5120x2880.
1918
1919         * compositing/canvas/accelerated-canvas-compositing-size-limit-expected.txt: Added.
1920         * compositing/canvas/accelerated-canvas-compositing-size-limit.html: Added.
1921         * platform/ios-simulator/compositing/canvas/accelerated-canvas-compositing-size-limit-expected.txt: Added.
1922
1923 2017-02-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1924
1925         Unreviewed GTK+ gardening. Add expectations for more tests that require drag and drop.
1926
1927         * platform/gtk/TestExpectations:
1928
1929 2017-02-08  Ryan Haddad  <ryanhaddad@apple.com>
1930
1931         Rebaseline emoji tests for ios-simulator.
1932
1933         Unreviewed test gardening.
1934
1935         * platform/ios-simulator/editing/deleting/delete-emoji-expected.txt:
1936         * platform/ios-simulator/fast/text/emoji-expected.txt:
1937
1938 2017-02-08  Commit Queue  <commit-queue@webkit.org>
1939
1940         Unreviewed, rolling out r211912.
1941         https://bugs.webkit.org/show_bug.cgi?id=168034
1942
1943         http/tests/media/media-stream/disconnected-frame-permission-
1944         denied.html should be updated (Requested by youenn on
1945         #webkit).
1946
1947         Reverted changeset:
1948
1949         "[MediaStream] Remove legacy Navigator.webkitGetUserMedia"
1950         https://bugs.webkit.org/show_bug.cgi?id=168016
1951         http://trac.webkit.org/changeset/211912
1952
1953 2017-02-08  Youenn Fablet  <youennf@gmail.com>
1954
1955         HTML Link elements should load data URLs as same origin
1956         https://bugs.webkit.org/show_bug.cgi?id=168032
1957         <rdar://problem/30275036>
1958
1959         Reviewed by Alex Christensen.
1960
1961         * fast/dom/data-url-css-link-element-cors-active-expected.txt: Added.
1962         * fast/dom/data-url-css-link-element-cors-active.html: Added.
1963
1964 2017-02-08  Sam Weinig  <sam@webkit.org>
1965
1966         REGRESSION (r193286): Promise chain no longer prevent UI refresh
1967         <rdar://problem/28062149>
1968         https://bugs.webkit.org/show_bug.cgi?id=161291
1969
1970         Reviewed by Geoffrey Garen.
1971
1972         * js/dom/Promise.html:
1973         Add a new subtest that ensures the ordering of multiple thenables and a setTimeout.
1974
1975 2017-02-08  Eric Carlson  <eric.carlson@apple.com>
1976
1977         [MediaStream] Remove legacy Navigator.webkitGetUserMedia
1978         https://bugs.webkit.org/show_bug.cgi?id=168016
1979
1980         Reviewed by Youenn Fablet.
1981
1982         Update valid tests to use navigator.mediaDevices.getUserMedia. Remove tests
1983         specific to Navigator.webkitGetUserMedia.
1984
1985         * fast/mediastream/RTCPeerConnection-AddRemoveStream.html:
1986         * fast/mediastream/argument-types.html: Removed.
1987         * fast/mediastream/delayed-permission-allowed.html:
1988         * fast/mediastream/delayed-permission-denied.html:
1989         * fast/mediastream/enabled-expected.txt:
1990         * fast/mediastream/error.html:
1991         * fast/mediastream/getusermedia.html: Removed.
1992         * fast/mediastream/script-tests/argument-types.js: Removed..
1993         * fast/mediastream/script-tests/enabled.js:
1994         (hasGetUserMediaProperty):
1995         * fast/mediastream/success.html:
1996         * fast/mediastream/webkitGetUserMedia-shadowing-then.html: Removed.
1997
1998 2017-02-08  Chris Dumez  <cdumez@apple.com>
1999
2000         Use smaller tiles in windows that are not active to facilitate App Napping
2001         https://bugs.webkit.org/show_bug.cgi?id=167997
2002         <rdar://problem/30358835>
2003
2004         Reviewed by Simon Fraser.
2005
2006         Add layout test coverage.
2007
2008         * compositing/tiling/non-active-window-tiles-size-expected.txt: Added.
2009         * compositing/tiling/non-active-window-tiles-size.html: Added.
2010         * platform/ios-simulator-wk2/compositing/tiling/non-active-window-tiles-size-expected.txt: Added.
2011         * platform/mac-wk1/compositing/tiling/non-active-window-tiles-size-expected.txt: Added.
2012
2013 2017-02-08  Chris Dumez  <cdumez@apple.com>
2014
2015         Unreviewed, rolling out r211907.
2016
2017         Broke the build
2018
2019         Reverted changeset:
2020
2021         "[MediaStream] Remove legacy Navigator.webkitGetUserMedia"
2022         https://bugs.webkit.org/show_bug.cgi?id=168016
2023         http://trac.webkit.org/changeset/211907
2024
2025 2017-02-08  Eric Carlson  <eric.carlson@apple.com>
2026
2027         [MediaStream] Remove legacy Navigator.webkitGetUserMedia
2028         https://bugs.webkit.org/show_bug.cgi?id=168016
2029
2030         Reviewed by Youenn Fablet.
2031
2032         Update valid tests to use navigator.mediaDevices.getUserMedia. Remove tests
2033         specific to Navigator.webkitGetUserMedia.
2034
2035         * fast/mediastream/RTCPeerConnection-AddRemoveStream.html:
2036         * fast/mediastream/argument-types.html: Removed.
2037         * fast/mediastream/delayed-permission-allowed.html:
2038         * fast/mediastream/delayed-permission-denied.html:
2039         * fast/mediastream/enabled-expected.txt:
2040         * fast/mediastream/error.html:
2041         * fast/mediastream/getusermedia.html: Removed.
2042         * fast/mediastream/script-tests/argument-types.js: Removed..
2043         * fast/mediastream/script-tests/enabled.js:
2044         (hasGetUserMediaProperty):
2045         * fast/mediastream/success.html:
2046         * fast/mediastream/webkitGetUserMedia-shadowing-then.html: Removed.
2047
2048 2017-02-08  Said Abou-Hallawa  <sabouhallawa@apple.com>
2049
2050         getIntersectionList always returns empty NodeList until layout is complete
2051         https://bugs.webkit.org/show_bug.cgi?id=81423
2052
2053         Reviewed by Simon Fraser.
2054
2055         * svg/custom/intersection-list-before-layout-expected.txt: Added.
2056         * svg/custom/intersection-list-before-layout.html: Added.
2057
2058 2017-02-08  Antoine Quint  <graouts@apple.com>
2059
2060         [Modern Media Controls] Implement reduced and tight padding modes
2061         https://bugs.webkit.org/show_bug.cgi?id=167933
2062         <rdar://problem/30396994>
2063
2064         Reviewed by Dean Jackson.
2065
2066         We rewrite the previously-written tests for "compact" mode and add some new tests for
2067         "reduced padding" and "tight padding" modes as well as new support in IconButton to
2068         update the icon based on a change of layout traits.
2069
2070         * media/modern-media-controls/icon-button/icon-button-change-layout-traits-expected.txt: Added.
2071         * media/modern-media-controls/icon-button/icon-button-change-layout-traits.html: Added.
2072         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-buttons-styles-expected.txt: Removed.
2073         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-constructor-expected.txt: Removed.
2074         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-constructor.html: Removed.
2075         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-controls-bar-styles-expected.txt: Removed.
2076         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-controls-bar-styles.html: Removed.
2077         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-layout-expected.txt: Removed.
2078         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-layout.html: Removed.
2079         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-volume-styles-expected.txt: Removed.
2080         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-volume-styles.html: Removed.
2081         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-compact-buttons-styles-expected.txt: Added.
2082         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-compact-buttons-styles.html: Added.
2083         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-compact-controls-bar-styles-expected.txt: Added.
2084         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-compact-controls-bar-styles.html: Added.
2085         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-compact-expected.txt: Added.
2086         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-compact.html: Added.
2087         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-reduced-padding-expected.txt: Added.
2088         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-reduced-padding.html: Added.
2089         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-tight-padding-expected.txt: Added.
2090         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-tight-padding.html: Added.
2091         * media/modern-media-controls/media-controller/media-controller-compact-expected.txt: Added.
2092         * media/modern-media-controls/media-controller/media-controller-compact.html: Added.
2093         * media/modern-media-controls/media-controller/media-controller-reduced-padding-expected.txt: Added.
2094         * media/modern-media-controls/media-controller/media-controller-reduced-padding.html: Added.
2095         * media/modern-media-controls/media-controller/media-controller-tight-padding-expected.txt: Added.
2096         * media/modern-media-controls/media-controller/media-controller-tight-padding.html: Added.
2097         * platform/ios-simulator/TestExpectations:
2098
2099 2017-02-08  Youenn Fablet  <youenn@apple.com>
2100
2101         RTCPeerConnection constructor can take null as input
2102         https://bugs.webkit.org/show_bug.cgi?id=167992
2103
2104         Reviewed by Chris Dumez.
2105
2106         Covered by updated and rebased tests.
2107
2108         * fast/mediastream/RTCPeerConnection-expected.txt:
2109         * fast/mediastream/RTCPeerConnection.html:
2110
2111 2017-02-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2112
2113         Unreviewed GTK+ gardening. Mark several imported w3c fetch API tests as failing.
2114
2115         See bug #167999.
2116
2117         * platform/gtk/TestExpectations:
2118
2119 2017-02-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2120
2121         Unreviewed GTK+ gardening. Skip more tests that require drag and drop.
2122
2123         It's not supported by WTR. See bug #157179.
2124
2125         * platform/gtk/TestExpectations:
2126
2127 2017-02-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2128
2129         Unreviewed GTK+ gardening. Add platform specific results for drag-select-when-zoomed tests.
2130
2131         It's quite difficult that those tests can generate common results in all ports, because the scale factor will
2132         cause a text reflow that will be different. I think this is why they are marked as failure in all other
2133         ports. I'm assuming our result is correct for our port.
2134
2135         * platform/gtk/fast/events/drag-select-when-zoomed-expected.txt: Added.
2136         * platform/gtk/fast/events/drag-select-when-zoomed-with-header-expected.txt: Added.
2137
2138 2017-02-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2139
2140         [GTK] Test fast/forms/select-empty-option-height.html fails
2141         https://bugs.webkit.org/show_bug.cgi?id=167985
2142
2143         Reviewed by Michael Catanzaro.
2144
2145         This seems to be a problem with the differences in scroll step or the size of the items in the list. The thing
2146         is that 10 attempts with an scroll amount of 10 is not enough in the GTk+ port to scroll the list to the desired
2147         point. Either increasing the scroll amount or the maximum attempts would fix the test. Increasing the scroll
2148         amount would break the test in other ports so better use a higher number of maximum attempts.
2149
2150         * fast/forms/listbox-respects-padding-bottom.html:
2151
2152 2017-02-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2153
2154         Unreviewed GTK+ gardening. Skip animations/font-variations/ tests.
2155
2156         They are marked as ImageOnlyFailure, but are actually failing now. I think it's better to simply skip all font
2157         variations tests since the build flag is always disabled in GTK+ port.
2158
2159         * platform/gtk/TestExpectations:
2160
2161 2017-02-08  Zan Dobersek  <zdobersek@igalia.com>
2162
2163         [EME] Implement MediaKeySession::remove()
2164         https://bugs.webkit.org/show_bug.cgi?id=167870
2165
2166         Reviewed by Xabier Rodriguez-Calvar.
2167
2168         Add the mock-MediaKeySession-remove.html test that tests the functionality
2169         of the MediaKeySession::remove() implementation. The test checks that the
2170         calls to that method properly resolve or reject the returned promise,
2171         depending on the object state. Another test checks the message that's
2172         queued upon a successful removal.
2173
2174         Additional tests will be added later once MediaKeySession properly
2175         implements the close() method and key status updates.
2176
2177         * media/encrypted-media/mock-MediaKeySession-remove-expected.txt: Added.
2178         * media/encrypted-media/mock-MediaKeySession-remove.html: Added.
2179         * platform/efl/TestExpectations:
2180         * platform/mac/TestExpectations:
2181
2182 2017-02-08  Zan Dobersek  <zdobersek@igalia.com>
2183
2184         [EME] Implement MediaKeySession::close()
2185         https://bugs.webkit.org/show_bug.cgi?id=167869
2186
2187         Reviewed by Xabier Rodriguez-Calvar.
2188
2189         Add the mock-MediaKeySession-close.html test case which checks proper
2190         behavior of MediaKeySession::close(), specifically that under specific
2191         conditions the promise returned by that method is properly resolved or
2192         rejected. The test is skipped on all platforms for now.
2193
2194         * media/encrypted-media/mock-MediaKeySession-close-expected.txt: Added.
2195         * media/encrypted-media/mock-MediaKeySession-close.html: Added.
2196         * platform/efl/TestExpectations:
2197         * platform/mac/TestExpectations:
2198
2199 2017-02-07  Ryosuke Niwa  <rniwa@webkit.org>
2200
2201         WebContent process repeatedly jetsams on BuzzFeed's Another Round page
2202         https://bugs.webkit.org/show_bug.cgi?id=167830
2203         <rdar://problem/30187368>
2204
2205         Reviewed by Simon Fraser.
2206
2207         Rebaseline the test now that some overlay repaints are avoided properly by updating the overlay coverage rects.
2208
2209         * platform/ios-simulator-wk2/pageoverlay/overlay-remove-reinsert-view-expected.txt:
2210
2211 2017-02-07  Ryan Haddad  <ryanhaddad@apple.com>
2212
2213         Mark mathml/opentype/large-operators-displaystyle-dynamic.html as flaky on Sierra WK2 Release.
2214         https://bugs.webkit.org/show_bug.cgi?id=167206
2215
2216         Unreviewed test gardening.
2217
2218         * platform/mac-wk2/TestExpectations:
2219
2220 2017-02-07  Ryan Haddad  <ryanhaddad@apple.com>
2221
2222         Skip http/tests/security/bypassing-cors-checks-for-extension-urls.html on ios-simulator.
2223
2224         Unreviewed test gardening.
2225
2226         * platform/ios-simulator/TestExpectations:
2227
2228 2017-02-07  Devin Rousso  <dcrousso+webkit@gmail.com>
2229
2230         Web Inspector: gradient editor should allow switching the units of the 'angle' parameter
2231         https://bugs.webkit.org/show_bug.cgi?id=166938
2232
2233         Reviewed by Brian Burg.
2234
2235         * inspector/model/gradient-expected.txt: Added.
2236         * inspector/model/gradient.html: Added.
2237         New tests for WebInspector.Gradient.
2238
2239 2017-02-07  Ryan Haddad  <ryanhaddad@apple.com>
2240
2241         Mark media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html as flaky.
2242         https://bugs.webkit.org/show_bug.cgi?id=167275
2243
2244         Unreviewed test gardening.
2245
2246         * platform/mac/TestExpectations:
2247
2248 2017-02-07  Youenn Fablet  <youennf@gmail.com>
2249
2250         [WebRTC] LibWebRTCEndpoint should not own objects that should be destroyed on the main thread
2251         https://bugs.webkit.org/show_bug.cgi?id=167816
2252
2253         Reviewed by Alex Christensen.
2254
2255         * webrtc/libwebrtc/release-while-creating-offer.html: Added.
2256         * webrtc/libwebrtc/release-while-getting-stats.html: Added.
2257         * webrtc/libwebrtc/release-while-setting-local-description.html: Added.
2258
2259 2017-02-07  Youenn Fablet  <youennf@gmail.com>
2260
2261         [WebRTC] LibWebRTC WK2 network stack is not providing correct ports for ICE candidates
2262         https://bugs.webkit.org/show_bug.cgi?id=167939
2263
2264         Reviewed by Sam Weinig.
2265
2266         * webrtc/no-port-zero-in-upd-candidates.html: Added.
2267         * webrtc/no-port-zero-in-upd-candidates-expected.txt: Added.
2268         * webrtc/video.html:
2269         * webrtc/video-expected.txt: Added.
2270
2271 2017-02-07  Yusuke Suzuki  <utatane.tea@gmail.com>
2272
2273         Unreviewed, manual roll out of r211777
2274         https://bugs.webkit.org/show_bug.cgi?id=167457
2275
2276         Later, I'll reland it with the deterministic tests.
2277
2278         * inspector/controller/resources/cappuccino.js: Removed.
2279         * inspector/controller/resources/cocoa.js: Removed.
2280         * inspector/controller/resources/drink.js: Removed.
2281         * inspector/controller/runtime-controller-expected.txt:
2282         * inspector/controller/runtime-controller.html:
2283
2284 2017-02-07  Antoine Quint  <graouts@apple.com>
2285
2286         [Modern Media Controls] Handle media durations of an hour or more gracefully
2287         https://bugs.webkit.org/show_bug.cgi?id=167882
2288         <rdar://problem/29601260>
2289
2290         Reviewed by Eric Carlson.
2291
2292         Add new tests to check that we correctly handle times at or past the hour mark.
2293
2294         * http/tests/media/modern-media-controls/time-labels-support/long-time-expected.txt: Added.
2295         * http/tests/media/modern-media-controls/time-labels-support/long-time.html: Added.
2296         * media/modern-media-controls/time-control/time-control-labels-may-display-times-over-an-hour-expected.txt: Added.
2297         * media/modern-media-controls/time-control/time-control-labels-may-display-times-over-an-hour.html: Added.
2298         * media/modern-media-controls/time-labels-support/elapsed-time-expected.txt: Renamed from LayoutTests/media/modern-media-controls/elapsed-time-support/elapsed-time-support-expected.txt.
2299         * media/modern-media-controls/time-labels-support/elapsed-time.html: Renamed from LayoutTests/media/modern-media-controls/elapsed-time-support/elapsed-time-support.html.
2300         * media/modern-media-controls/time-labels-support/remaining-time-expected.txt: Renamed from LayoutTests/media/modern-media-controls/remaining-time-support/remaining-time-support-expected.txt.
2301         * media/modern-media-controls/time-labels-support/remaining-time.html: Renamed from LayoutTests/media/modern-media-controls/remaining-time-support/remaining-time-support.html.
2302
2303 2017-02-07  Antoine Quint  <graouts@apple.com>
2304
2305         LayoutTet media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html is flaky
2306         https://bugs.webkit.org/show_bug.cgi?id=167275
2307
2308         Reviewed by Eric Carlson.
2309
2310         After bringing fullscreen controls up to spec as part of https://bugs.webkit.org/show_bug.cgi?id=167875,
2311         we need to initiate dragging on an area that is not covered by controls, so we shift further right to
2312         initiate dragging.
2313
2314         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html:
2315         * platform/mac/TestExpectations:
2316
2317 2017-02-07  Antoine Quint  <graouts@apple.com>
2318
2319         LayoutTest media/modern-media-controls/layout-node/addChild.html is a flaky timeout
2320         https://bugs.webkit.org/show_bug.cgi?id=167461
2321
2322         Unreviewed test gardening, this test is no longer flaky.
2323
2324         * platform/mac/TestExpectations:
2325
2326 2017-02-07  Antoine Quint  <graouts@apple.com>
2327
2328         [mac-wk1] LayoutTest media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-buttons-styles.html is a flaky failure
2329         https://bugs.webkit.org/show_bug.cgi?id=163598
2330
2331         Unreviewed test gardening, this test is no longer flaky.
2332
2333         * platform/mac-wk1/TestExpectations:
2334
2335 2017-02-07  Antoine Quint  <graouts@apple.com>
2336
2337         [Modern Media Controls] Improve handling of <video> with only audio tracks
2338         https://bugs.webkit.org/show_bug.cgi?id=167836
2339         <rdar://problem/30255812>
2340
2341         Reviewed by Dean Jackson.
2342
2343         Add a new test to check that a <video> with a resource that only has audio tracks
2344         does not auto-hide nor show the fullscreen button. We also rebaseline a few existing
2345         tests for this change of behavior.
2346
2347         * fast/regions/inline-block-inside-anonymous-overflow-with-covered-controls-expected.html:
2348         * fast/regions/inline-block-inside-anonymous-overflow-with-covered-controls.html:
2349         * media/modern-media-controls/controls-visibility-support/controls-visibility-support-controls-on-expected.txt:
2350         * media/modern-media-controls/controls-visibility-support/controls-visibility-support-controls-on.html:
2351         * media/modern-media-controls/controls-visibility-support/controls-visibility-support-controls-toggle-expected.txt:
2352         * media/modern-media-controls/controls-visibility-support/controls-visibility-support-controls-toggle.html:
2353         * media/modern-media-controls/media-controller/media-controller-video-with-only-audio-expected.txt: Added.
2354         * media/modern-media-controls/media-controller/media-controller-video-with-only-audio.html: Added.
2355         * media/modern-media-controls/time-label/time-label-white-space-nowrap.html:
2356
2357 2017-02-07  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2358
2359         [Readable Streams API] Implement ReadableByteStreamController enqueue()
2360         https://bugs.webkit.org/show_bug.cgi?id=167786
2361
2362         Reviewed by Youenn Fablet.
2363
2364         Added 8 tests to cover newly added code as well as code that was previously unreachable.
2365
2366         * streams/readable-byte-stream-controller-expected.txt:
2367         * streams/readable-byte-stream-controller.js:
2368
2369 2017-02-07  Chris Dumez  <cdumez@apple.com>
2370
2371         Object.preventExtensions() on a Location object should throw a TypeError
2372         https://bugs.webkit.org/show_bug.cgi?id=167917
2373
2374         Reviewed by Alex Christensen.
2375
2376         Rebaseline test now that more checks are passing.
2377
2378         * http/tests/security/preventExtensions-window-location-expected.txt:
2379         * http/tests/security/preventExtensions-window-location.html:
2380
2381 2017-02-07  Yusuke Suzuki  <utatane.tea@gmail.com>
2382
2383         Web Inspector: allow import() inside the inspector
2384         https://bugs.webkit.org/show_bug.cgi?id=167457
2385
2386         Reviewed by Ryosuke Niwa.
2387
2388         * inspector/controller/resources/cappuccino.js: Added.
2389         * inspector/controller/resources/cocoa.js: Added.
2390         * inspector/controller/resources/drink.js: Added.
2391         * inspector/controller/runtime-controller-expected.txt:
2392         * inspector/controller/runtime-controller.html:
2393
2394 2017-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
2395
2396         Overlay scrolling with iframe-s broken
2397         https://bugs.webkit.org/show_bug.cgi?id=165056
2398
2399         Reviewed by Antonio Gomes.
2400
2401         Add a new test to check that clicking on an overlay scrollbar works even it's over a subframe.
2402
2403         * fast/scrolling/scroll-animator-overlay-scrollbars-clicked-expected.txt: Added.
2404         * fast/scrolling/scroll-animator-overlay-scrollbars-clicked.html: Added.
2405         * platform/ios-simulator/TestExpectations:
2406         * platform/mac-wk1/TestExpectations:
2407
2408 2017-02-06  Myles C. Maxfield  <mmaxfield@apple.com>
2409
2410         Migrate ComplexTextController to use platform-independent types
2411         https://bugs.webkit.org/show_bug.cgi?id=167833
2412
2413         Reviewed by Brent Fulgham.
2414
2415         Rebaseline tiny rounding result.
2416
2417         * platform/mac/fast/text/complex-text-opacity-expected.txt:
2418
2419 2017-02-06  Youenn Fablet  <youennf@gmail.com>
2420
2421         Allow some schemes to opt-out of CORS
2422         https://bugs.webkit.org/show_bug.cgi?id=167795
2423
2424         Reviewed by Alex Christensen.
2425
2426         * http/tests/security/bypassing-cors-checks-for-extension-urls-expected.txt: Added.
2427         * http/tests/security/bypassing-cors-checks-for-extension-urls.html: Added.
2428
2429 2017-02-06  Chris Dumez  <cdumez@apple.com>
2430
2431         Align [[OwnPropertyKeys]] with the HTML specification for cross-origin Window / Location objects
2432         https://bugs.webkit.org/show_bug.cgi?id=167647
2433         <rdar://problem/30339489>
2434
2435         Reviewed by Sam Weinig.
2436
2437         Extend test coverage for [[OwnPropertyKeys]] for cross-origin Window / Location objects.
2438
2439         * http/tests/security/cross-frame-access-enumeration-expected.txt:
2440         * http/tests/security/cross-frame-access-enumeration.html:
2441         * http/tests/security/resources/cross-frame-iframe-for-enumeration-test.html:
2442         * js/dom/getOwnPropertyDescriptor-expected.txt:
2443         * js/resources/getOwnPropertyDescriptor.js:
2444
2445 2017-02-06  Yoav Weiss  <yoav@yoav.ws>
2446
2447         http/tests/preload/dynamic_removing_preload.html fails to test what it should
2448         https://bugs.webkit.org/show_bug.cgi?id=167792
2449
2450         Reviewed by Ryosuke Niwa.
2451
2452         * TestExpectations: Unskip dynamic_removing_preload.html
2453         * http/tests/preload/dynamic_removing_preload-expected.txt:
2454         * http/tests/preload/dynamic_removing_preload.html: Switch test to use ResourceTiming.
2455
2456 2017-02-06  Alex Christensen  <achristensen@webkit.org>
2457
2458         credentials should be partitioned by main document domain
2459         https://bugs.webkit.org/show_bug.cgi?id=166998
2460         <rdar://problem/22901123>
2461
2462         Reviewed by Brady Eidson.
2463
2464         * http/tests/security/credentials-from-different-domains-expected.txt: Added.
2465         * http/tests/security/credentials-from-different-domains.html: Added.
2466         * http/tests/security/credentials-iframes-expected.txt: Added.
2467         * http/tests/security/credentials-iframes.html: Added.
2468         * http/tests/security/resources/cors-basic-auth.php: Added.
2469         * http/tests/security/resources/credentials-from-different-domains-continued-1.html: Added.
2470         * http/tests/security/resources/credentials-from-different-domains-continued-2.html: Added.
2471         * http/tests/security/resources/credentials-iframes-continued.html: Added.
2472         * http/tests/security/resources/credentials-iframes-different-domain.html: Added.
2473         * http/tests/security/resources/credentials-iframes-same-domain.html: Added.
2474         * platform/mac-wk1/http: Added.
2475         * platform/mac-wk1/http/security: Added.
2476         * platform/mac-wk1/http/security/credentials-iframes-expected.txt: Added.
2477         DumpRenderTree prints out the entire URL of the authentication challenge.
2478         WebKitTestRunner only prints out the host and port.
2479         Both results show the fact that no credentials were sent on the second request.
2480
2481 2017-02-06  Simon Fraser  <simon.fraser@apple.com>
2482
2483         Safari pages are blank sometimes (missing tiles)
2484         https://bugs.webkit.org/show_bug.cgi?id=167904
2485
2486         Reviewed by Tim Horton.
2487
2488         New result; this test detected the bug.
2489
2490         * tiled-drawing/tiled-backing-in-window-expected.txt:
2491
2492 2017-02-06  Ryan Haddad  <ryanhaddad@apple.com>
2493
2494         Skip media/audio-dealloc-crash.html on ios-simulator.
2495
2496         Unreviewed test gardening.
2497
2498         * platform/ios-simulator/TestExpectations:
2499
2500 2017-02-06  Ryan Haddad  <ryanhaddad@apple.com>
2501
2502         Unreviewed, rolling out r211722.
2503
2504         This change introduced a LayoutTest failure on mac-wk2.
2505
2506         Reverted changeset:
2507
2508         "[Modern Media Controls] Improve handling of <video> with only
2509         audio tracks"
2510         https://bugs.webkit.org/show_bug.cgi?id=167836
2511         http://trac.webkit.org/changeset/211722
2512
2513 2017-02-06  Antoine Quint  <graouts@apple.com>
2514
2515         [Modern Media Controls] Add a backdrop filter to the start button on macOS
2516         https://bugs.webkit.org/show_bug.cgi?id=167879
2517         <rdar://problem/30375174>
2518
2519         Reviewed by Eric Carlson.
2520
2521         Add a new test that checks that the expected backdrop filter is applied to the start button on macOS.
2522
2523         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-start-button-style-expected.txt: Added.
2524         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-start-button-style.html: Added.
2525
2526 2017-02-06  Antoine Quint  <graouts@apple.com>
2527
2528         [Modern Media Controls] Bring fullscreen controls up to spec
2529         https://bugs.webkit.org/show_bug.cgi?id=167875
2530         <rdar://problem/29611222>
2531
2532         Reviewed by Eric Carlson.
2533
2534         Rebaseline some existing tests due to the addition of the volume-down and volume-up
2535         buttons as well as the width change of the PiP icon and add a couple of new tests to
2536         check the behavior of the volume-down and volume-up buttons.
2537
2538         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt:
2539         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
2540         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt:
2541         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
2542         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor-expected.txt:
2543         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor.html:
2544         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag.html:
2545         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-volume-styles-expected.txt:
2546         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-volume-styles.html:
2547         * media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html:
2548         * media/modern-media-controls/volume-down-support/volume-down-support-expected.txt: Added.
2549         * media/modern-media-controls/volume-down-support/volume-down-support.html: Added.
2550         * media/modern-media-controls/volume-up-support/volume-up-support-expected.txt: Added.
2551         * media/modern-media-controls/volume-up-support/volume-up-support.html: Added.
2552         * platform/ios-simulator/TestExpectations:
2553
2554 2017-02-06  Antoine Quint  <graouts@apple.com>
2555
2556         [Modern Media Controls] Improve handling of <video> with only audio tracks
2557         https://bugs.webkit.org/show_bug.cgi?id=167836
2558         <rdar://problem/30255812>
2559
2560         Reviewed by Dean Jackson.
2561
2562         Add a new test to check that a <video> with a resource that only has audio tracks
2563         does not auto-hide nor show the fullscreen button. We also rebaseline a few existing
2564         tests for this change of behavior.
2565
2566         * fast/regions/inline-block-inside-anonymous-overflow-with-covered-controls-expected.html:
2567         * fast/regions/inline-block-inside-anonymous-overflow-with-covered-controls.html:
2568         * media/modern-media-controls/controls-visibility-support/controls-visibility-support-controls-on-expected.txt:
2569         * media/modern-media-controls/controls-visibility-support/controls-visibility-support-controls-on.html:
2570         * media/modern-media-controls/controls-visibility-support/controls-visibility-support-controls-toggle-expected.txt:
2571         * media/modern-media-controls/controls-visibility-support/controls-visibility-support-controls-toggle.html:
2572         * media/modern-media-controls/media-controller/media-controller-video-with-only-audio-expected.txt: Added.
2573         * media/modern-media-controls/media-controller/media-controller-video-with-only-audio.html: Added.
2574         * media/modern-media-controls/time-label/time-label-white-space-nowrap.html:
2575
2576 2017-02-05  Antoine Quint  <graouts@apple.com>
2577
2578         [Modern Media Controls] PiP button is not visible with a live broadcast video
2579         https://bugs.webkit.org/show_bug.cgi?id=167794
2580         <rdar://problem/30348790>
2581
2582         Reviewed by Dean Jackson.
2583
2584         Add a new test to check that a live broadcast video shows the picture-in-picture button.
2585
2586         * http/tests/media/modern-media-controls/pip-support/pip-support-live-broadcast-expected.txt: Added.
2587         * http/tests/media/modern-media-controls/pip-support/pip-support-live-broadcast.html: Added.
2588         * platform/mac/TestExpectations:
2589
2590 2017-02-05  Antoine Quint  <graouts@apple.com>
2591
2592         [Modern Media Controls] Time labels may wrap instead of displaying on a single line
2593         https://bugs.webkit.org/show_bug.cgi?id=167835
2594         <rdar://problem/30340534>
2595
2596         Reviewed by Dean Jackson.
2597
2598         New test that checks that time labels have "white-space: nowrap" applied.
2599
2600         * media/modern-media-controls/time-label/time-label-white-space-nowrap-expected.txt: Added.
2601         * media/modern-media-controls/time-label/time-label-white-space-nowrap.html: Added.
2602
2603 2017-02-04  Simon Fraser  <simon.fraser@apple.com>
2604
2605         Clean up how GraphicsLayer's "inWindow" state is set, and fix some issues with Page Overlays
2606         https://bugs.webkit.org/show_bug.cgi?id=167850
2607
2608         Reviewed by Tim Horton.
2609
2610         * pageoverlay/overlay-large-document-expected.txt:
2611         * pageoverlay/overlay-large-document-scrolled-expected.txt:
2612         * pageoverlay/overlay-remove-reinsert-view-expected.txt: Added.
2613         * pageoverlay/overlay-remove-reinsert-view.html: Added.
2614         * platform/ios-simulator-wk2/pageoverlay/overlay-remove-reinsert-view-expected.txt: Added.
2615         * platform/mac-wk1/pageoverlay/overlay-remove-reinsert-view-expected.txt: Added.
2616         * tiled-drawing/tiled-backing-in-window-expected.txt:
2617
2618 2017-02-05  Zalan Bujtas  <zalan@apple.com>
2619
2620         Simple line layout: Use RenderText::canUseSimpleFontCodePath() only as a hint.
2621         https://bugs.webkit.org/show_bug.cgi?id=167853
2622         <rdar://problem/30367302>
2623
2624         Reviewed by Simon Fraser.
2625
2626         * fast/text/simple-line-layout-simple-text-but-complex-font-path-expected.html: Added.
2627         * fast/text/simple-line-layout-simple-text-but-complex-font-path.html: Added.
2628
2629 2017-02-05  Zalan Bujtas  <zalan@apple.com>
2630
2631         Simple line layout: Bail out from Simple Line Layout on surrogate pairs.
2632         https://bugs.webkit.org/show_bug.cgi?id=167840
2633         <rdar://problem/30364784>
2634
2635         Reviewed by Myles C. Maxfield.
2636
2637         * fast/text/simple-line-layout-no-surrogate-pairs-expected.html: Added.
2638         * fast/text/simple-line-layout-no-surrogate-pairs.html: Added.
2639
2640 2017-02-03  Myles C. Maxfield  <mmaxfield@apple.com>
2641
2642         REGRESSION(r204858): Synthetic bold text in vertical writing mode is rotated away from original text
2643         https://bugs.webkit.org/show_bug.cgi?id=167826
2644         <rdar://problem/28193222>
2645
2646         Reviewed by Zalan Bujtas.
2647
2648         * fast/text/synthetic-bold-vertical-text-expected.html: Added.
2649         * fast/text/synthetic-bold-vertical-text.html: Added.
2650
2651 2017-02-03  Jeremy Jones  <jeremyj@apple.com>
2652
2653         WK1 mouse events are missing movementX and movementY for pointerlock.
2654         https://bugs.webkit.org/show_bug.cgi?id=167775
2655         rdar://problem/30343810
2656
2657         Reviewed by Alexey Proskuryakov.
2658
2659         Enable pointer-lock/mouse-event-delivery.html for mac.
2660
2661         * platform/mac/TestExpectations:
2662
2663 2017-02-03  Simon Fraser  <simon.fraser@apple.com>
2664
2665         Correctly set the "inWindow" flag for TileControllers that aren't the page tiles, and clarify "usingTiledBacking" logic
2666         https://bugs.webkit.org/show_bug.cgi?id=167774
2667
2668         Reviewed by Tim Horton.
2669         
2670         Rebase to include the "in window" output.
2671         
2672         tiled-drawing/background-transparency-toggle.html was sensitive to the length of the output, so give the body
2673         a fixed size.
2674
2675         * compositing/tiling/offscreen-tiled-layer-expected.txt:
2676         * compositing/tiling/transform-origin-tiled-expected.txt:
2677         * platform/mac-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt:
2678         * platform/mac-wk1/compositing/tiling/transform-origin-tiled-expected.txt:
2679         * platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt:
2680         * platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
2681         * platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt:
2682         * platform/mac-wk2/compositing/tiling/tiled-layer-resize-expected.txt:
2683         * platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
2684         * platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
2685         * platform/mac/compositing/tiling/tiled-layer-resize-expected.txt:
2686         * tiled-drawing/background-transparency-toggle-expected.txt:
2687         * tiled-drawing/background-transparency-toggle.html:
2688         * tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt:
2689         * tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt:
2690         * tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt:
2691         * tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt:
2692         * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt:
2693         * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt:
2694         * tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt:
2695         * tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt:
2696         * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt:
2697         * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt:
2698         * tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt:
2699         * tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt:
2700         * tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt:
2701         * tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt:
2702         * tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt:
2703         * tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt:
2704         * tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt:
2705         * tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt:
2706         * tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt:
2707         * tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt:
2708         * tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt:
2709         * tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt:
2710         * tiled-drawing/simple-document-with-margin-tiles-expected.txt:
2711         * tiled-drawing/tile-coverage-after-scroll-expected.txt:
2712         * tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt:
2713         * tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt:
2714         * tiled-drawing/tile-coverage-slow-scrolling-expected.txt:
2715         * tiled-drawing/tile-coverage-speculative-expected.txt:
2716         * tiled-drawing/tile-coverage-view-exposed-rect-expected.txt:
2717         * tiled-drawing/tile-size-both-scrollable-expected.txt:
2718         * tiled-drawing/tile-size-horizontally-scrollable-expected.txt:
2719         * tiled-drawing/tile-size-slow-zoomed-expected.txt:
2720         * tiled-drawing/tile-size-unscrollable-expected.txt:
2721         * tiled-drawing/tile-size-vertically-scrollable-expected.txt:
2722         * tiled-drawing/tile-size-view-exposed-rect-expected.txt:
2723         * tiled-drawing/tiled-backing-in-window-expected.txt: Added.
2724         * tiled-drawing/tiled-backing-in-window.html: Added.
2725         * tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt:
2726         * tiled-drawing/tiled-drawing-zoom-expected.txt:
2727         * tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt:
2728         * tiled-drawing/use-tiled-drawing-expected.txt:
2729         * tiled-drawing/visible-rect-content-inset-expected.txt:
2730
2731 2017-02-03  Zalan Bujtas  <zalan@apple.com>
2732
2733         Simple line layout: Bail out from Simple Line Layout when the primary font is insufficient.
2734         https://bugs.webkit.org/show_bug.cgi?id=167820
2735
2736         Reviewed by Myles C. Maxfield.
2737
2738         * fast/text/simple-line-layout-do-not-support-unicode-range-expected.html: Added.
2739         * fast/text/simple-line-layout-do-not-support-unicode-range.html: Added.
2740
2741 2017-02-03  Jer Noble  <jer.noble@apple.com>
2742
2743         ASSERT in HTMLMediaElement::~HTMLMediaElement
2744         https://bugs.webkit.org/show_bug.cgi?id=167818
2745
2746         Reviewed by Brent Fulgham.
2747
2748         * media/audio-dealloc-crash-expected.txt: Added.
2749         * media/audio-dealloc-crash.html: Added.
2750
2751 2017-02-03  Chris Dumez  <cdumez@apple.com>
2752
2753         Dismiss HTML form validation popover when pressing Escape key
2754         https://bugs.webkit.org/show_bug.cgi?id=167716
2755         <rdar://problem/29872943>
2756
2757         Reviewed by Simon Fraser.
2758
2759         Add layout test coverage.
2760
2761         * fast/forms/validation-bubble-escape-key-dismiss-expected.txt: Added.
2762         * fast/forms/validation-bubble-escape-key-dismiss.html: Added.
2763         * platform/ios-simulator/TestExpectations:
2764
2765 2017-02-03  Jeremy Jones  <jeremyj@apple.com>
2766
2767         Pointer lock events should be delivered directly to the target element
2768         https://bugs.webkit.org/show_bug.cgi?id=167134
2769         rdar://problem/30268004
2770
2771         Reviewed by Dean Jackson.
2772
2773         The pointer-lock/mouse-event-delivery.html test is modified to explicitly move the mouse pointer to a valid
2774         location before sending mouse actions. Without this, the test infrastructure doesn't know that the pointer
2775         is over the web view and doesn't deliver events.
2776
2777         The pointer-lock/mouse-event-delivery.html is also modified to explicitly wait for the delivery of the 
2778         wheel event before continuing with the test. This prevents flakeyness with the order the events are received.
2779
2780         Added code to test for wheel events.
2781
2782         * platform/mac/TestExpectations: enabled test.
2783         * pointer-lock/mouse-event-delivery.html:
2784         * pointer-lock/mouse-event-delivery-expected.txt:
2785
2786 2017-02-03  Yoav Weiss  <yoav@yoav.ws>
2787
2788         Avoid evicting link preload resources when parsing is done.
2789         https://bugs.webkit.org/show_bug.cgi?id=167415
2790
2791         Reviewed by Ryosuke Niwa.
2792
2793         * http/tests/preload/dynamic_remove_preload_href.html: Test passed before for the wrong reasons. Cache-busting in order for it to genuinely pass.
2794         * http/tests/preload/not_delaying_window_onload_before_discovery.html: Test passed before for the wrong reasons. Cache-busting in order for it to genuinely pass.
2795         * http/tests/preload/not_evicting_preload_at_onload-expected.txt: Added.
2796         * http/tests/preload/not_evicting_preload_at_onload.html: Added.
2797         * platform/mac/TestExpectations: Skipping http/tests/preload/dynamic_removing_preload.html due to https://bugs.webkit.org/show_bug.cgi?id=167792
2798
2799 2017-02-03  Zalan Bujtas  <zalan@apple.com>
2800
2801         Simple line layout: Removing adjacent trailing whitespace runs should not crash.
2802         https://bugs.webkit.org/show_bug.cgi?id=167803
2803         <rdar://problem/30337368>
2804
2805         Reviewed by Antti Koivisto.
2806
2807         * fast/text/simple-line-layout-multiple-trailingwhitespace-crash-expected.txt: Added.
2808         * fast/text/simple-line-layout-multiple-trailingwhitespace-crash.html: Added.
2809
2810 2017-02-03  Chris Dumez  <cdumez@apple.com>
2811
2812         Fix bad assertion under HTMLTreeBuilder::processStartTagForInBody()
2813         https://bugs.webkit.org/show_bug.cgi?id=167799
2814         <rdar://problem/30237241>
2815
2816         Reviewed by Brent Fulgham.
2817
2818         Add layout test coverage. This test passes in all major browsers but used to hit
2819         the bad assertion in WebKit debug builds.
2820
2821         * fast/parser/fragment-with-frameset-crash-expected.txt: Added.
2822         * fast/parser/fragment-with-frameset-crash.html: Added.
2823
2824 2017-02-03  Antoine Quint  <graouts@apple.com>
2825
2826         [Modern Media Controls] Skip back button is visible with a live broadcast video
2827         https://bugs.webkit.org/show_bug.cgi?id=167793
2828
2829         Reviewed by Eric Carlson.
2830
2831         Add a new test to check that a live broadcast video doesn't show the skip back button.
2832
2833         * http/tests/media/modern-media-controls/skip-back-support/skip-back-support-live-broadcast-expected.txt: Added.
2834         * http/tests/media/modern-media-controls/skip-back-support/skip-back-support-live-broadcast.html: Added.
2835
2836 2017-02-03  Per Arne Vollan  <pvollan@apple.com>
2837
2838         The CSS property -webkit-text-stroke is not applied on captions.
2839         https://bugs.webkit.org/show_bug.cgi?id=167687
2840
2841         Reviewed by Brent Fulgham.
2842
2843         * media/track/track-css-stroke-cues-expected.txt: Added.
2844         * media/track/track-css-stroke-cues.html: Added.
2845
2846 2017-02-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2847
2848         [GTK] Add initial implementation of resource usage overlay
2849         https://bugs.webkit.org/show_bug.cgi?id=167731
2850
2851         Reviewed by Michael Catanzaro.
2852
2853         Unskip inpector tests depending on RESOURCE_USAGE.
2854
2855         * platform/gtk/TestExpectations:
2856
2857 2017-02-03  Antoine Quint  <graouts@apple.com>
2858
2859         LayoutTest media/modern-media-controls/tracks-panel/tracks-panel-hide-click-outside.html is a flaky timeout
2860         https://bugs.webkit.org/show_bug.cgi?id=165290
2861
2862         Unreviewed test gardening.
2863
2864         * platform/mac/TestExpectations:
2865
2866 2017-02-02  Alexey Proskuryakov  <ap@apple.com>
2867
2868         Multiple HTTP tests fail with Apache 2.4.25
2869         https://bugs.webkit.org/show_bug.cgi?id=167678
2870         <rdar://problem/30060142>
2871
2872         Reviewed by Sam Weinig.
2873
2874         Newer versions of Apache have a security fix where they generate an internal server
2875         error upon seeing an invalid HTTP header field. There is an opt-out configuration
2876         option which didn't quite work in my testing, but regardless, we should only use
2877         "nph-" CGIs for invalid responses. This is how Apache knows that it shouldn't
2878         attempt to parse the response.
2879
2880         This also uncovered a test bug.
2881
2882         * http/tests/cache/disk-cache/resources/cache-test.js: (generateTestURL):
2883         Without escaping, we were getting a broken response in attachment tests:
2884            Content-Disposition: attachment
2885             filename: "f.txt"
2886         Note how ";" turned into a newline.
2887
2888         * http/tests/misc/non-utf8-header-name-expected.txt: Removed.
2889         * http/tests/misc/non-utf8-header-name.php: Removed.
2890         * http/tests/misc/nph-non-utf8-header-name-expected.txt: Copied from LayoutTests/http/tests/misc/non-utf8-header-name-expected.txt.
2891         * http/tests/misc/nph-non-utf8-header-name.pl: Copied from LayoutTests/http/tests/misc/non-utf8-header-name.php.
2892         * http/tests/preload/download_resources_from_invalid_headers.html:
2893         * http/tests/preload/resources/invalid_resources_from_header.php: Removed.
2894         * http/tests/preload/resources/nph-invalid_resources_from_header.pl: Copied from LayoutTests/http/tests/preload/resources/invalid_resources_from_header.php.
2895         * http/tests/security/contentSecurityPolicy/directive-parsing-01.html:
2896         * http/tests/security/contentSecurityPolicy/directive-parsing-02.html:
2897         * http/tests/security/contentSecurityPolicy/directive-parsing-03.html:
2898         * http/tests/security/contentSecurityPolicy/directive-parsing-04.html:
2899         * http/tests/security/contentSecurityPolicy/directive-parsing-05.html:
2900         * http/tests/security/contentSecurityPolicy/resources/echo-script-src.pl: Removed.
2901         * http/tests/security/contentSecurityPolicy/resources/multiple-iframe-test.js:
2902         * http/tests/security/contentSecurityPolicy/resources/nph-echo-script-src.pl: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/resources/echo-script-src.pl.
2903         * http/tests/security/contentSecurityPolicy/script-loads-with-img-src.html:
2904         * http/tests/security/contentSecurityPolicy/script-src-none.html:
2905         * http/tests/security/contentSecurityPolicy/script-src-self-blocked-01.html:
2906         * http/tests/security/contentSecurityPolicy/script-src-self-blocked-02.html:
2907         * http/tests/security/contentSecurityPolicy/script-src-self-blocked-03.html:
2908         * http/tests/security/contentSecurityPolicy/script-src-self.html:
2909         * http/tests/security/contentSecurityPolicy/script-src-star-cross-scheme.html:
2910         Changed scripts that are used to generate invalid responses to "nph-" ones.
2911
2912 2017-02-02  Chris Dumez  <cdumez@apple.com>
2913
2914         Suspend SVG animations in hidden pages
2915         https://bugs.webkit.org/show_bug.cgi?id=167763
2916         <rdar://problem/29986313>
2917
2918         Reviewed by Simon Fraser.
2919
2920         Add layout test coverage.
2921
2922         * svg/animations/animations-paused-page-non-visible-expected.txt: Added.
2923         * svg/animations/animations-paused-page-non-visible.html: Added.
2924
2925 2017-02-02  Chris Dumez  <cdumez@apple.com>
2926
2927         {}.toString.call(crossOriginWindow) should return "[object Object]"
2928         https://bugs.webkit.org/show_bug.cgi?id=167701
2929         <rdar://problem/30330797>
2930
2931         Reviewed by Keith Miller.
2932
2933         Rebaselined existing test now that more checks are passing.
2934
2935         * http/tests/security/symbols-cross-origin-expected.txt:
2936
2937 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
2938
2939         Mark inspector/debugger/breakpoint-scope.html as flaky on macOS debug.
2940         https://bugs.webkit.org/show_bug.cgi?id=164293
2941
2942         Unreviewed test gardening.
2943
2944         * platform/mac/TestExpectations:
2945
2946 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
2947
2948         Mark workesr/bomb/html as flaky on macOS.
2949         https://bugs.webkit.org/show_bug.cgi?id=167757
2950
2951         Unreviewed test gardening.
2952
2953         * platform/mac/TestExpectations:
2954
2955 2017-02-02  Joseph Pecoraro  <pecoraro@apple.com>
2956
2957         Support Performance API (performance.now(), UserTiming) in Workers
2958         https://bugs.webkit.org/show_bug.cgi?id=167717
2959
2960         Reviewed by Ryosuke Niwa.
2961
2962         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
2963         Updated now that Performance classes are in Workers.
2964
2965         * performance-api/performance-now-api-expected.txt: Added.
2966         * performance-api/performance-now-api.html: Added.
2967         * performance-api/performance-now-time-origin-in-worker-expected.txt: Added.
2968         * performance-api/performance-now-time-origin-in-worker.html: Added.
2969         New tests to cover performance.now.
2970
2971         * performance-api/performance-mark-name-expected.txt: Added.
2972         * performance-api/performance-mark-name.html: Added.
2973         * performance-api/resources/mark-name.js: Added.
2974         * performance-api/resources/user-timing-api.js: Added.
2975         * performance-api/user-timing-apis-expected.txt: Added.
2976         * performance-api/user-timing-apis.html: Added.
2977         New tests to cover user-timing and performance.mark behavior.
2978
2979         * performance-api/performance-observer-api-expected.txt:
2980         * performance-api/performance-observer-api.html:
2981         * performance-api/performance-observer-basic-expected.txt:
2982         * performance-api/performance-observer-basic.html:
2983         * performance-api/performance-timeline-api-expected.txt:
2984         * performance-api/performance-timeline-api.html:
2985         * performance-api/resources/now-api.js: Added.
2986         * performance-api/resources/observer-api.js: Copied from LayoutTests/performance-api/performance-observer-api.html.
2987         * performance-api/resources/observer-basic.js: Copied from LayoutTests/performance-api/performance-observer-basic.html.
2988         * performance-api/resources/time-origin-in-worker.js: Added.
2989         * performance-api/resources/timeline-api.js: Copied from LayoutTests/performance-api/performance-timeline-api.html.
2990         Update some of the existing tests to check in a Document and Worker.
2991
2992         * imported/w3c/web-platform-tests/user-timing/test_user_timing_mark_and_measure_exception_when_invoke_with_timing_attributes-expected.txt:
2993         Minor progression.
2994
2995 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
2996
2997         Mark imported/w3c/web-platform-tests/shadow-dom/slotchange.html as flaky on macOS.
2998         https://bugs.webkit.org/show_bug.cgi?id=167652
2999
3000         Unreviewed test gardening.
3001
3002         * platform/mac/TestExpectations:
3003
3004 2017-02-02  Antoine Quint  <graouts@apple.com>
3005
3006         [Modern Media Controls] Provide a compact mode for when the controls are small
3007         https://bugs.webkit.org/show_bug.cgi?id=167746
3008         <rdar://problem/29565842>
3009
3010         Reviewed by Dean Jackson.
3011
3012         Add some new tests for the compact mode and update some tests after the ButtonsContainer
3013         "padding" and "margin" properties refactoring.
3014
3015         * media/modern-media-controls/buttons-container/buttons-container-buttons-property.html:
3016         * media/modern-media-controls/buttons-container/buttons-container-constructor-expected.txt:
3017         * media/modern-media-controls/buttons-container/buttons-container-constructor.html:
3018         * media/modern-media-controls/buttons-container/buttons-container-layout.html:
3019         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-constructor-expected.txt:
3020         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-constructor.html:
3021         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-buttons-styles-expected.txt: Added.
3022         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-buttons-styles.html: Added.
3023         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-constructor-expected.txt: Added.
3024         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-constructor.html: Added.
3025         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-controls-bar-styles-expected.txt: Added.
3026         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-controls-bar-styles.html: Added.
3027         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-layout-expected.txt: Added.
3028         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-layout.html: Added.
3029         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-volume-styles-expected.txt: Added.
3030         * media/modern-media-controls/macos-compact-inline-media-controls/macos-compact-inline-media-controls-volume-styles.html: Added.
3031         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor-expected.txt:
3032         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor.html:
3033         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin-expected.txt:
3034         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin.html:
3035         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor-expected.txt:
3036         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor.html:
3037         * media/modern-media-controls/media-controller/media-controller-toggle-compact-mode-expected.txt: Added.
3038         * media/modern-media-controls/media-controller/media-controller-toggle-compact-mode.html: Added.
3039         * media/modern-media-controls/resources/media-controls-loader.js:
3040         * platform/ios-simulator/TestExpectations:
3041
3042 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
3043
3044         Mark imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html as flaky.
3045         https://bugs.webkit.org/show_bug.cgi?id=164041
3046
3047         Unreviewed test gardening.
3048
3049         * TestExpectations:
3050
3051 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
3052
3053         Unreviewed ios-simulator test gardening.
3054
3055         * platform/ios-simulator-wk2/TestExpectations:
3056         * platform/ios-simulator/TestExpectations:
3057
3058 2017-02-02  Simon Fraser  <simon.fraser@apple.com>
3059
3060         Clean up css3/filters/backdrop/dynamic-with-clip-path.html
3061
3062         This test used a clip-path that was entirely outside the element, making it confusing.
3063         Move the clipping circle to the center.
3064
3065         * css3/filters/backdrop/dynamic-with-clip-path-expected.html:
3066         * css3/filters/backdrop/dynamic-with-clip-path.html:
3067
3068 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
3069
3070         Marking http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts.html as flaky.
3071         https://bugs.webkit.org/show_bug.cgi?id=167607
3072
3073         Unreviewed test gardening.
3074
3075         * platform/mac-wk2/TestExpectations:
3076
3077 2017-02-02  David Kilzer  <ddkilzer@apple.com>
3078
3079         Clean up accessibility & animations tests to stop calling testRunner.waitUntilDone() twice
3080         <https://webkit.org/b/167598>
3081
3082         Reviewed by Alexey Proskuryakov.
3083
3084         * accessibility/frame-disconnect-textmarker-cache-crash.html:
3085         * accessibility/loading-iframe-sends-notification.html:
3086         * accessibility/mac/combobox-activedescendant-notifications.html:
3087         * accessibility/mac/ordered-textmarker-crash.html:
3088         * accessibility/mac/stale-textmarker-crash.html:
3089         * accessibility/notification-listeners.html:
3090         * accessibility/scroll-to-global-point-iframe-nested.html:
3091         * accessibility/scroll-to-global-point-iframe.html:
3092         * accessibility/scroll-to-make-visible-iframe.html:
3093         * accessibility/svg-element-press.html:
3094         - Remove call to testRunner.waitUntilDone() since
3095           window.jsTestIsAsync is set to true, and thus waitUntilDone()
3096           is called from either js-test.js or js-test-post.js.
3097
3098         * animations/animation-delay-changed.html:
3099         * animations/change-keyframes-name.html:
3100         * animations/font-variations/font-variation-settings-order.html:
3101         * animations/font-variations/font-variation-settings-unlike.html:
3102         * animations/font-variations/font-variation-settings.html:
3103         * animations/longhand-timing-function.html:
3104         * animations/transition-and-animation-3.html:
3105         * animations/unanimated-style.html:
3106         - Remove call to testRunner.waitUntilDone() since that's moved
3107           into animation-test-helpers.js.
3108
3109         * animations/resources/animation-test-helpers.js:
3110         (runAnimationTest): Call testRunner.waitUntilDone() when this
3111         script resource is included instead of when runAnimationTest()
3112         is called since runAnimationTest() expects it to be set anyway.
3113
3114         * animations/animation-direction-reverse-fill-mode-hardware.html:
3115         * animations/animation-direction-reverse-fill-mode.html:
3116         * animations/animation-hit-test-transform.html:
3117         * animations/animation-hit-test.html:
3118         * animations/animation-internals-api-multiple-keyframes.html:
3119         * animations/animation-internals-api.html:
3120         * animations/change-transform-style-during-animation.html:
3121         * animations/keyframes-iteration-count-non-integer.html:
3122         - Remove call to testRunner.waitUntilDone() since that now
3123           happens when loading animation-test-helpers.js.  These tests
3124           don't currently call runAnimationTest(), but they manage their
3125           own state by calling testRunner.notifyDone() themselves.
3126
3127         * animations/crash-on-removing-animation.html:
3128         * animations/resources/crash-on-removing-animation-window.html: Copied from LayoutTests/animations/crash-on-removing-animation.html.
3129         - Split this test into a main resource and a window resource.
3130           Previously testRunner.waitUntilDone() was being called twice
3131           when js-test-post.js was loaded in the main window and then
3132           loaded a second time when the window was opened.  The new
3133           resource file doesn't load either js-test-pre.js or
3134           js-test-post.js, avoiding the duplicate call.
3135
3136 2017-02-02  Antti Koivisto  <antti@apple.com>
3137
3138         Column progression wrong after enabling pagination on RTL document
3139         https://bugs.webkit.org/show_bug.cgi?id=167733
3140         <rdar://problem/29012252>
3141
3142         Reviewed by Zalan Bujtas.
3143
3144         * fast/multicol/pagination/pagination-dynamic-rtl-expected.html: Added.
3145         * fast/multicol/pagination/pagination-dynamic-rtl.html: Added.
3146
3147 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
3148
3149         Marking http/tests/contentextensions/block-everything-unless-domain.html as flaky on macOS.
3150         https://bugs.webkit.org/show_bug.cgi?id=167653
3151
3152         Unreviewed test gardening.
3153
3154         * platform/mac-wk2/TestExpectations:
3155
3156 2017-02-02  Antoine Quint  <graouts@apple.com>
3157
3158         LayoutTest media/modern-media-controls/buttons-container/buttons-container-buttons-property.html is a flaky timeout
3159         https://bugs.webkit.org/show_bug.cgi?id=167371
3160
3161         Unreviewed test gardening.
3162
3163         * platform/mac-wk1/TestExpectations:
3164
3165 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
3166
3167         Skip fast/visual-viewport/ios/bottom-bar-with-keyboard.html on ios-simulator.
3168
3169         Unreviewed test gardening.
3170
3171         * platform/ios-simulator/TestExpectations:
3172
3173 2017-02-02  Ryan Haddad  <ryanhaddad@apple.com>
3174
3175         Unreviewed, rolling out r211529.
3176
3177         This change caused the test to fail on macOS.
3178
3179         Reverted changeset:
3180
3181         "Clean up css3/filters/backdrop/backdrop-filter-with-clip-
3182         path.html expected results."
3183         http://trac.webkit.org/changeset/211529
3184
3185 2017-02-02  Antoine Quint  <graouts@apple.com>
3186
3187         LayoutTest media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html is a flaky failure
3188         https://bugs.webkit.org/show_bug.cgi?id=167372
3189
3190         Unreviewed test gardening.
3191
3192         * platform/mac-wk1/TestExpectations:
3193
3194 2017-02-02  Antoine Quint  <graouts@apple.com>
3195
3196         LayoutTest media/modern-media-controls/media-controller/media-controller-resize.html is a flaky failure
3197         https://bugs.webkit.org/show_bug.cgi?id=164571
3198
3199         Unreviewed test gardening.
3200
3201         * platform/mac-wk1/TestExpectations:
3202
3203 2017-02-02  Antoine Quint  <graouts@apple.com>
3204
3205         LayoutTest media/modern-media-controls/rewind-button/rewind-button.html is a flaky timeout
3206         https://bugs.webkit.org/show_bug.cgi?id=167352
3207
3208         Unreviewed test gardening.
3209
3210         * platform/mac-wk1/TestExpectations:
3211
3212 2017-02-01  Yusuke Suzuki  <utatane.tea@gmail.com>
3213
3214         Web Inspector: Upgrade Esprima to the latest one to support dynamic import
3215         https://bugs.webkit.org/show_bug.cgi?id=167698
3216
3217         Reviewed by Joseph Pecoraro.
3218
3219         * inspector/formatting/formatting-javascript-expected.txt:
3220         * inspector/formatting/formatting-javascript.html:
3221         * inspector/formatting/resources/javascript-tests/import-expected.js: Added.
3222         (async.load):
3223         * inspector/formatting/resources/javascript-tests/import.js: Added.
3224         (async.load):
3225         * inspector/formatting/resources/javascript-tests/object-array-literal-expected.js:
3226         * inspector/formatting/resources/javascript-tests/object-array-literal.js:
3227         * inspector/formatting/resources/javascript-tests/variable-declaration-expected.js:
3228         * inspector/formatting/resources/javascript-tests/variable-declaration.js:
3229         * inspector/formatting/resources/utilities.js:
3230         (TestPage.registerInitializer.):
3231         (TestPage.registerInitializer):
3232         Fix a bug which occurs when output is not expected one.
3233
3234         * inspector/model/parse-script-syntax-tree-expected.txt:
3235         * inspector/model/parse-script-syntax-tree.html:
3236
3237 2017-02-01  Zan Dobersek  <zdobersek@igalia.com>
3238
3239         [EME] Implement MediaKeySession::update()
3240         https://bugs.webkit.org/show_bug.cgi?id=167636
3241
3242         Reviewed by Xabier Rodriguez-Calvar.
3243
3244         Add the mock-MediaKeySession-update.html test, cotaining a few cases that check
3245         the basic operations of MediaKeySession::update(), focusing on proper promise
3246         resolution and rejection based on the state of the object and the passed-in
3247         response argument. Skip the test on all platforms for now.
3248
3249         * media/encrypted-media/mock-MediaKeySession-update-expected.txt: Added.
3250         * media/encrypted-media/mock-MediaKeySession-update.html: Added.
3251         * platform/efl/TestExpectations:
3252         * platform/mac/TestExpectations:
3253
3254 2017-02-01  Ryan Haddad  <ryanhaddad@apple.com>
3255
3256         Rebaseline compositing/geometry/fixed-in-composited.html for ios-simulator.
3257
3258         Unreviewed test gardening.
3259
3260         * platform/ios-simulator/compositing/geometry/fixed-in-composited-expected.txt:
3261
3262 2017-02-01  Simon Fraser  <simon.fraser@apple.com>
3263
3264         [iOS WK2] With visual viewports, a fixed bottom bar can be clipped out when the keyboard is visible
3265         https://bugs.webkit.org/show_bug.cgi?id=167710
3266         rdar://problem/30100286
3267
3268         Reviewed by Wenson Hsieh.
3269
3270         * fast/visual-viewport/ios/bottom-bar-with-keyboard-expected.txt: Added.
3271         * fast/visual-viewport/ios/bottom-bar-with-keyboard.html: Added.
3272
3273 2017-02-01  Ryan Haddad  <ryanhaddad@apple.com>
3274
3275         Marking compositing/repaint/fixed-background-scroll.html as flaky on macOS WK1.
3276         https://bugs.webkit.org/show_bug.cgi?id=154612
3277
3278         Unreviewed test gardening.
3279
3280         * platform/mac-wk1/TestExpectations:
3281
3282 2017-02-01  Ryan Haddad  <ryanhaddad@apple.com>
3283
3284         Rebaselining compositing/geometry/fixed-in-composited.html for macOS after r211523.
3285         https://bugs.webkit.org/show_bug.cgi?id=167620
3286
3287         Unreviewed test gardening.
3288
3289         * platform/mac/compositing/geometry/fixed-in-composited-expected.txt:
3290
3291 2017-02-01  Ryan Haddad  <ryanhaddad@apple.com>
3292
3293         Marking inspector/debugger/probe-manager-add-remove-actions.html as slow on macOS debug.
3294         https://bugs.webkit.org/show_bug.cgi?id=167711
3295
3296         Unreviewed test gardening.
3297
3298         * platform/mac/TestExpectations:
3299
3300 2017-02-01  Ryan Haddad  <ryanhaddad@apple.com>
3301
3302         Marking inspector/worker/debugger-shared-breakpoint.html as flaky.
3303         https://bugs.webkit.org/show_bug.cgi?id=167203
3304
3305         Unreviewed test gardening.
3306
3307         * platform/mac/TestExpectations:
3308
3309 2017-02-01  Simon Fraser  <simon.fraser@apple.com>
3310
3311         Clean up css3/filters/backdrop/backdrop-filter-with-clip-path.html expected results.
3312
3313         https://trac.webkit.org/changeset/201374 added some very confused results for this test.
3314         Just move the -expected.html next to the test, and remove the .txt and .png results.
3315
3316         * css3/filters/backdrop/backdrop-filter-with-clip-path-expected.html: Renamed from LayoutTests/platform/ios-simulator/css3/filters/backdrop/backdrop-filter-with-clip-path-expected.html.
3317         * css3/filters/backdrop/backdrop-filter-with-clip-path-expected.txt: Removed.
3318         * platform/mac/css3/filters/backdrop/backdrop-filter-with-clip-path-expected.png: Removed.
3319
3320 2017-02-01  Simon Fraser  <simon.fraser@apple.com>
3321
3322         REGRESSION (r211379): [ios-simulator] LayoutTest compositing/geometry/fixed-in-composited.html is failing
3323         https://bugs.webkit.org/show_bug.cgi?id=167620
3324         rdar://problem/30309207
3325
3326         The body needs to be taller to allow the scrollBy() to be a stable scroll.
3327
3328         * compositing/geometry/fixed-in-composited.html:
3329         * platform/ios-simulator/TestExpectations:
3330
3331 2017-02-01  Chris Dumez  <cdumez@apple.com>
3332
3333         REGRESSION(r205136): {}.toString.call(crossOriginWindow) should not throw
3334         https://bugs.webkit.org/show_bug.cgi?id=167681
3335         <rdar://problem/30301117>
3336
3337         Reviewed by Mark Lam.
3338
3339         Add layout test coverage.
3340
3341         * http/tests/security/symbols-cross-origin-expected.txt: Added.
3342         * http/tests/security/symbols-cross-origin.html: Added.
3343
3344 2017-02-01  Antoine Quint  <graouts@apple.com>
3345
3346         [mac-wk1] LayoutTest media/modern-media-controls/tracks-support/tracks-support-click-track-in-panel.html is a flaky timeout
3347         https://bugs.webkit.org/show_bug.cgi?id=165319
3348         <rdar://problem/30284104>
3349
3350         Reviewed by Dean Jackson.
3351
3352         Since we've fixed the root cause of this test's flakiness, we no longer need to mark it as flaky.
3353
3354         * platform/mac/TestExpectations:
3355
3356 2017-02-01  Jer Noble  <jer.noble@apple.com>
3357
3358         NULL-deref crash in TextTrack::removeCue()
3359         https://bugs.webkit.org/show_bug.cgi?id=167615
3360
3361         Reviewed by Eric Carlson.
3362
3363         * http/tests/media/track-in-band-hls-metadata-crash-expected.txt: Added.
3364         * http/tests/media/track-in-band-hls-metadata-crash.html: Added.
3365
3366 2017-02-01  Nan Wang  <n_wang@apple.com>
3367
3368         AX: Incorrect range from index and length in text controls when there are newlines
3369         https://bugs.webkit.org/show_bug.cgi?id=167677
3370         <rdar://problem/30300099>
3371
3372         Reviewed by Chris Fleizach.
3373
3374         * accessibility/mac/range-for-contenteditable-newline-expected.txt: Added.
3375         * accessibility/mac/range-for-contenteditable-newline.html: Added.
3376
3377 2017-02-01  Ryan Haddad  <ryanhaddad@apple.com>
3378
3379         ios-simulator TestExpectations gardening.
3380
3381         Unreviewed test gardening.
3382
3383         * platform/ios-simulator/TestExpectations:
3384
3385 2017-02-01  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3386
3387         [Readable Streams API] Implement ReadableByteStreamController pull()
3388         https://bugs.webkit.org/show_bug.cgi?id=167593
3389
3390         Reviewed by Youenn Fablet.
3391
3392         Added 2 tests that allow covering most of new code. Code not yet tested will
3393         become reachable as the rest of the spec is implemented (new tests will then
3394         be added).
3395
3396         * streams/readable-byte-stream-controller-expected.txt:
3397         * streams/readable-byte-stream-controller.js:
3398
3399 2017-02-01  Yusuke Suzuki  <utatane.tea@gmail.com>
3400
3401         Propagate networking errors correctly for import() operator
3402         https://bugs.webkit.org/show_bug.cgi?id=167501
3403
3404         Reviewed by Ryosuke Niwa.
3405
3406         * http/tests/security/mixedContent/import-insecure-script-in-iframe-expected.txt: Added.
3407         * http/tests/security/mixedContent/import-insecure-script-in-iframe.html: Added.
3408         * http/tests/security/mixedContent/resources/frame-with-insecure-import.html: Added.
3409         * js/dom/modules/import-not-found-error-expected.txt: Added.
3410         * js/dom/modules/import-not-found-error.html: Added.
3411
3412 2017-01-31  Wenson Hsieh  <wenson_hsieh@apple.com>
3413
3414         Regression (Safari 10.1): Pressing Return in a contenteditable no longer inserts a line break under certain conditions
3415         https://bugs.webkit.org/show_bug.cgi?id=167525
3416         <rdar://problem/30270210>
3417
3418         Reviewed by Ryosuke Niwa.
3419
3420         Adds a new test covering newline insertion with mutation observers and an input event handler. Also rebaselines
3421         a drag and drop test to account for dispatching input events on the scoped queue.
3422
3423         * fast/events/input-events-drag-and-drop-expected.txt:
3424         * fast/events/input-events-insert-newlines-after-mutation-expected.txt: Added.
3425         * fast/events/input-events-insert-newlines-after-mutation.html: Added.
3426         * platform/ios-simulator/TestExpectations:
3427
3428 2017-01-31  Ryan Haddad  <ryanhaddad@apple.com>
3429
3430         Marking gamepad/gamepad-visibility-1.html as flaky.
3431         https://bugs.webkit.org/show_bug.cgi?id=167517
3432
3433         Unreviewed test gardening.
3434
3435         * platform/mac-wk2/TestExpectations:
3436
3437 2017-01-31  Ryan Haddad  <ryanhaddad@apple.com>
3438
3439         Adding ios-simulator result file for fast/shadow-dom/copy-shadow-tree.html.
3440
3441         Unreviewed test gardening.
3442
3443         * platform/ios-simulator/fast/shadow-dom/copy-shadow-tree-expected.txt: Added.
3444
3445 2017-01-31  Ryan Haddad  <ryanhaddad@apple.com>
3446
3447         LayoutTest media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar.html is a flaky failure
3448         https://bugs.webkit.org/show_bug.cgi?id=167266
3449
3450         Unreviewed test gardening.
3451
3452         Marking this test as flaky again.
3453
3454         * platform/mac/TestExpectations:
3455
3456 2017-01-31  Anders Carlsson  <andersca@apple.com>
3457
3458         Apple Pay button does nothing on nytimes.com
3459         https://bugs.webkit.org/show_bug.cgi?id=167664
3460         rdar://problem/30273885
3461
3462         Reviewed by Sam Weinig.
3463
3464         Add a new test.
3465
3466         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
3467         * http/tests/ssl/applepay/ApplePaySession.html:
3468
3469 2017-01-31  Chris Dumez  <cdumez@apple.com>
3470
3471         Unreviewed, fix layout tests added in r211435.
3472
3473         It is important that window.open() is called *after* testRunner.waitUntilDone()
3474         has been called or you'll hit assertions in DRT.
3475
3476         * http/tests/security/cross-origin-window-open-insert-script.html:
3477         * http/tests/security/cross-origin-window-open-javascript-url.html:
3478
3479 2017-01-31  Youenn Fablet  <youenn@apple.com>
3480
3481         RTCPeerConnection methods can take dictionaries as input
3482         https://bugs.webkit.org/show_bug.cgi?id=167590
3483
3484         Reviewed by Alex Christensen.
3485
3486         Replacing fast/mediastream/RTCPeerConnection-js-built-ins-check-this.html by webrtc/rtcpeerconnection-error-messages.html.
3487         It is a bit more thorough and does not hard code the error message.
3488
3489         * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt:
3490         * fast/mediastream/RTCPeerConnection-addIceCandidate.html:
3491         * fast/mediastream/RTCPeerConnection-js-built-ins-check-this-expected.txt: Removed.
3492         * fast/mediastream/RTCPeerConnection-js-built-ins-check-this.html: Removed.
3493         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer-expected.txt:
3494         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer.html:
3495         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer-expected.txt:
3496         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer.html:
3497         * webrtc/rtcpeerconnection-error-messages-expected.txt: Added.
3498         * webrtc/rtcpeerconnection-error-messages.html: Added.
3499
3500 2017-01-31  Chris Dumez  <cdumez@apple.com>
3501
3502         Add better test coverage for scripting windows opened via window.open()
3503         https://bugs.webkit.org/show_bug.cgi?id=167531
3504
3505         Reviewed by Brent Fulgham.
3506
3507         Add better test coverage for scripting windows opened via window.open().
3508
3509         * http/tests/security/cross-origin-window-open-insert-script-expected.txt: Added.
3510         * http/tests/security/cross-origin-window-open-insert-script.html: Added.
3511         * http/tests/security/cross-origin-window-open-javascript-url-expected.txt: Added.
3512         * http/tests/security/cross-origin-window-open-javascript-url.html: Added.
3513
3514 2017-01-31  Simon Fraser  <simon.fraser@apple.com>
3515
3516         REGRESSION (r209411): Scrolling to a fragment identifier in overflow:scroll inside position:fixed no longer works
3517         https://bugs.webkit.org/show_bug.cgi?id=167630
3518         rdar://problem/30091558
3519
3520         Reviewed by Zalan Bujtas.
3521
3522         * fast/overflow/scroll-anchor-in-overflow-in-position-fixed-expected.txt: Added.
3523         * fast/overflow/scroll-anchor-in-overflow-in-position-fixed.html: Added.
3524
3525 2017-01-31  Zan Dobersek  <zdobersek@igalia.com>
3526
3527         [EME] InitDataRegistry should use base64url encoding and decoding for keyids
3528         https://bugs.webkit.org/show_bug.cgi?id=167592
3529
3530         Reviewed by Jer Noble.
3531
3532         * media/encrypted-media/mock-MediaKeySession-generateRequest-expected.txt:
3533         * media/encrypted-media/mock-MediaKeySession-generateRequest.html: Include a test case
3534         that passes an init data JSON to generateRequest() that fails to decode when using the
3535         plain base64 decoding algorithm. The test passes when base64url encoding and decoding
3536         are used in InitDataRegistry.
3537
3538 2017-01-31  Antoine Quint  <graouts@apple.com>
3539
3540         [Sierra WK1] LayoutTest media/modern-media-controls/placard-support/placard-support-pip.html is a flaky crash
3541         https://bugs.webkit.org/show_bug.cgi?id=167320
3542
3543         Unreviewed.
3544
3545         This test doesn't look like it has been flaky of late, no longer marking as flaky.
3546
3547         * platform/mac-wk1/TestExpectations:
3548
3549 2017-01-31  Antoine Quint  <graouts@apple.com>
3550
3551         LayoutTest media/modern-media-controls/placard-support/placard-support-airplay.html is a flaky timeout
3552         https://bugs.webkit.org/show_bug.cgi?id=167441
3553
3554         Unreviewed.
3555
3556         This test doesn't look like it has been flaky of late, no longer marking as flaky.
3557
3558         * platform/mac/TestExpectations:
3559
3560 2017-01-31  Antoine Quint  <graouts@apple.com>
3561
3562         LayoutTest media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar.html is a flaky failure
3563         https://bugs.webkit.org/show_bug.cgi?id=167266
3564
3565         Unreviewed.
3566
3567         This test doesn't look like it has been flaky of late, no longer marking as flaky.
3568
3569         * platform/mac/TestExpectations:
3570
3571 2017-01-31  Antoine Quint  <graouts@apple.com>
3572
3573         Unreviewed, this test is only flaky on El Capitan / Debug of late.
3574
3575         * platform/mac-wk1/TestExpectations:
3576
3577 2017-01-31  Antoine Quint  <graouts@apple.com>
3578
3579         Unreviewed, this test is only flaky on El Capitan of late.
3580
3581         * platform/mac/TestExpectations:
3582
3583 2017-01-31  Antoine Quint  <graouts@apple.com>
3584
3585         LayoutTest media/modern-media-controls/skip-back-button/skip-back-button.html is a flaky timeout
3586         https://bugs.webkit.org/show_bug.cgi?id=164620
3587
3588         Unreviewed.
3589
3590         This test doesn't look like it has been flaky of late, no longer marking as flaky.
3591
3592         * platform/mac-wk1/TestExpectations:
3593
3594 2017-01-31  Antoine Quint  <graouts@apple.com>
3595
3596         LayoutTest media/modern-media-controls/pip-button/pip-button.html is a flaky timeout
3597         https://bugs.webkit.org/show_bug.cgi?id=167350
3598
3599         Unreviewed.
3600
3601         This test doesn't look like it has been flaky of late, no longer marking as flaky.
3602
3603         * platform/mac-wk1/TestExpectations:
3604
3605 2017-01-31  Antoine Quint  <graouts@apple.com>
3606
3607         Unreviewed, mark a couple of very flaky tests as skipped until we get to fix them.
3608
3609         * platform/ios-simulator-wk2/TestExpectations:
3610         * platform/mac/TestExpectations:
3611
3612 2017-01-31  Antoine Quint  <graouts@apple.com>
3613
3614         [EFL] Dozens of tests of modern-media-controls have been timeout
3615         https://bugs.webkit.org/show_bug.cgi?id=167357
3616
3617         Unreviewed.
3618
3619         Modern Media Controls are Mac-specific, we should skip all those tests on EFL just like
3620         we do on GTK. We had forgotten to skip Modern Media Controls tests under http/tests/media
3621         on GTK, so we do that as well.
3622
3623         * platform/efl/TestExpectations:
3624         * platform/gtk/TestExpectations:
3625
3626 2017-01-31  Joseph Pecoraro  <pecoraro@apple.com>
3627
3628         Performance Timeline: Add serializer to PerformanceEntry
3629         https://bugs.webkit.org/show_bug.cgi?id=167632
3630
3631         Reviewed by Ryosuke Niwa.
3632
3633         * performance-api/performance-timeline-serializers-expected.txt: Added.
3634         * performance-api/performance-timeline-serializers.html: Added.
3635
3636 2017-01-31  Chris Fleizach  <cfleizach@apple.com>
3637
3638         AX: enable search predication for iOS
3639         https://bugs.webkit.org/show_bug.cgi?id=167558
3640         <rdar://problem/30251367>
3641
3642         Reviewed by Joanmarie Diggs.
3643
3644         Add basic searching smoke test to ensure fundamentals work on iOS.
3645
3646         * accessibility/ios-simulator/ios-search-predicate-expected.txt: Added.
3647         * accessibility/ios-simulator/ios-search-predicate.html: Added.
3648
3649 2017-01-30  Joseph Pecoraro  <pecoraro@apple.com>
3650
3651         Implement PerformanceObserver
3652         https://bugs.webkit.org/show_bug.cgi?id=167546
3653         <rdar://problem/30247959>
3654
3655         Reviewed by Ryosuke Niwa.
3656
3657         * performance-api/performance-observer-api-expected.txt: Added.
3658         * performance-api/performance-observer-api.html: Added.
3659         * performance-api/performance-observer-basic-expected.txt: Added.
3660         * performance-api/performance-observer-basic.html: Added.
3661         * performance-api/performance-observer-callback-mutate-expected.txt: Added.
3662         * performance-api/performance-observer-callback-mutate.html: Added.
3663         * performance-api/performance-observer-callback-task-expected.txt: Added.
3664         * performance-api/performance-observer-callback-task.html: Added.
3665         * performance-api/performance-observer-entry-sort-expected.txt: Added.
3666         * performance-api/performance-observer-entry-sort.html: Added.
3667         * performance-api/performance-observer-exception-expected.txt: Added.
3668         * performance-api/performance-observer-exception.html: Added.
3669         * performance-api/performance-observer-nested-expected.txt: Added.
3670         * performance-api/performance-observer-nested.html: Added.
3671         * performance-api/performance-observer-order-expected.txt: Added.
3672         * performance-api/performance-observer-order.html: Added.
3673         * performance-api/performance-observer-periodic-expected.txt: Added.
3674         * performance-api/performance-observer-periodic.html: Added.
3675         PerformanceObserver tests.
3676
3677         * performance-api/performance-timeline-api-expected.txt: Added.
3678         * performance-api/performance-timeline-api.html: Added.
3679         Performance timeline tests.
3680
3681         * platform/efl/js/dom/global-constructors-attributes-expected.txt:
3682         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
3683         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
3684         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
3685         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
3686         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
3687         * platform/win/js/dom/global-constructors-attributes-expected.txt:
3688         New global constructors.
3689
3690 2017-01-30  Youenn Fablet  <youenn@apple.com>
3691
3692         [WebRTC] getStats does not support legacy callback
3693         https://bugs.webkit.org/show_bug.cgi?id=167617
3694
3695         Reviewed by Alex Christensen.
3696
3697         * fast/mediastream/RTCPeerConnection-js-built-ins-check-this-expected.txt:
3698         * fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt:
3699         * fast/mediastream/RTCPeerConnection-overloaded-operations-params.html:
3700         * fast/mediastream/RTCPeerConnection-stats.html:
3701         * fast/mediastream/RTCPeerConnection-statsSelector.html:
3702
3703 2017-01-30  Chris Dumez  <cdumez@apple.com>
3704
3705         Unreviewed, remove a couple JS files that were missed in r211395.
3706
3707         * dom/xhtml/level3/core/attrisid04.js: Removed.
3708         * dom/xhtml/level3/core/attrisid05.js: Removed.
3709
3710 2017-01-30  Ryan Haddad  <ryanhaddad@apple.com>
3711
3712         Marking media/modern-media-controls/buttons-container/buttons-container-buttons-property.html as flaky on macOS WK1.
3713         https://bugs.webkit.org/show_bug.cgi?id=167371
3714
3715         Unreviewed test gardening.
3716
3717         * platform/mac-wk1/TestExpectations:
3718
3719 2017-01-30  Chris Dumez  <cdumez@apple.com>
3720
3721         Drop legacy Attributes.isId attribute
3722         https://bugs.webkit.org/show_bug.cgi?id=167603
3723
3724         Reviewed by Ryosuke Niwa.
3725
3726         Drop outdated tests.
3727
3728         * dom/xhtml/level3/core/attrisid04-expected.txt: Removed.
3729         * dom/xhtml/level3/core/attrisid04.xhtml: Removed.
3730         * dom/xhtml/level3/core/attrisid05-expected.txt: Removed.
3731         * dom/xhtml/level3/core/attrisid05.xhtml: Removed.
3732         * fast/dom/Attr/change-id-via-attr-node-value-expected.txt:
3733         * fast/dom/Attr/change-id-via-attr-node-value.html:
3734         * fast/dom/Element/attrisid-extra01-expected.txt: Removed.
3735         * fast/dom/Element/attrisid-extra01.html: Removed.
3736
3737 2017-01-30  Chris Dumez  <cdumez@apple.com>
3738
3739         Drop legacy constants on Event interface
3740         https://bugs.webkit.org/show_bug.cgi?id=167602
3741
3742         Reviewed by Sam Weinig.
3743
3744         Update / Rebaseline existing tests to stop covering those constants.
3745
3746         * fast/dom/constants-expected.txt:
3747         * fast/dom/constants.html:
3748         * fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
3749         * http/tests/workers/worker-importScriptsOnError-expected.txt:
3750         * inspector/model/remote-object-get-properties-expected.txt:
3751
3752 2017-01-30  Simon Fraser  <simon.fraser@apple.com>
3753
3754         [iOS] position:fixed inside touch-scrollable overflow is mispositioned
3755         https://bugs.webkit.org/show_bug.cgi?id=167604
3756
3757         Reviewed by Zalan Bujtas.
3758
3759         * compositing/scrolling/fixed-inside-scroll-expected.html: Added.
3760         * compositing/scrolling/fixed-inside-scroll.html: Added.
3761
3762 2017-01-30  Matt Baker  <mattbaker@apple.com>
3763
3764         Web Inspector: Need some limit on Async Call Stacks for async loops (rAF loops)
3765         https://bugs.webkit.org/show_bug.cgi?id=165633
3766         <rdar://problem/29738502>
3767
3768         Reviewed by Joseph Pecoraro.
3769
3770         Add truncation test cases and cleanup call frame logging.
3771
3772         * inspector/debugger/async-stack-trace-expected.txt:
3773         * inspector/debugger/async-stack-trace.html:
3774         * inspector/debugger/resources/log-active-stack-trace.js: Added.
3775         (TestPage.registerInitializer.window.getActiveStackTrace):
3776         (TestPage.registerInitializer.logStackTrace.logCallFrame):
3777         (TestPage.registerInitializer.):
3778         (TestPage.registerInitializer.window.logActiveStackTrace):
3779         (TestPage.registerInitializer):
3780
3781 2017-01-30  Ryan Haddad  <ryanhaddad@apple.com>
3782
3783         Unreviewed, rolling out r211345.
3784
3785         The LayoutTest for this change is failing an assertion.
3786
3787         Reverted changeset:
3788
3789         "Web Inspector: Need some limit on Async Call Stacks for async
3790         loops (rAF loops)"
3791         https://bugs.webkit.org/show_bug.cgi?id=165633
3792         http://trac.webkit.org/changeset/211345
3793
3794 2017-01-30  Simon Fraser  <simon.fraser@apple.com>
3795
3796         Fixed elements should not rubber-band in WK2, nor remain at negative offsets
3797         https://bugs.webkit.org/show_bug.cgi?id=167484
3798         rdar://problem/29453068
3799
3800         Reviewed by Dean Jackson.
3801         
3802         Add two tests that use internals.settings.setAllowUnclampedScrollPosition(true) and then
3803         over-scroll to simulator rubber-banding, dumping viewport rects.
3804         
3805         setAllowUnclampedScrollPosition() only works in WebKit2, so skip the tests elsewhere.
3806
3807         * TestExpectations:
3808         * fast/visual-viewport/rubberbanding-viewport-rects-expected.txt: Added.
3809         * fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt: Added.
3810         * fast/visual-viewport/rubberbanding-viewport-rects-header-footer.html: Added.
3811         * fast/visual-viewport/rubberbanding-viewport-rects.html: Added.
3812         * platform/ios-simulator-wk2/TestExpectations:
3813         * platform/ios-simulator-wk2/fast/visual-viewport/rubberbanding-viewport-rects-expected.txt: Added.
3814         * platform/ios-simulator-wk2/fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt: Added.
3815         * platform/mac-wk2/TestExpectations:
3816
3817 2017-01-30  Ryan Haddad  <ryanhaddad@apple.com>
3818
3819         Unreviewed, rollout r211235 Pointer lock events should be delivered directly to the target element.
3820
3821         The LayoutTest for this change is frequently failing.
3822
3823         * platform/mac/TestExpectations:
3824         * pointer-lock/mouse-event-delivery-expected.txt:
3825         * pointer-lock/mouse-event-delivery.html:
3826
3827 2017-01-30  Antoine Quint  <graouts@apple.com>
3828
3829         LayoutTest media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play.html is flaky
3830         https://bugs.webkit.org/show_bug.cgi?id=167254
3831         <rdar://problem/30259293>
3832
3833         Reviewed by Dean Jackson.
3834
3835         We improve the test by setting off timers when the actual "play" and "pause" events are
3836         triggered rather than when we call .play() or .pause() on the media element. This matches
3837         when the auto-hide timer are set in ControlsBar and makes the test more robust. Combined
3838         with the modern-media-controls WebCore module source changes, we can now stop marking this
3839         test as flaky.
3840
3841         We apply the same change to media/modern-media-controls/media-controller/media-controller-auto-hide-pause.html
3842         since it also sets off a timer based on the media being paused.
3843
3844         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play-expected.txt:
3845         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play.html:
3846         * media/modern-media-controls/media-controller/media-controller-auto-hide-pause.html:
3847         * platform/mac/TestExpectations:
3848
3849 2017-01-30  Daniel Bates  <dabates@apple.com>
3850
3851         [QuickLook] Make HTTP QuickLook tests work in Apple Internal DumpRenderTree
3852         https://bugs.webkit.org/show_bug.cgi?id=167483
3853
3854         Reviewed by Andy Estes.
3855
3856         Write QuickLook tests that tap a hyperlink in terms of UIHelper (in LayoutTests/resources/ui-helper.js)
3857         so that we can run these tests in an Apple Internal build of DumpRenderTree.
3858
3859         * http/tests/quicklook/at-import-stylesheet-blocked.html: Write in terms of UIHelper.
3860         * http/tests/quicklook/base-url-blocked.html: Ditto.
3861         * http/tests/quicklook/cross-origin-iframe-blocked.html: Ditto.
3862         * http/tests/quicklook/document-domain-is-empty-string.html: Ditto.
3863         * http/tests/quicklook/external-stylesheet-blocked.html: Ditto.
3864         * http/tests/quicklook/hide-referer-on-navigation.html: Ditto.
3865         * http/tests/quicklook/resources/tap-at-point-and-notify-done.js: Removed.
3866         * http/tests/quicklook/resources/tap-run-test-hyperlink.js: Added.
3867         (runTest):
3868         * http/tests/quicklook/submit-form-blocked.html: Ditto.
3869         * http/tests/quicklook/top-navigation-blocked.html: Ditto.
3870         * platform/ios-simulator-wk1/TestExpectations: Unskip QuickLook tests as we can now run
3871         them in an Apple Internal build of DumpRenderTree. Note that these test are listed in
3872         file LayoutTests/platform/ios-simulator/TestExpectations so that they are skipped in
3873         WebKit for iOS Simulator built with the public iOS SDK as we need to fix <https://bugs.webkit.org/show_bug.cgi?id=141906>.
3874         * platform/ios-simulator-wk1/http/tests/quicklook/top-navigation-blocked-expected.txt: Added.
3875         For some reason the console message "Unsafe JavaScript attempt to initiate navigation" includes
3876         a line number in DumpRenderTree (why?). This line number is not emitted when the test is run
3877         in WebKitTestRunner. Add platform-specific result for now.
3878
3879 2017-01-30  Carlos Garcia Campos  <cgarcia@igalia.com>
3880
3881         Unreviewed. Skip more tests timing out in GTK+ bots.
3882
3883         Skip two mores tests that use UIScriptController to generate events and another one expecting native
3884         HTML form validation popover.
3885
3886         * platform/gtk/TestExpectations:
3887
3888 2017-01-30  Carlos Garcia Campos  <cgarcia@igalia.com>
3889
3890         Unreviewed. Skip form validation tests timing out in GTK+ bots.
3891
3892         * platform/gtk/TestExpectations:
3893
3894 2017-01-29  Nan Wang  <n_wang@apple.com>
3895
3896         AX: WKContentView needs to implement UITextInput methods to make speak selection highlighting work
3897         https://bugs.webkit.org/show_bug.cgi?id=166955
3898
3899         Reviewed by Ryosuke Niwa.
3900
3901         * editing/text-iterator/range-of-string-closest-to-position-expected.txt: Added.
3902         * editing/text-iterator/range-of-string-closest-to-position.html: Added.
3903
3904 2017-01-29  Yoav Weiss  <yoav@yoav.ws>
3905
3906         Add invalid value tests to Link header handling.
3907         https://bugs.webkit.org/show_bug.cgi?id=167366
3908
3909         Reviewed by Alex Christensen.
3910
3911         * http/tests/preload/download_resources_from_invalid_headers-expected.txt:
3912         * http/tests/preload/resources/download_resources_from_header.php:
3913         * http/tests/preload/resources/invalid_resources_from_header.php:
3914
3915 2017-01-29  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3916
3917         [EFL] Gardening on 29th Jan.
3918
3919         Unreviewed EFL gardening. Update flaky tests and crash tests.
3920
3921         * platform/efl/TestExpectations:
3922
3923 2017-01-28  David Kilzer  <ddkilzer@apple.com>
3924
3925         Migrate 97 *-disabled tests to use TestExpectations
3926         <https://webkit.org/b/167537>
3927
3928         Reviewed by Darin Adler.
3929
3930         * TestExpectations: Skip renamed tests.
3931
3932         * fast/dom/HTMLDataGridElement/DataGridColumns-basic-expected.txt: Removed.
3933         * fast/dom/HTMLDataGridElement/DataGridColumns-basic.html-disabled: Removed.
3934         * fast/dom/HTMLDataGridElement/DataGridColumns-dom-attributes-expected.txt: Removed.
3935         * fast/dom/HTMLDataGridElement/DataGridColumns-dom-attributes.html-disabled: Removed.
3936         * fast/dom/HTMLDataGridElement/DataGridColumns-dom-expected.txt: Removed.
3937         * fast/dom/HTMLDataGridElement/DataGridColumns-dom.html-disabled: Removed.
3938         * fast/dom/HTMLDataGridElement/DataGridDataSource-basic-expected.txt: Removed.
3939         * fast/dom/HTMLDataGridElement/DataGridDataSource-basic.html-disabled: Removed.
3940         - Tests disabled in r52512. DataGrid feature removed in r84991.
3941
3942         * http/tests/appcache/dynamic-entries-no-cache-expected.txt: Removed.
3943         * http/tests/appcache/dynamic-entries-no-cache.html-disabled: Removed.
3944         - Test disabled in r39816. AppCache dynamic entry feature removed in r95486.
3945
3946         * svg/W3C-SVG-1.1/resources/filters-comptran-01-f.svg-disabled: Removed.
3947         - Unused. Same as LayoutTests/svg/W3C-SVG-1.1/filters-comptran-01-b.svg.
3948
3949         * animations/font-size-using-ems.html: Renamed from LayoutTests/animations/font-size-using-ems.html-disabled.
3950         * compositing/objects/composited-object-alignment.html: Renamed from LayoutTests/compositing/objects/composited-object-alignment.html-disabled.
3951         * compositing/tiling/huge-layer-resize.html: Renamed from LayoutTests/compositing/tiling/huge-layer-resize.html-disabled.
3952         * compositing/tiling/huge-layer.html: Renamed from LayoutTests/compositing/tiling/huge-layer.html-disabled.
3953         * css2.1/t1202-counter-10-b.html: Renamed from LayoutTests/css2.1/t1202-counter-10-b.html-disabled.
3954         * css2.1/t1202-counters-10-b.html: Renamed from LayoutTests/css2.1/t1202-counters-10-b.html-disabled.
3955         * css2.1/t1204-increment-00-c-o.html: Renamed from LayoutTests/css2.1/t1204-increment-00-c-o.html-disabled.
3956         * css2.1/t1204-increment-01-c-o.html: Renamed from LayoutTests/css2.1/t1204-increment-01-c-o.html-disabled.
3957         * css2.1/t1204-increment-02-c-o.html: Renamed from LayoutTests/css2.1/t1204-increment-02-c-o.html-disabled.
3958         * css2.1/t1204-reset-00-c-o.html: Renamed from LayoutTests/css2.1/t1204-reset-00-c-o.html-disabled.
3959         * css2.1/t1204-reset-01-c-o.html: Renamed from LayoutTests/css2.1/t1204-reset-01-c-o.html-disabled.
3960         * css2.1/t1204-reset-02-c-o.html: Renamed from LayoutTests/css2.1/t1204-reset-02-c-o.html-disabled.
3961         * dom/xhtml/level2/html/HTMLFrameElement09.xhtml: Renamed from LayoutTests/dom/xhtml/level2/html/HTMLFrameElement09.xhtml-disabled.
3962         * dom/xhtml/level3/core/documentadoptnode22.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/documentadoptnode22.xhtml-disabled.
3963         * dom/xhtml/level3/core/documentnormalizedocument06.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/documentnormalizedocument06.xhtml-disabled.
3964         * dom/xhtml/level3/core/documentsetdocumenturi01.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi01.xhtml-disabled.
3965         * dom/xhtml/level3/core/documentsetdocumenturi02.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/documentsetdocumenturi02.xhtml-disabled.
3966         * dom/xhtml/level3/core/domimplementationregistry12.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/domimplementationregistry12.xhtml-disabled.
3967         * dom/xhtml/level3/core/domimplementationregistry23.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/domimplementationregistry23.xhtml-disabled.
3968         * dom/xhtml/level3/core/nodecomparedocumentposition14.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition14.xhtml-disabled.
3969         * dom/xhtml/level3/core/nodecomparedocumentposition15.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/nodecomparedocumentposition15.xhtml-disabled.
3970         * dom/xhtml/level3/core/noderemovechild03.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/noderemovechild03.xhtml-disabled.
3971         * dom/xhtml/level3/core/nodereplacechild06.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/nodereplacechild06.xhtml-disabled.
3972         * dom/xhtml/level3/core/nodereplacechild07.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/nodereplacechild07.xhtml-disabled.
3973         * dom/xhtml/level3/core/nodereplacechild08.xhtml: Renamed from LayoutTests/dom/xhtml/level3/core/nodereplacechild08.xhtml-disabled.
3974         * editing/execCommand/create-list-1.html: Renamed from LayoutTests/editing/execCommand/create-list-1.html-disabled.
3975         * editing/input/attributed-substring-from-range-lines.html: Renamed from LayoutTests/editing/input/attributed-substring-from-range-lines.html-disabled.
3976         * editing/pasteboard/paste-empty-startcontainer.html: Renamed from LayoutTests/editing/pasteboard/paste-empty-startcontainer.html-disabled.
3977         * editing/selection/inconsistent-in-removeChildNode.html: Renamed from LayoutTests/editing/selection/inconsistent-in-removeChildNode.html-disabled.
3978         * editing/style/5091898.html: Renamed from LayoutTests/editing/style/5091898.html-disabled.
3979         * fast/css/css2-system-color.html: Renamed from LayoutTests/fast/css/css2-system-color.html-disabled.
3980         * fast/css/font-face-in-shadow-DOM.html: Renamed from LayoutTests/fast/css/font-face-in-shadow-DOM.html-disabled.
3981         * fast/css/limited-vendor-prefix-behavior.html: Renamed from LayoutTests/fast/css/limited-vendor-prefix-behavior.html-disabled.
3982         * fast/dom/Window/timeout-released-on-close.html: Renamed from LayoutTests/fast/dom/Window/timeout-released-on-close.html-disabled.
3983         * fast/dom/Window/window-resize-nan.html: Renamed from LayoutTests/fast/dom/Window/window-resize-nan.html-disabled.
3984         * fast/dom/gc-8.html: Renamed from LayoutTests/fast/dom/gc-8.html-disabled.
3985         * fast/dynamic/crash-paint-no-documentElement-renderer.html: Renamed from LayoutTests/fast/dynamic/crash-paint-no-documentElement-renderer.html-disabled.
3986         * fast/events/destroyed-atomic-string.html: Renamed from LayoutTests/fast/events/destroyed-atomic-string.html-disabled.
3987         * fast/events/key-events-in-frame.html: Renamed from LayoutTests/fast/events/key-events-in-frame.html-disabled.
3988         * fast/frames/iframe-scroll-page-up-down.html: Renamed from LayoutTests/fast/frames/iframe-scroll-page-up-down.html-disabled.
3989         * fast/html/marquee-alternate.html: Renamed from LayoutTests/fast/html/marquee-alternate.html-disabled.
3990         * fast/leaks/003.html: Renamed from LayoutTests/fast/leaks/003.html-disabled.
3991         * fast/loader/api-test-go-to-current-back-forward-item.html: Renamed from LayoutTests/fast/loader/api-test-go-to-current-back-forward-item.html-disabled.
3992         * fast/loader/api-test-new-window-data-load-base-url.html: Renamed from LayoutTests/fast/loader/api-test-new-window-data-load-base-url.html-disabled.
3993         * fast/loader/form-events-back-forward.html: Renamed from LayoutTests/fast/loader/form-events-back-forward.html-disabled.
3994         * fast/notifications/notifications-event-stop-propagation.html: Renamed from LayoutTests/fast/notifications/notifications-event-stop-propagation.html-disabled.
3995         * fast/notifications/notifications-multi-events.html: Renamed from LayoutTests/fast/notifications/notifications-multi-events.html-disabled.
3996         * fast/ruby/after-block-doesnt-crash.html: Renamed from LayoutTests/fast/ruby/after-block-doesnt-crash.html-disabled.
3997         * fast/ruby/after-table-doesnt-crash.html: Renamed from LayoutTests/fast/ruby/after-table-doesnt-crash.html-disabled.
3998         * fast/ruby/generated-after-counter-doesnt-crash.html: Renamed from LayoutTests/fast/ruby/generated-after-counter-doesnt-crash.html-disabled.
3999         * fast/ruby/generated-before-and-after-counter-doesnt-crash.html: Renamed from LayoutTests/fast/ruby/generated-before-and-after-counter-doesnt-crash.html-disabled.
4000         * fast/shadow-dom/copy-shadow-tree.html: Renamed from LayoutTests/fast/shadow-dom/copy-shadow-tree.html-disabled.
4001         * fast/table/double-height-table-no-tbody.html: Renamed from LayoutTests/fast/table/double-height-table-no-tbody.html-disabled.
4002         * fast/text/large-text-composed-char-dos.html: Renamed from LayoutTests/fast/text/large-text-composed-char-dos.html-disabled.
4003         * http/tests/multipart/win-boundary-crash.html: Renamed from LayoutTests/http/tests/multipart/win-boundary-crash.html-disabled.
4004         * http/tests/navigation/post-goback-repost-policy.html: Renamed from LayoutTests/http/tests/navigation/post-goback-repost-policy.html-disabled.
4005         * http/tests/navigation/success200-frames-goback.html: Renamed from LayoutTests/http/tests/navigation/success200-frames-goback.html-disabled.
4006         * http/tests/navigation/success200-frames-reload.html: Renamed from LayoutTests/http/tests/navigation/success200-frames-reload.html-disabled.
4007         * http/tests/navigation/success200-subframeload-goback.html: Renamed from LayoutTests/http/tests/navigation/success200-subframeload-goback.html-disabled.
4008         * java/lc3/ArrayMethods/object-001.html: Renamed from LayoutTests/java/lc3/ArrayMethods/object-001.html-disabled.
4009         * java/lc3/forin/array-001.html: Renamed from LayoutTests/java/lc3/forin/array-001.html-disabled.
4010         * jquery/effects.html: Renamed from LayoutTests/jquery/effects.html-disabled.
4011         * js/garbage-collect-after-string-appends.html: Renamed from LayoutTests/js/garbage-collect-after-string-appends.html-disabled.
4012         * js/kde/Date.html: Renamed from LayoutTests/js/kde/Date.html-disabled.
4013         * js/resources/garbage-collect-after-string-appends.js: Renamed from LayoutTests/js/resources/garbage-collect-after-string-appends.js-disabled.
4014         * js/string-concatenate-outofmemory.html: Renamed from LayoutTests/js/string-concatenate-outofmemory.html-disabled.
4015         * media/video-canvas.html: Renamed from LayoutTests/media/video-canvas.html-disabled.
4016         * platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html: Renamed from LayoutTests/platform/mac/plugins/pluginDocumentView-deallocated-dataSource.html-disabled.
4017         * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.3/15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.html: Renamed from LayoutTests/sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.3/15.1.3.1_decodeURI/S15.1.3.1_A2.5_T1.html-disabled.
4018         * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.3/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.5_T1.html: Renamed from LayoutTests/sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.3/15.1.3.2_decodeURIComponent/S15.1.3.2_A2.5_T1.html-disabled.
4019         * sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T1.html: Renamed from LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T1.html-disabled.
4020         * sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T2.html: Renamed from LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T2.html-disabled.
4021         * sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T3.html: Renamed from LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T3.html-disabled.
4022         * sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T4.html: Renamed from LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T4.html-disabled.
4023         * sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T5.html: Renamed from LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T5.html-disabled.
4024         * sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T6.html: Renamed from LayoutTests/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T6.html-disabled.
4025         * sputnik/Unicode/Unicode_218/S7.6_A1.1_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_218/S7.6_A1.1_T5.html-disabled.
4026         * sputnik/Unicode/Unicode_218/S7.6_A3.1.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_218/S7.6_A3.1.html-disabled.
4027         * sputnik/Unicode/Unicode_218/S7.6_A3.2.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_218/S7.6_A3.2.html-disabled.
4028         * sputnik/Unicode/Unicode_218/S7.6_A5.2_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_218/S7.6_A5.2_T5.html-disabled.
4029         * sputnik/Unicode/Unicode_320/S7.6_A1.1_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_320/S7.6_A1.1_T5.html-disabled.
4030         * sputnik/Unicode/Unicode_320/S7.6_A5.2_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_320/S7.6_A5.2_T5.html-disabled.
4031         * sputnik/Unicode/Unicode_410/S7.6_A1.1_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_410/S7.6_A1.1_T5.html-disabled.
4032         * sputnik/Unicode/Unicode_410/S7.6_A5.2_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_410/S7.6_A5.2_T5.html-disabled.
4033         * sputnik/Unicode/Unicode_500/S7.6_A1.1_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_500/S7.6_A1.1_T5.html-disabled.
4034         * sputnik/Unicode/Unicode_500/S7.6_A5.2_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_500/S7.6_A5.2_T5.html-disabled.
4035         * sputnik/Unicode/Unicode_510/S7.6_A1.1_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_510/S7.6_A1.1_T5.html-disabled.
4036         * sputnik/Unicode/Unicode_510/S7.6_A5.2_T5.html: Renamed from LayoutTests/sputnik/Unicode/Unicode_510/S7.6_A5.2_T5.html-disabled.
4037         * svg/batik/text/textBiDi.svg: Renamed from LayoutTests/svg/batik/text/textBiDi.svg-disabled.
4038         * svg/custom/filter-source-alpha.svg: Renamed from LayoutTests/svg/custom/filter-source-alpha.svg-disabled.
4039         * svg/custom/font-face-fallback.svg: Renamed from LayoutTests/svg/custom/font-face-fallback.svg-disabled.
4040         * svg/custom/js-font-test.svg: Renamed from LayoutTests/svg/custom/js-font-test.svg-disabled.
4041         * svg/zoom/page/zoom-svg-through-object-with-text.xhtml: Renamed from LayoutTests/svg/zoom/page/zoom-svg-through-object-with-text.xhtml-disabled.
4042         - Renamed disabled tests now that they're skipped in TestExpectations.
4043
4044 2017-01-28  Matt Baker  <mattbaker@apple.com>
4045
4046         Web Inspector: Need some limit on Async Call Stacks for async loops (rAF loops)
4047         https://bugs.webkit.org/show_bug.cgi?id=165633
4048         <rdar://problem/29738502>
4049
4050         Reviewed by Joseph Pecoraro.
4051
4052         Add truncation test cases and cleanup call frame logging.
4053
4054         * inspector/debugger/async-stack-trace-expected.txt:
4055         * inspector/debugger/async-stack-trace.html:
4056         * inspector/debugger/resources/log-active-stack-trace.js: Added.
4057         (TestPage.registerInitializer.window.getActiveStackTrace):
4058         (TestPage.registerInitializer.logStackTrace.logCallFrame):
4059         (TestPage.registerInitializer.):
4060         (TestPage.registerInitializer.window.logActiveStackTrace):
4061         (TestPage.registerInitializer):
4062
4063 2017-01-28  Yoav Weiss  <yoav@yoav.ws>
4064
4065         Add Link Preload as an off-by-default experimental feature menu item.
4066         https://bugs.webkit.org/show_bug.cgi?id=167201
4067
4068         Reviewed by Ryosuke Niwa.
4069
4070         Removed code explicitly enabling Link preload from the tests, as it is now
4071         turned on by default for testing. Corrected expectation files accordingly.
4072
4073         * http/tests/fetch/redirectmode-and-preload.html:
4074         * http/tests/preload/delaying_onload_link_preload_after_discovery.html:
4075         * http/tests/preload/delaying_onload_link_preload_after_discovery_image.html:
4076         * http/tests/preload/download_resources-expected.txt:
4077         * http/tests/preload/download_resources.html:
4078         * http/tests/preload/download_resources_from_header_iframe.html:
4079         * http/tests/preload/download_resources_from_invalid_headers.html:
4080         * http/tests/preload/dynamic_adding_preload.html:
4081         * http/tests/preload/dynamic_remove_preload_href-expected.txt:
4082         * http/tests/preload/dynamic_remove_preload_href.html:
4083         * http/tests/preload/not_delaying_window_onload_before_discovery.html:
4084         * http/tests/preload/onerror_event-expected.txt:
4085         * http/tests/preload/onerror_event.html:
4086         * http/tests/preload/onload_event-expected.txt:
4087         * http/tests/preload/onload_event.html:
4088         * http/tests/preload/resources/download_resources_from_header.php:
4089         * http/tests/preload/resources/invalid_resources_from_header.php:
4090         * http/tests/preload/single_download_preload-expected.txt:
4091         * http/tests/preload/single_download_preload.html:
4092         * http/tests/security/cached-cross-origin-preloaded-css-stylesheet.html:
4093         * http/tests/security/cached-cross-origin-preloading-css-stylesheet.html:
4094
4095 2017-01-28  Antoine Quint  <graouts@apple.com>
4096
4097         [Modern Media Controls] REGRESSION: Video stops playing after going into Full Screen in media documents
4098         https://bugs.webkit.org/show_bug.cgi?id=167552
4099         <rdar://problem/29601646>
4100
4101         Reviewed by Eric Carlson.
4102
4103         Add a new test that checks that clicking on a <video> within a media document does not paused after being clicked.
4104         Since this behavior uses click events, we use window.eventSender and skip this test on iOS.
4105
4106         * media/modern-media-controls/media-documents/click-on-video-should-not-pause-expected.txt: Added.
4107         * media/modern-media-controls/media-documents/click-on-video-should-not-pause.html: Added.
4108         * platform/ios-simulator/TestExpectations:
4109
4110 2017-01-28  Zalan Bujtas  <zalan@apple.com>
4111
4112         Resolve beforeChild's render tree position before calling addChildIgnoringContinuation.
4113         https://bugs.webkit.org/show_bug.cgi?id=167540
4114         <rdar://problem/30126535>
4115
4116         Reviewed by Simon Fraser.
4117
4118         * fast/multicol/assert-on-continuation-with-spanner-expected.txt: Added.
4119         * fast/multicol/assert-on-continuation-with-spanner.html: Added.
4120
4121 2017-01-28  Joseph Pecoraro  <pecoraro@apple.com>
4122
4123         Add User Timing Experimental Feature
4124         https://bugs.webkit.org/show_bug.cgi?id=167542
4125         <rdar://problem/22746307>
4126
4127         Reviewed by Ryosuke Niwa.
4128
4129         * platform/efl/js/dom/global-constructors-attributes-expected.txt:
4130         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
4131         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
4132         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
4133         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
4134         * platform/mac/js/dom/global-constructors-attributes-expected.txt: