Add Link header support for preload.
[WebKit-https.git] / LayoutTests / ChangeLog
1 2017-01-18  Yoav Weiss  <yoav@yoav.ws>
2
3         Add Link header support for preload.
4         https://bugs.webkit.org/show_bug.cgi?id=165521
5
6         Reviewed by Alex Christensen.
7
8         * http/tests/preload/download_resources_from_header_iframe-expected.txt: Added
9         * http/tests/preload/download_resources_from_header_iframe.html: Added
10         * http/tests/preload/download_resources_from_invalid_headers-expected: Added
11         * http/tests/preload/download_resources_from_invalid_headers.html: Added
12         * http/tests/preload/resources/download_resources_from_header.php: Added.
13         * http/tests/preload/resources/invalid_resources_from_header.php: Added.
14
15 2017-01-18  Joseph Pecoraro  <pecoraro@apple.com>
16
17         Web Inspector: console.table only works for the first 5 properties
18         https://bugs.webkit.org/show_bug.cgi?id=167175
19
20         Reviewed by Timothy Hatcher.
21
22         * inspector/console/console-table-expected.txt:
23         * inspector/console/console-table.html:
24         Include a test that we get values beyond the first 5 properties.
25
26 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
27
28         Moving flaky expectation for fast/images/animated-gif-restored-from-bfcache.html to mac TestExpectations file.
29         https://bugs.webkit.org/show_bug.cgi?id=162510
30
31         Unreviewed test gardening.
32
33         * platform/mac-wk2/TestExpectations:
34         * platform/mac/TestExpectations:
35
36 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
37
38         Marking inspector/indexeddb/clearObjectStore.html as flaky on macOS debug.
39         https://bugs.webkit.org/show_bug.cgi?id=167184
40
41         Unreviewed test gardening.
42
43         * platform/mac/TestExpectations:
44
45 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
46
47         Marking two fast/dom/Window/window-properties-performance-* tests as flaky.
48         https://bugs.webkit.org/show_bug.cgi?id=166911
49
50         Unreviewed test gardening.
51
52         * TestExpectations:
53
54 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
55
56         Marking http/tests/fetch/fetching-same-resource-with-diffferent-options.html as flaky on ios-simulator-wk2.
57         https://bugs.webkit.org/show_bug.cgi?id=166025
58
59         Unreviewed test gardening.
60
61         * platform/ios-simulator-wk2/TestExpectations:
62
63 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
64
65         Marking http/tests/misc/module-script-async.html as a flaky timeout.
66         https://bugs.webkit.org/show_bug.cgi?id=165764
67
68         Unreviewed test gardening.
69
70         * TestExpectations:
71
72 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
73
74         Marking js/dom/Promise.html as flaky on both debug and release builds.
75         https://bugs.webkit.org/show_bug.cgi?id=140043
76
77         Unreviewed test gardening.
78
79         * TestExpectations:
80
81 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
82
83         Marking inspector/worker/debugger-pause.html as a flaky timeout.
84         https://bugs.webkit.org/show_bug.cgi?id=164833
85
86         Unreviewed test gardening.
87
88         * platform/mac/TestExpectations:
89
90 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
91
92         Unreviewed, rolling out r210881.
93
94         This test is failing on macOS.
95
96         Reverted changeset:
97
98         "REGRESSION(r203110): LayoutTest
99         http/tests/preload/single_download_preload_runner.html timing
100         out"
101         https://bugs.webkit.org/show_bug.cgi?id=159678
102         http://trac.webkit.org/changeset/210881
103
104 2017-01-18  Ryan Haddad  <ryanhaddad@apple.com>
105
106         Unreviewed, rolling out r210848.
107
108         This change introduced media-related LayoutTest failures and
109         crashes on macOS.
110
111         Reverted changeset:
112
113         "[Modern Media Controls] Turn modern media controls on by
114         default"
115         https://bugs.webkit.org/show_bug.cgi?id=165668
116         http://trac.webkit.org/changeset/210848
117
118 2017-01-18  Myles C. Maxfield  <mmaxfield@apple.com>
119
120         background-repeat-x doesn't work
121         https://bugs.webkit.org/show_bug.cgi?id=166997
122
123         Reviewed by Simon Fraser.
124
125         * fast/backgrounds/background-repeat-x-y-expected.html: Added.
126         * fast/backgrounds/background-repeat-x-y-parse-expected.txt: Added.
127         * fast/backgrounds/background-repeat-x-y-parse.html: Added.
128         * fast/backgrounds/background-repeat-x-y.html: Added.
129
130 2017-01-18  Yoav Weiss  <yoav@yoav.ws>
131
132         REGRESSION(r203110): LayoutTest http/tests/preload/single_download_preload_runner.html timing out
133         https://bugs.webkit.org/show_bug.cgi?id=159678
134
135         Move the single_download_preload test to be in a single document rather than a frame, as the frame based version was timing out.
136         I suspect that recent changes to handling of feature flags resulted in feature flags turned off for frames, which caused this test
137         to fail. As the frame doesn't seem required in this case, we can fold the entire test to a single document.
138         On top of that, I added per resource verification for the number of requests, which makes the test clearer.
139
140         Reviewed by Alex Christensen.
141
142         * TestExpectations: Removed the timeout expectation for the test.
143         * http/tests/preload/single_download_preload-expected.txt: Renamed from LayoutTests/http/tests/preload/single_download_preload_runner-expected.txt.
144         * http/tests/preload/single_download_preload.html: Renamed from LayoutTests/http/tests/preload/resources/single_download_preload.html as well as fixed.
145         * http/tests/preload/single_download_preload_runner.html: Removed.
146         * http/tests/resources/dummy.xml: Added.
147         * http/tests/resources/test.oga: Added.
148         * platform/mac/TestExpectations: Removed the timeout expectation for the test.
149
150 2017-01-18  Andy Estes  <aestes@apple.com>
151
152         [QuickLook] Support password-protected documents
153         https://bugs.webkit.org/show_bug.cgi?id=167153
154         <rdar://problem/28544527>
155
156         Reviewed by Alex Christensen.
157
158         * platform/ios-simulator/TestExpectations: Temporarily skipped the new test until the
159         necessary support is available in QuickLook.framework.
160         * quicklook/password-protected-expected.html: Added.
161         * quicklook/password-protected.html: Added.
162         * quicklook/resources/password-protected.pages: Added.
163
164 2017-01-18  Youenn Fablet  <youenn@apple.com>
165
166         [Streams API] ReadableStream generic reader constructor does not need to call ReadableStream getReader
167         https://bugs.webkit.org/show_bug.cgi?id=167137
168
169         Reviewed by Xabier Rodriguez-Calvar.
170
171         * streams/shadowing-getReader-expected.txt: Added.
172         * streams/shadowing-getReader.html: Added.
173
174 2017-01-18  Youenn Fablet  <youenn@apple.com>
175
176         Reject fetch promise in case of ReadableStream upload
177         https://bugs.webkit.org/show_bug.cgi?id=167145
178
179         Reviewed by Alex Christensen.
180
181         * TestExpectations:
182
183 2017-01-18  Youenn Fablet  <youenn@apple.com>
184
185         [Fetch API] Update content-type in case of form data
186         https://bugs.webkit.org/show_bug.cgi?id=167143
187
188         Reviewed by Alex Christensen.
189
190         * TestExpectations:
191
192 2017-01-18  Antoine Quint  <graouts@apple.com>
193
194         [Modern Media Controls] Turn modern media controls on by default
195         https://bugs.webkit.org/show_bug.cgi?id=165668
196
197         Reviewed by Dean Jackson.
198
199         Turn modern media controls off for a majority of pre-existing tests that made assumptions on the implementation
200         of media controls.
201
202         For tests designed for modern media controls, we don't need to opt out since modern media controls are now on
203         by default, and we turn them back on since they were skipped. But we make these tests more resilient by:
204         
205             1. adding iPad-specific tests
206             2. adding platform-agnostic ways to press an element, using either eventSender or uiController
207             3. checking that elements that are sized asynchronously are indeed sized before making assumptions to that effect
208             4. ensuring that we don't have additional scheduler.frameDidFire callbacks after we no longer need them 
209
210         * TestExpectations:
211         * accessibility/mac/video-tag-hit-test.html:
212         * accessibility/mac/video-volume-slider-accessibility.html:
213         * accessibility/media-element.html:
214         * accessibility/media-emits-object-replacement.html:
215         * compositing/video/poster-expected.html:
216         * compositing/video/poster.html:
217         * fast/hidpi/video-controls-in-hidpi.html:
218         * fast/layers/video-layer.html:
219         * fullscreen/video-controls-drag.html:
220         * fullscreen/video-controls-override.html:
221         * fullscreen/video-controls-rtl.html:
222         * fullscreen/video-controls-timeline.html:
223         * http/tests/media/hls/video-controls-live-stream.html:
224         * http/tests/media/hls/video-duration-accessibility.html:
225         * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-allowed.html:
226         * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-blocked.html:
227         * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-blocked2.html:
228         * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/video-controls-allowed.html:
229         * media/accessibility-closed-captions-has-aria-owns.html:
230         * media/adopt-node-crash.html:
231         * media/airplay-autoplay.html:
232         * media/audio-as-video-fullscreen.html:
233         * media/audio-controls-do-not-fade-out.html:
234         * media/audio-controls-rendering.html:
235         * media/audio-controls-timeline-in-media-document.html:
236         * media/audio-delete-while-slider-thumb-clicked.html:
237         * media/audio-repaint.html:
238         * media/click-placeholder-not-pausing.html:
239         * media/click-volume-bar-not-pausing.html:
240         * media/controls-after-reload.html:
241         * media/controls-drag-timebar.html:
242         * media/controls-right-click-on-timebar.html:
243         * media/controls-strict.html:
244         * media/controls-styling.html:
245         * media/controls-without-preload.html:
246         * media/controls/airplay-controls.html:
247         * media/controls/airplay-picker.html:
248         * media/controls/basic.html:
249         * media/controls/elementOrder.html:
250         * media/controls/forced-tracks-only.html:
251         * media/controls/fullscreen-button-inline-layout.html:
252         * media/controls/inline-elements-dropoff-order.html:
253         * media/controls/picture-in-picture.html:
254         * media/controls/pip-placeholder-without-video-controls.html:
255         * media/controls/showControlsButton.html:
256         * media/controls/statusDisplay.html:
257         * media/controls/statusDisplayBad.html:
258         * media/controls/track-menu.html:
259         * media/mac/controls-panel-not-clipped-out-expected.html:
260         * media/mac/controls-panel-not-clipped-out.html:
261         * media/media-captions-no-controls.html:
262         * media/media-controller-drag-crash.html:
263         * media/media-controls-accessibility.html:
264         * media/media-controls-cancel-events.html:
265         * media/media-controls-clone.html:
266         * media/media-controls-drag-timeline-set-controls-property.html:
267         * media/media-controls-timeline-updates-after-playing.html:
268         * media/media-controls-timeline-updates-when-hovered.html:
269         * media/media-controls-timeline-updates.html:
270         * media/media-document-audio-controls-visible.html:
271         * media/media-document-audio-repaint.html:
272         * media/media-fullscreen-return-to-inline.html:
273         * media/modern-media-controls/airplay-button/airplay-button-on.html:
274         * media/modern-media-controls/airplay-button/airplay-button.html:
275         * media/modern-media-controls/airplay-placard/airplay-placard-text-section.html:
276         * media/modern-media-controls/audio/audio-controls-buttons-expected.txt:
277         * media/modern-media-controls/audio/audio-controls-buttons.html:
278         * media/modern-media-controls/audio/audio-controls-metrics.html:
279         * media/modern-media-controls/button/button.html:
280         * media/modern-media-controls/buttons-container/buttons-container-buttons-property.html:
281         * media/modern-media-controls/forward-button/forward-button.html:
282         * media/modern-media-controls/fullscreen-button/fullscreen-button.html:
283         * media/modern-media-controls/fullscreen-support/fullscreen-support-click.html:
284         * media/modern-media-controls/fullscreen-support/ipad/fullscreen-support-tap-expected.txt: Added.
285         * media/modern-media-controls/fullscreen-support/ipad/fullscreen-support-tap.html: Added.
286         * media/modern-media-controls/icon-button/icon-button-active-state.html:
287         * media/modern-media-controls/icon-button/icon-button-on.html:
288         * media/modern-media-controls/icon-button/icon-button.html:
289         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-buttons-styles.html:
290         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-controls-bar-styles.html:
291         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-layout.html:
292         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-time-control-styles.html:
293         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-dropping-controls.html:
294         * media/modern-media-controls/layout-node/addChild.html:
295         * media/modern-media-controls/layout-node/children.html:
296         * media/modern-media-controls/layout-node/height.html:
297         * media/modern-media-controls/layout-node/insertAfter.html:
298         * media/modern-media-controls/layout-node/insertBefore.html:
299         * media/modern-media-controls/layout-node/node-made-dirty-during-layout.html:
300         * media/modern-media-controls/layout-node/remove.html:
301         * media/modern-media-controls/layout-node/removeChild.html:
302         * media/modern-media-controls/layout-node/subclassing.html:
303         * media/modern-media-controls/layout-node/visible.html:
304         * media/modern-media-controls/layout-node/width.html:
305         * media/modern-media-controls/layout-node/x.html:
306         * media/modern-media-controls/layout-node/y.html:
307         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
308         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
309         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles.html:
310         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag.html:
311         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin.html:
312         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-time-control-styles.html:
313         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-volume-styles.html:
314         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-buttons-styles.html:
315         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-controls-bar-styles.html:
316         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-layout.html:
317         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html:
318         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-time-control-styles.html:
319         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles.html:
320         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-dropping-controls.html:
321         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-and-mouse-leave.html:
322         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar.html:
323         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play.html:
324         * media/modern-media-controls/media-controller/media-controller-auto-hide-pause.html:
325         * media/modern-media-controls/media-controller/media-controller-auto-hide-rewind-with-mouse-enter.html:
326         * media/modern-media-controls/media-controller/media-controller-auto-hide.html:
327         * media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen.html:
328         * media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html:
329         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline.html:
330         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-pip-to-inline.html:
331         * media/modern-media-controls/media-controller/media-controller-resize.html:
332         * media/modern-media-controls/media-controller/media-controller-scale-factor.html:
333         * media/modern-media-controls/media-controller/media-controller-single-container.html:
334         * media/modern-media-controls/mute-button/mute-button.html:
335         * media/modern-media-controls/pip-button/pip-button.html:
336         * media/modern-media-controls/pip-placard/pip-placard-text-section.html:
337         * media/modern-media-controls/pip-support/ipad/pip-support-enabled-expected.txt: Added.
338         * media/modern-media-controls/pip-support/ipad/pip-support-enabled.html: Copied from LayoutTests/media/modern-media-controls/pip-support/pip-support-enabled.html.
339         * media/modern-media-controls/pip-support/ipad/pip-support-tap-expected.txt: Added.
340         * media/modern-media-controls/pip-support/ipad/pip-support-tap.html: Copied from LayoutTests/media/modern-media-controls/pip-support/pip-support-click.html.
341         * media/modern-media-controls/pip-support/pip-support-click.html:
342         * media/modern-media-controls/pip-support/pip-support-enabled.html:
343         * media/modern-media-controls/placard-support/ipad/placard-support-pip-expected.txt: Copied from LayoutTests/media/modern-media-controls/placard-support/placard-support-airplay-expected.txt.
344         * media/modern-media-controls/placard-support/ipad/placard-support-pip.html: Added.
345         * media/modern-media-controls/placard-support/placard-support-airplay-expected.txt:
346         * media/modern-media-controls/play-pause-button/play-pause-button.html:
347         * media/modern-media-controls/playback-support/playback-support-button-click-expected.txt:
348         * media/modern-media-controls/playback-support/playback-support-button-click.html:
349         * media/modern-media-controls/resources/media-controls-utils.js:
350         (pressOnElement):
351         (finishMediaControlsTest):
352         * media/modern-media-controls/rewind-button/rewind-button.html:
353         * media/modern-media-controls/scheduler/not-reentrant.html:
354         * media/modern-media-controls/scheduler/single-callback-when-registered-multiple-times.html:
355         * media/modern-media-controls/scrubber-support/ipad/scrubber-support-drag-expected.txt: Copied from LayoutTests/media/modern-media-controls/scrubber-support/scrubber-support-drag-expected.txt.
356         * media/modern-media-controls/scrubber-support/ipad/scrubber-support-drag.html: Added.
357         * media/modern-media-controls/scrubber-support/scrubber-support-click.html:
358         * media/modern-media-controls/scrubber-support/scrubber-support-drag-expected.txt:
359         * media/modern-media-controls/scrubber-support/scrubber-support-drag.html:
360         * media/modern-media-controls/seek-backward-support/seek-backward-support.html:
361         * media/modern-media-controls/seek-forward-support/seek-forward-support.html:
362         * media/modern-media-controls/skip-back-button/skip-back-button.html:
363         * media/modern-media-controls/slider/slider-fill.html:
364         * media/modern-media-controls/slider/slider-styles.html:
365         * media/modern-media-controls/start-support/start-support-click-to-start-expected.txt:
366         * media/modern-media-controls/start-support/start-support-click-to-start.html:
367         * media/modern-media-controls/status-label/status-label-font.html:
368         * media/modern-media-controls/status-label/status-label-text-selection.html:
369         * media/modern-media-controls/status-label/status-label.html:
370         * media/modern-media-controls/time-label/time-label.html:
371         * media/modern-media-controls/tracks-button/tracks-button.html:
372         * media/modern-media-controls/tracks-panel/tracks-panel-right-x.html:
373         * media/modern-media-controls/tracks-panel/tracks-panel-select-track-with-keyboard.html:
374         * media/modern-media-controls/tracks-support/tracks-support-click-track-in-panel.html:
375         * media/modern-media-controls/tracks-support/tracks-support-show-and-populate-panel.html:
376         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls-expected.txt:
377         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html:
378         * media/modern-media-controls/tracks-support/tracks-support-show-panel-fullscreen.html:
379         * media/modern-media-controls/volume-slider/volume-slider-value.html:
380         * media/modern-media-controls/volume-support/volume-support-click.html:
381         * media/modern-media-controls/volume-support/volume-support-drag.html:
382         * media/nodesFromRect-shadowContent.html:
383         * media/progress-events-generated-correctly.html:
384         * media/require-user-gesture-to-load-video.html:
385         * media/tab-focus-inside-media-elements.html:
386         * media/track/track-cue-rendering-horizontal.html:
387         * media/track/track-cue-rendering-vertical.html:
388         * media/track/track-cues-cuechange.html:
389         * media/track/track-cues-enter-exit.html:
390         * media/track/track-in-band-duplicate-tracks-when-source-changes.html:
391         * media/track/track-manual-mode.html:
392         * media/video-controls-audiotracks-trackmenu.html:
393         * media/video-controls-captions-trackmenu-localized.html:
394         * media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles.html:
395         * media/video-controls-captions-trackmenu-sorted.html:
396         * media/video-controls-captions-trackmenu.html:
397         * media/video-controls-drop-and-restore-timeline.html:
398         * media/video-controls-in-media-document.html:
399         * media/video-controls-no-display-with-text-track.html:
400         * media/video-controls-rendering.html:
401         * media/video-controls-show-on-kb-or-ax-event.html:
402         * media/video-controls-toggling.html:
403         * media/video-controls-transformed.html:
404         * media/video-controls-visible-audio-only.html:
405         * media/video-controls-visible-exiting-fullscreen.html:
406         * media/video-controls-zoomed.html:
407         * media/video-display-toggle.html:
408         * media/video-empty-source.html:
409         * media/video-fullscreeen-only-controls.html:
410         * media/video-fullscreeen-only-playback.html:
411         * media/video-initially-hidden-volume-slider-up.html:
412         * media/video-no-audio.html:
413         * media/video-play-audio-require-user-gesture.html:
414         * media/video-play-require-user-gesture.html:
415         * media/video-trackmenu-selection.html:
416         * media/video-volume-slider-drag.html:
417         * media/video-volume-slider.html:
418         * media/video-zoom-controls.html:
419         * media/volume-bar-empty-when-muted.html:
420         * platform/gtk/TestExpectations:
421         * platform/ios-simulator/TestExpectations:
422         * platform/ios-simulator/media/video-play-glyph-composited-outside-overflow-scrolling-touch-container.html:
423         * platform/mac-wk1/TestExpectations:
424         * platform/mac/TestExpectations:
425
426 2017-01-17  Michael Catanzaro  <mcatanzaro@igalia.com>
427
428         Unreviewed, rolling out r210834
429         https://bugs.webkit.org/show_bug.cgi?id=165668
430
431         It introduced dozens of test timeouts.
432
433         Reverted changeset:
434         "[Modern Media Controls] Turn modern media controls on by default"
435         https://bugs.webkit.org/show_bug.cgi?id=165668
436         http://trac.webkit.org/changeset/210834
437
438 2017-01-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
439
440         [GTK][MediaStream] Update bug number for some tests after r210838.
441
442         Fix the bug number for tests fast/mediastream/MediaStream-add-ended-tracks.html
443         and fast/mediastream/MediaStream-add-remove-tracks.html that I wrongly updated
444         in r210838.
445
446         Unreviewed gardening.
447
448         * platform/gtk/TestExpectations:
449
450 2017-01-17  Carlos Alberto Lopez Perez  <clopez@igalia.com>
451
452         [GTK][MediaStream] Update list of MediaStream tests that fail.
453
454         Unskip all the MediaStream tests and instead mark them as failing or timing out.
455
456         Unreviewed gardening.
457
458         * platform/gtk/TestExpectations:
459
460 2017-01-17  Antoine Quint  <graouts@apple.com>
461
462         [Modern Media Controls] Turn modern media controls on by default
463         https://bugs.webkit.org/show_bug.cgi?id=165668
464
465         Reviewed by Dean Jackson.
466
467         Turn modern media controls off for a majority of pre-existing tests that made assumptions on the implementation
468         of media controls.
469
470         For tests designed for modern media controls, we don't need to opt out since modern media controls are now on
471         by default, and we turn them back on since they were skipped. But we make these tests more resilient by:
472         
473             1. adding iPad-specific tests
474             2. adding platform-agnostic ways to press an element, using either eventSender or uiController
475             3. checking that elements that are sized asynchronously are indeed sized before making assumptions to that effect
476             4. ensuring that we don't have additional scheduler.frameDidFire callbacks after we no longer need them 
477
478         * TestExpectations:
479         * accessibility/mac/video-tag-hit-test.html:
480         * accessibility/mac/video-volume-slider-accessibility.html:
481         * accessibility/media-element.html:
482         * accessibility/media-emits-object-replacement.html:
483         * compositing/video/poster-expected.html:
484         * compositing/video/poster.html:
485         * fast/hidpi/video-controls-in-hidpi.html:
486         * fast/layers/video-layer.html:
487         * fullscreen/video-controls-drag.html:
488         * fullscreen/video-controls-override.html:
489         * fullscreen/video-controls-rtl.html:
490         * fullscreen/video-controls-timeline.html:
491         * http/tests/media/hls/video-controls-live-stream.html:
492         * http/tests/media/hls/video-duration-accessibility.html:
493         * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-allowed.html:
494         * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-blocked.html:
495         * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/default-src-object-data-url-blocked2.html:
496         * http/tests/security/contentSecurityPolicy/userAgentShadowDOM/video-controls-allowed.html:
497         * media/accessibility-closed-captions-has-aria-owns.html:
498         * media/adopt-node-crash.html:
499         * media/airplay-autoplay.html:
500         * media/audio-as-video-fullscreen.html:
501         * media/audio-controls-do-not-fade-out.html:
502         * media/audio-controls-rendering.html:
503         * media/audio-controls-timeline-in-media-document.html:
504         * media/audio-delete-while-slider-thumb-clicked.html:
505         * media/audio-repaint.html:
506         * media/click-placeholder-not-pausing.html:
507         * media/click-volume-bar-not-pausing.html:
508         * media/controls-after-reload.html:
509         * media/controls-drag-timebar.html:
510         * media/controls-right-click-on-timebar.html:
511         * media/controls-strict.html:
512         * media/controls-styling.html:
513         * media/controls-without-preload.html:
514         * media/controls/airplay-controls.html:
515         * media/controls/airplay-picker.html:
516         * media/controls/basic.html:
517         * media/controls/elementOrder.html:
518         * media/controls/forced-tracks-only.html:
519         * media/controls/fullscreen-button-inline-layout.html:
520         * media/controls/inline-elements-dropoff-order.html:
521         * media/controls/picture-in-picture.html:
522         * media/controls/pip-placeholder-without-video-controls.html:
523         * media/controls/showControlsButton.html:
524         * media/controls/statusDisplay.html:
525         * media/controls/statusDisplayBad.html:
526         * media/controls/track-menu.html:
527         * media/mac/controls-panel-not-clipped-out-expected.html:
528         * media/mac/controls-panel-not-clipped-out.html:
529         * media/media-captions-no-controls.html:
530         * media/media-controller-drag-crash.html:
531         * media/media-controls-accessibility.html:
532         * media/media-controls-cancel-events.html:
533         * media/media-controls-clone.html:
534         * media/media-controls-drag-timeline-set-controls-property.html:
535         * media/media-controls-timeline-updates-after-playing.html:
536         * media/media-controls-timeline-updates-when-hovered.html:
537         * media/media-controls-timeline-updates.html:
538         * media/media-document-audio-controls-visible.html:
539         * media/media-document-audio-repaint.html:
540         * media/media-fullscreen-return-to-inline.html:
541         * media/modern-media-controls/airplay-button/airplay-button-on.html:
542         * media/modern-media-controls/airplay-button/airplay-button.html:
543         * media/modern-media-controls/airplay-placard/airplay-placard-text-section.html:
544         * media/modern-media-controls/audio/audio-controls-buttons-expected.txt:
545         * media/modern-media-controls/audio/audio-controls-buttons.html:
546         * media/modern-media-controls/audio/audio-controls-metrics.html:
547         * media/modern-media-controls/button/button.html:
548         * media/modern-media-controls/buttons-container/buttons-container-buttons-property.html:
549         * media/modern-media-controls/forward-button/forward-button.html:
550         * media/modern-media-controls/fullscreen-button/fullscreen-button.html:
551         * media/modern-media-controls/fullscreen-support/fullscreen-support-click.html:
552         * media/modern-media-controls/fullscreen-support/ipad/fullscreen-support-tap-expected.txt: Added.
553         * media/modern-media-controls/fullscreen-support/ipad/fullscreen-support-tap.html: Added.
554         * media/modern-media-controls/icon-button/icon-button-active-state.html:
555         * media/modern-media-controls/icon-button/icon-button-on.html:
556         * media/modern-media-controls/icon-button/icon-button.html:
557         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-buttons-styles.html:
558         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-controls-bar-styles.html:
559         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-layout.html:
560         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-time-control-styles.html:
561         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-dropping-controls.html:
562         * media/modern-media-controls/layout-node/addChild.html:
563         * media/modern-media-controls/layout-node/children.html:
564         * media/modern-media-controls/layout-node/height.html:
565         * media/modern-media-controls/layout-node/insertAfter.html:
566         * media/modern-media-controls/layout-node/insertBefore.html:
567         * media/modern-media-controls/layout-node/node-made-dirty-during-layout.html:
568         * media/modern-media-controls/layout-node/remove.html:
569         * media/modern-media-controls/layout-node/removeChild.html:
570         * media/modern-media-controls/layout-node/subclassing.html:
571         * media/modern-media-controls/layout-node/visible.html:
572         * media/modern-media-controls/layout-node/width.html:
573         * media/modern-media-controls/layout-node/x.html:
574         * media/modern-media-controls/layout-node/y.html:
575         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
576         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
577         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles.html:
578         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag.html:
579         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin.html:
580         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-time-control-styles.html:
581         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-volume-styles.html:
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-controls-bar-styles.html:
584         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-layout.html:
585         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html:
586         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-time-control-styles.html:
587         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles.html:
588         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-dropping-controls.html:
589         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-and-mouse-leave.html:
590         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar.html:
591         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play.html:
592         * media/modern-media-controls/media-controller/media-controller-auto-hide-pause.html:
593         * media/modern-media-controls/media-controller/media-controller-auto-hide-rewind-with-mouse-enter.html:
594         * media/modern-media-controls/media-controller/media-controller-auto-hide.html:
595         * media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen.html:
596         * media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html:
597         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline.html:
598         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-pip-to-inline.html:
599         * media/modern-media-controls/media-controller/media-controller-resize.html:
600         * media/modern-media-controls/media-controller/media-controller-scale-factor.html:
601         * media/modern-media-controls/media-controller/media-controller-single-container.html:
602         * media/modern-media-controls/mute-button/mute-button.html:
603         * media/modern-media-controls/pip-button/pip-button.html:
604         * media/modern-media-controls/pip-placard/pip-placard-text-section.html:
605         * media/modern-media-controls/pip-support/ipad/pip-support-enabled-expected.txt: Added.
606         * media/modern-media-controls/pip-support/ipad/pip-support-enabled.html: Copied from LayoutTests/media/modern-media-controls/pip-support/pip-support-enabled.html.
607         * media/modern-media-controls/pip-support/ipad/pip-support-tap-expected.txt: Added.
608         * media/modern-media-controls/pip-support/ipad/pip-support-tap.html: Copied from LayoutTests/media/modern-media-controls/pip-support/pip-support-click.html.
609         * media/modern-media-controls/pip-support/pip-support-click.html:
610         * media/modern-media-controls/pip-support/pip-support-enabled.html:
611         * media/modern-media-controls/placard-support/ipad/placard-support-pip-expected.txt: Copied from LayoutTests/media/modern-media-controls/placard-support/placard-support-airplay-expected.txt.
612         * media/modern-media-controls/placard-support/ipad/placard-support-pip.html: Added.
613         * media/modern-media-controls/placard-support/placard-support-airplay-expected.txt:
614         * media/modern-media-controls/play-pause-button/play-pause-button.html:
615         * media/modern-media-controls/playback-support/playback-support-button-click-expected.txt:
616         * media/modern-media-controls/playback-support/playback-support-button-click.html:
617         * media/modern-media-controls/resources/media-controls-utils.js:
618         (pressOnElement):
619         (finishMediaControlsTest):
620         * media/modern-media-controls/rewind-button/rewind-button.html:
621         * media/modern-media-controls/scheduler/not-reentrant.html:
622         * media/modern-media-controls/scheduler/single-callback-when-registered-multiple-times.html:
623         * media/modern-media-controls/scrubber-support/ipad/scrubber-support-drag-expected.txt: Copied from LayoutTests/media/modern-media-controls/scrubber-support/scrubber-support-drag-expected.txt.
624         * media/modern-media-controls/scrubber-support/ipad/scrubber-support-drag.html: Added.
625         * media/modern-media-controls/scrubber-support/scrubber-support-click.html:
626         * media/modern-media-controls/scrubber-support/scrubber-support-drag-expected.txt:
627         * media/modern-media-controls/scrubber-support/scrubber-support-drag.html:
628         * media/modern-media-controls/seek-backward-support/seek-backward-support.html:
629         * media/modern-media-controls/seek-forward-support/seek-forward-support.html:
630         * media/modern-media-controls/skip-back-button/skip-back-button.html:
631         * media/modern-media-controls/slider/slider-fill.html:
632         * media/modern-media-controls/slider/slider-styles.html:
633         * media/modern-media-controls/start-support/start-support-click-to-start-expected.txt:
634         * media/modern-media-controls/start-support/start-support-click-to-start.html:
635         * media/modern-media-controls/status-label/status-label-font.html:
636         * media/modern-media-controls/status-label/status-label-text-selection.html:
637         * media/modern-media-controls/status-label/status-label.html:
638         * media/modern-media-controls/time-label/time-label.html:
639         * media/modern-media-controls/tracks-button/tracks-button.html:
640         * media/modern-media-controls/tracks-panel/tracks-panel-right-x.html:
641         * media/modern-media-controls/tracks-panel/tracks-panel-select-track-with-keyboard.html:
642         * media/modern-media-controls/tracks-support/tracks-support-click-track-in-panel.html:
643         * media/modern-media-controls/tracks-support/tracks-support-show-and-populate-panel.html:
644         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls-expected.txt:
645         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html:
646         * media/modern-media-controls/tracks-support/tracks-support-show-panel-fullscreen.html:
647         * media/modern-media-controls/volume-slider/volume-slider-value.html:
648         * media/modern-media-controls/volume-support/volume-support-click.html:
649         * media/modern-media-controls/volume-support/volume-support-drag.html:
650         * media/nodesFromRect-shadowContent.html:
651         * media/progress-events-generated-correctly.html:
652         * media/require-user-gesture-to-load-video.html:
653         * media/tab-focus-inside-media-elements.html:
654         * media/track/track-cue-rendering-horizontal.html:
655         * media/track/track-cue-rendering-vertical.html:
656         * media/track/track-cues-cuechange.html:
657         * media/track/track-cues-enter-exit.html:
658         * media/track/track-in-band-duplicate-tracks-when-source-changes.html:
659         * media/track/track-manual-mode.html:
660         * media/video-controls-audiotracks-trackmenu.html:
661         * media/video-controls-captions-trackmenu-localized.html:
662         * media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles.html:
663         * media/video-controls-captions-trackmenu-sorted.html:
664         * media/video-controls-captions-trackmenu.html:
665         * media/video-controls-drop-and-restore-timeline.html:
666         * media/video-controls-in-media-document.html:
667         * media/video-controls-no-display-with-text-track.html:
668         * media/video-controls-rendering.html:
669         * media/video-controls-show-on-kb-or-ax-event.html:
670         * media/video-controls-toggling.html:
671         * media/video-controls-transformed.html:
672         * media/video-controls-visible-audio-only.html:
673         * media/video-controls-visible-exiting-fullscreen.html:
674         * media/video-controls-zoomed.html:
675         * media/video-display-toggle.html:
676         * media/video-empty-source.html:
677         * media/video-fullscreeen-only-controls.html:
678         * media/video-fullscreeen-only-playback.html:
679         * media/video-initially-hidden-volume-slider-up.html:
680         * media/video-no-audio.html:
681         * media/video-play-audio-require-user-gesture.html:
682         * media/video-play-require-user-gesture.html:
683         * media/video-trackmenu-selection.html:
684         * media/video-volume-slider-drag.html:
685         * media/video-volume-slider.html:
686         * media/video-zoom-controls.html:
687         * media/volume-bar-empty-when-muted.html:
688         * platform/gtk/TestExpectations:
689         * platform/ios-simulator/TestExpectations:
690         * platform/ios-simulator/media/video-play-glyph-composited-outside-overflow-scrolling-touch-container.html:
691         * platform/mac-wk1/TestExpectations:
692         * platform/mac/TestExpectations:
693
694 2017-01-17  Chris Dumez  <cdumez@apple.com>
695
696         Document title changed twice when setting document.title
697         https://bugs.webkit.org/show_bug.cgi?id=167065
698
699         Reviewed by Darin Adler.
700
701         * fast/dom/Node/textContent-mutationEvents-expected.txt: Added.
702         * fast/dom/Node/textContent-mutationEvents.html: Added.
703         Add layout test to make sure that the mutation events are properly
704         fired when setting Node.textContent.
705
706         * fast/dom/title-text-property-2-expected.txt:
707         * fast/dom/title-text-property-2.html:
708         * fast/dom/title-text-property-expected.txt:
709         * http/tests/globalhistory/history-delegate-basic-title-expected.txt:
710         Update / rebaseline existing tests now that we no longer temporarily
711         reset document.title to the empty string when overriding the title.
712
713 2017-01-17  Zalan Bujtas  <zalan@apple.com>
714
715         Editing nested RTL-LTR content makes the process unresponsive.
716         https://bugs.webkit.org/show_bug.cgi?id=167140
717         rdar://problem/29057611
718
719         Reviewed by Ryosuke Niwa.
720
721         * editing/rtl-to-ltr-editing-word-move-spin-expected.txt: Added.
722         * editing/rtl-to-ltr-editing-word-move-spin.html: Added.
723
724 2017-01-17  Ryan Haddad  <ryanhaddad@apple.com>
725
726         Marking http/tests/media/hls/hls-video-resize.html as flaky on mac.
727         https://bugs.webkit.org/show_bug.cgi?id=162507
728
729         Unreviewed test gardening.
730
731         * platform/mac-wk1/TestExpectations:
732         * platform/mac/TestExpectations:
733
734 2017-01-17  Brady Eidson  <beidson@apple.com>
735
736         An update to one gamepad's values should only change that gamepad's modified timestamp.
737         <rdar://problem/28620865> and https://bugs.webkit.org/show_bug.cgi?id=167139
738
739         Reviewed by Andy Estes.
740
741         * gamepad/gamepad-timestamp.html:
742
743 2017-01-17  Youenn Fablet  <youenn@apple.com>
744
745         Refresh WPT tests up to 73f4ad361ca56d890b5f46d62c3bc84371a77e10
746         https://bugs.webkit.org/show_bug.cgi?id=167105
747
748         Reviewed by Alex Christensen.
749
750          Skipping two fetch tests as they reach an ASSERT on debug builds (missing implemented feature).
751
752         * TestExpectations:
753         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-expected.txt: Added.
754         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
755         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/semantics/forms/constraints/form-validation-willValidate-expected.txt:
756         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/semantics/forms/form-control-infrastructure/form-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/form-control-infrastructure/form-expected.txt.
757         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/labelable-elements-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-label-element/labelable-elements-expected.txt.
758         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/semantics/forms/the-select-element/select-validity-expected.txt: Added.
759         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt.
760         * tests-options.json:
761
762 2017-01-16  Carlos Alberto Lopez Perez  <clopez@igalia.com>
763
764         [GTK][MSE] Update list of media-source tests that fail.
765
766         Unskip imported/w3c/web-platform-tests/media-source tests for WebKitGTK+
767         Report the list of those tests that fail.
768         Rebase imported/w3c/web-platform-tests/media-source/mediasource-removesourcebuffer.html.
769
770         Unreviewed gardening.
771
772         * platform/gtk/TestExpectations:
773         * platform/gtk/imported/w3c/web-platform-tests/media-source/mediasource-removesourcebuffer-expected.txt: Added. Rebased.
774
775 2017-01-16  Javier Fernandez  <jfernandez@igalia.com>
776
777         [css-grid] Implementing baseline positioning for grid containers
778         https://bugs.webkit.org/show_bug.cgi?id=165063
779
780         Reviewed by Darin Adler and Sergio Villar Senin.
781
782         Tests to verify the baseline positioning of grid and inline-grid blocks.
783         Note that two of these new tests are expected to fail because of a Flexbox
784         bug, since we use Flexbox as reference test.
785
786         * TestExpectations:
787         * fast/css-grid-layout/grid-baseline-expected.html: Added.
788         * fast/css-grid-layout/grid-baseline-margins-expected.html: Added.
789         * fast/css-grid-layout/grid-baseline-margins.html: Added.
790         * fast/css-grid-layout/grid-baseline-must-respect-grid-order-expected.txt: Added.
791         * fast/css-grid-layout/grid-baseline-must-respect-grid-order.html: Added.
792         * fast/css-grid-layout/grid-baseline.html: Added.
793         * fast/css-grid-layout/resources/grid-alignment.css:
794         (.alignSelfBaseline):
795         (.selfBaseline):
796
797 2017-01-15  Sam Weinig  <sam@webkit.org>
798
799         [WebIDL] Remove custom bindings for HTMLInputElement, HTMLFrameElement, HTMLMediaElement and HTMLOptionsCollection
800         https://bugs.webkit.org/show_bug.cgi?id=167039
801
802         Reviewed by Darin Adler.
803
804         * fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt:
805         * fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt:
806         * fast/dom/HTMLSelectElement/select-selectedIndex-multiple.html:
807         * fast/dom/HTMLSelectElement/select-selectedIndex.html:
808         Update tests / results now that negative lengths don't throw, but do log due to be converted
809         to a large number.
810
811         * fast/forms/select-max-length-expected.txt:
812         Update result now that a large length is not clamped, but rather, ignored.
813
814 2017-01-14  Yusuke Suzuki  <utatane.tea@gmail.com>
815
816         Annotate large string tests with largeHeap
817         https://bugs.webkit.org/show_bug.cgi?id=167054
818
819         Reviewed by Filip Pizlo.
820
821         * js/script-tests/stringimpl-to-jsstring-on-large-strings-1.js:
822         * js/script-tests/stringimpl-to-jsstring-on-large-strings-2.js:
823         * js/script-tests/stringimpl-to-jsstring-on-large-strings-3.js:
824
825 2017-01-14  Chris Dumez  <cdumez@apple.com>
826
827         Align the innerText setter with the HTML spec and Gecko
828         https://bugs.webkit.org/show_bug.cgi?id=160971
829
830         Reviewed by Alex Christensen.
831
832         Add test coverage for outerText, which is non-standard.
833
834         * fast/dom/br-set-outerText-expected.txt: Added.
835         * fast/dom/br-set-outerText.html: Added.
836
837 2017-01-13  Ryan Haddad  <ryanhaddad@apple.com>
838
839         Marking inspector/worker/debugger-scripts.html as flaky on macOS.
840         https://trac.webkit.org/changeset/209517
841
842         Unreviewed test gardening.
843
844         * platform/mac-wk2/TestExpectations:
845         * platform/mac/TestExpectations:
846
847 2017-01-13  Eric Carlson  <eric.carlson@apple.com>
848
849         [MediaStream, Mac] Add mock audio source
850         https://bugs.webkit.org/show_bug.cgi?id=166974
851
852         Reviewed by Jer Noble.
853
854         * webaudio/mediastreamaudiosourcenode-expected.txt:
855         * webaudio/mediastreamaudiosourcenode.html:
856
857 2017-01-13  Sam Weinig  <sam@webkit.org>
858
859         [WebIDL] Remove custom bindings for DeviceMotionEvent and DeviceOrientationEvent
860         https://bugs.webkit.org/show_bug.cgi?id=167006
861
862         Reviewed by Geoffrey Garen.
863
864         * fast/dom/DeviceMotion/optional-event-properties-expected.txt:
865         * fast/dom/DeviceMotion/script-tests/optional-event-properties.js:
866         Update test to account for slightly stricter, but more consistent IDL conversion rules.
867
868 2017-01-13  Eric Carlson  <eric.carlson@apple.com>
869
870         REGRESSION (r210621): [mac-wk2] LayoutTest fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled.html timing out
871         https://bugs.webkit.org/show_bug.cgi?id=166980
872         
873         Unreviewed, fix test broken by r210621.
874
875         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled-expected.txt:
876         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled.html:
877         * platform/mac-wk2/TestExpectations: Un-skip fixed test.
878
879 2017-01-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
880
881         [EFL] Skip to test imported/w3c/web-platform-tests
882
883         Unreviewed EFL gardening. There are too many timeout and crash.
884
885         * platform/efl/TestExpectations:
886
887 2017-01-12  Enrica Casucci  <enrica@apple.com>
888
889         Do not allow selection of editable content when not editing.
890         https://bugs.webkit.org/show_bug.cgi?id=166897
891         <rdar://problem/29388806>
892
893         Reviewed by Tim Horton.
894
895         * fast/events/touch/ios/long-press-on-editable-expected.txt: Added.
896         * fast/events/touch/ios/long-press-on-editable.html: Added.
897
898 2017-01-12  Ryan Haddad  <ryanhaddad@apple.com>
899
900         Marking fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled.html as a timeout on mac-wk2.
901         https://bugs.webkit.org/show_bug.cgi?id=166980
902
903         Unreviewed test gardening.
904
905         * platform/mac-wk2/TestExpectations:
906
907 2017-01-12  Javier Fernandez  <jfernandez@igalia.com>
908
909         [css-grid] Make the grid sizing data persistent through layouts
910         https://bugs.webkit.org/show_bug.cgi?id=166883
911
912         Reviewed by Darin Adler and Manuel Rego Casasnovas.
913
914         The tests added are now needed to verify we perform correctly the
915         data validation after certain style changes.
916
917         * fast/css-grid-layout/grid-add-item-with-positioned-items-expected.txt: Added.
918         * fast/css-grid-layout/grid-add-item-with-positioned-items.html: Added.
919         * fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item-expected.txt: Added.
920         * fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html: Added.
921         * fast/css-grid-layout/grid-container-change-explicit-grid-recompute-child-expected.txt: Added.
922         * fast/css-grid-layout/grid-container-change-explicit-grid-recompute-child.html: Added.
923         * fast/css-grid-layout/grid-item-change-order-auto-flow-expected.txt: Added.
924         * fast/css-grid-layout/grid-item-change-order-auto-flow.html: Added.
925
926 2017-01-12  Chris Dumez  <cdumez@apple.com>
927
928         [iOS] Implement support for KeyboardEvent.code
929         https://bugs.webkit.org/show_bug.cgi?id=166932
930         <rdar://problem/29972518>
931
932         Reviewed by Darin Adler.
933
934         Extend layout test coverage and rebaseline a couple of existing tests
935         now that more checks are passing.
936
937         * fast/events/ios/keyboard-event-key-attribute-expected.txt:
938         * fast/events/ios/keyboard-event-key-attribute.html:
939         * platform/ios-simulator/fast/events/constructors/keyboard-event-constructor-expected.txt:
940         * platform/ios-simulator/imported/w3c/web-platform-tests/dom/events/Event-subclasses-constructors-expected.txt:
941
942 2017-01-12  Sam Weinig  <sam@webkit.org>
943
944         [WebIDL] Autogenerate named getters
945         https://bugs.webkit.org/show_bug.cgi?id=166835
946
947         Reviewed by Alex Christensen.
948
949         * fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt:
950         * fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt:
951         * js/dom/reflect-set-onto-dom-expected.txt:
952         Update exception text.
953
954 2017-01-12  Ryan Haddad  <ryanhaddad@apple.com>
955
956         Rebaseline inspector/dom/getAccessibilityPropertiesForNode.html after r210605.
957
958         Unreviewed test gardening.
959
960         * inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
961
962 2017-01-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
963
964         [EFL] Gardening on 13th Jan.
965
966         Unreviewed EFL Gardening. Update crash and timeout tests after bumping Ubuntu version.
967
968         * platform/efl/TestExpectations:
969
970 2017-01-12  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
971
972         [EFL] Second update TestExpectation file for Ubuntu 16.04.
973
974         Unreviewed EFL gardening.
975
976         * platform/efl/TestExpectations: Need to update this file for EFL bot again.
977
978 2017-01-11  Joseph Pecoraro  <pecoraro@apple.com>
979
980         REGRESSION(r206133): LayoutTest inspector/css/manager-preferredInspectorStyleSheetForFrame.html is a flaky failure
981         https://bugs.webkit.org/show_bug.cgi?id=162305
982         <rdar://problem/28389364>
983
984         Reviewed by Timothy Hatcher.
985
986         * inspector/css/manager-preferredInspectorStyleSheetForFrame-expected.txt:
987         * inspector/css/manager-preferredInspectorStyleSheetForFrame.html:
988         Revert the change that broke this and move to more deterministic callbacks
989         that don't include the extra variance in producing output.
990
991 2017-01-11  Joseph Pecoraro  <pecoraro@apple.com>
992
993         REGRESSION: [mac-wk2] LayoutTest inspector/debugger/breakpoint-columns.html is a flaky failure
994         https://bugs.webkit.org/show_bug.cgi?id=161774
995         <rdar://problem/28217256>
996
997         Reviewed by Mark Lam.
998
999         * platform/mac-wk2/TestExpectations:
1000         Remove flaky expectations for a test that hasn't failed in a month.
1001
1002 2017-01-11  Joseph Pecoraro  <pecoraro@apple.com>
1003
1004         REGRESSION: LayoutTest inspector/debugger/csp-exceptions.html is a flaky failure
1005         https://bugs.webkit.org/show_bug.cgi?id=165292
1006         <rdar://problem/29471892>
1007
1008         Reviewed by Geoffrey Garen.
1009
1010         * inspector/debugger/csp-exceptions-expected.txt:
1011         * inspector/debugger/csp-exceptions.html:
1012         * inspector/debugger/resources/csp-exception-iframe.html:
1013         Improve the test to handle all console messages more carefully,
1014         including outputing the console messages to test them as well.
1015
1016         * platform/mac-wk2/TestExpectations:
1017         Unskip the test, it should no longer be flakey.
1018
1019 2017-01-11  Brent Fulgham  <bfulgham@apple.com>
1020
1021         Rebaseline two tests after r210599.
1022
1023         * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
1024         * storage/domstorage/sessionstorage/blocked-file-access-expected.txt:
1025
1026 2017-01-11  Nan Wang  <n_wang@apple.com>
1027
1028         AX: role=treeitem accessible name not spoken to VoiceOver macOS when using string contained inside element
1029         https://bugs.webkit.org/show_bug.cgi?id=164950
1030         <rdar://problem/29337573>
1031
1032         Reviewed by Chris Fleizach.
1033
1034         * accessibility/mac/aria-tree-item-name-expected.txt: Added.
1035         * accessibility/mac/aria-tree-item-name.html: Added.
1036
1037 2017-01-11  Myles C. Maxfield  <mmaxfield@apple.com>
1038
1039         ASSERTION FAILED: run->m_stop > 0 in *WebCore::RenderBlockFlow::computeInlineDirectionPositionsForSegment
1040         https://bugs.webkit.org/show_bug.cgi?id=166030
1041
1042         Reviewed by Ryosuke Niwa.
1043
1044         * fast/text/bidi-isolate-empty-run-expected.txt: Added.
1045         * fast/text/bidi-isolate-empty-run.html: Added.
1046
1047 2017-01-11  Chris Dumez  <cdumez@apple.com>
1048
1049         Iterating over URLSearchParams does not work
1050         https://bugs.webkit.org/show_bug.cgi?id=166921
1051         <rdar://problem/29970907>
1052
1053         Reviewed by Alex Christensen.
1054
1055         Add layout test coverage.
1056
1057         * fast/dom/DOMURL/searchparams-iterable-expected.txt: Added.
1058         * fast/dom/DOMURL/searchparams-iterable.html: Added.
1059
1060 2017-01-11  Chris Dumez  <cdumez@apple.com>
1061
1062         [iOS][WK2] KeyboardEvent.key always returns an empty string
1063         https://bugs.webkit.org/show_bug.cgi?id=166918
1064         <rdar://problem/29861147>
1065
1066         Reviewed by Wenson Hsieh.
1067
1068         Add layout test coverage.
1069
1070         * fast/events/ios/keyboard-event-key-attribute-expected.txt: Added.
1071         * fast/events/ios/keyboard-event-key-attribute.html: Added.
1072
1073 2017-01-11  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1074
1075         [EFL] Update TestExpectation file for Ubuntu 16.04.
1076
1077         Unreviewed EFL gardening.
1078
1079         After bumping Ubuntu version to 16.04, there are many tests are failed.
1080         This gardening is to update all failure tests on Ubuntu 16.04.
1081
1082         * platform/efl/TestExpectations:
1083
1084 2017-01-10  Yusuke Suzuki  <utatane.tea@gmail.com>
1085
1086         Implement JSSourceCode to propagate SourceCode in module pipeline
1087         https://bugs.webkit.org/show_bug.cgi?id=166861
1088
1089         Reviewed by Saam Barati.
1090
1091         * http/tests/security/contentSecurityPolicy/module-eval-blocked-expected.txt:
1092
1093 2017-01-10  Commit Queue  <commit-queue@webkit.org>
1094
1095         Unreviewed, rolling out r210052.
1096         https://bugs.webkit.org/show_bug.cgi?id=166915
1097
1098         "breaks web compatability" (Requested by keith_miller on
1099         #webkit).
1100
1101         Reverted changeset:
1102
1103         "Add support for global"
1104         https://bugs.webkit.org/show_bug.cgi?id=165171
1105         http://trac.webkit.org/changeset/210052
1106
1107 2017-01-10  Sam Weinig  <sam@webkit.org>
1108
1109         [WebIDL] Remove most of the custom bindings for the WebGL code
1110         https://bugs.webkit.org/show_bug.cgi?id=166834
1111
1112         Reviewed by Alex Christensen.
1113
1114         * fast/canvas/webgl/gl-object-get-calls-expected.txt:
1115         Update result for better error message.
1116
1117 2017-01-10  Ryosuke Niwa  <rniwa@webkit.org>
1118
1119         :active and :hover states may not be updated across slots
1120         https://bugs.webkit.org/show_bug.cgi?id=166881
1121         <rdar://problem/29944582>
1122
1123         Reviewed by Antti Koivisto.
1124
1125         Added two regression tests; one for clearing :active state across a slot, and another one for clearing
1126         a hover state on an ancestor of a slot to which a slot with the hovered element is assigned.
1127
1128         * fast/shadow-dom/clear-active-state-in-shadow-expected.html: Added.
1129         * fast/shadow-dom/clear-active-state-in-shadow.html: Added.
1130         * fast/shadow-dom/hover-over-nested-slotted-content-expected.html: Added.
1131         * fast/shadow-dom/hover-over-nested-slotted-content.html: Added.
1132         * platform/ios-simulator/TestExpectations:
1133
1134 2017-01-10  Wenson Hsieh  <wenson_hsieh@apple.com>
1135
1136         Implement "proximity" scroll snapping
1137         https://bugs.webkit.org/show_bug.cgi?id=135994
1138         <rdar://problem/18162418>
1139
1140         Reviewed by Dean Jackson.
1141
1142         Adds 3 new layout tests for proximity scroll snapping. Also tweaks some existing tests that test scroll snapping
1143         after scrolling with momentum to use the custom heuristic for predicting scroll destination instead of platform
1144         momentum scrolling. This ensures that the results of our layout tests that depend on predicting momentum scroll
1145         destination are consistent across runs.
1146
1147         * tiled-drawing/scrolling/latched-div-with-scroll-snap.html:
1148         * tiled-drawing/scrolling/scroll-snap/scroll-snap-iframe.html:
1149         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html:
1150         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html:
1151         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-hidden-scrollbars.html:
1152         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html:
1153         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html:
1154         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html:
1155         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-then-horizontal.html:
1156         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html:
1157         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless.html:
1158         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow.html:
1159         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding.html:
1160         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated.html:
1161
1162         Force these tests to use platform-independent scrolling momentum prediction, by multiplying the last scroll
1163         delta upon release by a constant factor.
1164
1165         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-then-proximity-expected.txt: Added.
1166         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-then-proximity.html: Added.
1167
1168         Tests that after changing scroll-snap-type from mandatory to proximity, swiping downwards no longer snaps the
1169         scroll offset to the second box, but instead leaves the scroll offset somewhere in the middle of the first box.
1170
1171         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe-expected.txt: Added.
1172         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe.html: Added.
1173
1174         Tests that when scroll-snap-type is proximity in the mainframe, scrolling slightly downwards snaps the scroll
1175         offset back up to the top; scrolling somewhere in the middle of the first box does not snap the scroll offset;
1176         and scrolling near the end of the first box snaps the scroll offset to the second box.
1177
1178         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-overflow-expected.txt: Added.
1179         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-overflow.html: Added.
1180
1181         Similar to scroll-snap-proximity-mainframe.html, except for overflow scrolling instead of the mainframe.
1182
1183         * tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top.html:
1184
1185 2017-01-10  Chris Dumez  <cdumez@apple.com>
1186
1187         Make Event.initEvent()'s first parameter mandatory
1188         https://bugs.webkit.org/show_bug.cgi?id=166894
1189
1190         Reviewed by Alex Christensen.
1191
1192         Add layout test coverage.
1193
1194         * fast/events/initEvent-parameters-expected.txt: Added.
1195         * fast/events/initEvent-parameters.html: Added.
1196
1197 2017-01-10  Commit Queue  <commit-queue@webkit.org>
1198
1199         Unreviewed, rolling out r210537.
1200         https://bugs.webkit.org/show_bug.cgi?id=166903
1201
1202         This change introduced JSC test failures (Requested by
1203         ryanhaddad on #webkit).
1204
1205         Reverted changeset:
1206
1207         "Implement JSSourceCode to propagate SourceCode in module
1208         pipeline"
1209         https://bugs.webkit.org/show_bug.cgi?id=166861
1210         http://trac.webkit.org/changeset/210537
1211
1212 2017-01-10  Jer Noble  <jer.noble@apple.com>
1213
1214         Add support for MediaKeys.generateRequest().
1215         https://bugs.webkit.org/show_bug.cgi?id=166880
1216
1217         Reviewed by Xabier Rodriguez-Calvar.
1218
1219         Add shouldResolve() and shouldReject() to video-test.js and update existing
1220         tests to use these new functions.
1221
1222         * media/encrypted-media/mock-MediaKeys-createSession-expected.txt: Added.
1223         * media/encrypted-media/mock-MediaKeys-createSession.html: Added.
1224         * media/encrypted-media/mock-MediaKeys-setServerCertificate.html:
1225         * media/encrypted-media/mock-MediaKeySession-generateRequest.html:
1226         * media/encrypted-media/mock-MediaKeySystemAccess.html:
1227         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html:
1228         * media/video-test.js:
1229         (shouldResolve):
1230         (shouldReject):
1231         * platform/mac/TestExpectations:
1232
1233 2017-01-10  Jer Noble  <jer.noble@apple.com>
1234
1235         Add support for MediaKeys.createSession().
1236         https://bugs.webkit.org/show_bug.cgi?id=166796
1237
1238         Reviewed by Eric Carlson.
1239
1240         * media/encrypted-media/mock-MediaKeys-createSession-expected.txt: Added.
1241         * media/encrypted-media/mock-MediaKeys-createSession.html: Added.
1242         * platform/mac/TestExpectations:
1243
1244 2017-01-10  Jer Noble  <jer.noble@apple.com>
1245
1246         Add support for MediaKeys.setServerCertificate()
1247         https://bugs.webkit.org/show_bug.cgi?id=166772
1248
1249         Reviewed by Darin Adler.
1250
1251         * media/encrypted-media/mock-MediaKeys-setServerCertificate-expected.txt: Added.
1252         * media/encrypted-media/mock-MediaKeys-setServerCertificate.html: Added.
1253
1254 2017-01-10  Youenn Fablet  <youenn@apple.com>
1255
1256         CachedScript cloning does not clone encodedSize
1257         https://bugs.webkit.org/show_bug.cgi?id=166865
1258
1259         Reviewed by Darin Adler.
1260
1261         * http/tests/security/cross-origin-cached-scripts-expected.txt:
1262         * http/tests/security/cross-origin-cached-scripts.html:
1263         * http/tests/security/resources/notify-loaded.js:
1264
1265 2017-01-09  Ryosuke Niwa  <rniwa@webkit.org>
1266
1267         Add an iOS test for tapping on a text node assigned to a slot
1268         https://bugs.webkit.org/show_bug.cgi?id=166877
1269
1270         Reviewed by Andy Estes.
1271
1272         Add a test for tapping on a text node assigned to a slot.
1273         touchstart event must be fired on a parent of the slot with a touch event handler.
1274
1275         * TestExpectations:
1276         * fast/shadow-dom/touch-event-on-text-assigned-to-slot-expected.txt: Added.
1277         * fast/shadow-dom/touch-event-on-text-assigned-to-slot.html: Added.
1278         * resources/ui-helper.js:
1279         (window.UIHelper.tapAt): Added.
1280
1281 2017-01-09  Yusuke Suzuki  <utatane.tea@gmail.com>
1282
1283         Implement JSSourceCode to propagate SourceCode in module pipeline
1284         https://bugs.webkit.org/show_bug.cgi?id=166861
1285
1286         Reviewed by Saam Barati.
1287
1288         * http/tests/security/contentSecurityPolicy/module-eval-blocked-expected.txt:
1289
1290 2017-01-09  Chris Dumez  <cdumez@apple.com>
1291
1292         REGRESSION(r189555): ImageDocument title no longer includes the size of the image
1293         https://bugs.webkit.org/show_bug.cgi?id=166876
1294         <rdar://problem/29939970>
1295
1296         Reviewed by Tim Horton.
1297
1298         Add layout test coverage.
1299
1300         * fast/images/imageDocument-title-expected.txt: Added.
1301         * fast/images/imageDocument-title.html: Added.
1302
1303 2017-01-09  Zalan Bujtas  <zalan@apple.com>
1304
1305         ASSERTION FAILED: newLogicalTop >= logicalTop in WebCore::RenderBlockFlow::getClearDelta
1306         https://bugs.webkit.org/show_bug.cgi?id=151202
1307         <rdar://problem/27711822>
1308
1309         Reviewed by Myles C. Maxfield.
1310
1311         * fast/block/float/assert-when-line-has-not-enough-space-left-expected.txt: Added.
1312         * fast/block/float/assert-when-line-has-not-enough-space-left.html: Added.
1313
1314 2017-01-09  Tim Horton  <timothy_horton@apple.com>
1315
1316         Unindenting text inside a blockquote can result in the text being reordered
1317         https://bugs.webkit.org/show_bug.cgi?id=166813
1318
1319         Reviewed by Darin Adler and Ryosuke Niwa.
1320
1321         * editing/execCommand/unindent-nested-blockquote-with-inner-div-expected.txt: Added.
1322         * editing/execCommand/unindent-nested-blockquote-with-inner-div.html: Added.
1323
1324         Old test output:
1325         second<br><blockquote><div><blockquote>first</blockquote><br></div></blockquote>
1326         New test output:
1327         <blockquote><div><blockquote>first</blockquote><br></div></blockquote>second
1328
1329 2017-01-09  Yusuke Suzuki  <utatane.tea@gmail.com>
1330
1331         [JSC] Prototype dynamic-import
1332         https://bugs.webkit.org/show_bug.cgi?id=165724
1333
1334         Reviewed by Saam Barati.
1335
1336         * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt:
1337
1338 2017-01-09  Andy Estes  <aestes@apple.com>
1339
1340         [QuickLook] Add a layout test for webkit.org/b/135651
1341         https://bugs.webkit.org/show_bug.cgi?id=166855
1342
1343         Reviewed by Andreas Kling.
1344
1345         * quicklook/nil-response-mime-type-expected.txt: Added.
1346         * quicklook/nil-response-mime-type.html: Added.
1347         * quicklook/resources/nil-response-mime-type.xls: Added.
1348
1349 2017-01-09  Beth Dakin  <bdakin@apple.com>
1350
1351         Add a test to ensure that preventDefault on touchmove prevents scrolling
1352         https://bugs.webkit.org/show_bug.cgi?id=166790
1353
1354         Reviewed by Simon Fraser.
1355
1356         * fast/events/touch/ios/iphone7/prevent-default-touchmove-prevents-scrolling-expected.txt: Added.
1357         * fast/events/touch/ios/iphone7/prevent-default-touchmove-prevents-scrolling.html: Added.
1358
1359 2017-01-09  Ryan Haddad  <ryanhaddad@apple.com>
1360
1361         Rebaseline W3C test for ios-simulator after r210468.
1362         https://bugs.webkit.org/show_bug.cgi?id=166850
1363
1364         Unreviewed test gardening.
1365
1366         * platform/ios-simulator/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin-expected.txt:
1367
1368 2017-01-09  Lucas Forschler  <lforschler@apple.com>
1369
1370         https://bugs.webkit.org/show_bug.cgi?id=166839
1371         Add php7 support for macOS.
1372         This patch mirrors the solution that debian uses, by adding a php7 specific apache conf file.
1373
1374         Reviewed by Alexey Proskuryakov.
1375
1376         * http/conf/apache2.4-php7-httpd.conf: Added.
1377
1378 2017-01-09  Ryan Haddad  <ryanhaddad@apple.com>
1379
1380         Marking inspector/debugger/breakpoint-action-log.html as flaky on macOS.
1381         https://bugs.webkit.org/show_bug.cgi?id=165772
1382
1383         Unreviewed test gardening.
1384
1385         * platform/mac/TestExpectations:
1386
1387 2017-01-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1388
1389         [GTK] Should support key and code properties on keyboard events
1390         https://bugs.webkit.org/show_bug.cgi?id=166759
1391
1392         Reviewed by Carlos Garcia Campos.
1393
1394         * platform/gtk/fast/events/keyboardevent-code-expected.txt: Added. Hardware
1395         codes are different for Mac and Linux for a couple of keys, so we need
1396         platform-specific results.
1397
1398 2017-01-09  Alejandro G. Castro  <alex@igalia.com>
1399
1400         [OWR] Unskip fast/mediastream/MediaStream-video-element-track-stop.html
1401         https://bugs.webkit.org/show_bug.cgi?id=165316
1402
1403         Reviewed by Philippe Normand.
1404
1405         * platform/gtk/TestExpectations: Unskipped the test and moved the
1406         stop one, now it does not timeout because we correctly handle the
1407         ended value but still fails, we need more features in the mock
1408         classes for owr.
1409
1410 2017-01-08  Filip Pizlo  <fpizlo@apple.com>
1411
1412         Unreviewed, since this test is slow it should run in fewer configurations. This resolves the
1413         occasional timeouts I was seeing.
1414
1415         * js/script-tests/regress-139548.js:
1416
1417 2017-01-07  Andy Estes  <aestes@apple.com>
1418
1419         [QuickLook] Update quicklook test expectations
1420         https://bugs.webkit.org/show_bug.cgi?id=166798
1421         <rdar://problem/26477735>
1422
1423         Reviewed by Alex Christensen.
1424
1425         For documents that generate HTML previews, updated the expected results to be web archives.
1426         Web archives capture the same information that the expected HTML files did, but allow for
1427         easy rebasing with --reset-results.
1428
1429         For documents that generate PDF previews, a webarchive expected result is inappropriate
1430         since the generated PDF will differ between runs due to changing metadata (e.g. creation
1431         date). These tests were kept as reftests but with updated expected results.
1432
1433         * platform/ios-simulator/TestExpectations: Unskipped quicklook/.
1434         * quicklook/excel-expected.html: Removed.
1435         * quicklook/excel-expected.txt: Added.
1436         * quicklook/excel-legacy-expected.html: Removed.
1437         * quicklook/excel-legacy-expected.txt: Added.
1438         * quicklook/excel-legacy.html: Updated to dump as webarchive.
1439         * quicklook/excel.html: Ditto.
1440         * quicklook/keynote-09-expected.html: Removed.
1441         * quicklook/keynote-09-expected.txt: Added.
1442         * quicklook/keynote-09.html: Updated to dump as webarchive.
1443         * quicklook/numbers-09-expected.html: Removed.
1444         * quicklook/numbers-09-expected.txt: Added.
1445         * quicklook/numbers-09.html: Updated to dump as webarchive.
1446         * quicklook/pages-09-expected.html: Removed.
1447         * quicklook/pages-09-expected.txt: Added.
1448         * quicklook/pages-09.html: Updated to dump as webarchive.
1449         * quicklook/powerpoint-expected.html: Removed.
1450         * quicklook/powerpoint-expected.txt: Added.
1451         * quicklook/powerpoint-legacy-expected.html: Removed.
1452         * quicklook/powerpoint-legacy-expected.txt: Added.
1453         * quicklook/powerpoint-legacy.html: Updated to dump as webarchive.
1454         * quicklook/powerpoint.html: Updated to dump as webarchive.
1455         * quicklook/resources/excel-expected.html: Removed.
1456         * quicklook/resources/excel-legacy-expected.html: Removed.
1457         * quicklook/resources/keynote-09-expected/index.css: Removed.
1458         * quicklook/resources/keynote-09-expected/index.html: Removed.
1459         * quicklook/resources/keynote-09-expected/index.js: Removed.
1460         * quicklook/resources/keynote-expected.pdf: Updated.
1461         * quicklook/resources/numbers-09-expected/canvas.js: Removed.
1462         * quicklook/resources/numbers-09-expected/index.html: Removed.
1463         * quicklook/resources/numbers-09-expected/navigation.css: Removed.
1464         * quicklook/resources/numbers-09-expected/navigation.html: Removed.
1465         * quicklook/resources/numbers-09-expected/sheet_1.html: Removed.
1466         * quicklook/resources/numbers-expected.pdf: Updated.
1467         * quicklook/resources/pages-09-expected/index.css: Removed.
1468         * quicklook/resources/pages-09-expected/index.html: Removed.
1469         * quicklook/resources/pages-expected.pdf: Updated.
1470         * quicklook/resources/powerpoint-expected.html: Removed.
1471         * quicklook/resources/powerpoint-legacy-expected.html: Removed.
1472         * quicklook/resources/webkit-icon.pdf: Removed.
1473         * quicklook/resources/webkit-icon.png: Removed.
1474         * quicklook/resources/webkit-icon.tiff: Removed.
1475         * quicklook/resources/word-expected.html: Removed.
1476         * quicklook/resources/word-legacy-expected.html: Removed.
1477         * quicklook/word-expected.html: Removed.
1478         * quicklook/word-expected.txt: Added.
1479         * quicklook/word-legacy-expected.html: Removed.
1480         * quicklook/word-legacy-expected.txt: Added.
1481         * quicklook/word-legacy.html: Updated to dump as webarchive.
1482         * quicklook/word.html: Updated to dump as webarchive.
1483
1484 2017-01-06  Chris Dumez  <cdumez@apple.com>
1485
1486         Regression(r189230): DOM Callbacks may use wrong global object
1487         https://bugs.webkit.org/show_bug.cgi?id=166784
1488
1489         Reviewed by Mark Lam.
1490
1491         Add layout test coverage.
1492
1493         * fast/frames/frame-window-as-callback-expected.txt: Added.
1494         * fast/frames/frame-window-as-callback.html: Added.
1495         * fast/frames/resources/wrong-global-object.html: Added.
1496
1497 2017-01-06  Tim Horton  <timothy_horton@apple.com>
1498
1499         Minor cleanups to IndentOutdentCommand and related code
1500         https://bugs.webkit.org/show_bug.cgi?id=166791
1501
1502         Reviewed by Simon Fraser.
1503
1504         * editing/execCommand/19653-1-expected.txt:
1505         * editing/execCommand/19653-1.html:
1506         Adjust this indenting test. It had a mislabeled test case (it outdents, not indents),
1507         and also was copy-pasted wrong (it wasn't indented in the first place).
1508
1509         However, since this technically reduces test coverage, keep the existing
1510         (but now correctly labeled) test case, since it caught a bug in code I was changing.
1511
1512 2017-01-06  Ryan Haddad  <ryanhaddad@apple.com>
1513
1514         Marking fast/text/variations/advances.html as failing on Sierra.
1515         https://bugs.webkit.org/show_bug.cgi?id=166672
1516
1517         Unreviewed test gardening.
1518
1519         * platform/mac/TestExpectations:
1520
1521 2017-01-06  Ryan Haddad  <ryanhaddad@apple.com>
1522
1523         Skip editing/caret/emoji.html on ios-simulator since it relies on EventSender.keydown().
1524
1525         Unreviewed test gardening.
1526
1527         * platform/ios-simulator/TestExpectations:
1528
1529 2017-01-06  Joseph Pecoraro  <pecoraro@apple.com>
1530
1531         Add some missing longhand properties to CSSComputedStyleDeclaration and fix default values
1532         https://bugs.webkit.org/show_bug.cgi?id=166674
1533         <rdar://problem/6026159>
1534
1535         Reviewed by Darin Adler.
1536
1537         * fast/css/getComputedStyle/computed-style-font-family.html:
1538         Skip font-variation-settings which is only available if the feature flag is enabled.
1539
1540         * fast/css/getComputedStyle/counterIncrement-without-counter-expected.txt:
1541         * fast/css/getComputedStyle/counterIncrement-without-counter.html:
1542         Fix the default value to be "none" instead of the empty string.
1543
1544         * svg/css/getComputedStyle-basic-expected.txt:
1545         * fast/css/getComputedStyle/computed-style-expected.txt:
1546         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
1547         * fast/css/getComputedStyle/resources/property-names.js:
1548         Add some always expected to be available longhand properties to check.
1549
1550 2017-01-06  Chris Dumez  <cdumez@apple.com>
1551
1552         [Form Validation] "character" in maxlength validation message should be singular when maxlength is 1
1553         https://bugs.webkit.org/show_bug.cgi?id=166712
1554         <rdar://problem/29872292>
1555
1556         Reviewed by Darin Adler.
1557
1558         Add layout test coverage.
1559
1560         * fast/forms/validation-message-maxLength-expected.txt: Added.
1561         * fast/forms/validation-message-maxLength.html: Added.
1562         * platform/ios-simulator/TestExpectations:
1563
1564 2017-01-06  Jer Noble  <jer.noble@apple.com>
1565
1566         Add support for MediaKeySystemAccess.createMediaKeys()
1567         https://bugs.webkit.org/show_bug.cgi?id=166749
1568
1569         Reviewed by Eric Carlson.
1570
1571         * media/encrypted-media/mock-MediaKeySystemAccess-expected.txt: Added.
1572         * media/encrypted-media/mock-MediaKeySystemAccess.html: Added.
1573         * platform/mac/TestExpectations:
1574
1575 2017-01-06  Ryan Haddad  <ryanhaddad@apple.com>
1576
1577         Add pass expectation for fast/text/emoji-num-glyphs.html on Sierra.
1578
1579         Unreviewed test gardening.
1580
1581         * platform/mac/TestExpectations:
1582
1583 2017-01-06  Ryan Haddad  <ryanhaddad@apple.com>
1584
1585         Marking three pointer-lock tests as crashing on mac-wk2 debug.
1586         https://bugs.webkit.org/show_bug.cgi?id=166765
1587
1588         Unreviewed test gardening.
1589
1590         * platform/mac-wk2/TestExpectations:
1591
1592 2017-01-06  Per Arne Vollan  <pvollan@apple.com>
1593
1594         Fixed duplicate test expectation entries on Windows.
1595
1596         Unreviewed test gardening.
1597
1598         * platform/win/TestExpectations:
1599
1600 2017-01-05  Ryosuke Niwa  <rniwa@webkit.org>
1601
1602         Finding text doesn't work across shadow boundary
1603         https://bugs.webkit.org/show_bug.cgi?id=158503
1604
1605         Reviewed by Antti Koivisto.
1606
1607         Updated the existing tests per changes to use an array of find options instead of raw bit mask,
1608         and added a regression test for finding text by traversing flat tree along with testing
1609         window.find and execCommand('FindString', false, ~) not walking across shadow boundaries.
1610
1611         * editing/text-iterator/count-mark-lineboxes-expected.txt:
1612         * editing/text-iterator/count-mark-lineboxes.html:
1613         * editing/text-iterator/count-mark-simple-lines-expected.txt:
1614         * editing/text-iterator/count-mark-simple-lines.html:
1615         * editing/text-iterator/count-matches-in-form-expected.txt:
1616         * editing/text-iterator/count-matches-in-form.html:
1617         * editing/text-iterator/count-matches-in-frames.html:
1618         * editing/text-iterator/find-string-on-flat-tree-expected.txt: Added.
1619         * editing/text-iterator/find-string-on-flat-tree.html: Added.
1620         * fast/text/mark-matches-broken-line-rendering.html:
1621         * fast/text/mark-matches-overflow-clip.html:
1622         * fast/text/mark-matches-rendering-simple-lines-expected.html:
1623         * fast/text/mark-matches-rendering-simple-lines.html:
1624         * fast/text/mark-matches-rendering.html:
1625
1626 2017-01-05  Filip Pizlo  <fpizlo@apple.com>
1627
1628         Unreviewed, teach run-javascriptcore-tests that this is a slow test.
1629
1630         * js/script-tests/regress-139548.js:
1631
1632 2017-01-05  Simon Fraser  <simon.fraser@apple.com>
1633
1634         Radio buttons have a fixed border radius making them look square when resized
1635         https://bugs.webkit.org/show_bug.cgi?id=148676
1636
1637         Reviewed by Tim Horton.
1638
1639         * fast/forms/ios/large-radio-button-is-round-expected.html: Added.
1640         * fast/forms/ios/large-radio-button-is-round.html: Added.
1641
1642 2017-01-05  Myles C. Maxfield  <mmaxfield@apple.com>
1643
1644         Carets can split up marriages and families
1645         https://bugs.webkit.org/show_bug.cgi?id=166711
1646         <rdar://problem/29019333>
1647
1648         Reviewed by Alex Christensen.
1649
1650         AFAICT we don't have a test where we arrow-through a set of emoji. We do
1651         have tests where we backspace-through a set of emoji. Add a new test for
1652         the arrow keys.
1653
1654         * platform/ios/TestExpectations:
1655         * platform/mac/editing/caret/emoji-expected.txt: Added.
1656         * editing/caret/emoji.html: Added.
1657         * editing/caret/ios/emoji-expected.txt: Added.
1658         * editing/caret/ios/emoji.html: Added.
1659
1660 2017-01-05  Ryan Haddad  <ryanhaddad@apple.com>
1661
1662         Rebaseline fast/canvas/webgl/context-creation-attributes.html after r210372.
1663
1664         Unreviewed test gardening.
1665
1666         * fast/canvas/webgl/context-creation-attributes-expected.txt:
1667
1668 2017-01-05  Jeremy Jones  <jeremyj@apple.com>
1669
1670         Update pointer-lock test expectations, enabling passing tests.
1671         https://bugs.webkit.org/show_bug.cgi?id=166656
1672         rdar://problem/29851126
1673
1674         Reviewed by Alex Christensen.
1675
1676         Several pointer lock tests are passing and are now marked as passing.
1677         pointer-lock/lock-already-locked.html Pass
1678         pointer-lock/lock-element-not-in-dom.html Pass
1679         http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html Pass
1680         http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html Pass
1681         http/tests/pointer-lock/pointerlockelement-different-origin.html Pass
1682         http/tests/pointer-lock/pointerlockelement-same-origin.html Pass
1683         http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html Pass
1684         http/tests/pointer-lock/iframe-sandboxed.html Pass
1685         http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html Pass
1686
1687         * platform/mac/TestExpectations:
1688         * http/tests/pointer-lock/iframe-sandboxed-expected.txt: Updated.
1689         * http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt: Updated
1690
1691 2017-01-05  Zalan Bujtas  <zalan@apple.com>
1692
1693         Mark the dedicated root linebox for trailing floats in empty inlines dirty.
1694         https://bugs.webkit.org/show_bug.cgi?id=166732
1695         <rdar://problem/29100419>
1696
1697         Reviewed by Antti Koivisto.
1698
1699         * fast/inline/trailing-floats-inline-crash2-expected.txt: Added.
1700         * fast/inline/trailing-floats-inline-crash2.html: Added.
1701
1702 2017-01-04  Brian Burg  <bburg@apple.com>
1703
1704         Web Inspector: Test.html should support globals reportInternalError, reportUnhandledRejection, reportUncaughtException
1705         https://bugs.webkit.org/show_bug.cgi?id=161358
1706         <rdar://problem/28066446>
1707
1708         Reviewed by Joseph Pecoraro.
1709
1710         Improve uncaught exception reporting and add some tests to document
1711         new and existing behavior.
1712
1713         * http/tests/inspector/resources/inspector-test.js:
1714         (runTest.runTestMethodInFrontend):
1715         (runTest): Outsource reporting of an uncaught exception while injecting
1716         a method into the frontend. By doing this, we can make the report using
1717         the actual exception object since it doesn't go through window.onerror.
1718
1719         * inspector/unit-tests/async-test-suite-expected.txt:
1720         * inspector/unit-tests/async-test-suite.html:
1721         * inspector/unit-tests/sync-test-suite-expected.txt:
1722         * inspector/unit-tests/sync-test-suite.html:
1723         Rebaseline and force suppression of stack traces, which are not deterministic
1724         across commits due to logging specific lines and columns in TestCombined.js.
1725
1726         * inspector/unit-tests/globals-uncaught-exception-from-timer-callback-expected.txt: Added.
1727         * inspector/unit-tests/globals-uncaught-exception-from-timer-callback.html: Added.
1728         * inspector/unit-tests/globals-uncaught-exception-in-test-function-expected.txt: Added.
1729         * inspector/unit-tests/globals-uncaught-exception-in-test-function.html: Added.
1730         * inspector/unit-tests/globals-uncaught-exception-in-test-suite-expected.txt: Added.
1731         * inspector/unit-tests/globals-uncaught-exception-in-test-suite.html: Added.
1732         * inspector/unit-tests/globals-unhandled-rejection-in-test-function-expected.txt: Added.
1733         * inspector/unit-tests/globals-unhandled-rejection-in-test-function.html: Added.
1734         * inspector/unit-tests/globals-unhandled-rejection-in-test-suite-expected.txt: Added.
1735         * inspector/unit-tests/globals-unhandled-rejection-in-test-suite.html: Added.
1736         * inspector/unit-tests/globals-unhandled-rejection-in-timer-callback-expected.txt: Added.
1737         * inspector/unit-tests/globals-unhandled-rejection-in-timer-callback.html: Added.
1738
1739 2017-01-05  Andreas Kling  <akling@apple.com>
1740
1741         Skip fast/scrolling/page-cache-back-overflow-scroll-restore.html on iOS simulator.
1742         <https://webkit.org/b/166736>
1743
1744         * platform/ios-simulator/TestExpectations:
1745
1746 2017-01-05  Chris Dumez  <cdumez@apple.com>
1747
1748         Form validation: Align email validation with the latest HTML specification
1749         https://bugs.webkit.org/show_bug.cgi?id=166697
1750         <rdar://problem/29870245>
1751
1752         Reviewed by Alex Christensen.
1753
1754         Extended / updated existing layout test to cover behavior changes.
1755
1756         * fast/forms/ValidityState-typeMismatch-email-expected.txt:
1757         * fast/forms/resources/ValidityState-typeMismatch-email.js:
1758
1759 2017-01-05  Andreas Kling  <akling@apple.com>
1760
1761         REGRESSION(r210226): overflow:scroll scroll position not restored on back navigation
1762         <https://webkit.org/b/166724>
1763
1764         Reviewed by Antti Koivisto.
1765
1766         Add a test that navigates back to a page with a scrolled overflow:scroll element.
1767         The test verifies that the scroll position is restored.
1768
1769         * fast/scrolling/page-cache-back-overflow-scroll-restore-expected.txt: Added.
1770         * fast/scrolling/page-cache-back-overflow-scroll-restore.html: Added.
1771
1772 2017-01-05  Per Arne Vollan  <pvollan@apple.com>
1773
1774         Unreviewed test gardening.
1775
1776         Update test expectations on Windows for failing tests. These failures are tracked in
1777         https://bugs.webkit.org/show_bug.cgi?id=160447.
1778
1779         * platform/win/TestExpectations:
1780
1781 2017-01-04  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
1782
1783         [EFL] Fully update TestExpectations
1784
1785         Unreviewed EFL gardening.
1786
1787         EFL layout test has been broken too long time. Besides many tests have not maintained
1788         as well. Now many tests are passingi, or some tests are being failed, crash, or timeout.
1789         To update current test results, this patch updates all test results in TextExpectation.
1790
1791         After this update, I hope to track layout test failures efficiently.
1792
1793         * platform/efl/TestExpectations:
1794
1795 2017-01-04  Manuel Rego Casasnovas  <rego@igalia.com>
1796
1797         [css-grid] Fix crash clamping grid lines
1798         https://bugs.webkit.org/show_bug.cgi?id=166637
1799
1800         Reviewed by Darin Adler.
1801
1802         * fast/css-grid-layout/grid-position-crash-expected.txt: Added.
1803         * fast/css-grid-layout/grid-position-crash.html: Added.
1804
1805 2017-01-04  Myles C. Maxfield  <mmaxfield@apple.com>
1806
1807         Remove runtime flag for variation fonts
1808         https://bugs.webkit.org/show_bug.cgi?id=164251
1809
1810         Reviewed by Dean Jackson.
1811
1812         * animations/font-variations/font-variation-settings-expected.html:
1813         * animations/font-variations/font-variation-settings-order-expected.html:
1814         * animations/font-variations/font-variation-settings-order.html:
1815         * animations/font-variations/font-variation-settings-unlike-expected.html:
1816         * animations/font-variations/font-variation-settings-unlike.html:
1817         * animations/font-variations/font-variation-settings.html:
1818         * fast/text/variations/duplicate-expected.html:
1819         * fast/text/variations/duplicate.html:
1820         * fast/text/variations/exist-expected-mismatch.html:
1821         * fast/text/variations/exist.html:
1822         * fast/text/variations/getComputedStyle.html:
1823         * fast/text/variations/inheritance-expected.html:
1824         * fast/text/variations/inheritance.html:
1825         * fast/text/variations/order-expected.html:
1826         * fast/text/variations/order.html:
1827         * fast/text/variations/outofbounds-expected.html:
1828         * fast/text/variations/outofbounds.html:
1829
1830 2017-01-04  Nan Wang  <n_wang@apple.com>
1831
1832         Many new HTML5 input types still exposed as generic AXTextfield
1833         https://bugs.webkit.org/show_bug.cgi?id=109017
1834         <rdar://problem/13658955>
1835
1836         Reviewed by Chris Fleizach.
1837
1838         * platform/mac/accessibility/roles-exposed-expected.txt:
1839
1840 2017-01-04  Chris Dumez  <cdumez@apple.com>
1841
1842         Assertion hit on redfin.com: ASSERTION FAILED: collection->length() > 1
1843         https://bugs.webkit.org/show_bug.cgi?id=166687
1844         <rdar://problem/29865854>
1845
1846         Reviewed by Darin Adler.
1847
1848         Add layout test coverage.
1849
1850         * fast/shadow-dom/document-named-property-expected.txt: Added.
1851         * fast/shadow-dom/document-named-property.html: Added.
1852         * fast/shadow-dom/window-named-property-expected.txt: Added.
1853         * fast/shadow-dom/window-named-property.html: Added.
1854
1855 2017-01-04  Manuel Rego Casasnovas  <rego@igalia.com>
1856
1857         [GTK] Two editing tests are passing but marked as failure
1858
1859         Unreviewed GTK gardening.
1860
1861         * platform/gtk/TestExpectations:
1862
1863 2017-01-04  John Wilander  <wilander@apple.com>
1864
1865         Validate the BCP47-ness of the language string passed to TrackBase::setLanguage()
1866         https://bugs.webkit.org/show_bug.cgi?id=123926
1867
1868         Reviewed by Jer Noble.
1869
1870         * media/media-source/only-bcp47-language-tags-accepted-as-valid-expected.txt: Added.
1871         * media/media-source/only-bcp47-language-tags-accepted-as-valid.html: Added.
1872         * media/track/w3c/interfaces/HTMLTrackElement/srclang-expected.txt:
1873             Expected text change since we now have console warnings for
1874             invalid language tags.
1875         * media/track/w3c/interfaces/TextTrack/language-expected.txt:
1876             Expected text change since we now have console warnings for
1877             invalid language tags.
1878         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
1879             Expected text change since we now have console warnings for
1880             invalid language tags.
1881         * platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
1882             Expected text change since we now have console warnings for
1883             invalid language tags.
1884
1885 2017-01-04  Joseph Pecoraro  <pecoraro@apple.com>
1886
1887         Web Inspector: Cross Origin importScripts() scripts lack source URL, causes issues with Inspector showing Resource
1888         https://bugs.webkit.org/show_bug.cgi?id=165569
1889         <rdar://problem/29607569>
1890
1891         Reviewed by Youenn Fablet.
1892
1893         * http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts-expected.txt: Added.
1894         * http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts.html: Added.
1895         * http/tests/inspector/worker/resources/worker-blob-import-script.js: Added.
1896         * http/tests/inspector/worker/resources/worker-blob-script.js: Added.
1897         Ensure cross origin scripts imported by workers still get the correct Script URL.
1898         Also this provides a test for worker started with a blob URL.
1899
1900 2017-01-03  Ryosuke Niwa  <rniwa@webkit.org>
1901
1902         label element with tabindex >= 0 is not focusable
1903         https://bugs.webkit.org/show_bug.cgi?id=102780
1904         <rdar://problem/29796608>
1905
1906         Reviewed by Darin Adler.
1907
1908         Added a regression test for traversing label and legend elements by tabbing.
1909         A native merge of the blink fix would have regressed this for the label element
1910         while the bug in the legend element had always existed.
1911
1912         Also added a regression test for focusing label and legend elements with tabindex.
1913         We should be able to focus either element. New behavior matches that of Chrome.
1914         Firefox moves the focus to the label element like we used to before this patch.
1915
1916         Also merge the test fix from https://chromium.googlesource.com/chromium/src/+/085ad8697b1be50c4f93e296797a25a43a79bcfb
1917
1918         * fast/events/focus-label-legend-elements-expected.txt: Added.
1919         * fast/events/focus-label-legend-elements-with-tab-expected.txt: Added.
1920         * fast/events/focus-label-legend-elements-with-tab.html: Added.
1921         * fast/events/focus-label-legend-elements.html: Added.
1922         * fast/events/resources/tabindex-focus-blur-all-frame1.html:
1923         * fast/events/resources/tabindex-focus-blur-all-frame2.html:
1924         * fast/events/resources/tabindex-focus-blur-all.js:
1925         * fast/events/tabindex-focus-blur-all-expected.txt:
1926         * platform/ios-simulator-wk2/TestExpectations:
1927
1928 2017-01-03  Tim Horton  <timothy_horton@apple.com>
1929
1930         NSSpellChecker's recordResponse isn't called for unseen automatic corrections
1931         https://bugs.webkit.org/show_bug.cgi?id=166450
1932         <rdar://problem/29447824>
1933
1934         Reviewed by Darin Adler.
1935
1936         * editing/editing.js:
1937         (runEditingTest):
1938         (runEditingTestWithCallbackLogging):
1939         Add a way to run an editing test without enabling noisy editing callback logging.
1940
1941         * editing/mac/spelling/accept-unseen-candidate-records-acceptance-expected.txt: Added.
1942         * editing/mac/spelling/accept-unseen-candidate-records-acceptance.html: Added.
1943         Add a test that ensures that we correctly inform NSSpellChecker of an
1944         accepted unseen correction.
1945
1946         * platform/mac-wk2/TestExpectations:
1947         Disable the test because spelling tests don't work in WebKit2 at all.
1948
1949 2017-01-03  Nan Wang  <n_wang@apple.com>
1950
1951         AX: Focus should jump into modal dialogs when one appears
1952         https://bugs.webkit.org/show_bug.cgi?id=166670
1953
1954         Reviewed by Chris Fleizach.
1955
1956         * accessibility/mac/aria-modal-auto-focus-expected.txt: Added.
1957         * accessibility/mac/aria-modal-auto-focus.html: Added.
1958
1959 2017-01-03  Brian Burg  <bburg@apple.com>
1960
1961         Web Inspector: WrappedPromise constructor should behave like the Promise constructor
1962         https://bugs.webkit.org/show_bug.cgi?id=166523
1963
1964         Reviewed by Joseph Pecoraro.
1965
1966         * inspector/unit-tests/wrapped-promise-expected.txt: Added.
1967         * inspector/unit-tests/wrapped-promise.html: Added.
1968
1969 2017-01-03  Joseph Pecoraro  <pecoraro@apple.com>
1970
1971         Web Inspector: Address failures under LayoutTests/inspector/debugger/stepping
1972         https://bugs.webkit.org/show_bug.cgi?id=166300
1973
1974         Reviewed by Brian Burg.
1975
1976         * inspector/debugger/stepping/stepping-classes-expected.txt:
1977         Rebaseline these results to new column values.
1978
1979 2017-01-03  Joseph Pecoraro  <pecoraro@apple.com>
1980
1981         Web Inspector: Fix Content Flow Container Regions Computed Style section
1982         https://bugs.webkit.org/show_bug.cgi?id=166294
1983
1984         Reviewed by Brian Burg.
1985
1986         * inspector/dom/content-flow-list.html:
1987         Update the domTree across navigations. Also dynamically add the flows to
1988         ensure we get the events.
1989
1990 2017-01-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1991
1992         A floating element within <li> overlaps with the marker
1993         https://bugs.webkit.org/show_bug.cgi?id=166528
1994
1995         Reviewed by Zalan Bujtas.
1996
1997         * fast/lists/list-marker-before-float-expected.html: Added.
1998         * fast/lists/list-marker-before-float-nested-expected.html: Added.
1999         * fast/lists/list-marker-before-float-nested-rtl-expected.html: Added.
2000         * fast/lists/list-marker-before-float-nested-rtl.html: Added.
2001         * fast/lists/list-marker-before-float-nested.html: Added.
2002         * fast/lists/list-marker-before-float-rtl-expected.html: Added.
2003         * fast/lists/list-marker-before-float-rtl.html: Added.
2004         * fast/lists/list-marker-before-float.html: Added.
2005
2006 2017-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
2007
2008         [GTK] HTTP auth layout tests are flaky
2009         https://bugs.webkit.org/show_bug.cgi?id=158919
2010
2011         Reviewed by Michael Catanzaro.
2012
2013         Unskip tests that should pass now.
2014
2015         * platform/gtk/TestExpectations:
2016
2017 2017-01-02  Chris Fleizach  <cfleizach@apple.com>
2018
2019         AX: Expose block quote level to iOS API
2020         https://bugs.webkit.org/show_bug.cgi?id=166629
2021         <rdar://problem/29834793>
2022
2023         Reviewed by Darin Adler.
2024
2025         * accessibility/ios-simulator/blockquote-level-expected.txt: Added.
2026         * accessibility/ios-simulator/blockquote-level.html: Added.
2027
2028 2016-12-31  Darin Adler  <darin@apple.com>
2029
2030         Remove PassRefPtr use from the "dom" directory, related cleanup
2031         https://bugs.webkit.org/show_bug.cgi?id=166569
2032
2033         Reviewed by Alex Christensen.
2034
2035         * fast/dom/title-text-property-2-expected.txt:
2036         * http/tests/globalhistory/history-delegate-basic-title-expected.txt:
2037         Updated expected results for progression where we no longer send duplicate updates
2038         of the title when setting the title property on a document.
2039
2040         * fast/regions/cssom/webkit-named-flow-collection-expected.txt:
2041         * fast/regions/cssom/webkit-named-flow-collection.html:
2042         Added test cases cover property names in the named flow collection.
2043         Specifically, check both Object.keys for just the indices, and also
2044         Object.getOwnPropertyNames for including the names of the flows.
2045
2046 2016-12-28  Sergio Villar Senin  <svillar@igalia.com>
2047
2048         [css-grid] Isolate instrinsic size computation from layout
2049         https://bugs.webkit.org/show_bug.cgi?id=166530
2050
2051         Reviewed by Darin Adler.
2052
2053         * fast/css-grid-layout/grid-auto-repeat-intrinsic-expected.txt: Added.
2054         * fast/css-grid-layout/grid-auto-repeat-intrinsic.html: Added.
2055         * fast/css-grid-layout/grid-change-intrinsic-size-with-auto-repeat-tracks-expected.txt: Added.
2056         * fast/css-grid-layout/grid-change-intrinsic-size-with-auto-repeat-tracks.html: Added.
2057
2058 2016-12-28  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2059
2060         [Gardening] Remove INDIE_UI related entries from TestExpectation files.
2061         https://bugs.webkit.org/show_bug.cgi?id=165881
2062
2063         Unreviewed.
2064
2065         * platform/efl/TestExpectations:
2066         * platform/gtk/TestExpectations:
2067         * platform/win/TestExpectations:
2068
2069 2016-12-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2070
2071         [EFL] Gardening on 28th Dec.
2072
2073         Unreviewed EFL gardening.
2074
2075         * platform/efl/TestExpectations: Mark failing tests to Failure or ImageOnlyFailure.
2076
2077 2016-12-27  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
2078
2079         [EFL] Gardening on 27th Dec.
2080
2081         Unreviewed EFL gardening.
2082
2083         * platform/efl/TestExpectations: Mark failing tests to Timeout or Skip.
2084
2085 2016-12-26  Zalan Bujtas  <zalan@apple.com>
2086
2087         ASSERTION FAILED: !rect.isEmpty() in WebCore::GraphicsContext::drawRect
2088         https://bugs.webkit.org/show_bug.cgi?id=163461
2089
2090         Reviewed by Darin Adler.
2091
2092         * fast/lists/assert-on-empty-list-marker-expected.txt: Added.
2093         * fast/lists/assert-on-empty-list-marker.html: Added.
2094
2095 2016-12-25  Chris Fleizach  <cfleizach@apple.com>
2096
2097         AX: Headers of table not read by VoiceOver
2098         https://bugs.webkit.org/show_bug.cgi?id=158693
2099         <rdar://problem/26771065>
2100
2101         Reviewed by Darin Adler.
2102
2103         * accessibility/hidden-th-still-column-header-expected.txt: Added.
2104         * accessibility/hidden-th-still-column-header.html: Added.
2105
2106 2016-12-25  Sam Weinig  <sam@webkit.org>
2107
2108         [WebIDL] Remove (most) custom bindings for the IndexedDB code
2109         https://bugs.webkit.org/show_bug.cgi?id=166451
2110
2111         Reviewed by Darin Adler.
2112
2113         * storage/indexeddb/exceptions-expected.txt:
2114         * storage/indexeddb/exceptions-private-expected.txt:
2115         * storage/indexeddb/index-basics-expected.txt:
2116         * storage/indexeddb/index-basics-private-expected.txt:
2117         * storage/indexeddb/index-basics-workers-expected.txt:
2118         * storage/indexeddb/objectstore-cursor-expected.txt:
2119         * storage/indexeddb/objectstore-cursor-private-expected.txt:
2120         Update results for improved exception messages.
2121
2122 2016-12-23  Simon Fraser  <simon.fraser@apple.com>
2123
2124         REGRESSION (r209299): Selection is broken when you zoom in webpage using trackpad
2125         https://bugs.webkit.org/show_bug.cgi?id=166472
2126         rdar://problem/29675551
2127
2128         Reviewed by Tim Horton.
2129
2130         Add some test coverage for autoscroll of the main document. I could only get this
2131         working in WebKitTestRunner, not DumpRenderTree.
2132
2133         * TestExpectations:
2134         * fast/events/autoscroll-main-document-expected.txt: Added.
2135         * fast/events/autoscroll-main-document.html: Added.
2136         * fast/events/autoscroll-when-zoomed-expected.txt: Added.
2137         * fast/events/autoscroll-when-zoomed.html: Added.
2138         * fast/events/drag-select-when-zoomed-expected.txt: Added.
2139         * fast/events/drag-select-when-zoomed-with-header-expected.txt: Added.
2140         * fast/events/drag-select-when-zoomed-with-header.html: Added.
2141         * fast/events/drag-select-when-zoomed.html: Added.
2142         * fast/scrolling/scroll-to-anchor-zoomed-header-expected.txt: Added.
2143         * fast/scrolling/scroll-to-anchor-zoomed-header.html: Added.
2144         * fast/transforms/selection-bounds-in-transformed-view.html: Revert the target scroll position to what it was
2145         before r209299, and improve the failure output.
2146         * platform/ios-simulator/TestExpectations:
2147         * platform/mac-wk2/TestExpectations:
2148
2149 2016-12-23  Andy Estes  <aestes@apple.com>
2150
2151         [iOS] Fix some crashing webarchive tests
2152         https://bugs.webkit.org/show_bug.cgi?id=166470
2153
2154         Reviewed by Andreas Kling.
2155
2156         Removed entries for previously crashing/failing tests.
2157
2158         * platform/ios-simulator-wk2/TestExpectations:
2159         * platform/ios-simulator/TestExpectations:
2160
2161 2016-12-23  Andreas Kling  <akling@apple.com>
2162
2163         REGRESSION(r209865): Crash when navigating back to some pages with compositing layers.
2164         <https://webkit.org/b/166469>
2165         <rdar://problem/29109053>
2166
2167         Reviewed by Darin Adler.
2168
2169         Add a smoke test for the crashes we were seeing. Thanks to Zalán for the reduction.
2170
2171         * compositing/page-cache-back-crash-expected.txt: Added.
2172         * compositing/page-cache-back-crash.html: Added.
2173
2174 2016-12-22  Sam Weinig  <sam@webkit.org>
2175
2176         [WebIDL] Remove custom bindings for WebSQL code
2177         https://bugs.webkit.org/show_bug.cgi?id=166441
2178
2179         Reviewed by Darin Adler.
2180
2181         * storage/websql/execute-sql-args-expected.txt:
2182         * storage/websql/execute-sql-args.js:
2183         Update test and result to be slightly more strict about functions taking sequences.
2184
2185 2016-12-22  Brent Fulgham  <bfulgham@apple.com>
2186
2187         Nested calls to setDocument can omit firing 'unload' events
2188         https://bugs.webkit.org/show_bug.cgi?id=166422
2189         <rdar://problem/29763012>
2190
2191         Reviewed by Alex Christensen.
2192
2193         * fast/loader/nested-document-handling-expected.txt: Added.
2194         * fast/loader/nested-document-handling.html: Added.
2195         * fast/loader/resources/subframe-success.html: Added.
2196
2197 2016-12-22  Zalan Bujtas  <zalan@apple.com>
2198
2199         Do not destroy the RenderNamedFlowFragment as leftover anonymous block.
2200         https://bugs.webkit.org/show_bug.cgi?id=166436
2201         rdar://problem/29772233
2202
2203         Reviewed by Simon Fraser.
2204
2205         * fast/regions/flow-fragment-as-anonymous-block-crash-expected.txt: Added.
2206         * fast/regions/flow-fragment-as-anonymous-block-crash.html: Added.
2207
2208 2016-12-22  Wenson Hsieh  <wenson_hsieh@apple.com>
2209
2210         CSS Scroll Snap does not work if scrollbar is hidden
2211         https://bugs.webkit.org/show_bug.cgi?id=160442
2212         <rdar://problem/23317034>
2213
2214         Reviewed by Simon Fraser.
2215
2216         Adds a new layout test verifying that scroll snapping still works when scrollbars are hidden via CSS.
2217
2218         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-hidden-scrollbars-expected.txt: Added.
2219         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-hidden-scrollbars.html: Added.
2220
2221 2016-12-22  Daniel Bates  <dabates@apple.com>
2222
2223         Make http/tests/security/popup-blocked-from-{fake-event, window-open}.html actually test popup
2224         blocker; run on WebKit2
2225         https://bugs.webkit.org/show_bug.cgi?id=166403
2226
2227         Reviewed by Darin Adler.
2228
2229         The tests http/tests/security/popup-blocked-from-{fake-event, window-open}.html inadvertently
2230         depended on the default behavior of DumpRenderTree to ignore the ChromeClient::createWindow()
2231         callback when asked to create a new window instead of testing that the popup blocker blocked
2232         opening windows. We should call testRunner.setCanOpenWindows() and testRunner.setPopupBlockingEnabled(true)
2233         from both of these tests so that DumpRenderTree respects requests to open windows and enable
2234         the popup blocker (it is disabled by default), respectively.
2235
2236         The default behavior of DumpRenderTree to disallow opening windows falls out from the purpose
2237         and implementation of testRunner.setCanOpenWindows() to support writing tests where the embedding
2238         client ignores requests to create a new window. We do not implement such a concept in WebKitTestRunner
2239         (see <https://bugs.webkit.org/show_bug.cgi?id=166402>).
2240
2241         * http/tests/security/popup-blocked-from-fake-event.html:
2242         * http/tests/security/popup-blocked-from-window-open.html:
2243         * platform/wk2/TestExpectations: Unskip the above tests as they now pass.
2244
2245 2016-12-22  Daniel Bates  <dabates@apple.com>
2246
2247         Bypass pop-up blocker from cross-origin or sandboxed frame
2248         https://bugs.webkit.org/show_bug.cgi?id=166290
2249         <rdar://problem/29742039>
2250
2251         Reviewed by Darin Adler.
2252
2253         * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame-expected.txt: Added.
2254         * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame.html: Added.
2255         * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame2-expected.txt: Added.
2256         * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame2.html: Added.
2257         * fast/events/popup-blocked-from-unique-frame-via-window-open-named-sibling-frame-expected.txt: Added.
2258         * fast/events/popup-blocked-from-unique-frame-via-window-open-named-sibling-frame.html: Added.
2259
2260 2016-12-21  Eric Carlson  <eric.carlson@apple.com>
2261
2262         [MediaStream] Update media-stream-event-constructor test
2263         https://bugs.webkit.org/show_bug.cgi?id=166398
2264
2265         Reviewed by Jer Noble.
2266
2267         Update and rebaseline test to reflect behavior changes that happened while the test was
2268         skipped. Un-skip it on macOS.
2269
2270         * fast/events/constructors/media-stream-event-constructor-expected.txt:
2271         * fast/events/constructors/media-stream-event-constructor.html:
2272         * platform/mac/TestExpectations:
2273
2274 2016-12-21  John Wilander  <wilander@apple.com>
2275
2276         Switch to a blacklist model for restricted Accept headers in simple CORS requests
2277         https://bugs.webkit.org/show_bug.cgi?id=166363
2278
2279         Reviewed by Alex Christensen.
2280
2281         * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight-expected.txt:
2282         * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html:
2283
2284 2016-12-21  Wenson Hsieh  <wenson_hsieh@apple.com>
2285
2286         Add a layout test for scroll snapping with padding in the container
2287         https://bugs.webkit.org/show_bug.cgi?id=144927
2288         <rdar://problem/20923772>
2289
2290         Reviewed by Brent Fulgham.
2291
2292         The issue was actually addressed by changes to snap offset computation in AxisScrollSnapOffsets.cpp with
2293         <https://trac.webkit.org/changeset/210024>, but there was no test for this. This patch adds a new layout test
2294         verifying that the padding on child elements is accounted for when computing the scroll snap offsets of a scroll
2295         snapping container.
2296
2297         * css3/scroll-snap/scroll-snap-children-with-padding-expected.txt: Added.
2298         * css3/scroll-snap/scroll-snap-children-with-padding.html: Added.
2299
2300 2016-12-21  Daniel Bates  <dabates@apple.com>
2301
2302         WebKitTestRunner: Add comment to TestRunner::setCanOpenWindows()
2303         https://bugs.webkit.org/show_bug.cgi?id=166356
2304
2305         Add a remark that the test plugins/get-url-with-blank-target.html depends on
2306         the assumption that WebKitTestRunner forbids opening windows by default.
2307
2308         * platform/wk2/TestExpectations:
2309
2310 2016-12-21  Joseph Pecoraro  <pecoraro@apple.com>
2311
2312         Web Inspector: Fix some typos and style in LayoutTests/inspector
2313         https://bugs.webkit.org/show_bug.cgi?id=166273
2314
2315         Reviewed by Brian Burg.
2316
2317         * inspector/*
2318
2319 2016-12-21  Simon Fraser  <simon.fraser@apple.com>
2320
2321         Fixed bars are positioned incorrectly when there are header and footer banners
2322         https://bugs.webkit.org/show_bug.cgi?id=166302
2323         rdar://problem/29727145
2324
2325         Reviewed by Tim Horton.
2326         
2327         * fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added.
2328         * fast/visual-viewport/zoomed-fixed-header-and-footer.html: Added.
2329         * platform/ios-simulator/fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added.
2330         * tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer-expected.txt:
2331
2332 2016-12-20  Myles C. Maxfield  <mmaxfield@apple.com>
2333
2334         Skia lighter wght variation looks bolder than regular
2335         https://bugs.webkit.org/show_bug.cgi?id=165948
2336
2337         Reviewed by Antti Koivisto.
2338
2339         * fast/text/variations/default-value-expected.html: Added.
2340         * fast/text/variations/default-value.html: Added.
2341         * fast/text/variations/outofbounds-expected-mismatch.html: Renamed from LayoutTests/fast/text/variations/outofbounds-expected.html.
2342         * fast/text/variations/outofbounds.html:
2343         * platform/ios-simulator/TestExpectations:
2344
2345 2016-12-20  Keith Miller  <keith_miller@apple.com>
2346
2347         Add support for global
2348         https://bugs.webkit.org/show_bug.cgi?id=165171
2349
2350         Reviewed by Filip Pizlo.
2351
2352         Fix getOwnPropertyDescriptor test.
2353
2354         * js/resources/getOwnPropertyDescriptor.js:
2355
2356 2016-12-20  Ryan Haddad  <ryanhaddad@apple.com>
2357
2358         Rebaseline js/dom/global-constructors-attributes.html for mac-wk1.
2359
2360         Unreviewed test gardening.
2361
2362         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
2363
2364 2016-12-20  Zalan Bujtas  <zalan@apple.com>
2365
2366         SVG elements should inherit the root's flow thread state.
2367         https://bugs.webkit.org/show_bug.cgi?id=166173
2368         rdar://problem/29704862
2369
2370         Reviewed by Simon Fraser.
2371
2372         * fast/multicol/svg-inside-multicolumn-expected.txt: Added.
2373         * fast/multicol/svg-inside-multicolumn.html: Added.
2374
2375 2016-12-20  Joseph Pecoraro  <pecoraro@apple.com>
2376
2377         Web Inspector: Console could be made useful for very simple await expressions
2378         https://bugs.webkit.org/show_bug.cgi?id=165681
2379         <rdar://problem/29755339>
2380
2381         Reviewed by Brian Burg.
2382
2383         * inspector/controller/runtime-controller-expected.txt:
2384         * inspector/controller/runtime-controller.html:
2385         Test the "await expression" convenience of RuntimeManager.
2386
2387 2016-12-20  Ryan Haddad  <ryanhaddad@apple.com>
2388
2389         Rebaseline js/dom/global-constructors-attributes.html for mac-elcapitan after r210024.
2390
2391         Unreviewed test gardening.
2392
2393         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
2394
2395 2016-12-20  Dean Jackson  <dino@apple.com>
2396
2397         Remove INDIE_UI
2398         https://bugs.webkit.org/show_bug.cgi?id=165881
2399         <rdar://problem/29672532>
2400
2401         Reviewed by Simon Fraser.
2402
2403         The Indie UI work has been discontinued.
2404
2405         * fast/custom-elements/reactions-for-indieui-expected.txt: Removed.
2406         * fast/custom-elements/reactions-for-indieui.html: Removed.
2407         * indieui/uiactions-expected.txt: Removed.
2408         * indieui/uiactions.html: Removed.
2409         * js/dom/dom-static-property-for-in-iteration-expected.txt:
2410         * js/dom/global-constructors-attributes-expected.txt:
2411         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
2412         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
2413         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
2414         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2415
2416 2016-12-20  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2417
2418
2419         [Readable Streams API] Implement readableByteStreamControllerCallPullIfNeeded()
2420         https://bugs.webkit.org/show_bug.cgi?id=166022
2421
2422         Reviewed by Youenn Fablet.
2423
2424         Added 3 tests to check behaviour in case of success/failure of the start and pull functions
2425         associated to the underlyingByteSource.
2426
2427         * streams/readable-byte-stream-controller-expected.txt: Added expectations for new tests.
2428         * streams/readable-byte-stream-controller.js: Added 3 new tests.
2429
2430 2016-12-20  Sam Weinig  <sam@webkit.org>
2431
2432         [DataCue] Un-prefix DataCue and remove custom bindings
2433         https://bugs.webkit.org/show_bug.cgi?id=166087
2434
2435         Reviewed by Eric Carlson.
2436
2437         * media/track/track-datacue-value-expected.txt:
2438         * media/track/track-datacue-value.html:
2439         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2440         Update tests for unprefixed DataCue.
2441
2442 2016-12-20  Wenson Hsieh  <wenson_hsieh@apple.com>
2443
2444         Implement the updated port/area-based Scroll Snap Module Level 1 Spec
2445         https://bugs.webkit.org/show_bug.cgi?id=165317
2446         <rdar://problem/29490956>
2447
2448         Reviewed by Dean Jackson.
2449
2450         Refactors layout tests to use the new scroll snapping properties, removing any tests that only made sense in the
2451         context of the old version of scroll snapping and adding new ones to cover behaviors that the existing tests do
2452         not verify. See per-method descriptions for more details. In most cases, the old way of specifying scroll
2453         snapping via repeat(<container width or length>) or a coordinate at (0, 0) on each child has been replaced with
2454         `scroll-snap-type: (x|y|both) mandatory;` on the container and `scroll-snap-align: start` on each child element.
2455         If a test below does not have an accompanying description, then this is the only change applied to it, and the
2456         behavior it is testing is still relevant in the new scroll snapping model.
2457
2458         * css3/scroll-snap/improper-snap-points-crash-expected.txt: Removed.
2459         * css3/scroll-snap/improper-snap-points-crash.html: Removed.
2460
2461         This test is no longer valid in the new scroll snapping model, since there is no way to specify both repeating
2462         points along an axis and child elements with scroll snap coordinates.
2463
2464         * css3/scroll-snap/nested-elements-expected.txt:
2465         * css3/scroll-snap/nested-elements.html:
2466         * css3/scroll-snap/resources/iframe-content.html:
2467         * css3/scroll-snap/scroll-snap-2d-change-axis-type-expected.txt: Added.
2468         * css3/scroll-snap/scroll-snap-2d-change-axis-type.html: Added.
2469
2470         New layout test to check that changing the scroll-snap-type from one to both axes updates the computed snap
2471         offsets in the container to have offsets from both axes.
2472
2473         * css3/scroll-snap/scroll-snap-2d-offsets-computed-independently-expected.txt: Added.
2474         * css3/scroll-snap/scroll-snap-2d-offsets-computed-independently.html: Added.
2475
2476         New layout test to check that snap offsets are computed independently on each axis. In a 3x3 grid of child
2477         elements with the child elements along the diagonal having `scroll-snap-align`s of `end`, `center` and `start`
2478         in order from top left to bottom right, we should observe the same effect as having each child emit snap
2479         positions in both axes.
2480
2481         * css3/scroll-snap/scroll-snap-children-with-scroll-snap-margin-expected.txt: Added.
2482         * css3/scroll-snap/scroll-snap-children-with-scroll-snap-margin.html: Added.
2483
2484         New layout test to check that specifying a `scroll-snap-margin` correctly insets the scroll snap area of a child
2485         element, and that changing the `scroll-snap-margin` via script also changes the computed scroll snap offsets.
2486
2487         * css3/scroll-snap/scroll-snap-children-with-transforms-expected.txt: Added.
2488         * css3/scroll-snap/scroll-snap-children-with-transforms.html: Added.
2489
2490         New layout test to check that when computing the scroll snap areas of child elements, we take transforms into
2491         account and use the bounding box of the transformed border box of the child element. Also verifies that we apply
2492         the scroll offset _after_ the transform, so that scrolling the container and then recomputing snap offsets when
2493         child elements are transformed does not result in different snap offsets.
2494
2495         * css3/scroll-snap/scroll-snap-coordinate-expected.txt: Removed.
2496         * css3/scroll-snap/scroll-snap-coordinate.html: Removed.
2497
2498         Renamed to scroll-snap-position.html, since the notion of scroll snap coordinates no longer exists.
2499
2500         * css3/scroll-snap/scroll-snap-desination-lock-up-expected.txt: Removed.
2501         * css3/scroll-snap/scroll-snap-desination-lock-up.html: Removed.
2502
2503         This test is no longer relevant in the new scroll snapping model. This is because the logic for computing scroll
2504         snap offsets in AxisScrollSnapOffsets no longer has an opportunity to loop infinitely while trying to fill a
2505         scrollable axis with snap offsets, since repeating snap points have been removed.
2506
2507         * css3/scroll-snap/scroll-snap-elements-container-larger-than-children.html:
2508         * css3/scroll-snap/scroll-snap-inherit-expected.txt:
2509         * css3/scroll-snap/scroll-snap-inherit.html:
2510
2511         Updated to test the new scroll snap properties.
2512
2513         * css3/scroll-snap/scroll-snap-initial-expected.txt:
2514         * css3/scroll-snap/scroll-snap-initial.html:
2515
2516         Updated to test the new scroll snap properties.
2517
2518         * css3/scroll-snap/scroll-snap-mismatch.html:
2519         * css3/scroll-snap/scroll-snap-negative-repeat-expected.txt: Removed.
2520         * css3/scroll-snap/scroll-snap-negative-repeat.html: Removed.
2521
2522         Removed, since negative repeating scroll snap offsets are (thankfully) no longer possible in the new scroll
2523         snapping model.
2524
2525         * css3/scroll-snap/scroll-snap-offsets-expected.txt:
2526         * css3/scroll-snap/scroll-snap-offsets.html:
2527
2528         Augmented to mix in various alignment values among the scroll snap child elements as well as various levels of
2529         nesting.
2530
2531         * css3/scroll-snap/scroll-snap-position-values-expected.txt: Removed.
2532         * css3/scroll-snap/scroll-snap-position-values.html: Removed.
2533
2534         The behaviors tested here are covered by other similar tests: scroll-snap-initial and scroll-snap-inherit.
2535
2536         * css3/scroll-snap/scroll-snap-positions-expected.txt: Added.
2537         * css3/scroll-snap/scroll-snap-positions-mainframe-expected.txt: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-mainframe-expected.txt.
2538         * css3/scroll-snap/scroll-snap-positions-mainframe.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-mainframe.html.
2539         * css3/scroll-snap/scroll-snap-positions-overflow-resize-expected.txt: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-overflow-resize-expected.txt.
2540         * css3/scroll-snap/scroll-snap-positions-overflow-resize.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-overflow-resize.html.
2541         * css3/scroll-snap/scroll-snap-positions.html: Added.
2542
2543         Renamed these existing tests to not use the term `scroll-snap-coordinate`. The semantics of these tests are
2544         still the same, only using different values of `scroll-snap-align` instead of `-webkit-scroll-snap-coordinate`.
2545
2546         * css3/scroll-snap/scroll-snap-property-computed-style-expected.txt:
2547         * css3/scroll-snap/scroll-snap-property-computed-style.js:
2548         * css3/scroll-snap/scroll-snap-property-parsing-expected.txt:
2549         * css3/scroll-snap/scroll-snap-property-parsing.js:
2550         * css3/scroll-snap/scroll-snap-style-changed-align-expected.txt: Added.
2551         * css3/scroll-snap/scroll-snap-style-changed-align.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-style-changed-coordinates.html.
2552         * css3/scroll-snap/scroll-snap-style-changed-coordinates-expected.txt: Removed.
2553         * css3/scroll-snap/scroll-snap-style-changed-repeat-expected.txt: Removed.
2554         * css3/scroll-snap/scroll-snap-style-changed-repeat.html: Removed.
2555
2556         No longer relevant, since repeating scroll snap offsets are no longer in the spec.
2557
2558         * css3/scroll-snap/scroll-snap-subpixel-repeat-expected.txt: Removed.
2559         * css3/scroll-snap/scroll-snap-subpixel-repeat.html: Removed.
2560
2561         No longer relevant, since repeating scroll snap offsets are no longer in the spec.
2562
2563         * css3/scroll-snap/scroll-snap-with-scroll-padding-expected.txt: Added.
2564         * css3/scroll-snap/scroll-snap-with-scroll-padding.html: Added.
2565
2566         New layout test to check that specifying scroll padding on a scroll container correctly outsets the scroll snap
2567         port, and that changing scroll padding via script also changes the computed snap offsets.
2568
2569         * platform/mac-wk2/TestExpectations:
2570
2571         Removed tiled-drawing/scrolling/latched-div-with-scroll-snap.html from the list of failing tests.
2572
2573         * tiled-drawing/scrolling/latched-div-with-scroll-snap-expected.txt:
2574         * tiled-drawing/scrolling/latched-div-with-scroll-snap.html:
2575
2576         This test was failing 100% of the time due to the momentum portion of the scrolling phase being invoked after
2577         scroll snapping has ended. This has been rewritten to perform the following steps:
2578         1. Scroll the top div with momentum and verify that the scroll 'glided' to the red box.
2579         2. Scroll the top div without momentum and verify that the scroll snaps back to the red box.
2580         3. Repeat (1) and (2), but for the bottom div. The same thing should occur.
2581
2582         * tiled-drawing/scrolling/scroll-snap/resources/horizontal-mainframe.html:
2583         * tiled-drawing/scrolling/scroll-snap/resources/vertical-mainframe.html:
2584         * tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up-expected.txt: Removed.
2585         * tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up.html: Removed.
2586         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html:
2587         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html:
2588         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html:
2589         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html:
2590         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html:
2591         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-then-horizontal.html:
2592         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html:
2593         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless.html:
2594         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow.html:
2595         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding.html:
2596         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated.html:
2597         * tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top.html:
2598
2599         All of the tests here were updated to use the new scroll-snap-* properties instead of the old versions. The
2600         semantics of these tests have not changed.
2601
2602 2016-12-20  Megan Gardner  <megan_gardner@apple.com>
2603
2604         Fix memory leak in malformed test
2605         https://bugs.webkit.org/show_bug.cgi?id=165917
2606
2607         Reviewed by Alexey Proskuryakov.
2608
2609         Navigation caused 'onload' to be called twice, causing test harness to have extraneous
2610         HID callback around after script controller was dismantled. Loading in body will eliminate
2611         double load, and also prevent other race conditions where the body doesn't load fast enough.
2612
2613         * http/tests/quicklook/hide-referer-on-navigation.html:
2614
2615 2016-12-20  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
2616
2617         WebRTC: RTCPeerConnection constructor argument should be optional
2618         https://bugs.webkit.org/show_bug.cgi?id=164057
2619
2620         Reviewed by Youenn Fablet.
2621
2622         Remove tests since they are duplicated with WPT tests.
2623
2624         * fast/mediastream/RTCPeerConnection-expected.txt:
2625         * fast/mediastream/RTCPeerConnection.html:
2626
2627 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
2628
2629         Marking http/tests/fetch/fetching-same-resource-with-diffferent-options.html as flaky on macOS.
2630         https://bugs.webkit.org/show_bug.cgi?id=166025
2631
2632         Unreviewed test gardening.
2633
2634         * platform/mac/TestExpectations:
2635
2636 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
2637
2638         Marking http/tests/inspector/network/fetch-network-data.html as flaky on macOS.
2639         https://bugs.webkit.org/show_bug.cgi?id=166038
2640
2641         Unreviewed test gardening.
2642
2643         * platform/mac/TestExpectations:
2644
2645 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
2646
2647         Rebaseline fast/text/emoji.html for macOS.
2648
2649         Unreviewed test gardening.
2650
2651         * platform/mac-elcapitan/fast/text/emoji-expected.txt: Copied from LayoutTests/platform/mac/fast/text/emoji-expected.txt.
2652         * platform/mac/fast/text/emoji-expected.txt:
2653
2654 2016-12-19  Wenson Hsieh  <wenson_hsieh@apple.com>
2655
2656         Unreviewed, mark fixed-element-on-bottom-with-keyboard.html as skip for OpenSource iOS WK2
2657         https://bugs.webkit.org/show_bug.cgi?id=166027
2658
2659         This test should have been disabled on OpenSource bots due to the lack of touch handling.
2660
2661         * platform/ios-simulator-wk2/TestExpectations:
2662
2663 2016-12-19  Joseph Pecoraro  <pecoraro@apple.com>
2664
2665         Add a few Worker loading tests that don't seem to be explicitly handled
2666         https://bugs.webkit.org/show_bug.cgi?id=165870
2667
2668         Reviewed by Daniel Bates.
2669
2670         The tests already pass as expected, but adding specific tests
2671         for specific expected behavior with Worker script loads.
2672
2673         * http/tests/security/contentSecurityPolicy/worker-redirect-allowed-expected.txt: Added.
2674         * http/tests/security/contentSecurityPolicy/worker-redirect-allowed.html: Added.
2675         * http/tests/security/resources/worker-message-pass.js: Added.
2676         * http/tests/security/worker-cross-origin-expected.txt: Added.
2677         * http/tests/security/worker-cross-origin.html: Added.
2678         * http/tests/security/worker-same-origin-expected.txt: Added.
2679         * http/tests/security/worker-same-origin.html: Added.
2680
2681 2016-12-18  Brent Fulgham  <bfulgham@apple.com>
2682
2683         Side effects while restting form elements
2684         https://bugs.webkit.org/show_bug.cgi?id=165959
2685         <rdar://problem/29705967>
2686
2687         Reviewed by Anders Carlsson.
2688
2689         * fast/html/form-mutate-expected.txt: Added.
2690         * fast/html/form-mutate.html: Added.
2691
2692 2016-12-18  Wenson Hsieh  <wenson_hsieh@apple.com>
2693
2694         Changing text direction fires input events with null inputTypes and no data
2695         https://bugs.webkit.org/show_bug.cgi?id=166007
2696         <rdar://problem/29557205>
2697
2698         Reviewed by Sam Weinig.
2699
2700         Verifies that changing text direction causes beforeinput and input events with appropriate inputType and data to
2701         be dispatched, and that preventing this beforeinput event causes no change in text direction.
2702
2703         * fast/events/before-input-events-prevent-text-direction-expected.txt: Added.
2704         * fast/events/before-input-events-prevent-text-direction.html: Added.
2705
2706 2016-12-18  Simon Fraser  <simon.fraser@apple.com>
2707
2708         Rebaseline these tests after r209967, since they are now affected by status bar height.
2709
2710         * fast/viewport/ios/ipad/width-is-device-width-expected.txt:
2711         * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt:
2712         * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt:
2713         * fast/viewport/ios/width-is-device-width-overflowing-expected.txt:
2714         * fast/viewport/ios/width-is-device-width-overflowing-no-shrink-to-fit-expected.txt:
2715
2716 2016-12-17  Philippe Normand  <pnormand@igalia.com>
2717
2718         Unreviewed, rollout r209860 OWR player shouldn't be selected for normal video playback
2719
2720         * platform/gtk/TestExpectations:
2721
2722 2016-12-17  Wenson Hsieh  <wenson_hsieh@apple.com>
2723
2724         Visual viewports: bottom fixed elements disappear behind the keyboard
2725         https://bugs.webkit.org/show_bug.cgi?id=165983
2726         <rdar://problem/29409852>
2727
2728         Reviewed by Simon Fraser.
2729
2730         Tweaked fixed-caret-position-after-scroll.html to account for the keyboard height, and also added a new layout
2731         test, fixed-element-on-bottom-with-keyboard.html, which checks that the layout viewport does not change before
2732         and after showing the keyboard, and that scrolling past the end of the document does not bump the layout
2733         viewport past document bounds.
2734
2735         The rest of the changes here involve rebaselining existing tests to account for the height of the web view no
2736         longer being equal to the height of the window.
2737
2738         * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt:
2739         * editing/caret/ios/absolute-caret-position-after-scroll.html:
2740         * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt:
2741         * editing/caret/ios/fixed-caret-position-after-scroll.html:
2742         * editing/selection/ios/absolute-selection-after-scroll.html:
2743         * editing/selection/ios/fixed-selection-after-scroll.html:
2744         * fast/events/ios/keyboard-scrolling-distance-expected.txt:
2745         * fast/events/ios/keyboard-should-not-trigger-resize-expected.txt:
2746         * fast/events/ios/viewport-zooms-from-element-to-initial-scale-expected.txt:
2747         * fast/forms/ios/accessory-bar-navigation-expected.txt:
2748         * fast/forms/ios/focus-input-in-fixed-expected.txt:
2749         * fast/forms/ios/focus-input-in-iframe-expected.txt:
2750         * fast/forms/ios/focus-input-via-button-expected.txt:
2751         * fast/forms/ios/focus-input-via-button-no-scaling-expected.txt:
2752         * fast/forms/ios/focus-long-textarea-expected.txt:
2753         * fast/forms/ios/zoom-after-input-tap-expected.txt:
2754         * fast/forms/ios/zoom-after-input-tap-wide-input-expected.txt:
2755         * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt:
2756         * fast/viewport/ios/width-is-device-width-expected.txt:
2757         * fast/visual-viewport/ios/fixed-element-on-bottom-with-keyboard-expected.txt: Added.
2758         * fast/visual-viewport/ios/fixed-element-on-bottom-with-keyboard.html: Added.
2759         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt:
2760         * platform/ios-simulator/fast/scrolling/ios/clipping-ancestor-with-accelerated-scrolling-ancestor-expected.txt:
2761         * platform/ios-simulator/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt:
2762         * platform/ios-simulator/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt:
2763         * platform/ios-simulator/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt:
2764         * platform/ios-simulator/fast/scrolling/ios/touch-stacking-expected.txt:
2765         * scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt:
2766         * scrollingcoordinator/ios/ui-scrolling-tree-expected.txt:
2767
2768 2016-12-17  Jer Noble  <jer.noble@apple.com>
2769
2770         Add implementation for navigator.requestMediaKeySystemAccess()
2771         https://bugs.webkit.org/show_bug.cgi?id=165850
2772
2773         Reviewed by Eric Carlson.
2774
2775         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-expected.txt: Added.
2776         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html: Added.
2777         * platform/ios-simulator/TestExpectations:
2778         * platform/mac/TestExpectations:
2779
2780 2016-12-17  Youenn Fablet  <youenn@apple.com>
2781
2782         Cloned CachedResource should not have an empty response
2783         https://bugs.webkit.org/show_bug.cgi?id=165947
2784
2785         Reviewed by Sam Weinig.
2786
2787         This new test is working as follow:
2788         - A first frame is loaded. As part of it, it will load an absolute URL CSS stylesheet that contains a relative URL to import a CSS stylesheet.
2789         This second stylesheet will make the background as green.
2790         - Once done, a second frame is loaded (same HTML but from a different domain) with the same absolute URL CSS stylesheet.
2791         The relative URL stylesheet should use the absolute URL of the CSS stylesheet as base.
2792         If it is using the frame as base, the loaded CSS will change background to red.
2793
2794         * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.css.php: Added.
2795         * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.html: Added.
2796         * http/tests/loading/resources/imported-stylesheet-varying-according-domain.css.php: Added.
2797         * http/tests/loading/reusing-cached-stylesheet-from-different-domain-expected.html: Added.
2798         * http/tests/loading/reusing-cached-stylesheet-from-different-domain.html: Added.
2799
2800 2016-12-16  Darin Adler  <darin@apple.com>
2801
2802         Remove all custom bindings from media streams, using dictionaries instead
2803         https://bugs.webkit.org/show_bug.cgi?id=165943
2804
2805         Reviewed by Sam Weinig.
2806
2807         * fast/mediastream/MediaDevices-getSupportedConstraints-expected.txt: Updated since the
2808         properties in the dictionaries are now in alphabetical order and because of the test change.
2809         * fast/mediastream/MediaDevices-getSupportedConstraints.html: Updated to expect some true
2810         and some false rather than some true and some missing.
2811
2812         * fast/mediastream/MediaStreamTrack-getCapabilities-expected.txt: Updated since the
2813         properties in the dictionaries are now in alphabetical order.
2814         * fast/mediastream/MediaStreamTrack-getSettings-expected.txt: Ditto.
2815
2816 2016-12-16  Sam Weinig  <sam@webkit.org>
2817
2818         Fix failing test.
2819
2820         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
2821         * http/tests/ssl/applepay/ApplePaySession.html:
2822         Update results to match latest IDL.
2823
2824 2016-12-16  Andy Estes  <aestes@apple.com>
2825
2826         Add a setting to suppress keyboard input during provisional navigation
2827         https://bugs.webkit.org/show_bug.cgi?id=165830
2828
2829         Reviewed by Brent Fulgham.
2830
2831         * http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Added.
2832         * http/tests/navigation/keyboard-events-during-provisional-navigation.html: Added.
2833         * http/tests/navigation/resources/keyboard-events-after-navigation.html: Added.
2834         * http/tests/navigation/resources/keyboard-events-test.js: Added.
2835         (runTest.eventHandler):
2836         (runTest):
2837         * http/tests/navigation/resources/never-respond.php: Added.
2838         * platform/ios-simulator/TestExpectations:
2839
2840 2016-12-16  Chris Dumez  <cdumez@apple.com>
2841
2842         HTML form validation bubble should be dismissed on navigation
2843         https://bugs.webkit.org/show_bug.cgi?id=165960
2844         <rdar://problem/29668086>
2845
2846         Reviewed by Simon Fraser.
2847
2848         Add layout test coverage.
2849
2850         * http/tests/navigation/navigation-dismisses-validation-bubbles-expected.txt: Added.
2851         * http/tests/navigation/navigation-dismisses-validation-bubbles.html: Added.
2852         * http/tests/navigation/resources/check-validation-bubble-not-visible.html: Added.
2853
2854 2016-12-16  Ryan Haddad  <ryanhaddad@apple.com>
2855
2856         Move the skip expectation for fast/visual-viewport/ios/zoomed-focus-in-fixed.html to ios-simulator-wk2.
2857
2858         Unreviewed test gardening.
2859
2860         * platform/ios-simulator-wk2/TestExpectations:
2861         * platform/ios-simulator/TestExpectations:
2862
2863 2016-12-16  Andreas Kling  <akling@apple.com>
2864
2865         Subframes going into page cache don't need to resetScrollbars().
2866         <https://webkit.org/b/163750>
2867         <rdar://problem/29273020>
2868
2869         Reviewed by Antti Koivisto.
2870
2871         Unskip compositing/iframes/page-cache-layer-tree.html on mac-wk1 and fix up the
2872         result now that WK2 behaves correctly as well.
2873
2874         Both DRT and WTR run with scrollbars in "always on" mode, so the correct dimensions
2875         for the 300x150 iframe layers here are 285x135.
2876
2877         * compositing/iframes/page-cache-layer-tree-expected.txt:
2878         * platform/mac-wk1/TestExpectations:
2879
2880 2016-12-16  Wenson Hsieh  <wenson_hsieh@apple.com>
2881
2882         Visual viewports: carets and selection UI are incorrectly positioned when editing fixed elements
2883         https://bugs.webkit.org/show_bug.cgi?id=165767
2884         <rdar://problem/29602382>
2885
2886         Reviewed by Simon Fraser.
2887
2888         Adds new layout tests verifying that scrolling selected text (non-editable) and a text caret (in editable
2889         content) results in the selection/caret rects having the correct location relative to the document, in both
2890         cases where the selected/focused element has fixed position or absolute position. For fixed position elements,
2891         this means that the rects must "move" down in the document as the document is scrolled, but for absolute
2892         elements, these rects must remain in place.
2893
2894         * TestExpectations:
2895         * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt: Added.
2896         * editing/caret/ios/absolute-caret-position-after-scroll.html: Added.
2897         * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt: Added.
2898         * editing/caret/ios/fixed-caret-position-after-scroll.html: Added.
2899         * editing/selection/ios/absolute-selection-after-scroll-expected.txt: Added.
2900         * editing/selection/ios/absolute-selection-after-scroll.html: Added.
2901         * editing/selection/ios/fixed-selection-after-scroll-expected.txt: Added.
2902         * editing/selection/ios/fixed-selection-after-scroll.html: Added.
2903
2904 2016-12-16  Zalan Bujtas  <zalan@apple.com>
2905
2906         Defer certain accessibility callbacks until after layout is finished.
2907         https://bugs.webkit.org/show_bug.cgi?id=165861
2908         rdar://problem/29646301
2909
2910         Reviewed by Chris Fleizach.
2911
2912         * accessibility/accessibility-crash-with-dynamic-inline-content-expected.txt: Added.
2913         * accessibility/accessibility-crash-with-dynamic-inline-content.html: Added.
2914
2915 2016-12-16  Youenn Fablet  <youenn@apple.com>
2916
2917         [Fetch API] Improve resource loading console logging
2918         https://bugs.webkit.org/show_bug.cgi?id=160546
2919
2920         Reviewed by Alex Christensen.
2921
2922         Rebasing since error logging is happening for fetch API.
2923         Some tests are flaky due to always changing console logs, in which case DumpJSConsoleLogInStdErr is used.
2924
2925         * TestExpectations:
2926         * http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt:
2927         * http/tests/inspector/network/fetch-network-data-expected.txt:
2928         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
2929         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin-expected.txt:
2930         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
2931         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin-expected.txt:
2932
2933 2016-12-16  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2934
2935         [Readable Streams API] Implement ReadableByteStreamController cancel internal method
2936         https://bugs.webkit.org/show_bug.cgi?id=165798
2937
2938         Reviewed by Youenn Fablet.
2939
2940         Added one test to check cancel behaviour. More tests may be added as the API is implemented.
2941         Also replaced async_test by promise_test where applicable.
2942
2943         * streams/readable-byte-stream-controller-expected.txt: Updated expectations.
2944         * streams/readable-byte-stream-controller.js: Added one test.
2945
2946 2016-12-16  Youenn Fablet  <youennf@gmail.com>
2947
2948         svg/as-image/svg-image-with-data-uri-use-data-uri.svg is flaky after r207754
2949         https://bugs.webkit.org/show_bug.cgi?id=163887
2950         <rdar://problem/29266436>
2951
2952         Reviewed by Alex Christensen.
2953
2954         * http/tests/security/cross-origin-cached-images-with-memory-pressure-expected.txt: Added.
2955         * http/tests/security/cross-origin-cached-images-with-memory-pressure.html: Added.
2956
2957 2016-12-15  Zalan Bujtas  <zalan@apple.com>
2958
2959         text-align: justify and word-spacing combine to overflow column
2960         https://bugs.webkit.org/show_bug.cgi?id=165796
2961         rdar://problem/29672168
2962
2963         Reviewed by Myles C. Maxfield.
2964
2965         These are progressions.
2966
2967         * fast/css/word-spacing-with-normal-layout-expected.html: Added.
2968         * fast/css/word-spacing-with-normal-layout.html: Added.
2969         * platform/mac/css1/text_properties/word_spacing-expected.txt:
2970         * platform/mac/fast/css/word-space-extra-expected.txt:
2971         * platform/mac/fast/text/whitespace/span-in-word-space-causes-overflow-expected.txt:
2972         * platform/mac/fast/text/word-space-expected.txt:
2973         * platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
2974         * platform/mac/svg/custom/svg-fonts-word-spacing-expected.txt:
2975
2976 2016-12-15  Chris Dumez  <cdumez@apple.com>
2977
2978         Make sure HTML validation bubble's state is updated after layout
2979         https://bugs.webkit.org/show_bug.cgi?id=165922
2980         <rdar://problem/29694730>
2981
2982         Reviewed by Simon Fraser.
2983
2984         Add several layout tests to cover this.
2985
2986         * fast/forms/validation-bubble-disappears-when-input-detached-expected.txt: Added.
2987         * fast/forms/validation-bubble-disappears-when-input-detached.html: Added.
2988         * fast/forms/validation-bubble-disappears-when-input-moved-expected.txt: Added.
2989         * fast/forms/validation-bubble-disappears-when-input-moved.html: Added.
2990         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible-expected.txt: Added.
2991         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible.html: Added.
2992
2993 2016-12-15  Chris Dumez  <cdumez@apple.com>
2994
2995         Move charCode / keyCode / which attributes from UIEvent to KeyboardEvent
2996         https://bugs.webkit.org/show_bug.cgi?id=165904
2997
2998         Reviewed by Sam Weinig.
2999
3000         Extend existing testing.
3001
3002         * fast/events/arrow-keys-on-body-expected.txt:
3003         * fast/events/arrow-keys-on-body.html:
3004         * fast/events/key-events-in-input-button-expected.txt:
3005         * fast/events/key-events-in-input-button.html:
3006         * fast/events/key-events-in-input-text-expected.txt:
3007         * fast/events/key-events-in-input-text.html:
3008
3009 2016-12-15  Megan Gardner  <megan_gardner@apple.com>
3010
3011         Add coordinate space to event streams and streamline tests
3012         https://bugs.webkit.org/show_bug.cgi?id=165119
3013
3014         Reviewed by Simon Fraser.
3015
3016         Streamline tests. Make them more readable and only use one function for drags.
3017         Update for new content coordinate space.
3018
3019         * fast/events/touch/ios/long-press-then-drag-down-to-change-selected-text.html:
3020         * fast/events/touch/ios/long-press-then-drag-up-to-change-selected-text.html:
3021
3022 2016-12-15  Ryan Haddad  <ryanhaddad@apple.com>
3023
3024         Marking js/dom/global-constructors-attributes.html as failing on ElCapitan WK1.
3025         https://bugs.webkit.org/show_bug.cgi?id=165934
3026
3027         Unreviewed test gardening.
3028
3029         * platform/mac-wk1/TestExpectations:
3030
3031 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
3032
3033         fast/visual-viewport/ios/zoomed-focus-in-fixed.html always times out
3034
3035         Skip this test, which relies on touch events.
3036
3037         * platform/ios-simulator/TestExpectations:
3038
3039 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
3040
3041         Fix flakiness of fast/visual-viewport/ios/zoomed-focus-in-fixed.html
3042         https://bugs.webkit.org/show_bug.cgi?id=165930
3043
3044         Reviewed by Tim Horton.
3045
3046         The test zooms when focussing the input, which completes after the keyboard shows,
3047         so we need to wait for zooming to finish using the uiController.didEndZoomingCallback.
3048
3049         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt:
3050         * fast/visual-viewport/ios/zoomed-focus-in-fixed.html:
3051
3052 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
3053
3054         [Cocoa] Implement font-synthesis: small-caps
3055         https://bugs.webkit.org/show_bug.cgi?id=165892
3056
3057         Reviewed by David Hyatt.
3058
3059         * fast/text/font-synthesis-parsing-expected.txt: Added.
3060         * fast/text/font-synthesis-parsing.html: Added.
3061         * css3/font-synthesis-small-caps-expected.html: Added.
3062         * css3/font-synthesis-small-caps.html: Added.
3063         * fast/css/getComputedStyle/computed-style-expected.txt:
3064         * fast/css/getComputedStyle/computed-style-font-family-expected.txt:
3065         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
3066         * fast/css3-text/font-synthesis-parse-expected.txt:
3067         * fast/css3-text/font-synthesis-parse.html:
3068         * svg/css/getComputedStyle-basic-expected.txt:
3069
3070 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
3071
3072         [iOS WK2] Don't disable position:fixed when a form element has focus
3073         https://bugs.webkit.org/show_bug.cgi?id=165891
3074         rdar://problem/29271694
3075
3076         Reviewed by Wenson Hsieh.
3077
3078         * TestExpectations:
3079         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt: Added.
3080         * fast/visual-viewport/ios/zoomed-focus-in-fixed.html: Added.
3081         * platform/ios-simulator-wk2/TestExpectations:
3082
3083 2016-12-15  Darin Adler  <darin@apple.com>
3084
3085         Remove custom binding for MediaDevices
3086         https://bugs.webkit.org/show_bug.cgi?id=165894
3087
3088         Reviewed by Eric Carlson.
3089
3090         * fast/mediastream/MediaDevices-getUserMedia-expected.txt: Expect the exception the
3091         generated bindings code throws, rather than the different one the hand-written binding
3092         was throwing before.
3093
3094 2016-12-15  Youenn Fablet  <youennf@gmail.com>
3095
3096         Sync web-platform-tests up to revision a4c2b37
3097         https://bugs.webkit.org/show_bug.cgi?id=165041
3098
3099         Reviewed by Alex Christensen.
3100
3101         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt: Added.
3102         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
3103         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt: Added.
3104         * tests-options.json:
3105
3106 2016-12-15  Alejandro G. Castro  <alex@igalia.com>
3107
3108         [OWR] Unskip fast/mediastream/MediaStream-video-element-track-stop.html
3109         https://bugs.webkit.org/show_bug.cgi?id=165316
3110
3111         Reviewed by Philippe Normand.
3112
3113         * platform/gtk/TestExpectations: Unskipped the test and moved the
3114         stop one, now it does not timeout because we correctly handle the
3115         ended value but still fails, we need more features in the mock
3116         classes for owr.
3117
3118 2016-12-14  Yusuke Suzuki  <utatane.tea@gmail.com>
3119
3120         [GTK] Support latest SubtleCrypto HMAC APIs
3121         https://bugs.webkit.org/show_bug.cgi?id=165863
3122
3123         Reviewed by Sam Weinig.
3124
3125         Enable HMAC tests.
3126
3127         * platform/gtk/TestExpectations:
3128
3129 2016-12-14  Simon Fraser  <simon.fraser@apple.com>
3130
3131         Fix cause of viewport-related flakiness in iOS tests
3132         https://bugs.webkit.org/show_bug.cgi?id=165878
3133
3134         Reviewed by Tim Horton.
3135
3136         Try un-flaking some viewport tests.
3137
3138         * platform/ios-simulator-wk2/TestExpectations:
3139
3140 2016-12-12  Jon Lee  <jonlee@apple.com>
3141
3142         Full Pass CSS Variables Test Suite
3143         https://bugs.webkit.org/show_bug.cgi?id=150183
3144
3145         Reviewed by Simon Fraser.
3146
3147         The new CSS parser progresses these tests. Move them out of the failures/ sub-directory.
3148         One of the tests needs the Ahem font, which was not available when put in the sub-directory.
3149
3150         * fast/css/variables/test-suite/024-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/024-expected.html.
3151         * fast/css/variables/test-suite/024.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/024.html.
3152         * fast/css/variables/test-suite/025-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/025-expected.html.
3153         * fast/css/variables/test-suite/025.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/025.html.
3154         * fast/css/variables/test-suite/026-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/026-expected.html.
3155         * fast/css/variables/test-suite/026.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/026.html.
3156         * fast/css/variables/test-suite/028-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/028-expected.html.
3157         * fast/css/variables/test-suite/028.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/028.html.
3158         * fast/css/variables/test-suite/030-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/030-expected.html.
3159         * fast/css/variables/test-suite/030.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/030.html.
3160         * fast/css/variables/test-suite/054-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/054-expected.html.
3161         * fast/css/variables/test-suite/054.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/054.html.
3162         * fast/css/variables/test-suite/055-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/055-expected.html.
3163         * fast/css/variables/test-suite/055.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/055.html.
3164         * fast/css/variables/test-suite/056-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/056-expected.html.
3165         * fast/css/variables/test-suite/056.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/056.html.
3166         * fast/css/variables/test-suite/058-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/058-expected.html.
3167         * fast/css/variables/test-suite/058.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/058.html.
3168         * fast/css/variables/test-suite/071-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/071-expected.html.
3169         * fast/css/variables/test-suite/071.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/071.html.
3170         * fast/css/variables/test-suite/081-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/081-expected.html.
3171         * fast/css/variables/test-suite/081.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/081.html.
3172         * fast/css/variables/test-suite/082-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/082-expected.html.
3173         * fast/css/variables/test-suite/082.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/082.html.
3174         * fast/css/variables/test-suite/085-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/085-expected.html.
3175         * fast/css/variables/test-suite/085.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/085.html.
3176         * fast/css/variables/test-suite/086-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/086-expected.html.
3177         * fast/css/variables/test-suite/086.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/086.html.
3178         * fast/css/variables/test-suite/087-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/087-expected.html.
3179         * fast/css/variables/test-suite/087.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/087.html.
3180         * fast/css/variables/test-suite/091-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/091-expected.html.
3181         * fast/css/variables/test-suite/091.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/091.html.
3182         * fast/css/variables/test-suite/103-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/103-expected.html.
3183         * fast/css/variables/test-suite/103.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/103.html.
3184         * fast/css/variables/test-suite/111-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/111-expected.html.
3185         * fast/css/variables/test-suite/111.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/111.html.
3186         * fast/css/variables/test-suite/115-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/115-expected.html.
3187         * fast/css/variables/test-suite/115.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/115.html.
3188         * fast/css/variables/test-suite/126-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/126-expected.html.
3189         * fast/css/variables/test-suite/126.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/126.html.
3190         * fast/css/variables/test-suite/152-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/152-expected.html.
3191         * fast/css/variables/test-suite/152.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/152.html.
3192         * fast/css/variables/test-suite/159-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/159-expected.html.
3193         * fast/css/variables/test-suite/159.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/159.html.
3194         * fast/css/variables/test-suite/161-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/161-expected.html.
3195         * fast/css/variables/test-suite/161.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/161.html.
3196         * fast/css/variables/test-suite/163-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/163-expected.html.
3197         * fast/css/variables/test-suite/163.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/163.html.
3198         * fast/css/variables/test-suite/169-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/169-expected.html.
3199         * fast/css/variables/test-suite/169.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/169.html.
3200
3201 2016-12-14  Dean Jackson  <dino@apple.com>
3202
3203         Update prefers-reduced-motion syntax
3204         https://bugs.webkit.org/show_bug.cgi?id=165880
3205         <rdar://problems/29671807>
3206
3207         Reviewed by Sam Weinig.
3208
3209         * fast/media/mq-prefers-reduced-motion-forced-value.html:
3210         * fast/media/mq-prefers-reduced-motion.html:
3211
3212 2016-12-14  Sam Weinig  <sam@webkit.org>
3213
3214         REGRESSION (204679): Google notifications never load (expecting DOMStringList rather than JS array for Location.ancestorOrigins)
3215         <rdar://problem/29573563>
3216         https://bugs.webkit.org/show_bug.cgi?id=165872
3217
3218         Reviewed by Chris Dumez.
3219
3220         * fast/dom/Window/Location/ancestor-origins-expected.txt:
3221         * fast/dom/Window/Location/ancestor-origins.html:
3222         Change back to test that Location.ancestorOrigins returns a DOMStringList.
3223
3224 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
3225
3226         Marking streams/pipe-to.html as flaky on macOS debug.
3227         https://bugs.webkit.org/show_bug.cgi?id=165874
3228
3229         Unreviewed test gardening.
3230
3231         * platform/mac/TestExpectations:
3232
3233 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
3234
3235         Removing Release annotation from three tests that are also flaky on Debug.
3236         https://bugs.webkit.org/show_bug.cgi?id=163361
3237
3238         Unreviewed test gardening.
3239
3240         * platform/mac-wk1/TestExpectations:
3241
3242 2016-12-14  Ryosuke Niwa  <rniwa@webkit.org>
3243
3244         iOS: An element with tabindex is not focusable unless there is no mouse event handler
3245         https://bugs.webkit.org/show_bug.cgi?id=165843
3246
3247         Reviewed by Antti Koivisto.
3248
3249         Added a regression test for focusing an element with just tabindex using UIHelper.
3250
3251         Also fixed UIHelper to work in iOS DumpRenderTree which was hitting an assertion
3252         by explicitly checking testRunner.isWebKit2. Prior to fixing this, it was hitting
3253         an assertion in RunLoop::main() which was asserting that there is a runloop,
3254         which doesn't exist in DumpRenderTree.
3255
3256         * fast/events/focusing-element-with-tabindex-by-tap-or-click-expected.txt: Added.
3257         * fast/events/focusing-element-with-tabindex-by-tap-or-click.html: Added.
3258         * platform/ios-simulator-wk2/TestExpectations:
3259         * resources/ui-helper.js:
3260         (window.UIHelper.isWebKit2):
3261         (window.UIHelper.wait): Added the support for js-test.js / js-test-pre.js style tests.
3262
3263 2016-12-14  Dave Hyatt  <hyatt@apple.com>
3264
3265         [CSS Parser] Implement deferred parsing of properties, @media, @supports and @keyframes
3266         https://bugs.webkit.org/show_bug.cgi?id=165743
3267
3268         Reviewed by Dean Jackson.
3269
3270         * fast/css/deferred-parsing: Added.
3271         * fast/css/deferred-parsing/dynamic-external-style-expected.txt: Added.
3272         * fast/css/deferred-parsing/dynamic-external-style.html: Added.
3273         * fast/css/deferred-parsing/dynamic-style-in-document-expected.txt: Added.
3274         * fast/css/deferred-parsing/dynamic-style-in-document.html: Added.
3275         * fast/css/deferred-parsing/hover-test-expected.txt: Added.
3276         * fast/css/deferred-parsing/hover-test.html: Added.
3277         * fast/css/deferred-parsing/keyframes-rule-expected.txt: Added.
3278         * fast/css/deferred-parsing/keyframes-rule.html: Added.
3279         * fast/css/deferred-parsing/media-print-expected.txt: Added.
3280         * fast/css/deferred-parsing/media-print.html: Added.
3281         * fast/css/deferred-parsing/nth-of-type-expected.txt: Added.
3282         * fast/css/deferred-parsing/nth-of-type.html: Added.
3283         * fast/css/deferred-parsing/resources: Added.
3284         * fast/css/deferred-parsing/resources/basic-sheet.css: Added.
3285         * fast/css/deferred-parsing/simple-external-style-expected.txt: Added.
3286         * fast/css/deferred-parsing/simple-external-style.html: Added.
3287         * fast/css/deferred-parsing/simple-style-in-document-expected.txt: Added.
3288         * fast/css/deferred-parsing/simple-style-in-document.html: Added.
3289         * fast/css/deferred-parsing/supports-rule-expected.txt: Added.
3290         * fast/css/deferred-parsing/supports-rule.html: Added.
3291
3292 2016-12-14  Daniel Bates  <dabates@apple.com>
3293
3294         CSP: Allow HTTPS URL to match HTTP source expression
3295         https://bugs.webkit.org/show_bug.cgi?id=159520
3296         <rdar://problem/27287177>
3297
3298         Reviewed by Brent Fulgham.
3299
3300         * http/tests/security/contentSecurityPolicy/script-src-parsing-implicit-and-explicit-port-number-expected.txt: Added.
3301         * http/tests/security/contentSecurityPolicy/script-src-parsing-implicit-and-explicit-port-number.html: Added.
3302         * platform/wk2/TestExpectations: Skip the test on WebKit2 because it makes use of Internals.registerDefaultPortForProtocol(),
3303         which does not work with NetworkProcess.
3304
3305 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
3306
3307         Add mac-elcapitan baseline for js/dom/global-constructors-attributes.html.
3308
3309         Unreviewed test gardening.
3310
3311         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt: Added.
3312
3313 2016-12-14  Chris Dumez  <cdumez@apple.com>
3314
3315         Remove Unicode case-insensitive matching for usemap=""
3316         https://bugs.webkit.org/show_bug.cgi?id=163894
3317
3318         Reviewed by Antti Koivisto.
3319
3320         * fast/images/image-map-multiple.html:
3321         Fix case of the usemap.
3322
3323         * fast/images/image-usemap-parsing-expected.txt: Added.
3324         * fast/images/image-usemap-parsing.html: Added.
3325         Add layout test coverage.
3326
3327         * fast/images/imagemap-case.html: Removed.
3328         * platform/efl/fast/images/imagemap-case-expected.png: Removed.
3329         * platform/efl/fast/images/imagemap-case-expected.txt: Removed.
3330         * platform/gtk/fast/images/imagemap-case-expected.png: Removed.
3331         * platform/gtk/fast/images/imagemap-case-expected.txt: Removed.
3332         * platform/ios-simulator-wk2/fast/images/imagemap-case-expected.txt: Removed.
3333         * platform/ios-simulator/fast/images/imagemap-case-expected.txt: Removed.
3334         * platform/mac/fast/images/imagemap-case-expected.png: Removed.
3335         * platform/mac/fast/images/imagemap-case-expected.txt: Removed.
3336         * platform/win/fast/images/imagemap-case-expected.txt: Removed.
3337         Drop outdated pixel test case. Case sensitivity is now covered by
3338         the new fast/images/image-usemap-parsing.html test.
3339
3340 2016-12-14  Dave Hyatt  <hyatt@apple.com>
3341
3342         [CSS Parser] Remove WebkitCSSTransformValue
3343         https://bugs.webkit.org/show_bug.cgi?id=165844
3344
3345         Reviewed by Zalan Bujtas.
3346
3347         * fast/css/getFloatValueForUnit-expected.txt:
3348         * fast/css/getFloatValueForUnit.html:
3349         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
3350         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
3351         * platform/mac/fast/dom/wrapper-classes-objc-expected.txt:
3352         * platform/mac/fast/dom/wrapper-classes-objc.html:
3353         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
3354         * transforms/2d/transform-value-types-expected.txt:
3355         * transforms/2d/transform-value-types.html:
3356
3357 2016-12-14  Yusuke Suzuki  <utatane.tea@gmail.com>
3358
3359         Unreviewed, LayoutTest http/tests/misc/module-script-async.html is a flaky timeout
3360         https://bugs.webkit.org/show_bug.cgi?id=165764
3361
3362         Annotate it as Slow.
3363
3364         * TestExpectations:
3365
3366 2016-12-14  Youenn Fablet  <youenn@apple.com>
3367
3368         Test infrastructure should allow to filter out text output before doing a comparison with the baseline
3369         https://bugs.webkit.org/show_bug.cgi?id=161310
3370
3371         Reviewed by Ryosuke Niwa.
3372
3373         * TestExpectations: Adding DumpJSConsoleLogInStdErr to the fetch modified test to ensure this modifier works as expected.
3374
3375 2016-12-14  Enrique Ocaña González  <eocanha@igalia.com>
3376
3377         REGRESSION(r207879-207891): [GStreamer] Introduced many layout test failures and crashes, bots exiting early
3378         https://bugs.webkit.org/show_bug.cgi?id=164022
3379
3380         Reviewed by Xabier Rodriguez-Calvar.
3381
3382         * media/media-source/media-source-resize-expected.txt:
3383         Expect the resize event.
3384         * media/media-source/media-source-resize.html:
3385         The test now succeeds no matter if the dimension is reported after
3386         processing the init-segment (GTK+ case) or after the media segment
3387         is processed (Mac case).
3388         * platform/gtk/TestExpectations:
3389         Reenabled all the media/media-source tests except one.
3390         * platform/gtk/media/media-source/media-source-resize-expected.txt:
3391         Copied from LayoutTests/media/media-source/media-source-resize-expected.txt.
3392         The right dimensions are received earlier than in Mac.
3393
3394 2016-12-13  Yusuke Suzuki  <utatane.tea@gmail.com>
3395
3396         ASSERTION FAILED: hasParserBlockingScript() seen with js/dom/modules/module-will-fire-beforeload.html
3397         https://bugs.webkit.org/show_bug.cgi?id=164883
3398
3399         Reviewed by Ryosuke Niwa.
3400
3401         * platform/mac-wk2/TestExpectations:
3402
3403 2016-12-13  Daniel Bates  <dabates@apple.com>
3404
3405         CSP: ws: and wss: blocked with connect-src *
3406         https://bugs.webkit.org/show_bug.cgi?id=165804
3407         <rdar://problem/28563643>
3408
3409         Reviewed by David Kilzer.
3410
3411         Add tests to ensure that * matches ws: and wss:.
3412
3413         * http/tests/security/contentSecurityPolicy/connect-src-star-secure-websocket-allowed-expected.txt: Added.
3414         * http/tests/security/contentSecurityPolicy/connect-src-star-secure-websocket-allowed.html: Added.
3415         * http/tests/security/contentSecurityPolicy/connect-src-star-websocket-allowed-expected.txt: Added.
3416         * http/tests/security/contentSecurityPolicy/connect-src-star-websocket-allowed.html: Added.
3417         * http/tests/security/contentSecurityPolicy/default-src-star-secure-websocket-allowed-expected.txt: Added.
3418         * http/tests/security/contentSecurityPolicy/default-src-star-secure-websocket-allowed.html: Added.
3419         * http/tests/security/contentSecurityPolicy/default-src-star-websocket-allowed-expected.txt: Added.
3420         * http/tests/security/contentSecurityPolicy/default-src-star-websocket-allowed.html: Added.
3421
3422 2016-12-13  Joseph Pecoraro  <pecoraro@apple.com>
3423
3424         REGRESSION(r204163): Web Inspector: Page crashes when Inspector tries to load insecure SourceMap
3425         https://bugs.webkit.org/show_bug.cgi?id=165806
3426         <rdar://problem/28169025>
3427
3428         Reviewed by Alex Christensen.
3429
3430         * http/tests/inspector/network/loadResource-insecure-resource-expected.txt: Added.
3431         * http/tests/inspector/network/loadResource-insecure-resource.html: Added.
3432         * http/tests/inspector/network/resource-timing.html:
3433         * http/tests/inspector/resources/inspector-test.js:
3434         (runTestHTTPS):
3435
3436 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
3437
3438         Rebaseline js/dom/global-constructors-attributes.html after r209777.
3439
3440         Unreviewed test gardening.
3441
3442         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
3443
3444 2016-12-13  Ryosuke Niwa  <rniwa@webkit.org>
3445
3446         :hover rule causes a single tap to not activate a slotted anchor element
3447         https://bugs.webkit.org/show_bug.cgi?id=165551
3448
3449         Reviewed by Antti Koivisto.
3450
3451         Added a test for tapping on an anchor element assigned to a slot, which has been fixed in r209065.
3452
3453         Also added a new helper JS wrapepr, UIHelper, defined inside LayoutTests/resources/js-helper.js
3454         to provide an abstraction around EventSender and UIScriptController.
3455
3456         Fixed click-text-inside-linked-slot.html on iOS using UIHelper.
3457
3458         * fast/shadow-dom/click-on-slotted-anchor-with-hover-expected.txt: Added.
3459         * fast/shadow-dom/click-on-slotted-anchor-with-hover.html: Added.
3460         * fast/shadow-dom/click-text-inside-linked-slot.html:
3461         * platform/ios-simulator/fast/shadow-dom/click-text-inside-linked-slot-expected.txt: Added.
3462         * resources/ui-helper.js: Added.
3463         (window.UIHelper.isIOS):
3464         (window.UIHelper.activateAt.return.new.Promise):
3465         (window.UIHelper.activateAt):
3466         (window.UIHelper.wait):
3467         (window.UIHelper):
3468         * platform/ios-simulator-wk2/TestExpectations: Skip the test in the open source iOS's WebKit2.
3469
3470 2016-12-13  Dave Hyatt  <hyatt@apple.com>
3471
3472         [CSS Parser] Eliminate SVGPaint and SVGColor
3473         https://bugs.webkit.org/show_bug.cgi?id=165819
3474
3475         Reviewed by Dean Jackson.
3476
3477         * fast/dom/Window/resources/window-properties.js:
3478         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
3479         * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
3480         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
3481         * svg/animations/additive-type-by-animation-expected.txt:
3482         * svg/animations/animate-color-calcMode-discrete-expected.txt:
3483         * svg/animations/animate-color-fill-currentColor-expected.txt:
3484         * svg/animations/animate-color-fill-from-by-expected.txt:
3485         * svg/animations/animate-color-transparent-expected.txt:
3486         * svg/animations/animate-currentColor-expected.txt:
3487         * svg/animations/animate-dynamic-update-attributeName-expected.txt:
3488         * svg/animations/animate-elem-03-t-drt-expected.txt:
3489         * svg/animations/animate-inherit-css-property-expected.txt:
3490         * svg/animations/attributeTypes-expected.txt:
3491         * svg/animations/resources/SVGAnimationTestCase.js:
3492         (expectColor):
3493         * svg/animations/script-tests/animate-color-fill-currentColor.js:
3494         (sample1):
3495         (sample2):
3496         (sample3):
3497         * svg/animations/script-tests/animate-color-fill-from-by.js:
3498         (sample1):
3499         (sample2):
3500         (sample3):
3501         * svg/css/getComputedStyle-basic-expected.txt:
3502         * svg/css/rect-system-color-expected.txt:
3503         * svg/css/rect-system-color.xhtml:
3504         * svg/custom/global-constructors-expected.txt:
3505         * svg/custom/js-svg-constructors-expected.txt:
3506         * svg/custom/js-svg-constructors.svg:
3507         * svg/custom/script-tests/global-constructors.js:
3508
3509 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
3510
3511         Rebaseline js/dom/global-constructors-attributes.html after r209760.
3512
3513         Unreviewed test gardening.
3514
3515         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
3516
3517 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
3518
3519         Remove ios-simulator-wk2 pass expectation for a directory that requires touch events.
3520         https://bugs.webkit.org/show_bug.cgi?id=165787
3521
3522         Unreviewed test gardening.
3523
3524         * platform/ios-simulator-wk2/TestExpectations:
3525
3526 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
3527
3528         Marking two scroll-to-fragid tests as flaky on ios-simulator.
3529
3530         Unreviewed test gardening.
3531
3532         * platform/ios-simulator-wk2/TestExpectations:
3533
3534 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
3535
3536         Skip fast/events/page-visibility-onvisibilitychange.html on ios-simulator.
3537         https://bugs.webkit.org/show_bug.cgi?id=165799
3538
3539         Unreviewed test gardening.
3540
3541         * platform/ios-simulator/TestExpectations:
3542
3543 2016-12-13  Sam Weinig  <sam@webkit.org>
3544
3545         [WebIDL] Remove use of Dictionary in ApplePaySession
3546         https://bugs.webkit.org/show_bug.cgi?id=165787
3547
3548         Reviewed by Anders Carlsson.
3549
3550         * http/tests/ssl/applepay: Added.
3551         * http/tests/ssl/applepay/ApplePaySession-expected.txt: Added.
3552         * http/tests/ssl/applepay/ApplePaySession.html: Added.
3553         Add a compressive test of the handling of the payment request to the ApplePaySession
3554         constructor. For further testing, we will need to mock out bits of the underlying 
3555         coordinator, but this allows for testing the aspect I am changing. The applepay
3556         directory is in the ssl directory, as all use of ApplePay requires https.
3557
3558         * TestExpectations:
3559         * platform/ios-simulator-wk2/TestExpectations:
3560         * platform/mac-wk2/TestExpectations:
3561         Only enable the tests on iOS 10.10 and greater, and macOS 10.12 and greater, WebKit2.
3562
3563 2016-12-13  Daniel Bates  <dabates@apple.com>
3564
3565         CSP: Teach the preload scanner about the 'nonce' attribute
3566         https://bugs.webkit.org/show_bug.cgi?id=161192
3567         <rdar://problem/28010354>
3568
3569         Reviewed by Darin Adler.
3570
3571         Add tests to ensure that we preload <script>s and <link>s whose nonce is allowed by the
3572         Content Security Policy of the page.
3573
3574         * http/tests/loading/do-not-preload-css-blocked-by-csp-expected.txt: Added.
3575         * http/tests/loading/do-not-preload-css-blocked-by-csp.html: Added.
3576         * http/tests/loading/do-not-preload-script-src-blocked-by-csp-expected.txt: Added.
3577         * http/tests/loading/do-not-preload-script-src-blocked-by-csp.html: Added.
3578         * http/tests/loading/preload-css-with-csp-nonce-expected.txt: Added.
3579         * http/tests/loading/preload-css-with-csp-nonce.html: Added.
3580         * http/tests/loading/preload-script-src-with-csp-nonce-expected.txt: Added.
3581         * http/tests/loading/preload-script-src-with-csp-nonce.html: Added.
3582
3583 2016-12-13  Antti Koivisto  <antti@apple.com>
3584
3585         REGRESSION (r198990): Safari - Cannot edit content inside <details> in wysiwyg editor
3586         https://bugs.webkit.org/show_bug.cgi?id=165757
3587
3588         Reviewed by Andreas Kling.
3589
3590         * editing/execCommand/justify-right-then-indent-with-problematic-body-expected.txt:
3591         * fast/html/details-edit-expected.txt: Added.
3592         * fast/html/details-edit.html: Added.
3593
3594 2016-12-13  Per Arne Vollan  <pvollan@apple.com>
3595
3596         Unreviewed test gardening.
3597
3598         Update test expectations on Windows for failing tests. These failures are tracked in
3599         https://bugs.webkit.org/show_bug.cgi?id=160447.
3600
3601         * platform/win/TestExpectations:
3602
3603 2016-12-12  Darin Adler  <darin@apple.com>
3604
3605         Remove bindings generation support for legacy WebCore::Dictionary
3606         https://bugs.webkit.org/show_bug.cgi?id=165762
3607
3608         Reviewed by Sam Weinig.
3609
3610         * fast/mediastream/RTCPeerConnection-expected.txt:
3611         * fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt:
3612         * fast/mediastream/RTCPeerConnection-overloaded-operations-params.html:
3613         Updated to expect error messages with "dictionary" with a lowercase D.
3614
3615 2016-12-12  Chris Dumez  <cdumez@apple.com>
3616
3617         Add Document.onvisibilitychange event handler attribute
3618         https://bugs.webkit.org/show_bug.cgi?id=165784
3619
3620         Reviewed by Daniel Bates.
3621
3622         Add layout test coverage.
3623
3624         * fast/events/page-visibility-onvisibilitychange-expected.txt: Added.
3625         * fast/events/page-visibility-onvisibilitychange.html: Added.
3626
3627 2016-12-07  Jiewen Tan  <jiewen_tan@apple.com>
3628
3629         [WebCrypto] Migrate some tests from webkitSubtle to subtle
3630         https://bugs.webkit.org/show_bug.cgi?id=165554
3631
3632         Reviewed by Brent Fulgham.
3633
3634         To improve test coverage for subtle.
3635
3636         * crypto/crypto-key-algorithm-gc-expected.txt: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-algorithm-gc-expected.txt.
3637         * crypto/crypto-key-algorithm-gc.html: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-algorithm-gc.html.
3638         * crypto/crypto-key-usages-gc-expected.txt: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-usages-gc-expected.txt.
3639         * crypto/crypto-key-usages-gc.html: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-usages-gc.html.
3640         * crypto/subtle/resources/rsa-indexeddb-non-exportable.js: Added.
3641         * crypto/subtle/resources/rsa-indexeddb.js: Added.
3642         * crypto/subtle/rsa-indexeddb-expected.txt: Added.
3643         * crypto/subtle/rsa-indexeddb-non-exportable-expected.txt: Added.
3644         * crypto/subtle/rsa-indexeddb-non-exportable-private-expected.txt: Added.
3645         * crypto/subtle/rsa-indexeddb-non-exportable-private.html: Added.
3646         * crypto/subtle/rsa-indexeddb-non-exportable.html: Added.
3647         * crypto/subtle/rsa-indexeddb-private-expected.txt: Added.
3648         * crypto/subtle/rsa-indexeddb-private.html: Added.
3649         * crypto/subtle/rsa-indexeddb.html: Added.
3650         * crypto/subtle/rsa-oaep-plaintext-length-expected.txt: Added.
3651         * crypto/subtle/rsa-oaep-plaintext-length.html: Added.
3652         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt: Added.
3653         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html: Added.
3654         * platform/ios-simulator-wk1/TestExpectations:
3655
3656 2016-12-12  Matt Baker  <mattbaker@apple.com>
3657
3658         Unreviewed, follow-up after r209706.
3659
3660         * inspector/debugger/breakpoint-action-log.html:
3661         Add missing test case description.
3662
3663 2016-12-12  Joseph Pecoraro  <pecoraro@apple.com>
3664
3665         Web Inspector: Add tests for Fetch API Network Data (CORs, Opaque Responses, Filtered Headers)
3666         https://bugs.webkit.org/show_bug.cgi?id=165683
3667
3668         Reviewed by Brian Burg.
3669
3670         * http/tests/inspector/network/fetch-network-data-expected.txt: Added.
3671         * http/tests/inspector/network/fetch-network-data.html: Added.
3672         * http/tests/inspector/network/resources/cors-data.pl: Added.
3673         * http/tests/inspector/resources/inspector-test.js:
3674
3675 2016-12-12  Jer Noble  <jer.noble@apple.com>
3676
3677         Remove implementation of legacy Mozilla-based Fullscreen API.
3678         https://bugs.webkit.org/show_bug.cgi?id=165689
3679
3680         Reviewed by Eric Carlson.
3681
3682         * fullscreen/full-screen-css-expected.txt:
3683         * fullscreen/full-screen-css.html:
3684         * fullscreen/full-screen-keyboard-disabled-expected.txt: Removed.
3685         * fullscreen/full-screen-keyboard-disabled.html: Removed.
3686         * fullscreen/full-screen-twice-expected.txt:
3687         * fullscreen/full-screen-twice.html:
3688         * js/dom/dom-static-property-for-in-iteration-expected.txt:
3689
3690 2016-12-12  Manuel Rego Casasnovas  <rego@igalia.com>
3691
3692         [css-grid] Add some test cases that were removed in r209562
3693         https://bugs.webkit.org/show_bug.cgi?id=165750
3694
3695         Reviewed by Sergio Villar Senin.
3696
3697         Some valid test cases were removed in r209562, this patch adds them back.
3698
3699         * fast/css-grid-layout/grid-template-shorthand-get-set.html: The specified style is now preserved,
3700         so we've to use a different value for it (as it doesn't merge the line names).
3701         * fast/css-grid-layout/resources/grid-columns-rows-get-set.js: Flexible sizes must be non-negative,
3702         but 0fr should be accepted (this is new as it was not working like that with the old parser).
3703         A space between the dimension and the unit is wrong for flexible sizes.
3704         * fast/css-grid-layout/resources/non-grid-columns-rows-get-set.js: Ditto.
3705
3706 2016-12-12  Zalan Bujtas  <zalan@apple.com>
3707
3708         The CSS 'columns' property when set on the <body> element makes short columns
3709         https://bugs.webkit.org/show_bug.cgi?id=164891
3710
3711         Reviewed by Darin Adler and David Hyatt.
3712
3713         * fast/multicol/columns-on-body-expected.html: Added.
3714         * fast/multicol/columns-on-body.html: Added.
3715
3716 2016-12-09  Dean Jackson  <dino@apple.com>
3717
3718         Autoplay isn't working in iPhone MediaDocuments
3719         https://bugs.webkit.org/show_bug.cgi?id=165710
3720         <rdar://problems/29606761>
3721
3722         Reviewed by Darin Adler.
3723         
3724         * media/ios/autoplay-only-in-main-document.html: Make sure that
3725         an iframe pointing to media is not autoplayed.
3726         * TestExpectations:
3727         * platform/ios-simulator/TestExpectations:
3728
3729 2016-12-12  Ryan Haddad  <ryanhaddad@apple.com>
3730
3731         Marking http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame.html as flaky on ios-simulator.
3732         https://bugs.webkit.org/show_bug.cgi?id=165691
3733
3734         Unreviewed test gardening.
3735
3736         * platform/ios-simulator/TestExpectations:
3737
3738 2016-12-12  Ryan Haddad  <ryanhaddad@apple.com>
3739
3740         Rebaseline js/dom/global-constructors-attributes.html for mac-wk1 after r209666.
3741
3742         Unreviewed test gardening.
3743
3744         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
3745
3746 2016-12-12  Per Arne Vollan  <pvollan@apple.com>
3747
3748         Unreviewed test gardening.
3749
3750         Update test expectations on Windows for failing tests. These failures are tracked in
3751         https://bugs.webkit.org/show_bug.cgi?id=160447.
3752
3753         * platform/win/TestExpectations:
3754
3755 2016-12-12  Matt Baker  <mattbaker@apple.com>
3756
3757         Web Inspector: Breakpoint Log action should support template literals
3758         https://bugs.webkit.org/show_bug.cgi?id=165116
3759         <rdar://problem/29464765>
3760
3761         Reviewed by Joseph Pecoraro.
3762
3763         * inspector/debugger/breakpoint-action-log-expected.txt: Added.
3764         * inspector/debugger/breakpoint-action-log.html: Added.
3765         Check that breakpoint log actions support template literal placeholders.
3766
3767         * inspector/unit-tests/breakpoint-log-message-lexer-expected.txt: Added.
3768         * inspector/unit-tests/breakpoint-log-message-lexer.html: Added.
3769         Check that the lexer correctly scans breakpoint log action text.
3770
3771 2016-12-11  Simon Fraser  <simon.fraser@apple.com>
3772
3773         REGRESSION (r200283): Transform, overflow hidden and filter combination completely hides the element
3774         https://bugs.webkit.org/show_bug.cgi?id=161509
3775
3776         Reviewed by David Hyatt.
3777
3778         * css3/filters/filter-on-overflow-hidden-expected.html: Added.
3779         * css3/filters/filter-on-overflow-hidden.html: Added.
3780
3781 2016-12-11  Darin Adler  <darin@apple.com>
3782
3783         Remove uses of Dictionary in WebRTC IDL files
3784         https://bugs.webkit.org/show_bug.cgi?id=165736
3785
3786         Reviewed by Sam Weinig.
3787
3788         * fast/mediastream/RTCIceCandidate-expected.txt: Regenerated; no new failures.
3789         * fast/mediastream/RTCIceCandidate.html: Updated test to expect the WebIDL rules for parsing
3790         unsigned short for sdpMLineIndex. The old code expected additional range checking which is
3791         not expected behavior.
3792
3793         * fast/mediastream/RTCPeerConnection-expected.txt: Regenerated; no new failures.
3794         * fast/mediastream/RTCPeerConnection.html: Updated test to not expect an exception when
3795         iceServers is entirely omitted or when it is an empty array. This is a progression and is
3796         closer to the specification.
3797
3798         * fast/mediastream/RTCPeerConnection-getConfiguration-expected.txt: Regenerated; no new failures.
3799         * fast/mediastream/RTCPeerConnection-getConfiguration.html: Updated test to expect the username
3800         and credential fields to round trip as missing rather than turning from missing into empty strings.
3801         Also updated the tests to pass in sequences of strings for "urls" since they expect sequences on
3802         the way back out. We could also test round tripping of single strings, which should go in and come
3803         back out as individual strings, but for now I did not bother adding that to this test.
3804
3805         * fast/mediastream/RTCSessionDescription-expected.txt: Regenerated; some exception messages are
3806         now more specific than they were before.
3807
3808         * imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt:
3809         Updated expected results. The new code correctly allows callers of the RTCPeerConnection constructor
3810         to omit iceServers, pass undefined, or pass an empty array, as specified. Thuis change leads to
3811         a couple tests that now correctly pass instead of failing. And it also leads to some other tests
3812         failing that were passing before. These were passing because they expected an exception for some
3813         other reason, however the exception was actually occurring because of incorrect handling of iceServers.
3814
3815 2016-12-11  Jiewen Tan  <jiewen_tan@apple.com>
3816
3817         [WebCrypto] Add tests for wrap/unwrap SPKI/PKCS8 keys
3818         https://bugs.webkit.org/show_bug.cgi?id=165557
3819
3820         Reviewed by Darin Adler.
3821
3822         * crypto/subtle/aes-cbc-import-key-unwrap-pkcs8-key-expected.txt: Added.
3823         * crypto/subtle/aes-cbc-import-key-unwrap-pkcs8-key.html: Added.
3824         * crypto/subtle/aes-cbc-import-key-unwrap-spki-key-expected.txt: Added.
3825         * crypto/subtle/aes-cbc-import-key-unwrap-spki-key.html: Added.
3826         * crypto/subtle/aes-cbc-import-key-wrap-pkcs8-key-expected.txt: Added.
3827         * crypto/subtle/aes-cbc-import-key-wrap-pkcs8-key.html: Added.
3828         * crypto/subtle/aes-cbc-import-key-wrap-spki-key-expected.txt: Added.
3829         * crypto/subtle/aes-cbc-import-key-wrap-spki-key.html: Added.
3830
3831 2016-12-11  Dan Bernstein  <mitz@apple.com>
3832
3833         [Cocoa] NSAttributedString representation of text copied from -webkit-nbsp-mode:space element contains non-breaking space characters, but shouldn’t
3834         https://bugs.webkit.org/show_bug.cgi?id=165515
3835         <rdar://problem/4108460>
3836
3837         Reviewed by Darin Adler.
3838
3839         * platform/mac/fast/text/attributed-substring-from-range-expected.txt: Updated.
3840
3841 2016-12-10  Simon Fraser  <simon.fraser@apple.com>
3842
3843         Support the deprecated dictionary constructor for DOMPointReadOnly and DOMPoint
3844         https://bugs.webkit.org/show_bug.cgi?id=165732
3845
3846         Reviewed by Sam Weinig.
3847
3848         * geometry/DOMPoint-001-expected.txt:
3849         * geometry/DOMPoint-001.html:
3850
3851 2016-12-10  Simon Fraser  <simon.fraser@apple.com>
3852
3853         Animation followed by transition doesn't always fire transitionend event
3854         https://bugs.webkit.org/show_bug.cgi?id=165731
3855         rdar://problem/28471240
3856
3857         Reviewed by Zalan Bujtas.
3858
3859         * animations/animation-followed-by-transition-expected.txt: Added.
3860         * animations/animation-followed-by-transition.html: Added.
3861
3862 2016-12-09  Sam Weinig  <sam@webkit.org>
3863
3864         [WebIDL] Remove custom bindings for Geolocation
3865         https://bugs.webkit.org/show_bug.cgi?id=165625
3866
3867         Reviewed by Alex Christensen.
3868
3869         * fast/dom/Geolocation/argument-types-expected.txt:
3870         * fast/dom/Geolocation/not-enough-arguments-expected.txt:
3871         * fast/dom/Geolocation/script-tests/argument-types.js:
3872         Update tests for improved error messages / adherence to WebIDL.
3873
3874 2016-12-09  Dave Hyatt  <hyatt@apple.com>
3875
3876         [CSS Parser] Remove the old CSS Parser
3877         https://bugs.webkit.org/show_bug.cgi?id=165645
3878
3879         Reviewed by Daniel Bates.
3880
3881         * TestExpectations:
3882         Some canvas tests pass now that they use the new parser's color parsing.
3883
3884         * fast/dom/HTMLFontElement/face-attribute-expected.txt:
3885         * fast/dom/HTMLFontElement/face-attribute.html:
3886         Converted font face parsing over to just use the CSS parser's font-family
3887         parsing. This matches other browsers, so removing cases that we used to
3888         accept now that we're more strict.
3889
3890         * platform/mac/canvas/philip/tests/2d.fillStyle.parse.rgb-eof-expected.txt:
3891         * platform/mac/canvas/philip/tests/2d.fillStyle.parse.rgba-eof-expected.txt:
3892         These tests pass now that canvas uses the new parser's color parsing.
3893
3894         * platform/ios-simulator/svg/custom/fill-SVGPaint-interface-expected.txt: Removed.
3895         * platform/mac/svg/custom/fill-SVGPaint-interface-expected.png: Removed.
3896         * platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt: Removed.
3897         * svg/custom/fill-SVGPaint-interface.svg: Removed.
3898         Remove another test of the SVG CSS OM, since the SVG CSS OM for SVGPaint etc.
3899         is gone now.
3900
3901         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
3902         Rebaselined because of CSSNamespaceRule.
3903
3904 2016-12-10  Jiewen Tan  <jiewen_tan@apple.com>
3905
3906         [WebCrypto] RSA algorithms should allow importing keys without usages
3907         https://bugs.webkit.org/show_bug.cgi?id=165680
3908         <rdar://problem/29601354>
3909
3910         Reviewed by Brent Fulgham.
3911
3912         * crypto/subtle/rsa-oaep-import-jwk-public-key-empty-usages-expected.txt: Added.
3913         * crypto/subtle/rsa-oaep-import-jwk-public-key-empty-usages.html: Added.
3914         * crypto/subtle/rsa-oaep-import-spki-key-empty-usages-expected.txt: Added.
3915         * crypto/subtle/rsa-oaep-import-spki-key-empty-usages.html: Added.
3916         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-empty-usages-expected.txt: Added.
3917         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-empty-usages.html: Added.
3918         * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-empty-usages-expected.txt: Added.
3919         * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-empty-usages.html: Added.
3920         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-empty-usages-expected.txt: Added.
3921         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-empty-usages.html: Added.
3922         * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-empty-usages-expected.txt: Added.
3923         * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-empty-usages.html: Added.
3924
3925 2016-12-09  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3926
3927         [Readable Streams API] Implement ReadableByteStreamController desiredSize
3928         https://bugs.webkit.org/show_bug.cgi?id=165599
3929
3930         Reviewed by Darin Adler.
3931
3932         Added test to check ReadableByteStreamController desiredSize value.
3933
3934         * streams/readable-byte-stream-controller-expected.txt: Added expectation for new test.
3935         * streams/readable-byte-stream-controller.js: Added new test for desiredSize.
3936
3937 2016-12-09  Ryosuke Niwa  <rniwa@webkit.org>
3938
3939         document.pointerLockElement exposes a node inside a shadow tree
3940         https://bugs.webkit.org/show_bug.cgi?id=165702
3941
3942         Reviewed by Simon Fraser.
3943
3944         Added tests for pointer locks inside a shadow root as well as one assigned to a slot.
3945
3946         * fast/shadow-dom/pointerlockelement-in-shadow-tree-expected.txt: Added.
3947         * fast/shadow-dom/pointerlockelement-in-shadow-tree.html: Added.
3948         * fast/shadow-dom/pointerlockelement-in-slot-expected.txt: Added.
3949         * fast/shadow-dom/pointerlockelement-in-slot.html: Added.
3950         * platform/efl/TestExpectations:
3951         * platform/gtk/TestExpectations:
3952         * platform/ios-simulator/TestExpectations:
3953
3954 2016-12-09  Daniel Bates  <dabates@apple.com>
3955
3956         Add reflected nonce attribute to HTML Link element IDL
3957         https://bugs.webkit.org/show_bug.cgi?id=165709
3958
3959         Reviewed by Ryosuke Niwa.
3960
3961         Add a test to ensure that we reflect the nonce attribute for the HTML link, script,
3962         and style elements.
3963
3964         * fast/dom/nonce-attribute-reflection-expected.txt: Added.
3965         * fast/dom/nonce-attribute-reflection.html: Added.
3966
3967 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
3968
3969         Marking inspector/debugger/csp-exceptions.html as flaky on mac-wk2.
3970         https://bugs.webkit.org/show_bug.cgi?id=165292
3971
3972         Unreviewed test gardening.
3973
3974         * platform/mac-wk2/TestExpectations:
3975
3976 2016-12-06  Jiewen Tan  <jiewen_tan@apple.com>
3977
3978         [Part 2 of 2] Add support for PKCS8 format while doing SubtleCrypto.importKey/exportKey
3979         https://bugs.webkit.org/show_bug.cgi?id=129978
3980         <rdar://problem/21799829>
3981
3982         Reviewed by Brent Fulgham.
3983
3984         * crypto/subtle/import-key-malformed-parameters-expected.txt:
3985         * crypto/subtle/import-key-malformed-parameters.html:
3986         * crypto/subtle/rsa-export-key-malformed-parameters-expected.txt:
3987         * crypto/subtle/rsa-export-key-malformed-parameters.html:
3988         * crypto/subtle/rsa-import-jwk-key-export-pkcs8-key-expected.txt: Added.
3989         * crypto/subtle/rsa-import-jwk-key-export-pkcs8-key.html: Added.
3990         * crypto/subtle/rsa-import-jwk-key-export-spki-key-expected.txt:
3991         * crypto/subtle/rsa-import-jwk-key-export-spki-key.html:
3992         * crypto/subtle/rsa-import-key-malformed-parameters-expected.txt:
3993         * crypto/subtle/rsa-import-key-malformed-parameters.html:
3994         * crypto/subtle/rsa-import-pkcs8-key-export-jwk-key-expected.txt: Added.
3995         * crypto/subtle/rsa-import-pkcs8-key-export-jwk-key.html: Added.
3996         * crypto/subtle/rsa-import-pkcs8-key-export-pkcs8-key-expected.txt: Added.
3997         * crypto/subtle/rsa-import-pkcs8-key-export-pkcs8-key.html: Added.
3998         * crypto/subtle/rsa-oaep-generate-export-key-pkcs8-expected.txt: Added.
3999         * crypto/subtle/rsa-oaep-generate-export-key-pkcs8.html: Added.
4000         * crypto/subtle/rsa-oaep-import-pkcs8-key-expected.txt: Added.
4001         * crypto/subtle/rsa-oaep-import-pkcs8-key.html: Added.
4002         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-pkcs8-expected.txt: Added.
4003         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-pkcs8.html: Added.
4004         * crypto/subtle/rsaes-pkcs1-v1_5-import-pkcs8-key-expected.txt: Added.
4005         * crypto/subtle/rsaes-pkcs1-v1_5-import-pkcs8-key.html: Added.
4006         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-pkcs8-expected.txt: Added.
4007         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-pkcs8.html: Added.
4008         * crypto/subtle/rsassa-pkcs1-v1_5-import-pkcs8-key-expected.txt: Added.
4009         * crypto/subtle/rsassa-pkcs1-v1_5-import-pkcs8-key.html: Added.
4010         * crypto/workers/subtle/resources/rsa-export-pkcs8-key.js: Added.
4011         * crypto/workers/subtle/resources/rsa-import-pkcs8-key.js: Added.
4012         * crypto/workers/subtle/rsa-export-pkcs8-key-expected.txt: Added.
4013         * crypto/workers/subtle/rsa-export-pkcs8-key.html: Added.
4014         * crypto/workers/subtle/rsa-import-pkcs8-key-expected.txt: Added.
4015         * crypto/workers/subtle/rsa-import-pkcs8-key.html: Added.
4016
4017 2016-12-09  Joseph Pecoraro  <pecoraro@apple.com>
4018
4019         Web Inspector: Some resources fetched via Fetch API do not have data
4020         https://bugs.webkit.org/show_bug.cgi?id=165230
4021         <rdar://problem/29449220>
4022
4023         Reviewed by Alex Christensen.
4024
4025         * http/tests/inspector/network/fetch-response-body-expected.txt: Added.
4026         * http/tests/inspector/network/fetch-response-body.html: Added.
4027         * http/tests/inspector/network/resources/data.html: Added.
4028         * http/tests/inspector/network/resources/data.json: Added.
4029         * http/tests/inspector/network/resources/data.svg: Added.
4030         * http/tests/inspector/network/resources/data.txt: Added.
4031         * http/tests/inspector/network/resources/echo.php: Added.
4032         * http/tests/inspector/network/xhr-response-body-expected.txt: Added.
4033         * http/tests/inspector/network/xhr-response-body.html: Added.
4034         Tests for viewing content of XHR and Fetch requested resources
4035         with different kinds of content.
4036
4037 2016-12-09  Ryosuke Niwa  <rniwa@webkit.org>
4038
4039         document.webkitFullscreenElement leaks elements inside a shadow tree
4040         https://bugs.webkit.org/show_bug.cgi?id=158471
4041
4042         Reviewed by Chris Dumez.
4043
4044         Added tests for calling webkitFullscreenElement and webkitCurrentFullScreenElement on a fullscreened element
4045         to make sure they return the shadow host instead.
4046
4047         Also added two unrelated test cases for temporal regressions I introduced while working on this patch.
4048
4049         Skip the fullscreen tests on iOS WK2 since eventSender doesn't work there.
4050
4051         * fast/shadow-dom/activeElement-for-focused-element-in-another-shadow-expected.txt: Added.
4052         * fast/shadow-dom/activeElement-for-focused-element-in-another-shadow.html: Added.
4053         * fast/shadow-dom/blur-on-shadow-host-with-focused-shadow-content-expected.txt: Added.
4054         * fast/shadow-dom/blur-on-shadow-host-with-focused-shadow-content.html: Added.
4055         * fast/shadow-dom/fullscreen-in-shadow-fullscreenElement-expected.txt: Added.
4056         * fast/shadow-dom/fullscreen-in-shadow-fullscreenElement.html: Added.
4057         * fast/shadow-dom/fullscreen-in-shadow-webkitCurrentFullScreenElement-expected.txt: Added.
4058         * fast/shadow-dom/fullscreen-in-shadow-webkitCurrentFullScreenElement.html: Added.
4059         * fast/shadow-dom/fullscreen-in-slot-fullscreenElement-expected.txt: Added.
4060         * fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html: Added.
4061         * fast/shadow-dom/fullscreen-in-slot-webkitCurrentFullScreenElement-expected.txt: Added.
4062         * fast/shadow-dom/fullscreen-in-slot-webkitCurrentFullScreenElement.html: Added.
4063         * platform/ios-simulator-wk2/TestExpectations: