Implement the updated port/area-based Scroll Snap Module Level 1 Spec
[WebKit-https.git] / LayoutTests / ChangeLog
1 2016-12-20  Wenson Hsieh  <wenson_hsieh@apple.com>
2
3         Implement the updated port/area-based Scroll Snap Module Level 1 Spec
4         https://bugs.webkit.org/show_bug.cgi?id=165317
5         <rdar://problem/29490956>
6
7         Reviewed by Dean Jackson.
8
9         Refactors layout tests to use the new scroll snapping properties, removing any tests that only made sense in the
10         context of the old version of scroll snapping and adding new ones to cover behaviors that the existing tests do
11         not verify. See per-method descriptions for more details. In most cases, the old way of specifying scroll
12         snapping via repeat(<container width or length>) or a coordinate at (0, 0) on each child has been replaced with
13         `scroll-snap-type: (x|y|both) mandatory;` on the container and `scroll-snap-align: start` on each child element.
14         If a test below does not have an accompanying description, then this is the only change applied to it, and the
15         behavior it is testing is still relevant in the new scroll snapping model.
16
17         * css3/scroll-snap/improper-snap-points-crash-expected.txt: Removed.
18         * css3/scroll-snap/improper-snap-points-crash.html: Removed.
19
20         This test is no longer valid in the new scroll snapping model, since there is no way to specify both repeating
21         points along an axis and child elements with scroll snap coordinates.
22
23         * css3/scroll-snap/nested-elements-expected.txt:
24         * css3/scroll-snap/nested-elements.html:
25         * css3/scroll-snap/resources/iframe-content.html:
26         * css3/scroll-snap/scroll-snap-2d-change-axis-type-expected.txt: Added.
27         * css3/scroll-snap/scroll-snap-2d-change-axis-type.html: Added.
28
29         New layout test to check that changing the scroll-snap-type from one to both axes updates the computed snap
30         offsets in the container to have offsets from both axes.
31
32         * css3/scroll-snap/scroll-snap-2d-offsets-computed-independently-expected.txt: Added.
33         * css3/scroll-snap/scroll-snap-2d-offsets-computed-independently.html: Added.
34
35         New layout test to check that snap offsets are computed independently on each axis. In a 3x3 grid of child
36         elements with the child elements along the diagonal having `scroll-snap-align`s of `end`, `center` and `start`
37         in order from top left to bottom right, we should observe the same effect as having each child emit snap
38         positions in both axes.
39
40         * css3/scroll-snap/scroll-snap-children-with-scroll-snap-margin-expected.txt: Added.
41         * css3/scroll-snap/scroll-snap-children-with-scroll-snap-margin.html: Added.
42
43         New layout test to check that specifying a `scroll-snap-margin` correctly insets the scroll snap area of a child
44         element, and that changing the `scroll-snap-margin` via script also changes the computed scroll snap offsets.
45
46         * css3/scroll-snap/scroll-snap-children-with-transforms-expected.txt: Added.
47         * css3/scroll-snap/scroll-snap-children-with-transforms.html: Added.
48
49         New layout test to check that when computing the scroll snap areas of child elements, we take transforms into
50         account and use the bounding box of the transformed border box of the child element. Also verifies that we apply
51         the scroll offset _after_ the transform, so that scrolling the container and then recomputing snap offsets when
52         child elements are transformed does not result in different snap offsets.
53
54         * css3/scroll-snap/scroll-snap-coordinate-expected.txt: Removed.
55         * css3/scroll-snap/scroll-snap-coordinate.html: Removed.
56
57         Renamed to scroll-snap-position.html, since the notion of scroll snap coordinates no longer exists.
58
59         * css3/scroll-snap/scroll-snap-desination-lock-up-expected.txt: Removed.
60         * css3/scroll-snap/scroll-snap-desination-lock-up.html: Removed.
61
62         This test is no longer relevant in the new scroll snapping model. This is because the logic for computing scroll
63         snap offsets in AxisScrollSnapOffsets no longer has an opportunity to loop infinitely while trying to fill a
64         scrollable axis with snap offsets, since repeating snap points have been removed.
65
66         * css3/scroll-snap/scroll-snap-elements-container-larger-than-children.html:
67         * css3/scroll-snap/scroll-snap-inherit-expected.txt:
68         * css3/scroll-snap/scroll-snap-inherit.html:
69
70         Updated to test the new scroll snap properties.
71
72         * css3/scroll-snap/scroll-snap-initial-expected.txt:
73         * css3/scroll-snap/scroll-snap-initial.html:
74
75         Updated to test the new scroll snap properties.
76
77         * css3/scroll-snap/scroll-snap-mismatch.html:
78         * css3/scroll-snap/scroll-snap-negative-repeat-expected.txt: Removed.
79         * css3/scroll-snap/scroll-snap-negative-repeat.html: Removed.
80
81         Removed, since negative repeating scroll snap offsets are (thankfully) no longer possible in the new scroll
82         snapping model.
83
84         * css3/scroll-snap/scroll-snap-offsets-expected.txt:
85         * css3/scroll-snap/scroll-snap-offsets.html:
86
87         Augmented to mix in various alignment values among the scroll snap child elements as well as various levels of
88         nesting.
89
90         * css3/scroll-snap/scroll-snap-position-values-expected.txt: Removed.
91         * css3/scroll-snap/scroll-snap-position-values.html: Removed.
92
93         The behaviors tested here are covered by other similar tests: scroll-snap-initial and scroll-snap-inherit.
94
95         * css3/scroll-snap/scroll-snap-positions-expected.txt: Added.
96         * css3/scroll-snap/scroll-snap-positions-mainframe-expected.txt: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-mainframe-expected.txt.
97         * css3/scroll-snap/scroll-snap-positions-mainframe.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-mainframe.html.
98         * css3/scroll-snap/scroll-snap-positions-overflow-resize-expected.txt: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-overflow-resize-expected.txt.
99         * css3/scroll-snap/scroll-snap-positions-overflow-resize.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-overflow-resize.html.
100         * css3/scroll-snap/scroll-snap-positions.html: Added.
101
102         Renamed these existing tests to not use the term `scroll-snap-coordinate`. The semantics of these tests are
103         still the same, only using different values of `scroll-snap-align` instead of `-webkit-scroll-snap-coordinate`.
104
105         * css3/scroll-snap/scroll-snap-property-computed-style-expected.txt:
106         * css3/scroll-snap/scroll-snap-property-computed-style.js:
107         * css3/scroll-snap/scroll-snap-property-parsing-expected.txt:
108         * css3/scroll-snap/scroll-snap-property-parsing.js:
109         * css3/scroll-snap/scroll-snap-style-changed-align-expected.txt: Added.
110         * css3/scroll-snap/scroll-snap-style-changed-align.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-style-changed-coordinates.html.
111         * css3/scroll-snap/scroll-snap-style-changed-coordinates-expected.txt: Removed.
112         * css3/scroll-snap/scroll-snap-style-changed-repeat-expected.txt: Removed.
113         * css3/scroll-snap/scroll-snap-style-changed-repeat.html: Removed.
114
115         No longer relevant, since repeating scroll snap offsets are no longer in the spec.
116
117         * css3/scroll-snap/scroll-snap-subpixel-repeat-expected.txt: Removed.
118         * css3/scroll-snap/scroll-snap-subpixel-repeat.html: Removed.
119
120         No longer relevant, since repeating scroll snap offsets are no longer in the spec.
121
122         * css3/scroll-snap/scroll-snap-with-scroll-padding-expected.txt: Added.
123         * css3/scroll-snap/scroll-snap-with-scroll-padding.html: Added.
124
125         New layout test to check that specifying scroll padding on a scroll container correctly outsets the scroll snap
126         port, and that changing scroll padding via script also changes the computed snap offsets.
127
128         * platform/mac-wk2/TestExpectations:
129
130         Removed tiled-drawing/scrolling/latched-div-with-scroll-snap.html from the list of failing tests.
131
132         * tiled-drawing/scrolling/latched-div-with-scroll-snap-expected.txt:
133         * tiled-drawing/scrolling/latched-div-with-scroll-snap.html:
134
135         This test was failing 100% of the time due to the momentum portion of the scrolling phase being invoked after
136         scroll snapping has ended. This has been rewritten to perform the following steps:
137         1. Scroll the top div with momentum and verify that the scroll 'glided' to the red box.
138         2. Scroll the top div without momentum and verify that the scroll snaps back to the red box.
139         3. Repeat (1) and (2), but for the bottom div. The same thing should occur.
140
141         * tiled-drawing/scrolling/scroll-snap/resources/horizontal-mainframe.html:
142         * tiled-drawing/scrolling/scroll-snap/resources/vertical-mainframe.html:
143         * tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up-expected.txt: Removed.
144         * tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up.html: Removed.
145         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html:
146         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html:
147         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html:
148         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html:
149         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html:
150         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-then-horizontal.html:
151         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html:
152         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless.html:
153         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow.html:
154         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding.html:
155         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated.html:
156         * tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top.html:
157
158         All of the tests here were updated to use the new scroll-snap-* properties instead of the old versions. The
159         semantics of these tests have not changed.
160
161 2016-12-20  Megan Gardner  <megan_gardner@apple.com>
162
163         Fix memory leak in malformed test
164         https://bugs.webkit.org/show_bug.cgi?id=165917
165
166         Reviewed by Alexey Proskuryakov.
167
168         Navigation caused 'onload' to be called twice, causing test harness to have extraneous
169         HID callback around after script controller was dismantled. Loading in body will eliminate
170         double load, and also prevent other race conditions where the body doesn't load fast enough.
171
172         * http/tests/quicklook/hide-referer-on-navigation.html:
173
174 2016-12-20  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
175
176         WebRTC: RTCPeerConnection constructor argument should be optional
177         https://bugs.webkit.org/show_bug.cgi?id=164057
178
179         Reviewed by Youenn Fablet.
180
181         Remove tests since they are duplicated with WPT tests.
182
183         * fast/mediastream/RTCPeerConnection-expected.txt:
184         * fast/mediastream/RTCPeerConnection.html:
185
186 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
187
188         Marking http/tests/fetch/fetching-same-resource-with-diffferent-options.html as flaky on macOS.
189         https://bugs.webkit.org/show_bug.cgi?id=166025
190
191         Unreviewed test gardening.
192
193         * platform/mac/TestExpectations:
194
195 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
196
197         Marking http/tests/inspector/network/fetch-network-data.html as flaky on macOS.
198         https://bugs.webkit.org/show_bug.cgi?id=166038
199
200         Unreviewed test gardening.
201
202         * platform/mac/TestExpectations:
203
204 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
205
206         Rebaseline fast/text/emoji.html for macOS.
207
208         Unreviewed test gardening.
209
210         * platform/mac-elcapitan/fast/text/emoji-expected.txt: Copied from LayoutTests/platform/mac/fast/text/emoji-expected.txt.
211         * platform/mac/fast/text/emoji-expected.txt:
212
213 2016-12-19  Wenson Hsieh  <wenson_hsieh@apple.com>
214
215         Unreviewed, mark fixed-element-on-bottom-with-keyboard.html as skip for OpenSource iOS WK2
216         https://bugs.webkit.org/show_bug.cgi?id=166027
217
218         This test should have been disabled on OpenSource bots due to the lack of touch handling.
219
220         * platform/ios-simulator-wk2/TestExpectations:
221
222 2016-12-19  Joseph Pecoraro  <pecoraro@apple.com>
223
224         Add a few Worker loading tests that don't seem to be explicitly handled
225         https://bugs.webkit.org/show_bug.cgi?id=165870
226
227         Reviewed by Daniel Bates.
228
229         The tests already pass as expected, but adding specific tests
230         for specific expected behavior with Worker script loads.
231
232         * http/tests/security/contentSecurityPolicy/worker-redirect-allowed-expected.txt: Added.
233         * http/tests/security/contentSecurityPolicy/worker-redirect-allowed.html: Added.
234         * http/tests/security/resources/worker-message-pass.js: Added.
235         * http/tests/security/worker-cross-origin-expected.txt: Added.
236         * http/tests/security/worker-cross-origin.html: Added.
237         * http/tests/security/worker-same-origin-expected.txt: Added.
238         * http/tests/security/worker-same-origin.html: Added.
239
240 2016-12-18  Brent Fulgham  <bfulgham@apple.com>
241
242         Side effects while restting form elements
243         https://bugs.webkit.org/show_bug.cgi?id=165959
244         <rdar://problem/29705967>
245
246         Reviewed by Anders Carlsson.
247
248         * fast/html/form-mutate-expected.txt: Added.
249         * fast/html/form-mutate.html: Added.
250
251 2016-12-18  Wenson Hsieh  <wenson_hsieh@apple.com>
252
253         Changing text direction fires input events with null inputTypes and no data
254         https://bugs.webkit.org/show_bug.cgi?id=166007
255         <rdar://problem/29557205>
256
257         Reviewed by Sam Weinig.
258
259         Verifies that changing text direction causes beforeinput and input events with appropriate inputType and data to
260         be dispatched, and that preventing this beforeinput event causes no change in text direction.
261
262         * fast/events/before-input-events-prevent-text-direction-expected.txt: Added.
263         * fast/events/before-input-events-prevent-text-direction.html: Added.
264
265 2016-12-18  Simon Fraser  <simon.fraser@apple.com>
266
267         Rebaseline these tests after r209967, since they are now affected by status bar height.
268
269         * fast/viewport/ios/ipad/width-is-device-width-expected.txt:
270         * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt:
271         * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt:
272         * fast/viewport/ios/width-is-device-width-overflowing-expected.txt:
273         * fast/viewport/ios/width-is-device-width-overflowing-no-shrink-to-fit-expected.txt:
274
275 2016-12-17  Philippe Normand  <pnormand@igalia.com>
276
277         Unreviewed, rollout r209860 OWR player shouldn't be selected for normal video playback
278
279         * platform/gtk/TestExpectations:
280
281 2016-12-17  Wenson Hsieh  <wenson_hsieh@apple.com>
282
283         Visual viewports: bottom fixed elements disappear behind the keyboard
284         https://bugs.webkit.org/show_bug.cgi?id=165983
285         <rdar://problem/29409852>
286
287         Reviewed by Simon Fraser.
288
289         Tweaked fixed-caret-position-after-scroll.html to account for the keyboard height, and also added a new layout
290         test, fixed-element-on-bottom-with-keyboard.html, which checks that the layout viewport does not change before
291         and after showing the keyboard, and that scrolling past the end of the document does not bump the layout
292         viewport past document bounds.
293
294         The rest of the changes here involve rebaselining existing tests to account for the height of the web view no
295         longer being equal to the height of the window.
296
297         * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt:
298         * editing/caret/ios/absolute-caret-position-after-scroll.html:
299         * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt:
300         * editing/caret/ios/fixed-caret-position-after-scroll.html:
301         * editing/selection/ios/absolute-selection-after-scroll.html:
302         * editing/selection/ios/fixed-selection-after-scroll.html:
303         * fast/events/ios/keyboard-scrolling-distance-expected.txt:
304         * fast/events/ios/keyboard-should-not-trigger-resize-expected.txt:
305         * fast/events/ios/viewport-zooms-from-element-to-initial-scale-expected.txt:
306         * fast/forms/ios/accessory-bar-navigation-expected.txt:
307         * fast/forms/ios/focus-input-in-fixed-expected.txt:
308         * fast/forms/ios/focus-input-in-iframe-expected.txt:
309         * fast/forms/ios/focus-input-via-button-expected.txt:
310         * fast/forms/ios/focus-input-via-button-no-scaling-expected.txt:
311         * fast/forms/ios/focus-long-textarea-expected.txt:
312         * fast/forms/ios/zoom-after-input-tap-expected.txt:
313         * fast/forms/ios/zoom-after-input-tap-wide-input-expected.txt:
314         * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt:
315         * fast/viewport/ios/width-is-device-width-expected.txt:
316         * fast/visual-viewport/ios/fixed-element-on-bottom-with-keyboard-expected.txt: Added.
317         * fast/visual-viewport/ios/fixed-element-on-bottom-with-keyboard.html: Added.
318         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt:
319         * platform/ios-simulator/fast/scrolling/ios/clipping-ancestor-with-accelerated-scrolling-ancestor-expected.txt:
320         * platform/ios-simulator/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt:
321         * platform/ios-simulator/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt:
322         * platform/ios-simulator/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt:
323         * platform/ios-simulator/fast/scrolling/ios/touch-stacking-expected.txt:
324         * scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt:
325         * scrollingcoordinator/ios/ui-scrolling-tree-expected.txt:
326
327 2016-12-17  Jer Noble  <jer.noble@apple.com>
328
329         Add implementation for navigator.requestMediaKeySystemAccess()
330         https://bugs.webkit.org/show_bug.cgi?id=165850
331
332         Reviewed by Eric Carlson.
333
334         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-expected.txt: Added.
335         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html: Added.
336         * platform/ios-simulator/TestExpectations:
337         * platform/mac/TestExpectations:
338
339 2016-12-17  Youenn Fablet  <youenn@apple.com>
340
341         Cloned CachedResource should not have an empty response
342         https://bugs.webkit.org/show_bug.cgi?id=165947
343
344         Reviewed by Sam Weinig.
345
346         This new test is working as follow:
347         - 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.
348         This second stylesheet will make the background as green.
349         - Once done, a second frame is loaded (same HTML but from a different domain) with the same absolute URL CSS stylesheet.
350         The relative URL stylesheet should use the absolute URL of the CSS stylesheet as base.
351         If it is using the frame as base, the loaded CSS will change background to red.
352
353         * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.css.php: Added.
354         * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.html: Added.
355         * http/tests/loading/resources/imported-stylesheet-varying-according-domain.css.php: Added.
356         * http/tests/loading/reusing-cached-stylesheet-from-different-domain-expected.html: Added.
357         * http/tests/loading/reusing-cached-stylesheet-from-different-domain.html: Added.
358
359 2016-12-16  Darin Adler  <darin@apple.com>
360
361         Remove all custom bindings from media streams, using dictionaries instead
362         https://bugs.webkit.org/show_bug.cgi?id=165943
363
364         Reviewed by Sam Weinig.
365
366         * fast/mediastream/MediaDevices-getSupportedConstraints-expected.txt: Updated since the
367         properties in the dictionaries are now in alphabetical order and because of the test change.
368         * fast/mediastream/MediaDevices-getSupportedConstraints.html: Updated to expect some true
369         and some false rather than some true and some missing.
370
371         * fast/mediastream/MediaStreamTrack-getCapabilities-expected.txt: Updated since the
372         properties in the dictionaries are now in alphabetical order.
373         * fast/mediastream/MediaStreamTrack-getSettings-expected.txt: Ditto.
374
375 2016-12-16  Sam Weinig  <sam@webkit.org>
376
377         Fix failing test.
378
379         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
380         * http/tests/ssl/applepay/ApplePaySession.html:
381         Update results to match latest IDL.
382
383 2016-12-16  Andy Estes  <aestes@apple.com>
384
385         Add a setting to suppress keyboard input during provisional navigation
386         https://bugs.webkit.org/show_bug.cgi?id=165830
387
388         Reviewed by Brent Fulgham.
389
390         * http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Added.
391         * http/tests/navigation/keyboard-events-during-provisional-navigation.html: Added.
392         * http/tests/navigation/resources/keyboard-events-after-navigation.html: Added.
393         * http/tests/navigation/resources/keyboard-events-test.js: Added.
394         (runTest.eventHandler):
395         (runTest):
396         * http/tests/navigation/resources/never-respond.php: Added.
397         * platform/ios-simulator/TestExpectations:
398
399 2016-12-16  Chris Dumez  <cdumez@apple.com>
400
401         HTML form validation bubble should be dismissed on navigation
402         https://bugs.webkit.org/show_bug.cgi?id=165960
403         <rdar://problem/29668086>
404
405         Reviewed by Simon Fraser.
406
407         Add layout test coverage.
408
409         * http/tests/navigation/navigation-dismisses-validation-bubbles-expected.txt: Added.
410         * http/tests/navigation/navigation-dismisses-validation-bubbles.html: Added.
411         * http/tests/navigation/resources/check-validation-bubble-not-visible.html: Added.
412
413 2016-12-16  Ryan Haddad  <ryanhaddad@apple.com>
414
415         Move the skip expectation for fast/visual-viewport/ios/zoomed-focus-in-fixed.html to ios-simulator-wk2.
416
417         Unreviewed test gardening.
418
419         * platform/ios-simulator-wk2/TestExpectations:
420         * platform/ios-simulator/TestExpectations:
421
422 2016-12-16  Andreas Kling  <akling@apple.com>
423
424         Subframes going into page cache don't need to resetScrollbars().
425         <https://webkit.org/b/163750>
426         <rdar://problem/29273020>
427
428         Reviewed by Antti Koivisto.
429
430         Unskip compositing/iframes/page-cache-layer-tree.html on mac-wk1 and fix up the
431         result now that WK2 behaves correctly as well.
432
433         Both DRT and WTR run with scrollbars in "always on" mode, so the correct dimensions
434         for the 300x150 iframe layers here are 285x135.
435
436         * compositing/iframes/page-cache-layer-tree-expected.txt:
437         * platform/mac-wk1/TestExpectations:
438
439 2016-12-16  Wenson Hsieh  <wenson_hsieh@apple.com>
440
441         Visual viewports: carets and selection UI are incorrectly positioned when editing fixed elements
442         https://bugs.webkit.org/show_bug.cgi?id=165767
443         <rdar://problem/29602382>
444
445         Reviewed by Simon Fraser.
446
447         Adds new layout tests verifying that scrolling selected text (non-editable) and a text caret (in editable
448         content) results in the selection/caret rects having the correct location relative to the document, in both
449         cases where the selected/focused element has fixed position or absolute position. For fixed position elements,
450         this means that the rects must "move" down in the document as the document is scrolled, but for absolute
451         elements, these rects must remain in place.
452
453         * TestExpectations:
454         * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt: Added.
455         * editing/caret/ios/absolute-caret-position-after-scroll.html: Added.
456         * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt: Added.
457         * editing/caret/ios/fixed-caret-position-after-scroll.html: Added.
458         * editing/selection/ios/absolute-selection-after-scroll-expected.txt: Added.
459         * editing/selection/ios/absolute-selection-after-scroll.html: Added.
460         * editing/selection/ios/fixed-selection-after-scroll-expected.txt: Added.
461         * editing/selection/ios/fixed-selection-after-scroll.html: Added.
462
463 2016-12-16  Zalan Bujtas  <zalan@apple.com>
464
465         Defer certain accessibility callbacks until after layout is finished.
466         https://bugs.webkit.org/show_bug.cgi?id=165861
467         rdar://problem/29646301
468
469         Reviewed by Chris Fleizach.
470
471         * accessibility/accessibility-crash-with-dynamic-inline-content-expected.txt: Added.
472         * accessibility/accessibility-crash-with-dynamic-inline-content.html: Added.
473
474 2016-12-16  Youenn Fablet  <youenn@apple.com>
475
476         [Fetch API] Improve resource loading console logging
477         https://bugs.webkit.org/show_bug.cgi?id=160546
478
479         Reviewed by Alex Christensen.
480
481         Rebasing since error logging is happening for fetch API.
482         Some tests are flaky due to always changing console logs, in which case DumpJSConsoleLogInStdErr is used.
483
484         * TestExpectations:
485         * http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt:
486         * http/tests/inspector/network/fetch-network-data-expected.txt:
487         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
488         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin-expected.txt:
489         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
490         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin-expected.txt:
491
492 2016-12-16  Romain Bellessort  <romain.bellessort@crf.canon.fr>
493
494         [Readable Streams API] Implement ReadableByteStreamController cancel internal method
495         https://bugs.webkit.org/show_bug.cgi?id=165798
496
497         Reviewed by Youenn Fablet.
498
499         Added one test to check cancel behaviour. More tests may be added as the API is implemented.
500         Also replaced async_test by promise_test where applicable.
501
502         * streams/readable-byte-stream-controller-expected.txt: Updated expectations.
503         * streams/readable-byte-stream-controller.js: Added one test.
504
505 2016-12-16  Youenn Fablet  <youennf@gmail.com>
506
507         svg/as-image/svg-image-with-data-uri-use-data-uri.svg is flaky after r207754
508         https://bugs.webkit.org/show_bug.cgi?id=163887
509         <rdar://problem/29266436>
510
511         Reviewed by Alex Christensen.
512
513         * http/tests/security/cross-origin-cached-images-with-memory-pressure-expected.txt: Added.
514         * http/tests/security/cross-origin-cached-images-with-memory-pressure.html: Added.
515
516 2016-12-15  Zalan Bujtas  <zalan@apple.com>
517
518         text-align: justify and word-spacing combine to overflow column
519         https://bugs.webkit.org/show_bug.cgi?id=165796
520         rdar://problem/29672168
521
522         Reviewed by Myles C. Maxfield.
523
524         These are progressions.
525
526         * fast/css/word-spacing-with-normal-layout-expected.html: Added.
527         * fast/css/word-spacing-with-normal-layout.html: Added.
528         * platform/mac/css1/text_properties/word_spacing-expected.txt:
529         * platform/mac/fast/css/word-space-extra-expected.txt:
530         * platform/mac/fast/text/whitespace/span-in-word-space-causes-overflow-expected.txt:
531         * platform/mac/fast/text/word-space-expected.txt:
532         * platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
533         * platform/mac/svg/custom/svg-fonts-word-spacing-expected.txt:
534
535 2016-12-15  Chris Dumez  <cdumez@apple.com>
536
537         Make sure HTML validation bubble's state is updated after layout
538         https://bugs.webkit.org/show_bug.cgi?id=165922
539         <rdar://problem/29694730>
540
541         Reviewed by Simon Fraser.
542
543         Add several layout tests to cover this.
544
545         * fast/forms/validation-bubble-disappears-when-input-detached-expected.txt: Added.
546         * fast/forms/validation-bubble-disappears-when-input-detached.html: Added.
547         * fast/forms/validation-bubble-disappears-when-input-moved-expected.txt: Added.
548         * fast/forms/validation-bubble-disappears-when-input-moved.html: Added.
549         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible-expected.txt: Added.
550         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible.html: Added.
551
552 2016-12-15  Chris Dumez  <cdumez@apple.com>
553
554         Move charCode / keyCode / which attributes from UIEvent to KeyboardEvent
555         https://bugs.webkit.org/show_bug.cgi?id=165904
556
557         Reviewed by Sam Weinig.
558
559         Extend existing testing.
560
561         * fast/events/arrow-keys-on-body-expected.txt:
562         * fast/events/arrow-keys-on-body.html:
563         * fast/events/key-events-in-input-button-expected.txt:
564         * fast/events/key-events-in-input-button.html:
565         * fast/events/key-events-in-input-text-expected.txt:
566         * fast/events/key-events-in-input-text.html:
567
568 2016-12-15  Megan Gardner  <megan_gardner@apple.com>
569
570         Add coordinate space to event streams and streamline tests
571         https://bugs.webkit.org/show_bug.cgi?id=165119
572
573         Reviewed by Simon Fraser.
574
575         Streamline tests. Make them more readable and only use one function for drags.
576         Update for new content coordinate space.
577
578         * fast/events/touch/ios/long-press-then-drag-down-to-change-selected-text.html:
579         * fast/events/touch/ios/long-press-then-drag-up-to-change-selected-text.html:
580
581 2016-12-15  Ryan Haddad  <ryanhaddad@apple.com>
582
583         Marking js/dom/global-constructors-attributes.html as failing on ElCapitan WK1.
584         https://bugs.webkit.org/show_bug.cgi?id=165934
585
586         Unreviewed test gardening.
587
588         * platform/mac-wk1/TestExpectations:
589
590 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
591
592         fast/visual-viewport/ios/zoomed-focus-in-fixed.html always times out
593
594         Skip this test, which relies on touch events.
595
596         * platform/ios-simulator/TestExpectations:
597
598 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
599
600         Fix flakiness of fast/visual-viewport/ios/zoomed-focus-in-fixed.html
601         https://bugs.webkit.org/show_bug.cgi?id=165930
602
603         Reviewed by Tim Horton.
604
605         The test zooms when focussing the input, which completes after the keyboard shows,
606         so we need to wait for zooming to finish using the uiController.didEndZoomingCallback.
607
608         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt:
609         * fast/visual-viewport/ios/zoomed-focus-in-fixed.html:
610
611 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
612
613         [Cocoa] Implement font-synthesis: small-caps
614         https://bugs.webkit.org/show_bug.cgi?id=165892
615
616         Reviewed by David Hyatt.
617
618         * fast/text/font-synthesis-parsing-expected.txt: Added.
619         * fast/text/font-synthesis-parsing.html: Added.
620         * css3/font-synthesis-small-caps-expected.html: Added.
621         * css3/font-synthesis-small-caps.html: Added.
622         * fast/css/getComputedStyle/computed-style-expected.txt:
623         * fast/css/getComputedStyle/computed-style-font-family-expected.txt:
624         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
625         * fast/css3-text/font-synthesis-parse-expected.txt:
626         * fast/css3-text/font-synthesis-parse.html:
627         * svg/css/getComputedStyle-basic-expected.txt:
628
629 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
630
631         [iOS WK2] Don't disable position:fixed when a form element has focus
632         https://bugs.webkit.org/show_bug.cgi?id=165891
633         rdar://problem/29271694
634
635         Reviewed by Wenson Hsieh.
636
637         * TestExpectations:
638         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt: Added.
639         * fast/visual-viewport/ios/zoomed-focus-in-fixed.html: Added.
640         * platform/ios-simulator-wk2/TestExpectations:
641
642 2016-12-15  Darin Adler  <darin@apple.com>
643
644         Remove custom binding for MediaDevices
645         https://bugs.webkit.org/show_bug.cgi?id=165894
646
647         Reviewed by Eric Carlson.
648
649         * fast/mediastream/MediaDevices-getUserMedia-expected.txt: Expect the exception the
650         generated bindings code throws, rather than the different one the hand-written binding
651         was throwing before.
652
653 2016-12-15  Youenn Fablet  <youennf@gmail.com>
654
655         Sync web-platform-tests up to revision a4c2b37
656         https://bugs.webkit.org/show_bug.cgi?id=165041
657
658         Reviewed by Alex Christensen.
659
660         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt: Added.
661         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
662         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt: Added.
663         * tests-options.json:
664
665 2016-12-15  Alejandro G. Castro  <alex@igalia.com>
666
667         [OWR] Unskip fast/mediastream/MediaStream-video-element-track-stop.html
668         https://bugs.webkit.org/show_bug.cgi?id=165316
669
670         Reviewed by Philippe Normand.
671
672         * platform/gtk/TestExpectations: Unskipped the test and moved the
673         stop one, now it does not timeout because we correctly handle the
674         ended value but still fails, we need more features in the mock
675         classes for owr.
676
677 2016-12-14  Yusuke Suzuki  <utatane.tea@gmail.com>
678
679         [GTK] Support latest SubtleCrypto HMAC APIs
680         https://bugs.webkit.org/show_bug.cgi?id=165863
681
682         Reviewed by Sam Weinig.
683
684         Enable HMAC tests.
685
686         * platform/gtk/TestExpectations:
687
688 2016-12-14  Simon Fraser  <simon.fraser@apple.com>
689
690         Fix cause of viewport-related flakiness in iOS tests
691         https://bugs.webkit.org/show_bug.cgi?id=165878
692
693         Reviewed by Tim Horton.
694
695         Try un-flaking some viewport tests.
696
697         * platform/ios-simulator-wk2/TestExpectations:
698
699 2016-12-12  Jon Lee  <jonlee@apple.com>
700
701         Full Pass CSS Variables Test Suite
702         https://bugs.webkit.org/show_bug.cgi?id=150183
703
704         Reviewed by Simon Fraser.
705
706         The new CSS parser progresses these tests. Move them out of the failures/ sub-directory.
707         One of the tests needs the Ahem font, which was not available when put in the sub-directory.
708
709         * fast/css/variables/test-suite/024-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/024-expected.html.
710         * fast/css/variables/test-suite/024.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/024.html.
711         * fast/css/variables/test-suite/025-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/025-expected.html.
712         * fast/css/variables/test-suite/025.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/025.html.
713         * fast/css/variables/test-suite/026-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/026-expected.html.
714         * fast/css/variables/test-suite/026.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/026.html.
715         * fast/css/variables/test-suite/028-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/028-expected.html.
716         * fast/css/variables/test-suite/028.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/028.html.
717         * fast/css/variables/test-suite/030-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/030-expected.html.
718         * fast/css/variables/test-suite/030.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/030.html.
719         * fast/css/variables/test-suite/054-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/054-expected.html.
720         * fast/css/variables/test-suite/054.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/054.html.
721         * fast/css/variables/test-suite/055-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/055-expected.html.
722         * fast/css/variables/test-suite/055.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/055.html.
723         * fast/css/variables/test-suite/056-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/056-expected.html.
724         * fast/css/variables/test-suite/056.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/056.html.
725         * fast/css/variables/test-suite/058-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/058-expected.html.
726         * fast/css/variables/test-suite/058.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/058.html.
727         * fast/css/variables/test-suite/071-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/071-expected.html.
728         * fast/css/variables/test-suite/071.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/071.html.
729         * fast/css/variables/test-suite/081-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/081-expected.html.
730         * fast/css/variables/test-suite/081.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/081.html.
731         * fast/css/variables/test-suite/082-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/082-expected.html.
732         * fast/css/variables/test-suite/082.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/082.html.
733         * fast/css/variables/test-suite/085-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/085-expected.html.
734         * fast/css/variables/test-suite/085.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/085.html.
735         * fast/css/variables/test-suite/086-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/086-expected.html.
736         * fast/css/variables/test-suite/086.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/086.html.
737         * fast/css/variables/test-suite/087-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/087-expected.html.
738         * fast/css/variables/test-suite/087.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/087.html.
739         * fast/css/variables/test-suite/091-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/091-expected.html.
740         * fast/css/variables/test-suite/091.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/091.html.
741         * fast/css/variables/test-suite/103-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/103-expected.html.
742         * fast/css/variables/test-suite/103.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/103.html.
743         * fast/css/variables/test-suite/111-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/111-expected.html.
744         * fast/css/variables/test-suite/111.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/111.html.
745         * fast/css/variables/test-suite/115-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/115-expected.html.
746         * fast/css/variables/test-suite/115.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/115.html.
747         * fast/css/variables/test-suite/126-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/126-expected.html.
748         * fast/css/variables/test-suite/126.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/126.html.
749         * fast/css/variables/test-suite/152-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/152-expected.html.
750         * fast/css/variables/test-suite/152.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/152.html.
751         * fast/css/variables/test-suite/159-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/159-expected.html.
752         * fast/css/variables/test-suite/159.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/159.html.
753         * fast/css/variables/test-suite/161-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/161-expected.html.
754         * fast/css/variables/test-suite/161.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/161.html.
755         * fast/css/variables/test-suite/163-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/163-expected.html.
756         * fast/css/variables/test-suite/163.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/163.html.
757         * fast/css/variables/test-suite/169-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/169-expected.html.
758         * fast/css/variables/test-suite/169.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/169.html.
759
760 2016-12-14  Dean Jackson  <dino@apple.com>
761
762         Update prefers-reduced-motion syntax
763         https://bugs.webkit.org/show_bug.cgi?id=165880
764         <rdar://problems/29671807>
765
766         Reviewed by Sam Weinig.
767
768         * fast/media/mq-prefers-reduced-motion-forced-value.html:
769         * fast/media/mq-prefers-reduced-motion.html:
770
771 2016-12-14  Sam Weinig  <sam@webkit.org>
772
773         REGRESSION (204679): Google notifications never load (expecting DOMStringList rather than JS array for Location.ancestorOrigins)
774         <rdar://problem/29573563>
775         https://bugs.webkit.org/show_bug.cgi?id=165872
776
777         Reviewed by Chris Dumez.
778
779         * fast/dom/Window/Location/ancestor-origins-expected.txt:
780         * fast/dom/Window/Location/ancestor-origins.html:
781         Change back to test that Location.ancestorOrigins returns a DOMStringList.
782
783 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
784
785         Marking streams/pipe-to.html as flaky on macOS debug.
786         https://bugs.webkit.org/show_bug.cgi?id=165874
787
788         Unreviewed test gardening.
789
790         * platform/mac/TestExpectations:
791
792 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
793
794         Removing Release annotation from three tests that are also flaky on Debug.
795         https://bugs.webkit.org/show_bug.cgi?id=163361
796
797         Unreviewed test gardening.
798
799         * platform/mac-wk1/TestExpectations:
800
801 2016-12-14  Ryosuke Niwa  <rniwa@webkit.org>
802
803         iOS: An element with tabindex is not focusable unless there is no mouse event handler
804         https://bugs.webkit.org/show_bug.cgi?id=165843
805
806         Reviewed by Antti Koivisto.
807
808         Added a regression test for focusing an element with just tabindex using UIHelper.
809
810         Also fixed UIHelper to work in iOS DumpRenderTree which was hitting an assertion
811         by explicitly checking testRunner.isWebKit2. Prior to fixing this, it was hitting
812         an assertion in RunLoop::main() which was asserting that there is a runloop,
813         which doesn't exist in DumpRenderTree.
814
815         * fast/events/focusing-element-with-tabindex-by-tap-or-click-expected.txt: Added.
816         * fast/events/focusing-element-with-tabindex-by-tap-or-click.html: Added.
817         * platform/ios-simulator-wk2/TestExpectations:
818         * resources/ui-helper.js:
819         (window.UIHelper.isWebKit2):
820         (window.UIHelper.wait): Added the support for js-test.js / js-test-pre.js style tests.
821
822 2016-12-14  Dave Hyatt  <hyatt@apple.com>
823
824         [CSS Parser] Implement deferred parsing of properties, @media, @supports and @keyframes
825         https://bugs.webkit.org/show_bug.cgi?id=165743
826
827         Reviewed by Dean Jackson.
828
829         * fast/css/deferred-parsing: Added.
830         * fast/css/deferred-parsing/dynamic-external-style-expected.txt: Added.
831         * fast/css/deferred-parsing/dynamic-external-style.html: Added.
832         * fast/css/deferred-parsing/dynamic-style-in-document-expected.txt: Added.
833         * fast/css/deferred-parsing/dynamic-style-in-document.html: Added.
834         * fast/css/deferred-parsing/hover-test-expected.txt: Added.
835         * fast/css/deferred-parsing/hover-test.html: Added.
836         * fast/css/deferred-parsing/keyframes-rule-expected.txt: Added.
837         * fast/css/deferred-parsing/keyframes-rule.html: Added.
838         * fast/css/deferred-parsing/media-print-expected.txt: Added.
839         * fast/css/deferred-parsing/media-print.html: Added.
840         * fast/css/deferred-parsing/nth-of-type-expected.txt: Added.
841         * fast/css/deferred-parsing/nth-of-type.html: Added.
842         * fast/css/deferred-parsing/resources: Added.
843         * fast/css/deferred-parsing/resources/basic-sheet.css: Added.
844         * fast/css/deferred-parsing/simple-external-style-expected.txt: Added.
845         * fast/css/deferred-parsing/simple-external-style.html: Added.
846         * fast/css/deferred-parsing/simple-style-in-document-expected.txt: Added.
847         * fast/css/deferred-parsing/simple-style-in-document.html: Added.
848         * fast/css/deferred-parsing/supports-rule-expected.txt: Added.
849         * fast/css/deferred-parsing/supports-rule.html: Added.
850
851 2016-12-14  Daniel Bates  <dabates@apple.com>
852
853         CSP: Allow HTTPS URL to match HTTP source expression
854         https://bugs.webkit.org/show_bug.cgi?id=159520
855         <rdar://problem/27287177>
856
857         Reviewed by Brent Fulgham.
858
859         * http/tests/security/contentSecurityPolicy/script-src-parsing-implicit-and-explicit-port-number-expected.txt: Added.
860         * http/tests/security/contentSecurityPolicy/script-src-parsing-implicit-and-explicit-port-number.html: Added.
861         * platform/wk2/TestExpectations: Skip the test on WebKit2 because it makes use of Internals.registerDefaultPortForProtocol(),
862         which does not work with NetworkProcess.
863
864 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
865
866         Add mac-elcapitan baseline for js/dom/global-constructors-attributes.html.
867
868         Unreviewed test gardening.
869
870         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt: Added.
871
872 2016-12-14  Chris Dumez  <cdumez@apple.com>
873
874         Remove Unicode case-insensitive matching for usemap=""
875         https://bugs.webkit.org/show_bug.cgi?id=163894
876
877         Reviewed by Antti Koivisto.
878
879         * fast/images/image-map-multiple.html:
880         Fix case of the usemap.
881
882         * fast/images/image-usemap-parsing-expected.txt: Added.
883         * fast/images/image-usemap-parsing.html: Added.
884         Add layout test coverage.
885
886         * fast/images/imagemap-case.html: Removed.
887         * platform/efl/fast/images/imagemap-case-expected.png: Removed.
888         * platform/efl/fast/images/imagemap-case-expected.txt: Removed.
889         * platform/gtk/fast/images/imagemap-case-expected.png: Removed.
890         * platform/gtk/fast/images/imagemap-case-expected.txt: Removed.
891         * platform/ios-simulator-wk2/fast/images/imagemap-case-expected.txt: Removed.
892         * platform/ios-simulator/fast/images/imagemap-case-expected.txt: Removed.
893         * platform/mac/fast/images/imagemap-case-expected.png: Removed.
894         * platform/mac/fast/images/imagemap-case-expected.txt: Removed.
895         * platform/win/fast/images/imagemap-case-expected.txt: Removed.
896         Drop outdated pixel test case. Case sensitivity is now covered by
897         the new fast/images/image-usemap-parsing.html test.
898
899 2016-12-14  Dave Hyatt  <hyatt@apple.com>
900
901         [CSS Parser] Remove WebkitCSSTransformValue
902         https://bugs.webkit.org/show_bug.cgi?id=165844
903
904         Reviewed by Zalan Bujtas.
905
906         * fast/css/getFloatValueForUnit-expected.txt:
907         * fast/css/getFloatValueForUnit.html:
908         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
909         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
910         * platform/mac/fast/dom/wrapper-classes-objc-expected.txt:
911         * platform/mac/fast/dom/wrapper-classes-objc.html:
912         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
913         * transforms/2d/transform-value-types-expected.txt:
914         * transforms/2d/transform-value-types.html:
915
916 2016-12-14  Yusuke Suzuki  <utatane.tea@gmail.com>
917
918         Unreviewed, LayoutTest http/tests/misc/module-script-async.html is a flaky timeout
919         https://bugs.webkit.org/show_bug.cgi?id=165764
920
921         Annotate it as Slow.
922
923         * TestExpectations:
924
925 2016-12-14  Youenn Fablet  <youenn@apple.com>
926
927         Test infrastructure should allow to filter out text output before doing a comparison with the baseline
928         https://bugs.webkit.org/show_bug.cgi?id=161310
929
930         Reviewed by Ryosuke Niwa.
931
932         * TestExpectations: Adding DumpJSConsoleLogInStdErr to the fetch modified test to ensure this modifier works as expected.
933
934 2016-12-14  Enrique Ocaña González  <eocanha@igalia.com>
935
936         REGRESSION(r207879-207891): [GStreamer] Introduced many layout test failures and crashes, bots exiting early
937         https://bugs.webkit.org/show_bug.cgi?id=164022
938
939         Reviewed by Xabier Rodriguez-Calvar.
940
941         * media/media-source/media-source-resize-expected.txt:
942         Expect the resize event.
943         * media/media-source/media-source-resize.html:
944         The test now succeeds no matter if the dimension is reported after
945         processing the init-segment (GTK+ case) or after the media segment
946         is processed (Mac case).
947         * platform/gtk/TestExpectations:
948         Reenabled all the media/media-source tests except one.
949         * platform/gtk/media/media-source/media-source-resize-expected.txt:
950         Copied from LayoutTests/media/media-source/media-source-resize-expected.txt.
951         The right dimensions are received earlier than in Mac.
952
953 2016-12-13  Yusuke Suzuki  <utatane.tea@gmail.com>
954
955         ASSERTION FAILED: hasParserBlockingScript() seen with js/dom/modules/module-will-fire-beforeload.html
956         https://bugs.webkit.org/show_bug.cgi?id=164883
957
958         Reviewed by Ryosuke Niwa.
959
960         * platform/mac-wk2/TestExpectations:
961
962 2016-12-13  Daniel Bates  <dabates@apple.com>
963
964         CSP: ws: and wss: blocked with connect-src *
965         https://bugs.webkit.org/show_bug.cgi?id=165804
966         <rdar://problem/28563643>
967
968         Reviewed by David Kilzer.
969
970         Add tests to ensure that * matches ws: and wss:.
971
972         * http/tests/security/contentSecurityPolicy/connect-src-star-secure-websocket-allowed-expected.txt: Added.
973         * http/tests/security/contentSecurityPolicy/connect-src-star-secure-websocket-allowed.html: Added.
974         * http/tests/security/contentSecurityPolicy/connect-src-star-websocket-allowed-expected.txt: Added.
975         * http/tests/security/contentSecurityPolicy/connect-src-star-websocket-allowed.html: Added.
976         * http/tests/security/contentSecurityPolicy/default-src-star-secure-websocket-allowed-expected.txt: Added.
977         * http/tests/security/contentSecurityPolicy/default-src-star-secure-websocket-allowed.html: Added.
978         * http/tests/security/contentSecurityPolicy/default-src-star-websocket-allowed-expected.txt: Added.
979         * http/tests/security/contentSecurityPolicy/default-src-star-websocket-allowed.html: Added.
980
981 2016-12-13  Joseph Pecoraro  <pecoraro@apple.com>
982
983         REGRESSION(r204163): Web Inspector: Page crashes when Inspector tries to load insecure SourceMap
984         https://bugs.webkit.org/show_bug.cgi?id=165806
985         <rdar://problem/28169025>
986
987         Reviewed by Alex Christensen.
988
989         * http/tests/inspector/network/loadResource-insecure-resource-expected.txt: Added.
990         * http/tests/inspector/network/loadResource-insecure-resource.html: Added.
991         * http/tests/inspector/network/resource-timing.html:
992         * http/tests/inspector/resources/inspector-test.js:
993         (runTestHTTPS):
994
995 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
996
997         Rebaseline js/dom/global-constructors-attributes.html after r209777.
998
999         Unreviewed test gardening.
1000
1001         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
1002
1003 2016-12-13  Ryosuke Niwa  <rniwa@webkit.org>
1004
1005         :hover rule causes a single tap to not activate a slotted anchor element
1006         https://bugs.webkit.org/show_bug.cgi?id=165551
1007
1008         Reviewed by Antti Koivisto.
1009
1010         Added a test for tapping on an anchor element assigned to a slot, which has been fixed in r209065.
1011
1012         Also added a new helper JS wrapepr, UIHelper, defined inside LayoutTests/resources/js-helper.js
1013         to provide an abstraction around EventSender and UIScriptController.
1014
1015         Fixed click-text-inside-linked-slot.html on iOS using UIHelper.
1016
1017         * fast/shadow-dom/click-on-slotted-anchor-with-hover-expected.txt: Added.
1018         * fast/shadow-dom/click-on-slotted-anchor-with-hover.html: Added.
1019         * fast/shadow-dom/click-text-inside-linked-slot.html:
1020         * platform/ios-simulator/fast/shadow-dom/click-text-inside-linked-slot-expected.txt: Added.
1021         * resources/ui-helper.js: Added.
1022         (window.UIHelper.isIOS):
1023         (window.UIHelper.activateAt.return.new.Promise):
1024         (window.UIHelper.activateAt):
1025         (window.UIHelper.wait):
1026         (window.UIHelper):
1027         * platform/ios-simulator-wk2/TestExpectations: Skip the test in the open source iOS's WebKit2.
1028
1029 2016-12-13  Dave Hyatt  <hyatt@apple.com>
1030
1031         [CSS Parser] Eliminate SVGPaint and SVGColor
1032         https://bugs.webkit.org/show_bug.cgi?id=165819
1033
1034         Reviewed by Dean Jackson.
1035
1036         * fast/dom/Window/resources/window-properties.js:
1037         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
1038         * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
1039         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1040         * svg/animations/additive-type-by-animation-expected.txt:
1041         * svg/animations/animate-color-calcMode-discrete-expected.txt:
1042         * svg/animations/animate-color-fill-currentColor-expected.txt:
1043         * svg/animations/animate-color-fill-from-by-expected.txt:
1044         * svg/animations/animate-color-transparent-expected.txt:
1045         * svg/animations/animate-currentColor-expected.txt:
1046         * svg/animations/animate-dynamic-update-attributeName-expected.txt:
1047         * svg/animations/animate-elem-03-t-drt-expected.txt:
1048         * svg/animations/animate-inherit-css-property-expected.txt:
1049         * svg/animations/attributeTypes-expected.txt:
1050         * svg/animations/resources/SVGAnimationTestCase.js:
1051         (expectColor):
1052         * svg/animations/script-tests/animate-color-fill-currentColor.js:
1053         (sample1):
1054         (sample2):
1055         (sample3):
1056         * svg/animations/script-tests/animate-color-fill-from-by.js:
1057         (sample1):
1058         (sample2):
1059         (sample3):
1060         * svg/css/getComputedStyle-basic-expected.txt:
1061         * svg/css/rect-system-color-expected.txt:
1062         * svg/css/rect-system-color.xhtml:
1063         * svg/custom/global-constructors-expected.txt:
1064         * svg/custom/js-svg-constructors-expected.txt:
1065         * svg/custom/js-svg-constructors.svg:
1066         * svg/custom/script-tests/global-constructors.js:
1067
1068 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
1069
1070         Rebaseline js/dom/global-constructors-attributes.html after r209760.
1071
1072         Unreviewed test gardening.
1073
1074         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1075
1076 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
1077
1078         Remove ios-simulator-wk2 pass expectation for a directory that requires touch events.
1079         https://bugs.webkit.org/show_bug.cgi?id=165787
1080
1081         Unreviewed test gardening.
1082
1083         * platform/ios-simulator-wk2/TestExpectations:
1084
1085 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
1086
1087         Marking two scroll-to-fragid tests as flaky on ios-simulator.
1088
1089         Unreviewed test gardening.
1090
1091         * platform/ios-simulator-wk2/TestExpectations:
1092
1093 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
1094
1095         Skip fast/events/page-visibility-onvisibilitychange.html on ios-simulator.
1096         https://bugs.webkit.org/show_bug.cgi?id=165799
1097
1098         Unreviewed test gardening.
1099
1100         * platform/ios-simulator/TestExpectations:
1101
1102 2016-12-13  Sam Weinig  <sam@webkit.org>
1103
1104         [WebIDL] Remove use of Dictionary in ApplePaySession
1105         https://bugs.webkit.org/show_bug.cgi?id=165787
1106
1107         Reviewed by Anders Carlsson.
1108
1109         * http/tests/ssl/applepay: Added.
1110         * http/tests/ssl/applepay/ApplePaySession-expected.txt: Added.
1111         * http/tests/ssl/applepay/ApplePaySession.html: Added.
1112         Add a compressive test of the handling of the payment request to the ApplePaySession
1113         constructor. For further testing, we will need to mock out bits of the underlying 
1114         coordinator, but this allows for testing the aspect I am changing. The applepay
1115         directory is in the ssl directory, as all use of ApplePay requires https.
1116
1117         * TestExpectations:
1118         * platform/ios-simulator-wk2/TestExpectations:
1119         * platform/mac-wk2/TestExpectations:
1120         Only enable the tests on iOS 10.10 and greater, and macOS 10.12 and greater, WebKit2.
1121
1122 2016-12-13  Daniel Bates  <dabates@apple.com>
1123
1124         CSP: Teach the preload scanner about the 'nonce' attribute
1125         https://bugs.webkit.org/show_bug.cgi?id=161192
1126         <rdar://problem/28010354>
1127
1128         Reviewed by Darin Adler.
1129
1130         Add tests to ensure that we preload <script>s and <link>s whose nonce is allowed by the
1131         Content Security Policy of the page.
1132
1133         * http/tests/loading/do-not-preload-css-blocked-by-csp-expected.txt: Added.
1134         * http/tests/loading/do-not-preload-css-blocked-by-csp.html: Added.
1135         * http/tests/loading/do-not-preload-script-src-blocked-by-csp-expected.txt: Added.
1136         * http/tests/loading/do-not-preload-script-src-blocked-by-csp.html: Added.
1137         * http/tests/loading/preload-css-with-csp-nonce-expected.txt: Added.
1138         * http/tests/loading/preload-css-with-csp-nonce.html: Added.
1139         * http/tests/loading/preload-script-src-with-csp-nonce-expected.txt: Added.
1140         * http/tests/loading/preload-script-src-with-csp-nonce.html: Added.
1141
1142 2016-12-13  Antti Koivisto  <antti@apple.com>
1143
1144         REGRESSION (r198990): Safari - Cannot edit content inside <details> in wysiwyg editor
1145         https://bugs.webkit.org/show_bug.cgi?id=165757
1146
1147         Reviewed by Andreas Kling.
1148
1149         * editing/execCommand/justify-right-then-indent-with-problematic-body-expected.txt:
1150         * fast/html/details-edit-expected.txt: Added.
1151         * fast/html/details-edit.html: Added.
1152
1153 2016-12-13  Per Arne Vollan  <pvollan@apple.com>
1154
1155         Unreviewed test gardening.
1156
1157         Update test expectations on Windows for failing tests. These failures are tracked in
1158         https://bugs.webkit.org/show_bug.cgi?id=160447.
1159
1160         * platform/win/TestExpectations:
1161
1162 2016-12-12  Darin Adler  <darin@apple.com>
1163
1164         Remove bindings generation support for legacy WebCore::Dictionary
1165         https://bugs.webkit.org/show_bug.cgi?id=165762
1166
1167         Reviewed by Sam Weinig.
1168
1169         * fast/mediastream/RTCPeerConnection-expected.txt:
1170         * fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt:
1171         * fast/mediastream/RTCPeerConnection-overloaded-operations-params.html:
1172         Updated to expect error messages with "dictionary" with a lowercase D.
1173
1174 2016-12-12  Chris Dumez  <cdumez@apple.com>
1175
1176         Add Document.onvisibilitychange event handler attribute
1177         https://bugs.webkit.org/show_bug.cgi?id=165784
1178
1179         Reviewed by Daniel Bates.
1180
1181         Add layout test coverage.
1182
1183         * fast/events/page-visibility-onvisibilitychange-expected.txt: Added.
1184         * fast/events/page-visibility-onvisibilitychange.html: Added.
1185
1186 2016-12-07  Jiewen Tan  <jiewen_tan@apple.com>
1187
1188         [WebCrypto] Migrate some tests from webkitSubtle to subtle
1189         https://bugs.webkit.org/show_bug.cgi?id=165554
1190
1191         Reviewed by Brent Fulgham.
1192
1193         To improve test coverage for subtle.
1194
1195         * crypto/crypto-key-algorithm-gc-expected.txt: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-algorithm-gc-expected.txt.
1196         * crypto/crypto-key-algorithm-gc.html: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-algorithm-gc.html.
1197         * crypto/crypto-key-usages-gc-expected.txt: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-usages-gc-expected.txt.
1198         * crypto/crypto-key-usages-gc.html: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-usages-gc.html.
1199         * crypto/subtle/resources/rsa-indexeddb-non-exportable.js: Added.
1200         * crypto/subtle/resources/rsa-indexeddb.js: Added.
1201         * crypto/subtle/rsa-indexeddb-expected.txt: Added.
1202         * crypto/subtle/rsa-indexeddb-non-exportable-expected.txt: Added.
1203         * crypto/subtle/rsa-indexeddb-non-exportable-private-expected.txt: Added.
1204         * crypto/subtle/rsa-indexeddb-non-exportable-private.html: Added.
1205         * crypto/subtle/rsa-indexeddb-non-exportable.html: Added.
1206         * crypto/subtle/rsa-indexeddb-private-expected.txt: Added.
1207         * crypto/subtle/rsa-indexeddb-private.html: Added.
1208         * crypto/subtle/rsa-indexeddb.html: Added.
1209         * crypto/subtle/rsa-oaep-plaintext-length-expected.txt: Added.
1210         * crypto/subtle/rsa-oaep-plaintext-length.html: Added.
1211         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt: Added.
1212         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html: Added.
1213         * platform/ios-simulator-wk1/TestExpectations:
1214
1215 2016-12-12  Matt Baker  <mattbaker@apple.com>
1216
1217         Unreviewed, follow-up after r209706.
1218
1219         * inspector/debugger/breakpoint-action-log.html:
1220         Add missing test case description.
1221
1222 2016-12-12  Joseph Pecoraro  <pecoraro@apple.com>
1223
1224         Web Inspector: Add tests for Fetch API Network Data (CORs, Opaque Responses, Filtered Headers)
1225         https://bugs.webkit.org/show_bug.cgi?id=165683
1226
1227         Reviewed by Brian Burg.
1228
1229         * http/tests/inspector/network/fetch-network-data-expected.txt: Added.
1230         * http/tests/inspector/network/fetch-network-data.html: Added.
1231         * http/tests/inspector/network/resources/cors-data.pl: Added.
1232         * http/tests/inspector/resources/inspector-test.js:
1233
1234 2016-12-12  Jer Noble  <jer.noble@apple.com>
1235
1236         Remove implementation of legacy Mozilla-based Fullscreen API.
1237         https://bugs.webkit.org/show_bug.cgi?id=165689
1238
1239         Reviewed by Eric Carlson.
1240
1241         * fullscreen/full-screen-css-expected.txt:
1242         * fullscreen/full-screen-css.html:
1243         * fullscreen/full-screen-keyboard-disabled-expected.txt: Removed.
1244         * fullscreen/full-screen-keyboard-disabled.html: Removed.
1245         * fullscreen/full-screen-twice-expected.txt:
1246         * fullscreen/full-screen-twice.html:
1247         * js/dom/dom-static-property-for-in-iteration-expected.txt:
1248
1249 2016-12-12  Manuel Rego Casasnovas  <rego@igalia.com>
1250
1251         [css-grid] Add some test cases that were removed in r209562
1252         https://bugs.webkit.org/show_bug.cgi?id=165750
1253
1254         Reviewed by Sergio Villar Senin.
1255
1256         Some valid test cases were removed in r209562, this patch adds them back.
1257
1258         * fast/css-grid-layout/grid-template-shorthand-get-set.html: The specified style is now preserved,
1259         so we've to use a different value for it (as it doesn't merge the line names).
1260         * fast/css-grid-layout/resources/grid-columns-rows-get-set.js: Flexible sizes must be non-negative,
1261         but 0fr should be accepted (this is new as it was not working like that with the old parser).
1262         A space between the dimension and the unit is wrong for flexible sizes.
1263         * fast/css-grid-layout/resources/non-grid-columns-rows-get-set.js: Ditto.
1264
1265 2016-12-12  Zalan Bujtas  <zalan@apple.com>
1266
1267         The CSS 'columns' property when set on the <body> element makes short columns
1268         https://bugs.webkit.org/show_bug.cgi?id=164891
1269
1270         Reviewed by Darin Adler and David Hyatt.
1271
1272         * fast/multicol/columns-on-body-expected.html: Added.
1273         * fast/multicol/columns-on-body.html: Added.
1274
1275 2016-12-09  Dean Jackson  <dino@apple.com>
1276
1277         Autoplay isn't working in iPhone MediaDocuments
1278         https://bugs.webkit.org/show_bug.cgi?id=165710
1279         <rdar://problems/29606761>
1280
1281         Reviewed by Darin Adler.
1282         
1283         * media/ios/autoplay-only-in-main-document.html: Make sure that
1284         an iframe pointing to media is not autoplayed.
1285         * TestExpectations:
1286         * platform/ios-simulator/TestExpectations:
1287
1288 2016-12-12  Ryan Haddad  <ryanhaddad@apple.com>
1289
1290         Marking http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame.html as flaky on ios-simulator.
1291         https://bugs.webkit.org/show_bug.cgi?id=165691
1292
1293         Unreviewed test gardening.
1294
1295         * platform/ios-simulator/TestExpectations:
1296
1297 2016-12-12  Ryan Haddad  <ryanhaddad@apple.com>
1298
1299         Rebaseline js/dom/global-constructors-attributes.html for mac-wk1 after r209666.
1300
1301         Unreviewed test gardening.
1302
1303         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
1304
1305 2016-12-12  Per Arne Vollan  <pvollan@apple.com>
1306
1307         Unreviewed test gardening.
1308
1309         Update test expectations on Windows for failing tests. These failures are tracked in
1310         https://bugs.webkit.org/show_bug.cgi?id=160447.
1311
1312         * platform/win/TestExpectations:
1313
1314 2016-12-12  Matt Baker  <mattbaker@apple.com>
1315
1316         Web Inspector: Breakpoint Log action should support template literals
1317         https://bugs.webkit.org/show_bug.cgi?id=165116
1318         <rdar://problem/29464765>
1319
1320         Reviewed by Joseph Pecoraro.
1321
1322         * inspector/debugger/breakpoint-action-log-expected.txt: Added.
1323         * inspector/debugger/breakpoint-action-log.html: Added.
1324         Check that breakpoint log actions support template literal placeholders.
1325
1326         * inspector/unit-tests/breakpoint-log-message-lexer-expected.txt: Added.
1327         * inspector/unit-tests/breakpoint-log-message-lexer.html: Added.
1328         Check that the lexer correctly scans breakpoint log action text.
1329
1330 2016-12-11  Simon Fraser  <simon.fraser@apple.com>
1331
1332         REGRESSION (r200283): Transform, overflow hidden and filter combination completely hides the element
1333         https://bugs.webkit.org/show_bug.cgi?id=161509
1334
1335         Reviewed by David Hyatt.
1336
1337         * css3/filters/filter-on-overflow-hidden-expected.html: Added.
1338         * css3/filters/filter-on-overflow-hidden.html: Added.
1339
1340 2016-12-11  Darin Adler  <darin@apple.com>
1341
1342         Remove uses of Dictionary in WebRTC IDL files
1343         https://bugs.webkit.org/show_bug.cgi?id=165736
1344
1345         Reviewed by Sam Weinig.
1346
1347         * fast/mediastream/RTCIceCandidate-expected.txt: Regenerated; no new failures.
1348         * fast/mediastream/RTCIceCandidate.html: Updated test to expect the WebIDL rules for parsing
1349         unsigned short for sdpMLineIndex. The old code expected additional range checking which is
1350         not expected behavior.
1351
1352         * fast/mediastream/RTCPeerConnection-expected.txt: Regenerated; no new failures.
1353         * fast/mediastream/RTCPeerConnection.html: Updated test to not expect an exception when
1354         iceServers is entirely omitted or when it is an empty array. This is a progression and is
1355         closer to the specification.
1356
1357         * fast/mediastream/RTCPeerConnection-getConfiguration-expected.txt: Regenerated; no new failures.
1358         * fast/mediastream/RTCPeerConnection-getConfiguration.html: Updated test to expect the username
1359         and credential fields to round trip as missing rather than turning from missing into empty strings.
1360         Also updated the tests to pass in sequences of strings for "urls" since they expect sequences on
1361         the way back out. We could also test round tripping of single strings, which should go in and come
1362         back out as individual strings, but for now I did not bother adding that to this test.
1363
1364         * fast/mediastream/RTCSessionDescription-expected.txt: Regenerated; some exception messages are
1365         now more specific than they were before.
1366
1367         * imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt:
1368         Updated expected results. The new code correctly allows callers of the RTCPeerConnection constructor
1369         to omit iceServers, pass undefined, or pass an empty array, as specified. Thuis change leads to
1370         a couple tests that now correctly pass instead of failing. And it also leads to some other tests
1371         failing that were passing before. These were passing because they expected an exception for some
1372         other reason, however the exception was actually occurring because of incorrect handling of iceServers.
1373
1374 2016-12-11  Jiewen Tan  <jiewen_tan@apple.com>
1375
1376         [WebCrypto] Add tests for wrap/unwrap SPKI/PKCS8 keys
1377         https://bugs.webkit.org/show_bug.cgi?id=165557
1378
1379         Reviewed by Darin Adler.
1380
1381         * crypto/subtle/aes-cbc-import-key-unwrap-pkcs8-key-expected.txt: Added.
1382         * crypto/subtle/aes-cbc-import-key-unwrap-pkcs8-key.html: Added.
1383         * crypto/subtle/aes-cbc-import-key-unwrap-spki-key-expected.txt: Added.
1384         * crypto/subtle/aes-cbc-import-key-unwrap-spki-key.html: Added.
1385         * crypto/subtle/aes-cbc-import-key-wrap-pkcs8-key-expected.txt: Added.
1386         * crypto/subtle/aes-cbc-import-key-wrap-pkcs8-key.html: Added.
1387         * crypto/subtle/aes-cbc-import-key-wrap-spki-key-expected.txt: Added.
1388         * crypto/subtle/aes-cbc-import-key-wrap-spki-key.html: Added.
1389
1390 2016-12-11  Dan Bernstein  <mitz@apple.com>
1391
1392         [Cocoa] NSAttributedString representation of text copied from -webkit-nbsp-mode:space element contains non-breaking space characters, but shouldn’t
1393         https://bugs.webkit.org/show_bug.cgi?id=165515
1394         <rdar://problem/4108460>
1395
1396         Reviewed by Darin Adler.
1397
1398         * platform/mac/fast/text/attributed-substring-from-range-expected.txt: Updated.
1399
1400 2016-12-10  Simon Fraser  <simon.fraser@apple.com>
1401
1402         Support the deprecated dictionary constructor for DOMPointReadOnly and DOMPoint
1403         https://bugs.webkit.org/show_bug.cgi?id=165732
1404
1405         Reviewed by Sam Weinig.
1406
1407         * geometry/DOMPoint-001-expected.txt:
1408         * geometry/DOMPoint-001.html:
1409
1410 2016-12-10  Simon Fraser  <simon.fraser@apple.com>
1411
1412         Animation followed by transition doesn't always fire transitionend event
1413         https://bugs.webkit.org/show_bug.cgi?id=165731
1414         rdar://problem/28471240
1415
1416         Reviewed by Zalan Bujtas.
1417
1418         * animations/animation-followed-by-transition-expected.txt: Added.
1419         * animations/animation-followed-by-transition.html: Added.
1420
1421 2016-12-09  Sam Weinig  <sam@webkit.org>
1422
1423         [WebIDL] Remove custom bindings for Geolocation
1424         https://bugs.webkit.org/show_bug.cgi?id=165625
1425
1426         Reviewed by Alex Christensen.
1427
1428         * fast/dom/Geolocation/argument-types-expected.txt:
1429         * fast/dom/Geolocation/not-enough-arguments-expected.txt:
1430         * fast/dom/Geolocation/script-tests/argument-types.js:
1431         Update tests for improved error messages / adherence to WebIDL.
1432
1433 2016-12-09  Dave Hyatt  <hyatt@apple.com>
1434
1435         [CSS Parser] Remove the old CSS Parser
1436         https://bugs.webkit.org/show_bug.cgi?id=165645
1437
1438         Reviewed by Daniel Bates.
1439
1440         * TestExpectations:
1441         Some canvas tests pass now that they use the new parser's color parsing.
1442
1443         * fast/dom/HTMLFontElement/face-attribute-expected.txt:
1444         * fast/dom/HTMLFontElement/face-attribute.html:
1445         Converted font face parsing over to just use the CSS parser's font-family
1446         parsing. This matches other browsers, so removing cases that we used to
1447         accept now that we're more strict.
1448
1449         * platform/mac/canvas/philip/tests/2d.fillStyle.parse.rgb-eof-expected.txt:
1450         * platform/mac/canvas/philip/tests/2d.fillStyle.parse.rgba-eof-expected.txt:
1451         These tests pass now that canvas uses the new parser's color parsing.
1452
1453         * platform/ios-simulator/svg/custom/fill-SVGPaint-interface-expected.txt: Removed.
1454         * platform/mac/svg/custom/fill-SVGPaint-interface-expected.png: Removed.
1455         * platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt: Removed.
1456         * svg/custom/fill-SVGPaint-interface.svg: Removed.
1457         Remove another test of the SVG CSS OM, since the SVG CSS OM for SVGPaint etc.
1458         is gone now.
1459
1460         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1461         Rebaselined because of CSSNamespaceRule.
1462
1463 2016-12-10  Jiewen Tan  <jiewen_tan@apple.com>
1464
1465         [WebCrypto] RSA algorithms should allow importing keys without usages
1466         https://bugs.webkit.org/show_bug.cgi?id=165680
1467         <rdar://problem/29601354>
1468
1469         Reviewed by Brent Fulgham.
1470
1471         * crypto/subtle/rsa-oaep-import-jwk-public-key-empty-usages-expected.txt: Added.
1472         * crypto/subtle/rsa-oaep-import-jwk-public-key-empty-usages.html: Added.
1473         * crypto/subtle/rsa-oaep-import-spki-key-empty-usages-expected.txt: Added.
1474         * crypto/subtle/rsa-oaep-import-spki-key-empty-usages.html: Added.
1475         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-empty-usages-expected.txt: Added.
1476         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-empty-usages.html: Added.
1477         * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-empty-usages-expected.txt: Added.
1478         * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-empty-usages.html: Added.
1479         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-empty-usages-expected.txt: Added.
1480         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-empty-usages.html: Added.
1481         * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-empty-usages-expected.txt: Added.
1482         * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-empty-usages.html: Added.
1483
1484 2016-12-09  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1485
1486         [Readable Streams API] Implement ReadableByteStreamController desiredSize
1487         https://bugs.webkit.org/show_bug.cgi?id=165599
1488
1489         Reviewed by Darin Adler.
1490
1491         Added test to check ReadableByteStreamController desiredSize value.
1492
1493         * streams/readable-byte-stream-controller-expected.txt: Added expectation for new test.
1494         * streams/readable-byte-stream-controller.js: Added new test for desiredSize.
1495
1496 2016-12-09  Ryosuke Niwa  <rniwa@webkit.org>
1497
1498         document.pointerLockElement exposes a node inside a shadow tree
1499         https://bugs.webkit.org/show_bug.cgi?id=165702
1500
1501         Reviewed by Simon Fraser.
1502
1503         Added tests for pointer locks inside a shadow root as well as one assigned to a slot.
1504
1505         * fast/shadow-dom/pointerlockelement-in-shadow-tree-expected.txt: Added.
1506         * fast/shadow-dom/pointerlockelement-in-shadow-tree.html: Added.
1507         * fast/shadow-dom/pointerlockelement-in-slot-expected.txt: Added.
1508         * fast/shadow-dom/pointerlockelement-in-slot.html: Added.
1509         * platform/efl/TestExpectations:
1510         * platform/gtk/TestExpectations:
1511         * platform/ios-simulator/TestExpectations:
1512
1513 2016-12-09  Daniel Bates  <dabates@apple.com>
1514
1515         Add reflected nonce attribute to HTML Link element IDL
1516         https://bugs.webkit.org/show_bug.cgi?id=165709
1517
1518         Reviewed by Ryosuke Niwa.
1519
1520         Add a test to ensure that we reflect the nonce attribute for the HTML link, script,
1521         and style elements.
1522
1523         * fast/dom/nonce-attribute-reflection-expected.txt: Added.
1524         * fast/dom/nonce-attribute-reflection.html: Added.
1525
1526 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
1527
1528         Marking inspector/debugger/csp-exceptions.html as flaky on mac-wk2.
1529         https://bugs.webkit.org/show_bug.cgi?id=165292
1530
1531         Unreviewed test gardening.
1532
1533         * platform/mac-wk2/TestExpectations:
1534
1535 2016-12-06  Jiewen Tan  <jiewen_tan@apple.com>
1536
1537         [Part 2 of 2] Add support for PKCS8 format while doing SubtleCrypto.importKey/exportKey
1538         https://bugs.webkit.org/show_bug.cgi?id=129978
1539         <rdar://problem/21799829>
1540
1541         Reviewed by Brent Fulgham.
1542
1543         * crypto/subtle/import-key-malformed-parameters-expected.txt:
1544         * crypto/subtle/import-key-malformed-parameters.html:
1545         * crypto/subtle/rsa-export-key-malformed-parameters-expected.txt:
1546         * crypto/subtle/rsa-export-key-malformed-parameters.html:
1547         * crypto/subtle/rsa-import-jwk-key-export-pkcs8-key-expected.txt: Added.
1548         * crypto/subtle/rsa-import-jwk-key-export-pkcs8-key.html: Added.
1549         * crypto/subtle/rsa-import-jwk-key-export-spki-key-expected.txt:
1550         * crypto/subtle/rsa-import-jwk-key-export-spki-key.html:
1551         * crypto/subtle/rsa-import-key-malformed-parameters-expected.txt:
1552         * crypto/subtle/rsa-import-key-malformed-parameters.html:
1553         * crypto/subtle/rsa-import-pkcs8-key-export-jwk-key-expected.txt: Added.
1554         * crypto/subtle/rsa-import-pkcs8-key-export-jwk-key.html: Added.
1555         * crypto/subtle/rsa-import-pkcs8-key-export-pkcs8-key-expected.txt: Added.
1556         * crypto/subtle/rsa-import-pkcs8-key-export-pkcs8-key.html: Added.
1557         * crypto/subtle/rsa-oaep-generate-export-key-pkcs8-expected.txt: Added.
1558         * crypto/subtle/rsa-oaep-generate-export-key-pkcs8.html: Added.
1559         * crypto/subtle/rsa-oaep-import-pkcs8-key-expected.txt: Added.
1560         * crypto/subtle/rsa-oaep-import-pkcs8-key.html: Added.
1561         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-pkcs8-expected.txt: Added.
1562         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-pkcs8.html: Added.
1563         * crypto/subtle/rsaes-pkcs1-v1_5-import-pkcs8-key-expected.txt: Added.
1564         * crypto/subtle/rsaes-pkcs1-v1_5-import-pkcs8-key.html: Added.
1565         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-pkcs8-expected.txt: Added.
1566         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-pkcs8.html: Added.
1567         * crypto/subtle/rsassa-pkcs1-v1_5-import-pkcs8-key-expected.txt: Added.
1568         * crypto/subtle/rsassa-pkcs1-v1_5-import-pkcs8-key.html: Added.
1569         * crypto/workers/subtle/resources/rsa-export-pkcs8-key.js: Added.
1570         * crypto/workers/subtle/resources/rsa-import-pkcs8-key.js: Added.
1571         * crypto/workers/subtle/rsa-export-pkcs8-key-expected.txt: Added.
1572         * crypto/workers/subtle/rsa-export-pkcs8-key.html: Added.
1573         * crypto/workers/subtle/rsa-import-pkcs8-key-expected.txt: Added.
1574         * crypto/workers/subtle/rsa-import-pkcs8-key.html: Added.
1575
1576 2016-12-09  Joseph Pecoraro  <pecoraro@apple.com>
1577
1578         Web Inspector: Some resources fetched via Fetch API do not have data
1579         https://bugs.webkit.org/show_bug.cgi?id=165230
1580         <rdar://problem/29449220>
1581
1582         Reviewed by Alex Christensen.
1583
1584         * http/tests/inspector/network/fetch-response-body-expected.txt: Added.
1585         * http/tests/inspector/network/fetch-response-body.html: Added.
1586         * http/tests/inspector/network/resources/data.html: Added.
1587         * http/tests/inspector/network/resources/data.json: Added.
1588         * http/tests/inspector/network/resources/data.svg: Added.
1589         * http/tests/inspector/network/resources/data.txt: Added.
1590         * http/tests/inspector/network/resources/echo.php: Added.
1591         * http/tests/inspector/network/xhr-response-body-expected.txt: Added.
1592         * http/tests/inspector/network/xhr-response-body.html: Added.
1593         Tests for viewing content of XHR and Fetch requested resources
1594         with different kinds of content.
1595
1596 2016-12-09  Ryosuke Niwa  <rniwa@webkit.org>
1597
1598         document.webkitFullscreenElement leaks elements inside a shadow tree
1599         https://bugs.webkit.org/show_bug.cgi?id=158471
1600
1601         Reviewed by Chris Dumez.
1602
1603         Added tests for calling webkitFullscreenElement and webkitCurrentFullScreenElement on a fullscreened element
1604         to make sure they return the shadow host instead.
1605
1606         Also added two unrelated test cases for temporal regressions I introduced while working on this patch.
1607
1608         Skip the fullscreen tests on iOS WK2 since eventSender doesn't work there.
1609
1610         * fast/shadow-dom/activeElement-for-focused-element-in-another-shadow-expected.txt: Added.
1611         * fast/shadow-dom/activeElement-for-focused-element-in-another-shadow.html: Added.
1612         * fast/shadow-dom/blur-on-shadow-host-with-focused-shadow-content-expected.txt: Added.
1613         * fast/shadow-dom/blur-on-shadow-host-with-focused-shadow-content.html: Added.
1614         * fast/shadow-dom/fullscreen-in-shadow-fullscreenElement-expected.txt: Added.
1615         * fast/shadow-dom/fullscreen-in-shadow-fullscreenElement.html: Added.
1616         * fast/shadow-dom/fullscreen-in-shadow-webkitCurrentFullScreenElement-expected.txt: Added.
1617         * fast/shadow-dom/fullscreen-in-shadow-webkitCurrentFullScreenElement.html: Added.
1618         * fast/shadow-dom/fullscreen-in-slot-fullscreenElement-expected.txt: Added.
1619         * fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html: Added.
1620         * fast/shadow-dom/fullscreen-in-slot-webkitCurrentFullScreenElement-expected.txt: Added.
1621         * fast/shadow-dom/fullscreen-in-slot-webkitCurrentFullScreenElement.html: Added.
1622         * platform/ios-simulator-wk2/TestExpectations:
1623
1624 2016-12-09  Chris Dumez  <cdumez@apple.com>
1625
1626         [Cocoa] Validation message for required checkbox doesn’t conform the the Apple Style Guide
1627         https://bugs.webkit.org/show_bug.cgi?id=165661
1628
1629         Reviewed by Dan Bernstein.
1630
1631         Update / rebaseline tests.
1632
1633         * fast/forms/ios/validation-bubble-dismiss-on-tap-expected.txt:
1634         * fast/forms/ios/validation-bubble-dismiss-on-tap.html:
1635         * fast/forms/validation-messages-expected.txt:
1636         * fast/forms/validation-messages.html:
1637         * platform/ios-simulator-wk2/fast/forms/validation-messages-expected.txt:
1638
1639 2016-12-09  Jiewen Tan  <jiewen_tan@apple.com>
1640
1641         Unreviewed, followup after r209598.
1642
1643         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
1644
1645 2016-12-09  Zalan Bujtas  <zalan@apple.com>
1646
1647         ASSERTION FAILED: !beforeChild->isRubyRun() in WebCore::RenderRubyAsBlock::addChild
1648         https://bugs.webkit.org/show_bug.cgi?id=141433
1649         <rdar://problem/27711351>
1650
1651         Reviewed by Dean Jackson.
1652
1653         * fast/ruby/assert-with-listitem-and-block-ruby-expected.txt: Added.
1654         * fast/ruby/assert-with-listitem-and-block-ruby.html: Added.
1655
1656 2016-12-09  Antoine Quint  <graouts@apple.com>
1657
1658         [Modern Media Controls] Implement the pageScaleFactor property
1659         https://bugs.webkit.org/show_bug.cgi?id=165660
1660
1661         Reviewed by Dean Jackson.
1662
1663         Add a new test to check that we correctly zoom and size the media controls when the page
1664         scale factor is a value other than 1.
1665
1666         * media/modern-media-controls/media-controller/media-controller-scale-factor-expected.txt: Added.
1667         * media/modern-media-controls/media-controller/media-controller-scale-factor.html: Added.
1668
1669 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
1670
1671         Unreviewed, rolling out r209574.
1672
1673         This change broke the Windows build.
1674
1675         Reverted changeset:
1676
1677         "[WebIDL] Remove custom bindings for Geolocation"
1678         https://bugs.webkit.org/show_bug.cgi?id=165625
1679         http://trac.webkit.org/changeset/209574
1680
1681 2016-12-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1682
1683         Fedora also needs a PHP7 config file alternative
1684         https://bugs.webkit.org/show_bug.cgi?id=165606
1685
1686         Reviewed by Michael Catanzaro.
1687
1688         * http/conf/fedora-httpd-2.4-php7.conf: Added.
1689
1690 2016-12-09  Ryosuke Niwa  <rniwa@webkit.org>
1691
1692         Custom Elements from a different document are not customized when created with innerHTML
1693         https://bugs.webkit.org/show_bug.cgi?id=165617
1694
1695         Reviewed by Antti Koivisto.
1696
1697         Added a W3C style testharness.js test.
1698
1699         * fast/custom-elements/adopting-from-frameless-document-expected.txt: Added.
1700         * fast/custom-elements/adopting-from-frameless-document.html: Added.
1701
1702 2016-12-09  Daniel Bates  <dabates@apple.com>
1703
1704         [CSP] Policy of window opener not applied to about:blank window
1705         https://bugs.webkit.org/show_bug.cgi?id=165531
1706         <rdar://problem/29426639>
1707
1708         Reviewed by Brent Fulgham.
1709
1710         Add a test to ensure that an about:blank window inherits the CSP policy of its
1711         opener document.
1712
1713         * http/tests/security/contentSecurityPolicy/image-blocked-in-about-blank-window-expected.txt: Added.
1714         * http/tests/security/contentSecurityPolicy/image-blocked-in-about-blank-window-blocked.html: Added.
1715
1716 2016-12-09  Antoine Quint  <graouts@apple.com>
1717
1718         [Modern Media Controls] Remaining time label first appears way to the left
1719         https://bugs.webkit.org/show_bug.cgi?id=165637
1720
1721         Reviewed by Dean Jackson.
1722
1723         Add a new test that checks that marking a property as dirty during a layout correctly commits
1724         that property on the next frame.
1725
1726         * media/modern-media-controls/layout-node/node-made-dirty-during-layout-expected.txt: Added.
1727         * media/modern-media-controls/layout-node/node-made-dirty-during-layout.html: Added.
1728
1729 2016-12-08  Jiewen Tan  <jiewen_tan@apple.com>
1730
1731         [WebCrypto] Remove NoInterfaceObject attribute from SubtleCrypto Interface
1732         https://bugs.webkit.org/show_bug.cgi?id=165629
1733         <rdar://problem/29586203>
1734
1735         Reviewed by Chris Dumez.
1736
1737         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
1738         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1739         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
1740
1741 2016-12-08  Antoine Quint  <graouts@apple.com>
1742
1743         [Modern Media Controls] Exiting fullscreen with paused media shows the start button
1744         https://bugs.webkit.org/show_bug.cgi?id=165640
1745
1746         Reviewed by Dean Jackson.
1747
1748         Modify the existing test that enters fullscreen and returns to inline controls with paused media
1749         to check that the start button is not shown upon returning to inline controls.
1750
1751         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline-expected.txt:
1752         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline.html:
1753
1754 2016-12-08  Myles C. Maxfield  <mmaxfield@apple.com>
1755
1756         ASSERTION FAILED: locale in WebCore::lastHyphenLocation
1757         https://bugs.webkit.org/show_bug.cgi?id=164182
1758
1759         Reviewed by Zalan Bujtas.
1760
1761         * fast/text/hyphenation-unknown-locale-expected.txt: Added.
1762         * fast/text/hyphenation-unknown-locale.html: Added.
1763
1764 2016-12-07  Ryosuke Niwa  <rniwa@webkit.org>
1765
1766         ASSERTION FAILED: m_items.isEmpty() in CustomElementReactionQueue destructor
1767         https://bugs.webkit.org/show_bug.cgi?id=162029
1768         <rdar://problem/28945851>
1769
1770         Reviewed by Chris Dumez.
1771
1772         Added a regression test that reliably reproduces the crash in DumpRenderTree / WebKitTestRunner.
1773
1774         Also added a W3C style testharness.js test for the behavior I broke in an earlier iteration of the patch.
1775
1776         * fast/custom-elements/disconnected-callback-in-detached-iframe-expected.txt: Added.
1777         * fast/custom-elements/disconnected-callback-in-detached-iframe.html: Added.
1778         * fast/custom-elements/element-queue-during-document-destruction-expected.txt: Added.
1779         * fast/custom-elements/element-queue-during-document-destruction.html: Added.
1780
1781 2016-12-08  Ryan Haddad  <ryanhaddad@apple.com>
1782
1783         Marking compositing/rtl/rtl-fixed-overflow.html as failing on mac-wk1.
1784         https://bugs.webkit.org/show_bug.cgi?id=165541
1785
1786         Unreviewed test gardening.
1787
1788         * platform/mac-wk1/TestExpectations:
1789
1790 2016-12-08  Daniel Bates  <dabates@apple.com>
1791
1792         Implement Strict Mixed Content Checking
1793         https://bugs.webkit.org/show_bug.cgi?id=165438
1794         <rdar://problem/26103867>
1795
1796         Reviewed by Brent Fulgham and Andy Estes.
1797
1798         Add tests to ensure that we do not regress strict mixed content checking.
1799
1800         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt: Added.
1801         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame.html: Added.
1802         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/duplicate-directive-expected.txt: Added.
1803         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/duplicate-directive.html: Added.
1804         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-expected.txt: Added.
1805         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt: Added.
1806         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only.html: Added.
1807         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe.html: Added.
1808         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt: Added.
1809         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame.html: Added.
1810         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe-expected.txt: Added.
1811         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe.html: Added.
1812         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame-expected.txt: Added.
1813         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame.html: Added.
1814         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-blob-url-iframe-in-iframe-expected.html: Added.
1815         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-blob-url-iframe-in-iframe.html: Added.
1816         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-expected.txt: Added.
1817         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: Added.
1818         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html: Added.
1819         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy-expected.txt: Added.
1820         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy.html: Added.
1821         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe.html: Added.
1822         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Added.
1823         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe.html: Added.
1824         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt: Added.
1825         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame.html: Added.
1826         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy-expected.txt: Added.
1827         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy.html: Added.
1828         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe-expected.txt: Added.
1829         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe.html: Added.
1830         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt: Added.
1831         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame.html: Added.
1832         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-expected.txt: Added.
1833         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy-expected.txt: Added.
1834         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy.html: Added.
1835         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe.html: Added.
1836         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt: Added.
1837         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame.html: Added.
1838         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt: Added.
1839         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe.html: Added.
1840         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt: Added.
1841         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame.html: Added.
1842         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe-expected.txt: Added.
1843         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe.html: Added.
1844         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame-expected.txt: Added.
1845         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame.html: Added.
1846         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/dump-securitypolicyviolation-and-notify-done.js: Added.
1847         (logMessage):
1848         (securityPolicyViolationToString):
1849         (checkNotify):
1850         (recordSecurityPolicyViolation):
1851         (window.onload):
1852         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/fail.html: Added.
1853         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-data-url-iframe.html: Added.
1854         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-css-report-only.php: Added.
1855         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-css.html: Added.
1856         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-iframe.html: Added.
1857         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-and-without-policy.html: Added.
1858         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-in-blob-url-iframe.html: Added.
1859         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-in-javascript-url-iframe.html: Added.
1860         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php: Added.
1861         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image.html: Added.
1862         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-plugin.html: Added.
1863         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-script.html: Added.
1864         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-xhr.html: Added.
1865         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-secure-image-after-upgrade-redirect.html: Added.
1866         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-secure-image-after-upgrade.html: Added.
1867         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png: Added.
1868         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/transform-functions.xsl: Added.
1869         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt: Added.
1870         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe.html: Added.
1871         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt: Added.
1872         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe.html: Added.
1873         * platform/ios-simulator/TestExpectations: Skip plugin tests as plugins are not supported on iOS.
1874
1875 2016-12-08  Sam Weinig  <sam@webkit.org>
1876
1877         [WebIDL] Remove custom bindings for Geolocation
1878         https://bugs.webkit.org/show_bug.cgi?id=165625
1879
1880         Reviewed by Alex Christensen.
1881
1882         * fast/dom/Geolocation/argument-types-expected.txt:
1883         * fast/dom/Geolocation/not-enough-arguments-expected.txt:
1884         * fast/dom/Geolocation/script-tests/argument-types.js:
1885         Update tests for improved error messages / adherence to WebIDL.
1886
1887 2016-12-08  Dave Hyatt  <hyatt@apple.com>
1888
1889         [CSS Parser] Unskip passing flexbox tests
1890         https://bugs.webkit.org/show_bug.cgi?id=165626
1891
1892         Reviewed by Dean Jackson.
1893
1894         * TestExpectations:
1895
1896 2016-12-08  Dave Hyatt  <hyatt@apple.com>
1897
1898         @supports fails combinations of conjuctions, disjunctions, and negations of simple conditions
1899         https://bugs.webkit.org/show_bug.cgi?id=137566
1900         <rdar://problem/18600949>
1901
1902         Reviewed by Dean Jackson.
1903
1904         * TestExpectations:
1905         Test passes now with new @supports parser.
1906
1907 2016-12-08  Dave Hyatt  <hyatt@apple.com>
1908
1909         [CSS Parser] Add strict checking for right parens to selector functions like :matches, :not etc.
1910         https://bugs.webkit.org/show_bug.cgi?id=165624
1911
1912         Reviewed by Dean Jackson.
1913
1914         * TestExpectations:
1915
1916 2016-12-08  Jiewen Tan  <jiewen_tan@apple.com>
1917
1918         [WebCrypto] Replace webkitSubtle with subtle for all crypto/workers/subtle/ tests
1919         https://bugs.webkit.org/show_bug.cgi?id=165540
1920
1921         Reviewed by Brent Fulgham.
1922
1923         * crypto/workers/subtle/aes-postMessage-worker.html:
1924         * crypto/workers/subtle/hmac-postMessage-worker.html:
1925         * crypto/workers/subtle/hrsa-postMessage-worker-expected.txt:
1926         * crypto/workers/subtle/hrsa-postMessage-worker.html:
1927         * crypto/workers/subtle/multiple-postMessage-worker.html:
1928         * crypto/workers/subtle/resources/hrsa-postMessage-worker.js:
1929         * crypto/workers/subtle/rsa-postMessage-worker.html:
1930
1931 2016-12-08  Ryan Haddad  <ryanhaddad@apple.com>
1932
1933         Rebaseline some css tests for ios-simulator.
1934
1935         Unreviewed test gardening.
1936
1937         * platform/ios-simulator/fast/css/font_property_normal-expected.txt:
1938         * platform/ios-simulator/fast/css/image-set-unprefixed-expected.txt:
1939
1940 2016-12-08  Dave Hyatt  <hyatt@apple.com>
1941
1942         [CSS Parser] Unskip grid tests
1943         https://bugs.webkit.org/show_bug.cgi?id=165623
1944
1945         Reviewed by Zalan Bujtas.
1946
1947         * TestExpectations:
1948         * fast/css-grid-layout/grid-auto-flow-get-set-expected.txt:
1949         * fast/css-grid-layout/grid-auto-flow-get-set.html:
1950         * fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
1951         * fast/css-grid-layout/grid-template-shorthand-get-set-expected.txt:
1952         * fast/css-grid-layout/grid-template-shorthand-get-set.html:
1953         * fast/css-grid-layout/non-grid-columns-rows-get-set-expected.txt:
1954         * fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
1955         * fast/css-grid-layout/resources/non-grid-columns-rows-get-set.js:
1956
1957 2016-12-08  Zalan Bujtas  <zalan@apple.com>
1958
1959         Overlapping text at AppleSeed forum's footer.
1960         https://bugs.webkit.org/show_bug.cgi?id=165613
1961
1962         Reviewed by Simon Fraser.
1963
1964         This is a test case for r207219.
1965
1966         * fast/text/float-with-sibling-text-overlaps-when-text-decoration-changes-expected.html: Added.
1967         * fast/text/float-with-sibling-text-overlaps-when-text-decoration-changes.html: Added.
1968
1969 2016-12-08  Dave Hyatt  <hyatt@apple.com>
1970
1971         [CSS Parser] Unskip background parsing tests
1972         https://bugs.webkit.org/show_bug.cgi?id=165619
1973
1974         Reviewed by Zalan Bujtas.
1975
1976         * TestExpectations:
1977         * fast/backgrounds/background-position-parsing-2-expected.txt:
1978         * fast/backgrounds/background-position-parsing-2.html:
1979         * fast/backgrounds/background-shorthand-after-set-backgroundSize-expected.txt:
1980         * fast/backgrounds/background-shorthand-after-set-backgroundSize.html:
1981         * fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt:
1982         * fast/backgrounds/background-shorthand-with-backgroundSize-style.html:
1983
1984 2016-12-08  Joseph Pecoraro  <pecoraro@apple.com>
1985
1986         Web Inspector: Unable to delete breakpoint from worker script
1987         https://bugs.webkit.org/show_bug.cgi?id=165578
1988
1989         Reviewed by Matt Baker.
1990
1991         * inspector/worker/debugger-shared-breakpoint-expected.txt: Added.
1992         * inspector/worker/debugger-shared-breakpoint.html: Added.
1993         Ensure setting / removing a breakpoint affects all Workers that share
1994         a resource with the same URL.
1995
1996         * inspector/worker/resources/worker-debugger-pause.js:
1997         Add an echo command that will be useful to ensure Workers are not paused.
1998
1999 2016-12-08  Ryan Haddad  <ryanhaddad@apple.com>
2000
2001         Rebaseline fast/selectors/nth-last-child-bounds.html after r209548.
2002
2003         Unreviewed test gardening.
2004
2005         * fast/selectors/nth-child-bounds-expected.txt:
2006
2007 2016-12-08  Jeremy Jones  <jeremyj@apple.com>
2008
2009         pointer lock should exit when a js alert is shown
2010         https://bugs.webkit.org/show_bug.cgi?id=165423
2011         rdar://problem/29430803
2012
2013         Reviewed by Jer Noble.
2014
2015         * platform/mac/TestExpectations:
2016         * pointer-lock/lock-lost-on-alert-expected.txt: Added.
2017         * pointer-lock/lock-lost-on-alert.html: Added.
2018
2019 2016-12-08  Sam Weinig  <sam@webkit.org>
2020
2021         [WebIDL] WebGLContextAttributes should be a dictionary
2022         https://bugs.webkit.org/show_bug.cgi?id=165572
2023
2024         Reviewed by Dean Jackson.
2025
2026         * fast/canvas/webgl/context-creation-attributes-expected.txt:
2027         Update test results.
2028
2029 2016-12-05  Sam Weinig  <sam@webkit.org>
2030
2031         [WebIDL] Add support for converting dictionaries to JS
2032         https://bugs.webkit.org/show_bug.cgi?id=165367
2033
2034         Reviewed by Darin Adler and Alex Christensen.
2035
2036         * crypto/subtle/rsa-oaep-generate-key-expected.txt:
2037         * crypto/subtle/rsa-oaep-generate-key.html:
2038         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-expected.txt:
2039         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable-expected.txt:
2040         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable.html:
2041         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key.html:
2042         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-expected.txt:
2043         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key.html:
2044         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key-expected.txt:
2045         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key.html:
2046         * crypto/webkitSubtle/rsa-oaep-key-manipulation-expected.txt:
2047         * crypto/webkitSubtle/rsa-oaep-key-manipulation.html:
2048         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-expected.txt:
2049         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt:
2050         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html:
2051         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key.html:
2052         * crypto/workers/subtle/resources/rsa-generate-key.js:
2053         * crypto/workers/subtle/rsa-generate-key-expected.txt:
2054         Update tests and expected results to show that CryptoKeyPair is now a vanilla object, not a platform object.
2055
2056 2016-12-08  Dave Hyatt  <hyatt@apple.com>
2057
2058         [CSS Parser] Unskip/remove more tests
2059         https://bugs.webkit.org/show_bug.cgi?id=165611
2060
2061         Reviewed by Zalan Bujtas.
2062
2063         * TestExpectations:
2064         * fast/css/parse-color-int-or-percent-crash.html:
2065         * fast/css/string-quote-binary-expected.txt: Removed.
2066         * fast/css/string-quote-binary.html: Removed.
2067         * fast/masking/parsing-mask-expected.txt:
2068         * fast/masking/parsing-mask.html:
2069         * fast/selectors/nth-child-bounds.html:
2070         * fast/selectors/nth-last-child-bounds-expected.txt:
2071         * fast/selectors/nth-last-child-bounds.html:
2072         * fast/text/text-combine-crash.html:
2073
2074 2016-12-08  Dave Hyatt  <hyatt@apple.com>
2075
2076         [CSS Parser] Unskip more tests
2077         https://bugs.webkit.org/show_bug.cgi?id=165610
2078
2079         Reviewed by Zalan Bujtas.
2080
2081         * TestExpectations:
2082         * fast/css/css-selector-text-expected.txt:
2083         * fast/css/css-selector-text.html:
2084         * fast/css/css-set-selector-text-expected.txt:
2085         * fast/css/css-set-selector-text.html:
2086         * fast/css/parsing-css-nth-child-expected.txt:
2087         * fast/css/parsing-css-nth-child.html:
2088
2089 2016-12-08  Zalan Bujtas  <zalan@apple.com>
2090
2091         Do not create multicolumn context for certain type of renderers.
2092         https://bugs.webkit.org/show_bug.cgi?id=135601
2093         <rdar://problem/27686300>
2094
2095         Reviewed by David Hyatt.
2096
2097         * fast/multicol/no-multicol-for-textareas-expected.txt: Added.
2098         * fast/multicol/no-multicol-for-textareas.html: Added.
2099
2100 2016-12-08  Dave Hyatt  <hyatt@apple.com>
2101
2102         [CSS Parser] Unskip more tests
2103         https://bugs.webkit.org/show_bug.cgi?id=165609
2104
2105         Reviewed by Zalan Bujtas.
2106
2107         A note on the parsing-css-attribute-* tests. These tests attempted to test namespaces, but
2108         you really can't do that easily. A @namespace rule is only valid within the scope of its
2109         stylesheet, and the test was assuming the namespace would apply outside of the stylesheet
2110         scope.
2111
2112         The old parser would not properly reject prefixes that didn't point to any valid namespace,
2113         and so it was possible to test prefixes. The new parser rejects these invalid prefixes, so just
2114         remove the namespace component of these two tests.
2115
2116         * TestExpectations:
2117         * fast/css/attr-parsing-expected.txt:
2118         * fast/css/attr-parsing.html:
2119         * fast/css/invalid-cursor-property-crash.html:
2120         * fast/css/parsing-css-attribute-case-insensitive-value-1.html:
2121         * fast/css/parsing-css-attribute-case-insensitive-value-2.html:
2122         * fast/shadow-dom/slotted-pseudo-element-css-text-expected.txt:
2123
2124 2016-12-08  Dave Hyatt  <hyatt@apple.com>
2125
2126         [CSS Parser] Unskip more tests
2127         https://bugs.webkit.org/show_bug.cgi?id=165608
2128
2129         Reviewed by Zalan Bujtas.
2130
2131         * TestExpectations:
2132         * fast/css/font-property-priority-expected.txt:
2133         * fast/css/image-set-unprefixed.html:
2134         * fast/css/parsing-text-emphasis-expected.txt:
2135         * fast/css/parsing-text-emphasis.html:
2136         * fast/css/uri-token-parsing-expected.txt:
2137         * fast/css/uri-token-parsing.html:
2138         * platform/mac/fast/css/font_property_normal-expected.txt:
2139
2140 2016-12-08  Dave Hyatt  <hyatt@apple.com>
2141
2142         [CSS Parser] REGRESSION: Values of 0 should not be allowed for -webkit-aspect-ratio
2143         https://bugs.webkit.org/show_bug.cgi?id=165607
2144
2145         Reviewed by Simon Fraser.
2146
2147         * TestExpectations:
2148
2149 2016-12-08  Dave Hyatt  <hyatt@apple.com>
2150
2151         [CSS Parser] Unskip more tests
2152         https://bugs.webkit.org/show_bug.cgi?id=165605
2153
2154         Reviewed by Zalan Bujtas.
2155
2156         * TestExpectations:
2157         * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex-expected.txt:
2158         * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex.html:
2159         * fast/selectors/querySelector-pseudo-element-expected.txt:
2160         * fast/selectors/querySelector-pseudo-element-inside-functional-pseudo-class-any-expected.txt:
2161         * fast/selectors/querySelector-pseudo-element-inside-functional-pseudo-class-any.html:
2162         * fast/selectors/querySelector-pseudo-element.html:
2163
2164 2016-12-08  Dave Hyatt  <hyatt@apple.com>
2165
2166         [CSS Parser] Unskip more tests
2167         https://bugs.webkit.org/show_bug.cgi?id=165604
2168
2169         Reviewed by Zalan Bujtas.
2170
2171         * TestExpectations:
2172
2173 2016-12-08  Dave Hyatt  <hyatt@apple.com>
2174
2175         [CSS Parser] Unskip more tests
2176         https://bugs.webkit.org/show_bug.cgi?id=165602
2177
2178         Reviewed by Zalan Bujtas.
2179
2180         * TestExpectations:
2181         * fast/css/remove-shorthand-expected.txt:
2182         * fast/css/transform-inline-style-expected.txt:
2183         * fast/regions/region-styling/parsing-region-style-rule.html:
2184         * fast/shapes/parsing/parsing-shape-image-threshold-expected.txt:
2185         * fast/shapes/parsing/parsing-shape-image-threshold.html:
2186         * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt:
2187         * fast/shapes/shape-outside-floats/shape-outside-animation.html:
2188         * platform/mac/svg/webarchive/svg-cursor-subresources-expected.txt:
2189         * svg/webarchive/svg-cursor-subresources.svg:
2190         * transitions/transitions-parsing-expected.txt:
2191         * transitions/transitions-parsing.html:
2192
2193 2016-12-08  Antti Koivisto  <antti@apple.com>
2194
2195         :after and :before don't work on :host
2196         https://bugs.webkit.org/show_bug.cgi?id=164675
2197         <rdar://problem/29231874>
2198
2199         Reviewed by Andreas Kling.
2200
2201         * fast/shadow-dom/shadow-host-with-before-after-expected.html: Added.
2202         * fast/shadow-dom/shadow-host-with-before-after.html: Added.
2203
2204 2016-12-08  Ryosuke Niwa  <rniwa@webkit.org>
2205
2206         REGRESSION (r209490): [ios-simulator] LayoutTest fast/shadow-dom/media-shadow-manipulation.html is failing
2207         https://bugs.webkit.org/show_bug.cgi?id=165590
2208
2209         Unreviewed. Revert r209490 on this test and make the check conditional
2210         since iOS and Mac implements video element differently.
2211
2212         In any case, these tests aren't testing anything useful after r209486.
2213         We should consider removing them or make them use internals.shadowRoot instead in a near term.
2214
2215         * fast/shadow-dom/media-shadow-manipulation-expected.txt:
2216         * fast/shadow-dom/media-shadow-manipulation.html:
2217
2218 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2219
2220         [CSS Parser] Remove font test that tests something nobody supports
2221         https://bugs.webkit.org/show_bug.cgi?id=165596
2222
2223         Reviewed by Zalan Bujtas.
2224
2225         Remove this test that thinks "default" should be a special keyword in fonts. No
2226         other browser treat this as special. Our old parser did, but it's just from some
2227         reading of ancient CSS2 specs and not for any real-world reason.
2228
2229         * TestExpectations:
2230         * fast/css/font-family-parse-keyword.html: Removed.
2231         * fast/css/font-family-parse-keyword-expected.html: Removed.
2232
2233 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2234
2235         REGRESSION: font shorthand parsing is broken
2236         https://bugs.webkit.org/show_bug.cgi?id=165594
2237
2238         Reviewed by Zalan Bujtas.
2239
2240         * TestExpectations:
2241         * fast/css/font-shorthand-html-expected.txt:
2242
2243 2016-12-07  Jeremy Jones  <jeremyj@apple.com>
2244
2245         Exit pointer lock when page goes into page cache.
2246         https://bugs.webkit.org/show_bug.cgi?id=165425
2247         rdar://problem/29430834
2248
2249         Reviewed by Jer Noble.
2250
2251         * platform/mac/TestExpectations:
2252         * pointer-lock/lock-lost-on-navigation-expected.txt: Added.
2253         * pointer-lock/lock-lost-on-navigation.html: Added.
2254         * pointer-lock/resources/lock-lost-on-navigation2.html: Added.
2255
2256 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2257
2258         [CSS Parser] Unskip calc() tests
2259         https://bugs.webkit.org/show_bug.cgi?id=165583
2260
2261         Reviewed by Zalan Bujtas.
2262
2263         * TestExpectations:
2264         * fast/css/flex-shrink-calculated-value-expected.txt:
2265         * fast/css/flex-shrink-calculated-value.html:
2266         * fast/css/negative-calc-values-expected.txt:
2267         * fast/css/negative-calc-values.html:
2268         * fast/css/text-shadow-calc-value-expected.txt:
2269         * fast/css/text-shadow-calc-value.html:
2270         * fast/css/webkit-line-clamp-calculated-value-expected.txt:
2271         * fast/css/webkit-line-clamp-calculated-value.html:
2272         * fast/css/z-index-calculated-value-expected.txt:
2273         * fast/css/z-index-calculated-value.html:
2274
2275 2016-12-07  Antoine Quint  <graouts@apple.com>
2276
2277         [Modern Media Controls] Tracks panel does not display in the right location in fullscreen and cannot be dismissed
2278         https://bugs.webkit.org/show_bug.cgi?id=165575
2279
2280         Reviewed by Dean Jackson.
2281
2282         Add new tests to check we correctly position the tracks panel in fullscreen, including when we drag the controls bar.
2283
2284         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls-expected.txt: Added.
2285         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html: Added.
2286         * media/modern-media-controls/tracks-support/tracks-support-show-panel-fullscreen-expected.txt: Added.
2287         * media/modern-media-controls/tracks-support/tracks-support-show-panel-fullscreen.html: Added.
2288
2289 2016-12-07  Jeremy Jones  <jeremyj@apple.com>
2290
2291         pointer-lock/lock-lost-on-esc-in-fullscreen.html timeout on mac-wk1
2292         https://bugs.webkit.org/show_bug.cgi?id=165589
2293
2294         Unreviewed skipping test that is timing out.
2295
2296         * platform/mac-wk1/TestExpectations:
2297
2298 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
2299
2300         Fix the filename for a newly added test expectation file.
2301
2302         Unreviewed test gardening.
2303
2304         * tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top.txt.
2305
2306 2016-12-07  Antoine Quint  <graouts@apple.com>
2307
2308         [Modern Media Controls] Use a small picture-in-picture button in fullscreen
2309         https://bugs.webkit.org/show_bug.cgi?id=165587
2310
2311         Reviewed by Dean Jackson.
2312
2313         Rebaseline tests to account for the smaller picture-in-picture button in fullscreen.
2314
2315         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt:
2316         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
2317         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt:
2318         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
2319
2320 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
2321
2322         Marking inspector/debugger/async-stack-trace.html as flaky on macOS.
2323         https://bugs.webkit.org/show_bug.cgi?id=165584
2324
2325         Unreviewed test gardening.
2326
2327         * platform/mac/TestExpectations:
2328
2329 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
2330
2331         Marking inspector/worker/debugger-scripts.html as flaky on mac-wk2.
2332         https://bugs.webkit.org/show_bug.cgi?id=165582
2333
2334         Unreviewed test gardening.
2335
2336         * platform/mac-wk2/TestExpectations:
2337
2338 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2339
2340         [CSS Parser] Unskip media tests
2341         https://bugs.webkit.org/show_bug.cgi?id=165580
2342
2343         Reviewed by Jon Lee.
2344
2345         The new parser will still create rules for hover/pointer queries with
2346         unknown identifiers. Patch the tests to account for this.
2347
2348         * TestExpectations:
2349         * fast/media/mq-any-hover-invalid-expected.txt:
2350         * fast/media/mq-any-hover-invalid.html:
2351         * fast/media/mq-any-pointer-invalid-expected.txt:
2352         * fast/media/mq-any-pointer-invalid.html:
2353         * fast/media/mq-hover-invalid-expected.txt:
2354         * fast/media/mq-hover-invalid.html:
2355         * fast/media/mq-pointer-invalid-expected.txt:
2356         * fast/media/mq-pointer-invalid.html:
2357
2358 2016-12-07  Dean Jackson  <dino@apple.com>
2359
2360         Remove runtime toggle for pointer-lock
2361         https://bugs.webkit.org/show_bug.cgi?id=165577
2362         <rdar://problems/29566996>
2363
2364         Reviewed by Jon Lee.
2365
2366         Remove any runtime calls to check if pointer-lock is enabled. It's
2367         either compiled in or out.
2368
2369         * platform/mac/TestExpectations: Enable the pointer-lock tests that should work.
2370         * pointer-lock/pointer-lock-api.html: Fix a bad DOM call.
2371         * pointer-lock/pointerlock-interface-disabled-expected.txt: Removed.
2372         * pointer-lock/pointerlock-interface-disabled.html: Removed.
2373
2374 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2375
2376         [CSS Parser] Unskip gradients tests
2377         https://bugs.webkit.org/show_bug.cgi?id=165576
2378
2379         Reviewed by Dean Jackson.
2380
2381         Keywords like left, center, top, right and bottom are preserved when serializing in
2382         the new parser.
2383
2384         * TestExpectations:
2385         * fast/gradients/css3-gradient-parsing-expected.txt:
2386         * fast/gradients/css3-gradient-parsing.html:
2387         * fast/gradients/unprefixed-gradient-parsing-expected.txt:
2388         * fast/gradients/unprefixed-gradient-parsing.html:
2389
2390 2016-12-07  John Wilander  <wilander@apple.com>
2391
2392         Allow commas in Accept, Accept-Language, and Content-Language request headers for simple CORS
2393         https://bugs.webkit.org/show_bug.cgi?id=165566
2394         <rdar://problem/29560983>
2395
2396         Reviewed by Alex Christensen.
2397
2398         * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html:
2399             Added ',' to the tests as well as two examples from
2400             two sites where we found a regression.
2401
2402 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2403
2404         [CSS Parser] Stop skipping tests in the css3 LayoutTests subdirectory
2405         https://bugs.webkit.org/show_bug.cgi?id=165574
2406
2407         Reviewed by Dean Jackson.
2408
2409         * TestExpectations:
2410         Stop skipping two tests.
2411
2412         * css3/font-variant-parsing-expected.txt:
2413         * css3/font-variant-parsing.html:
2414         Patched to yield the correct results when multiple values are specified for the
2415         same sub-property.
2416
2417         * css3/supports-cssom-expected.txt:
2418         * css3/supports-cssom.html:
2419         Patched to account for the new result for @namespace insertion failure (see
2420         corresponding WebCore ChangeLog for explanation), and also patched to get rid
2421         of excess whitespace, since the new parser doesn't preserve whitespace formatting
2422         when serializing @supports.
2423
2424 2016-12-07  Jiewen Tan  <jiewen_tan@apple.com>
2425
2426         Unreviewed, Skip imported/w3c/WebCryptoAPI/generateKey/test_failures.html
2427
2428         This is a superset test for all test_failures*.html. No need for it as we run
2429         all the sub tests.
2430
2431         * TestExpectations:
2432
2433 2016-12-07  Antoine Quint  <graouts@apple.com>
2434
2435         [Modern Media Controls] Remove aspect ratio button
2436         https://bugs.webkit.org/show_bug.cgi?id=165571
2437
2438         Reviewed by Dean Jackson.
2439
2440         We no longer have an AspectRatioButton.
2441
2442         * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button-expected.txt: Removed.
2443         * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button.html: Removed.
2444         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt:
2445         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
2446         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt:
2447         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
2448         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor-expected.txt:
2449         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor.html:
2450         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin-expected.txt:
2451         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin.html:
2452
2453 2016-12-07  Jeremy Jones  <jeremyj@apple.com>
2454
2455         One esc to exit fullscreen and pointer lock
2456         https://bugs.webkit.org/show_bug.cgi?id=165416
2457         rdar://problem/29430711
2458
2459         Reviewed by Jer Noble.
2460
2461         * platform/mac-wk2/TestExpectations:
2462         * pointer-lock/lock-lost-on-esc-in-fullscreen-expected.txt: Added.
2463         * pointer-lock/lock-lost-on-esc-in-fullscreen.html: Added.
2464
2465 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2466
2467         [CSS Parser] Remove tests that depend on SVG CSS OM that has been removed
2468         https://bugs.webkit.org/show_bug.cgi?id=165565
2469
2470         Reviewed by Jon Lee.
2471
2472         * TestExpectations:
2473         * svg/dom/SVGColor-expected.txt: Removed.
2474         * svg/dom/SVGColor.html: Removed.
2475         * svg/dom/SVGPaint-expected.txt: Removed.
2476         * svg/dom/SVGPaint.html: Removed.
2477         * svg/dom/rgb-color-parser-expected.txt: Removed.
2478         * svg/dom/rgb-color-parser.html: Removed.
2479
2480 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
2481
2482         Marking compositing/layer-creation/fixed-overlap-extent-rtl.html as failing on mac-wk1.
2483         https://bugs.webkit.org/show_bug.cgi?id=165541
2484
2485         Unreviewed test gardening.
2486
2487         * platform/mac-wk1/TestExpectations:
2488
2489 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2490
2491         [CSS Parser] Consolidate string/ident/url serialization functions
2492         https://bugs.webkit.org/show_bug.cgi?id=165552
2493
2494         Reviewed by Zalan Bujtas.
2495
2496         * fast/css/content-language-only-whitespace-expected.txt:
2497         * fast/css/content-language-with-whitespace-expected.txt:
2498
2499 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
2500
2501         Marking imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1.html as flaky on El Capitan WK2.
2502         https://bugs.webkit.org/show_bug.cgi?id=165392
2503
2504         Unreviewed test gardening.
2505
2506         * platform/mac-wk2/TestExpectations:
2507
2508 2016-12-07  Joseph Pecoraro  <pecoraro@apple.com>
2509
2510         Web Inspector: Add ability to distinguish if a Script was parsed as a module
2511         https://bugs.webkit.org/show_bug.cgi?id=164900
2512         <rdar://problem/29323817>
2513
2514         Reviewed by Timothy Hatcher.
2515
2516         * inspector/model/parse-script-syntax-tree-expected.txt:
2517         * inspector/model/parse-script-syntax-tree.html:
2518         * inspector/model/resources/module.js: Added.
2519         (import.string_appeared_here.myModule):
2520         * inspector/model/resources/other-module.js: Added.
2521         (myOtherModule):
2522         * inspector/model/resources/program.js: Added.
2523         (myProgram):
2524         * inspector/model/script-sourceType-expected.txt: Added.
2525         * inspector/model/script-sourceType.html: Added.
2526
2527 2016-12-07  Joseph Pecoraro  <pecoraro@apple.com>
2528
2529         Web Inspector: Update Esprima to support new features / syntax (**, async/await, trailing comma)
2530         https://bugs.webkit.org/show_bug.cgi?id=164830
2531         <rdar://problem/29293814>
2532
2533         Reviewed by Timothy Hatcher.
2534
2535         * inspector/formatting/resources/javascript-tests/arrow-functions-expected.js:
2536         * inspector/formatting/resources/javascript-tests/arrow-functions.js:
2537         * inspector/formatting/resources/javascript-tests/classes-expected.js:
2538         * inspector/formatting/resources/javascript-tests/classes.js:
2539         * inspector/formatting/resources/javascript-tests/functions-expected.js:
2540         * inspector/formatting/resources/javascript-tests/functions.js:
2541         * inspector/formatting/resources/javascript-tests/other-statements-expected.js:
2542         * inspector/formatting/resources/javascript-tests/other-statements.js:
2543         * inspector/formatting/resources/javascript-tests/unary-binary-expressions-expected.js:
2544         * inspector/formatting/resources/javascript-tests/unary-binary-expressions.js:
2545         * inspector/model/parse-script-syntax-tree-expected.txt:
2546         * inspector/model/parse-script-syntax-tree.html:
2547         Coverage for new supported syntax.
2548
2549 2016-12-07  Ryosuke Niwa  <rniwa@webkit.org>
2550
2551         Rebaseline tests after r209486. Also updated media-shadow-manipulation.html now that range is null.
2552
2553         * fast/shadow-dom/color-input-element-shadow-manipulation-expected.txt:
2554         * fast/shadow-dom/file-input-element-shadow-manipulation-expected.txt:
2555         * fast/shadow-dom/media-shadow-manipulation-expected.txt:
2556         * fast/shadow-dom/media-shadow-manipulation.html:
2557         * fast/shadow-dom/range-input-element-shadow-manipulation-expected.txt:
2558         * fast/shadow-dom/textarea-shadow-manipulation-expected.txt:
2559
2560 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
2561
2562         Marking two compositing tests as failing.
2563         https://bugs.webkit.org/show_bug.cgi?id=165530
2564
2565         Unreviewed test gardening.
2566
2567         * platform/mac-wk1/TestExpectations:
2568         * platform/mac/TestExpectations:
2569
2570 2016-12-07  Zalan Bujtas  <zalan@apple.com>
2571
2572         ASSERTION FAILED: count >= 1 in WebCore::RenderMultiColumnSet::columnCount
2573         https://bugs.webkit.org/show_bug.cgi?id=136365
2574         <rdar://problem/27686727>
2575
2576         Reviewed by Simon Fraser.
2577
2578         * fast/multicol/assert-on-column-count-when-zoomed-in-expected.txt: Added.
2579         * fast/multicol/assert-on-column-count-when-zoomed-in.html: Added.
2580
2581 2016-12-07  Ryosuke Niwa  <rniwa@webkit.org>
2582
2583         document.caretRangeFromPoint doesn't retarget the resultant Range correctly.
2584         https://bugs.webkit.org/show_bug.cgi?id=165146
2585
2586         Reviewed by Sam Weinig.
2587
2588         Added a regression test for caretRangeFromPoint retargeting the result.
2589
2590         * fast/shadow-dom/caret-range-from-point-in-shadow-tree-expected.txt: Added.
2591         * fast/shadow-dom/caret-range-from-point-in-shadow-tree.html: Added.
2592
2593 2016-12-07  Antoine Quint  <graouts@apple.com>
2594
2595         [Modern Media Controls] Entering fullscreen and returning to inline shows fullscreen controls
2596         https://bugs.webkit.org/show_bug.cgi?id=165536
2597
2598         Reviewed by Tim Horton.
2599
2600         Add a new test that checks we're using the right media controls presentation as we enter and exit fullscreen.
2601
2602         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline-expected.txt: Added.
2603         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline.html: Added.
2604
2605 2016-12-07  Wenson Hsieh  <wenson_hsieh@apple.com>
2606
2607         Scroll position jumps to the origin when scrolling without momentum at the end of a scroll snapping container
2608         https://bugs.webkit.org/show_bug.cgi?id=165474
2609         <rdar://problem/29534305>
2610
2611         Reviewed by Simon Fraser.
2612
2613         Added a new test verifying that if a scroll gesture ends without momentum at the bottom of a scroll snapping
2614         container, the scroll position won't jump to the top.
2615
2616         * tiled-drawing/scrolling/scroll-snap/scrolling-jumps-to-top-expected.txt: Added.
2617         * tiled-drawing/scrolling/scroll-snap/scrolling-jumps-to-top.html: Added.
2618
2619 2016-12-07  Simon Fraser  <simon.fraser@apple.com>
2620
2621         REGRESSION (r209447): LayoutTests compositing/layer-creation/fixed-position-out-of-view-scaled.html and compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html failing
2622         https://bugs.webkit.org/show_bug.cgi?id=165530
2623
2624         New baseline for WK1 (which has RTL/compositing isseus), and mark a test as flakey in WK1.
2625
2626         * platform/mac-wk1/TestExpectations:
2627         * platform/mac-wk1/compositing/layer-creation/fixed-overlap-extent-rtl-expected.txt: Added.
2628
2629 2016-12-07  Nan Wang  <n_wang@apple.com>
2630
2631         AX: menu type toolbar should be mapped correctly on Mac
2632         https://bugs.webkit.org/show_bug.cgi?id=165537
2633
2634         Reviewed by Chris Fleizach.
2635
2636         * accessibility/mac/menu-type-toolbar-expected.txt: Added.
2637         * accessibility/mac/menu-type-toolbar.html: Added.
2638
2639 2016-12-07  Geoffrey Garen  <ggaren@apple.com>
2640
2641         Fixed a test failure seen in web-timing-minimal-performance-now.html
2642         https://bugs.webkit.org/show_bug.cgi?id=165542
2643
2644         Reviewed by Beth Dakin.
2645
2646         This test was always slightly wrong, but it is much more likely to fail
2647         as of <https://trac.webkit.org/changeset/209462>.
2648
2649         * fast/dom/Window/web-timing-minimal-performance-now.html: < is not a
2650         correct test for monotonicity. < tests for stricly increasing. <= is a
2651         correct test for monotonicity. All computer clocks have some granularity,
2652         so computer clocks are monotonic but not strictly increasing: you can
2653         sample the clock twice in the same tick.
2654
2655 2016-12-07  Joseph Pecoraro  <pecoraro@apple.com>
2656
2657         Web Inspector: Remove unused and mostly untested Page domain commands and events
2658         https://bugs.webkit.org/show_bug.cgi?id=165507
2659
2660         Reviewed by Brian Burg.
2661
2662         * inspector/page/javascriptDialogEvents-expected.txt: Removed.
2663         * inspector/page/javascriptDialogEvents.html: Removed.
2664         * platform/gtk/TestExpectations:
2665         * platform/mac/TestExpectations:
2666         Remove test skipped by all platforms.
2667
2668 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2669
2670         Fix a bad result that I landed by accident.
2671
2672         * fast/css/object-position/parsing-object-position-expected.txt:
2673
2674 2016-12-07  Dave Hyatt  <hyatt@apple.com>
2675
2676         [CSS Parser] Turn back on a bunch of layout tests
2677         https://bugs.webkit.org/show_bug.cgi?id=165529
2678
2679         Reviewed by Zalan Bujtas.
2680
2681         * TestExpectations:
2682         * css3/parsing-css3-nthchild-expected.txt:
2683         * css3/parsing-css3-nthchild.html:
2684         * css3/scroll-snap/scroll-snap-position-values-expected.txt:
2685         * css3/scroll-snap/scroll-snap-position-values.html:
2686         * editing/execCommand/insert-list-with-noneditable-content-expected.txt:
2687         * fast/css/object-position/parsing-object-position-expected.txt:
2688         * fast/css/object-position/parsing-object-position.html:
2689         * fast/css/parsing-css-number-types-expected.txt:
2690         * fast/css/parsing-css-wrap-expected.txt:
2691         * fast/css/script-tests/transform-origin-parsing.js:
2692         * fast/css/transform-inline-style-remove-expected.txt:
2693         * fast/css/transform-origin-parsing-expected.txt:
2694         * fast/css/variables/custom-property-dynamic-update-expected.html:
2695         * fast/events/mouse-cursor-expected.txt:
2696         * fast/inspector-support/style-expected.txt:
2697         * platform/mac/svg/webarchive/svg-script-subresouces-expected.txt:
2698
2699 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
2700
2701         Rebaseline fast/table/003.html after r209421.
2702         https://bugs.webkit.org/show_bug.cgi?id=165513
2703
2704         Unreviewed test gardening.
2705
2706         * platform/ios-simulator/fast/table/003-expected.txt:
2707
2708 2016-12-06  Antoine Quint  <graouts@apple.com>
2709
2710         [Modern Media Controls] Use tap and pinch gestures on iOS
2711         https://bugs.webkit.org/show_bug.cgi?id=165518
2712
2713         Reviewed by Dean Jackson.
2714
2715         With the addition of new gesture recognizer source files, some tests were failing
2716         due to linking to only a subset of the modern media controls resources.
2717
2718         * media/modern-media-controls/airplay-button/airplay-button.html:
2719         * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button.html:
2720         * media/modern-media-controls/button/button.html:
2721         * media/modern-media-controls/buttons-container/buttons-container-buttons-property.html:
2722         * media/modern-media-controls/buttons-container/buttons-container-constructor.html:
2723         * media/modern-media-controls/buttons-container/buttons-container-layout.html:
2724         * media/modern-media-controls/fullscreen-button/fullscreen-button.html:
2725         * media/modern-media-controls/icon-button/icon-button-active-state.html:
2726         * media/modern-media-controls/icon-button/icon-button.html:
2727         * media/modern-media-controls/mute-button/mute-button.html:
2728         * media/modern-media-controls/pip-button/pip-button.html:
2729         * media/modern-media-controls/placard/placard.html:
2730         * media/modern-media-controls/play-pause-button/play-pause-button.html:
2731         * media/modern-media-controls/skip-back-button/skip-back-button.html:
2732         * media/modern-media-controls/start-button/start-button-styles.html:
2733         * media/modern-media-controls/start-button/start-button.html:
2734         * media/modern-media-controls/tracks-button/tracks-button.html:
2735
2736 2016-12-06  Ryan Haddad  <ryanhaddad@apple.com>
2737
2738         Marking http/tests/security/module-incorrect-mime-types.html as flaky on ios-simulator-wk2.
2739         https://bugs.webkit.org/show_bug.cgi?id=165344
2740
2741         Unreviewed test gardening.
2742
2743         * platform/ios-simulator-wk2/TestExpectations:
2744
2745 2016-12-06  Simon Fraser  <simon.fraser@apple.com>
2746
2747         Two tiled drawing tests failing with visual viewports enabled.
2748         https://bugs.webkit.org/show_bug.cgi?id=165489
2749
2750         Reviewed by Dean Jackson.
2751         
2752         Unfail and rebaseline.
2753
2754         * platform/mac-wk2/TestExpectations:
2755         * tiled-drawing/scrolling/frames/coordinated-frame-expected.txt:
2756         * tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt:
2757
2758 2016-12-06  Wenson Hsieh  <wenson_hsieh@apple.com>
2759
2760         After preventing a beforeinput event, an input event is fired when formatting rich text
2761         https://bugs.webkit.org/show_bug.cgi?id=165435
2762         <rdar://problem/29522314>
2763
2764         Reviewed by Ryosuke Niwa.
2765
2766         Augmented a layout test to verify that when preventing beforeinput events, a corresponding input event is not
2767         fired in addition to the style not being applied to the text.
2768
2769         * fast/events/before-input-prevent-biu.html:
2770
2771 2016-12-06  Simon Fraser  <simon.fraser@apple.com>
2772
2773         Fix behavior of background-attachment:fixed with visual viewports
2774         https://bugs.webkit.org/show_bug.cgi?id=165465
2775         
2776         Fixed backgrounds are working correctly. Unskip and land a new image result for this test.
2777
2778         * TestExpectations:
2779         * tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.png:
2780
2781 2016-12-06  Mark Lam  <mark.lam@apple.com>
2782
2783         GetByID IC is wrongly unwrapping the global proxy this value for getter/setters.
2784         https://bugs.webkit.org/show_bug.cgi?id=165401
2785
2786         Reviewed by Saam Barati.
2787
2788         Set the test loose now that this bug is fixed.
2789
2790         * TestExpectations:
2791         * js/script-tests/prototype-assignment.js:
2792
2793 2016-12-06  Dean Jackson  <dino@apple.com>
2794
2795         Apply styling to media documents with modern controls
2796         https://bugs.webkit.org/show_bug.cgi?id=165499
2797         <rdar://problems/29543847>
2798
2799         Reviewed by Antoine Quint.
2800
2801         Make sure that the small test video has the correct background,
2802         and is not anchored to the top left of the page.
2803
2804         * media/modern-media-controls/media-documents/background-color-and-centering-expected.html: Added.
2805         * media/modern-media-controls/media-documents/background-color-and-centering.html: Added.
2806
2807 2016-12-05  Jiewen Tan  <jiewen_tan@apple.com>
2808
2809         [Part 1 of 2] Add support for SPKI format while doing SubtleCrypto.importKey/exportKey
2810         https://bugs.webkit.org/show_bug.cgi?id=129978
2811         <rdar://problem/21799829>
2812
2813         Reviewed by Brent Fulgham.
2814
2815         * crypto/subtle/import-key-malformed-parameters-expected.txt:
2816         * crypto/subtle/import-key-malformed-parameters.html:
2817         * crypto/subtle/rsa-export-key-malformed-parameters-expected.txt:
2818         * crypto/subtle/rsa-export-key-malformed-parameters.html:
2819         * crypto/subtle/rsa-import-jwk-key-export-spki-key-expected.txt: Added.
2820         * crypto/subtle/rsa-import-jwk-key-export-spki-key.html: Added.
2821         * crypto/subtle/rsa-import-key-malformed-parameters-expected.txt:
2822         * crypto/subtle/rsa-import-key-malformed-parameters.html:
2823         * crypto/subtle/rsa-import-spki-key-export-jwk-key-expected.txt: Added.
2824         * crypto/subtle/rsa-import-spki-key-export-jwk-key.html: Added.
2825         * crypto/subtle/rsa-import-spki-key-export-spki-key-expected.txt: Added.
2826         * crypto/subtle/rsa-import-spki-key-export-spki-key.html: Added.
2827         * crypto/subtle/rsa-import-spki-small-key-expected.txt: Added.
2828         * crypto/subtle/rsa-import-spki-small-key.html: Added.
2829         * crypto/subtle/rsa-oaep-generate-export-key-spki-expected.txt: Added.
2830         * crypto/subtle/rsa-oaep-generate-export-key-spki.html: Added.
2831         * crypto/subtle/rsa-oaep-import-spki-key-expected.txt: Added.
2832         * crypto/subtle/rsa-oaep-import-spki-key.html: Added.
2833         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-spki-expected.txt: Added.
2834         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-spki.html: Added.
2835         * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-expected.txt: Added.
2836         * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key.html: Added.
2837         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-spki-expected.txt: Added.
2838         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-spki.html: Added.
2839         * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-expected.txt: Added.
2840         * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key.html: Added.
2841         * crypto/workers/subtle/resources/rsa-export-spki-key.js: Added.
2842         * crypto/workers/subtle/resources/rsa-import-spki-key.js: Added.
2843         * crypto/workers/subtle/rsa-export-spki-key-expected.txt: Added.
2844         * crypto/workers/subtle/rsa-export-spki-key.html: Added.
2845         * crypto/workers/subtle/rsa-import-spki-key-expected.txt: Added.
2846         * crypto/workers/subtle/rsa-import-spki-key.html: Added.
2847
2848 2016-12-06  Antoine Quint  <graouts@apple.com>
2849
2850         [Modern Media Controls] Media controls use the fullscreen layout after going from inline to fullscreen to PiP to inline
2851         https://bugs.webkit.org/show_bug.cgi?id=165494
2852
2853         Reviewed by Dean Jackson.
2854
2855         Add a new tests that goes from inline to fullscreen to PiP to inline and checks the controls have the right type on the way.
2856
2857         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-pip-to-inline-expected.txt: Added.
2858         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-pip-to-inline.html: Added.
2859
2860 2016-12-06  Antoine Quint  <graouts@apple.com>
2861
2862         [Modern Media Controls] Rendering issues with controls bar when captions are on
2863         https://bugs.webkit.org/show_bug.cgi?id=165390
2864
2865         Reviewed by Dean Jackson.
2866
2867         We add a new test that checks we have the expected element structure with a single <div> containing
2868         the captions and the media controls elements. Three other tests needed updating since they made
2869         assumptions on the DOM structure that were no longer holding.
2870
2871         * media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen-expected.txt:
2872         * media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen.html:
2873         * media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html:
2874         * media/modern-media-controls/media-controller/media-controller-resize.html:
2875         * media/modern-media-controls/media-controller/media-controller-single-container-expected.txt: Added.
2876         * media/modern-media-controls/media-controller/media-controller-single-container.html: Added.
2877
2878 2016-12-06  Antoine Quint  <graouts@apple.com>
2879
2880         [Modern Media Controls] Automatically hide the controls bar when the mouse is idle
2881         https://bugs.webkit.org/show_bug.cgi?id=165492
2882
2883         Reviewed by Dean Jackson.
2884
2885         We add new tests to check the following scenarios:
2886
2887         1. media-controller-auto-hide-mouse-enter-and-mouse-leave.html checks that, during media playback,
2888         as the mouse enters the media the controls bar becomes visible, and as the mouse exits the media,
2889         the controls bar becomes faded.
2890
2891         2. media-controller-auto-hide-mouse-enter-over-controls-bar.html checks that, during media playback,
2892         as the mouse enters the media and remains idle over the controls bar, the controls bar remain visible.
2893
2894         3. media-controller-auto-hide-mouse-leave-after-play.html checks that when the media goes from paused
2895         to playing, having the mouse enter and leave the media does not hide the media controls until the initial
2896         auto-hide timer started as the playback status changed has elapsed.
2897
2898         4. media-controller-auto-hide-pause.html checks that the controls bar remains visible as the media is paused.
2899
2900         5. media-controller-auto-hide-rewind-with-mouse-enter.html checks that the controls bar becomes visible
2901         as the mouse enters the media.
2902
2903         6. media-controller-auto-hide.html checks that the controls bar becomes faded after the auto-hide timer
2904         has elapsed after initial playback.
2905
2906         * media/modern-media-controls/media-controller/media-controller-auto-hide-expected.txt: Added.
2907         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-and-mouse-leave-expected.txt: Added.
2908         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-and-mouse-leave.html: Added.
2909         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar-expected.txt: Added.
2910         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar.html: Added.
2911         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play-expected.txt: Added.
2912         * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play.html: Added.
2913         * media/modern-media-controls/media-controller/media-controller-auto-hide-pause-expected.txt: Added.
2914         * media/modern-media-controls/media-controller/media-controller-auto-hide-pause.html: Added.
2915         * media/modern-media-controls/media-controller/media-controller-auto-hide-rewind-with-mouse-enter-expected.txt: Added.
2916         * media/modern-media-controls/media-controller/media-controller-auto-hide-rewind-with-mouse-enter.html: Added.
2917         * media/modern-media-controls/media-controller/media-controller-auto-hide.html: Added.
2918
2919 2016-12-06  Daniel Bates  <dabates@apple.com>
2920
2921         Test fast/selectors/040.html fails on iOS Simulator following <https://trac.webkit.org/changeset/209404>
2922         (https://bugs.webkit.org/show_bug.cgi?id=79694)
2923
2924         Skip test fast/selectors/040.html as we do not visually highlight a programmatic selection on iOS from
2925         observation.
2926
2927         * platform/ios-simulator/TestExpectations:
2928
2929 2016-12-06  Zalan Bujtas  <zalan@apple.com>
2930
2931         Can not select whole line when using flexbox
2932         https://bugs.webkit.org/show_bug.cgi?id=165299
2933
2934         Reviewed by David Hyatt.
2935
2936         * fast/flexbox/flexbox-fail-to-select-same-line-expected.html: Added.
2937         * fast/flexbox/flexbox-fail-to-select-same-line.html: Added.
2938
2939 2016-12-06  Jer Noble  <jer.noble@apple.com>
2940
2941         YouTube sometimes pauses when switching tabs
2942         https://bugs.webkit.org/show_bug.cgi?id=165468
2943
2944         Reviewed by Eric Carlson.
2945
2946         * media/media-session-restrictions.html: Added.
2947         * platform/ios-simulator/media/media-session-restrictions-expected.txt: Added.
2948         * platform/mac/media/media-session-restrictions-expected.txt: Added.
2949
2950 2016-12-06  Mark Lam  <mark.lam@apple.com>
2951
2952         Introduce the concept of Immutable Prototype Exotic Objects to comply with the spec.
2953         https://bugs.webkit.org/show_bug.cgi?id=165227
2954         <rdar://problem/29442665>
2955
2956         Reviewed by Saam Barati.
2957
2958         The new prototype-assignment.js test is currently only enabled for LLInt only
2959         run in the JSC tests until webkit.org/b/165401 is fixed.
2960
2961         * TestExpectations:
2962         - Skip js/prototype-assignment.html for now until webkit.org/b/165401 is fixed.
2963
2964         * http/tests/security/window-named-valueOf-expected.txt:
2965         * js/dom/proxy-is-not-allowed-in-global-prototype-chain-expected.txt:
2966         * js/dom/proxy-is-not-allowed-in-global-prototype-chain.html:
2967         - Updated error messages.
2968
2969         * js/prototype-assignment-expected.txt: Added.
2970         * js/prototype-assignment.html: Added.
2971         * js/script-tests/prototype-assignment.js: Added.
2972         (else):
2973         (reportError):
2974         (shouldEqual):
2975         (shouldThrow):
2976         (stringify):
2977         (makeTestID):
2978         (doInternalSetPrototypeOf):
2979         (ordinarySetPrototypeOf):
2980         (setImmutablePrototype):
2981         (windowProxySetPrototypeOf):
2982         (initSetterExpectation):
2983         (throwIfNoExceptionPending):
2984         (objectSetPrototypeOf):
2985         (setUnderscoreProto):
2986         (reflectSetPrototypeOf):
2987         (newObjectProto.toString):
2988         (this.testObject.targets.push.value):
2989         (this.testProxy.targets.push.setPrototypeOf):
2990         (Symbol):
2991         (test):
2992         (runTests):
2993         * js/setPrototypeOf-expected.txt:
2994
2995 2016-12-06  Dave Hyatt  <hyatt@apple.com>
2996
2997         REGRESSION (Safari 10): Scrolling not working inside height 100% table
2998         https://bugs.webkit.org/show_bug.cgi?id=164366
2999         <rdar://problem/29095535>
3000
3001         Reviewed by Zalan Bujtas.
3002
3003         * fast/table/overflow-percent-height-regression-expected.html: Added.
3004         * fast/table/overflow-percent-height-regression.html: Added.
3005
3006 2016-12-06  Ryan Haddad  <ryanhaddad@apple.com>
3007
3008         Rebaseline fast/shadow-dom/slotted-pseudo-element-css-text.html after r209396.
3009
3010         Unreviewed test gardening.
3011
3012         * fast/shadow-dom/slotted-pseudo-element-css-text-expected.txt:
3013
3014 2016-12-06  Simon Fraser  <simon.fraser@apple.com>
3015
3016         Mark two tiled-drawing tests as flakey. Layout viewport rect computation has issues in subframes,
3017         covered by https://bugs.webkit.org/show_bug.cgi?id=165489.
3018
3019         * platform/mac-wk2/TestExpectations:
3020         * tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt:
3021         * tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt:
3022
3023 2016-12-06  Dave Hyatt  <hyatt@apple.com>
3024
3025         REGRESSION (r209396): animations/font-variations/font-variation-settings* tests timing out
3026         https://bugs.webkit.org/show_bug.cgi?id=165475
3027
3028         Reviewed by Myles C. Maxfield.
3029
3030         The new parser only allows strings for @keyframe names when @-webkit-keyframe is used. Patch
3031         the tests to use identifiers instead.
3032
3033         * animations/font-variations/font-variation-settings-order.html:
3034         * animations/font-variations/font-variation-settings-unlike.html:
3035         * animations/font-variations/font-variation-settings.html:
3036
3037 2016-12-05  Simon Fraser  <simon.fraser@apple.com>
3038
3039         Improve the behavior of scroll-into-view when the target is inside position:fixed
3040         https://bugs.webkit.org/show_bug.cgi?id=165354
3041
3042         Reviewed by Zalan Bujtas.
3043
3044         * fast/overflow/scroll-anchor-in-position-fixed-expected.txt: Added.
3045         * fast/overflow/scroll-anchor-in-position-fixed.html: Added.
3046         * fast/transforms/selection-bounds-in-transformed-view.html:
3047         * fast/visual-viewport/zoomed-scroll-into-view-fixed-expected.txt: Added.
3048         * fast/visual-viewport/zoomed-scroll-into-view-fixed.html: Added.
3049         * fast/visual-viewport/zoomed-scroll-to-anchor-in-position-fixed-expected.txt: Added.
3050         * fast/visual-viewport/zoomed-scroll-to-anchor-in-position-fixed.html: Added.
3051         * platform/ios-simulator/TestExpectations:
3052
3053 2016-12-06  Myles C. Maxfield  <mmaxfield@apple.com>
3054
3055         [Cocoa] REGRESSION(r205396): Intermediate CTRuns with initial advances get double counted when glyph origins are enabled
3056         https://bugs.webkit.org/show_bug.cgi?id=165084
3057
3058         Reviewed by Simon Fraser.
3059
3060         * fast/text/initial-advance-in-intermediate-run-complex-expected.html: Added.
3061         * fast/text/initial-advance-in-intermediate-run-complex.html: Added.
3062         * platform/ios-simulator/TestExpectations: Disable the test on iOS because it relies
3063         on Arial being used to draw Arabic, which we explicitly don't allow.
3064
3065 2016-12-06  Simon Fraser  <simon.fraser@apple.com>
3066
3067         Enable visual viewports by default on Mac, and iOS Wk2
3068         https://bugs.webkit.org/show_bug.cgi?id=165452
3069
3070         Reviewed by Zalan Bujtas.
3071
3072         Skip, fix or adjust tests for visual viewports.
3073
3074         * TestExpectations:
3075         * animations/trigger-container-scroll-boundaries.html:
3076         * animations/trigger-container-scroll-empty.html:
3077         * animations/trigger-container-scroll-simple.html:
3078         * compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html:
3079         * compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt:
3080         * compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt:
3081         * fast/scrolling/ios/remove-scrolling-role-expected.txt:
3082         * fast/zooming/client-rect-in-fixed-zoomed-expected.txt:
3083         * fast/zooming/client-rect-in-fixed-zoomed.html:
3084         * platform/ios-simulator-wk2/compositing/geometry/fixed-in-composited-expected.txt: Removed.
3085         * platform/ios-simulator-wk2/compositing/geometry/limit-layer-bounds-fixed-expected.txt:
3086         * platform/ios-simulator-wk2/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
3087         * platform/ios-simulator-wk2/compositing/layer-creation/fixed-position-under-transform-expected.txt:
3088         * platform/ios-simulator-wk2/compositing/layer-creation/no-compositing-for-sticky-expected.txt:
3089         * platform/ios-simulator-wk2/fast/overflow/position-fixed-transform-clipping-expected.txt:
3090         * platform/ios-simulator/compositing/absolute-inside-out-of-view-fixed-expected.txt:
3091         * platform/ios-simulator/compositing/geometry/fixed-in-composited-expected.txt:
3092         * scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt:
3093         * scrollingcoordinator/ios/ui-scrolling-tree-expected.txt:
3094         * tiled-drawing/fixed-layout-size-fixed-attachment-cover.html:
3095         * tiled-drawing/fixed-layout-size-fixed-attachment-local.html:
3096         * tiled-drawing/scrolling/clamp-out-of-bounds-scrolls-expected.txt:
3097         * tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt:
3098         * tiled-drawing/scrolling/fixed/absolute-inside-fixed-expected.txt:
3099         * tiled-drawing/scrolling/fixed/absolute-inside-out-of-view-fixed-expected.txt:
3100         * tiled-drawing/scrolling/fixed/fixed-in-overflow-expected.txt:
3101         * tiled-drawing/scrolling/fixed/fixed-position-out-of-view-expected.txt:
3102         * tiled-drawing/scrolling/fixed/fixed-position-out-of-view-negative-zindex-expected.txt:
3103         * tiled-drawing/scrolling/fixed/four-bars-expected.txt:
3104         * tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer-expected.txt:
3105         * tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt:
3106         * tiled-drawing/scrolling/fixed/negative-scroll-offset-expected.txt:
3107         * tiled-drawing/scrolling/fixed/negative-scroll-offset-in-view-expected.txt:
3108         * tiled-drawing/scrolling/fixed/nested-fixed-expected.txt:
3109         * tiled-drawing/scrolling/fixed/percentage-inside-fixed-expected.txt:
3110         * tiled-drawing/scrolling/frames/coordinated-frame-expected.txt:
3111         * tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt:
3112         * tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt:
3113         * tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt:
3114         * tiled-drawing/scrolling/frames/fixed-inside-frame-expected.txt:
3115         * tiled-drawing/scrolling/frames/frameset-frame-scrollability-expected.txt:
3116         * tiled-drawing/scrolling/frames/frameset-nested-frame-scrollability-expected.txt:
3117         * tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt:
3118         * tiled-drawing/scrolling/frames/scroll-region-after-frame-layout-expected.txt:
3119         * tiled-drawing/scrolling/scrolling-tree-after-scroll-expected.txt:
3120         * tiled-drawing/scrolling/scrolling-tree-slow-scrolling-expected.txt:
3121         * tiled-drawing/scrolling/sticky/negative-scroll-offset-expected.txt:
3122         * tiled-drawing/scrolling/sticky/sticky-horizontal-expected.txt:
3123         * tiled-drawing/scrolling/sticky/sticky-vertical-expected.txt:
3124
3125 2016-12-06  Ryan Haddad  <ryanhaddad@apple.com>
3126
3127         Skip modern-media-controls tests until flakiness can be resolved.
3128         https://bugs.webkit.org/show_bug.cgi?id=164784
3129
3130         Unreviewed test gardening.
3131
3132         * TestExpectations:
3133         * platform/ios-simulator-wk2/TestExpectations:
3134         * platform/ios-simulator/TestExpectations:
3135         * platform/mac-wk1/TestExpectations:
3136         * platform/mac/TestExpectations:
3137
3138 2016-12-06  Daniel Bates  <dabates@apple.com>
3139
3140         Make fast/selectors/040.html actually test background-color painting for ::selection when run in DRT
3141         https://bugs.webkit.org/show_bug.cgi?id=79694
3142
3143         Reviewed by Beth Dakin.
3144
3145         Currently the test case fast/selectors/040.html doesn't actually test that we
3146         honor the background-color of ::selection when run in DRT. In particular, it
3147         doesn't programmatically select any text and hence the DRT results reflect a
3148         paragraph of non-selected text. Instead, we should programmatically select the
3149         test paragraph so that DRT can capture the painting of background-color for ::selection.
3150
3151         * fast/selectors/040-expected.html: Added.
3152         * fast/selectors/040.html:
3153         * platform/efl/fast/selectors/040-expected.png: Removed.
3154         * platform/efl/fast/selectors/040-expected.txt: Removed.
3155         * platform/gtk/fast/selectors/040-expected.png: Removed.
3156         * platform/gtk/fast/selectors/040-expected.txt: Removed.
3157         * platform/ios-simulator/fast/selectors/040-expected.txt: Removed.
3158         * platform/mac/fast/selectors/040-expected.png: Removed.
3159         * platform/mac/fast/selectors/040-expected.txt: Removed.
3160         * platform/win/fast/selectors/040-expected.txt: Removed.
3161
3162 2016-12-06  Daniel Bates  <dabates@apple.com>
3163
3164         Test insecure-xhr-sync-in-main-frame.html fails with CORS error if run before r203542
3165         https://bugs.webkit.org/show_bug.cgi?id=165407
3166
3167         Reviewed by Alexey Proskuryakov.
3168
3169         Make the test insecure-xhr-sync-in-main-frame.html demonstrate a mixed content failure
3170         instead of a CORS failure when run before r203542.
3171
3172         In r203542 the test http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame.html
3173         was added to ensure that we block loading insecure data via XHR from an HTTPS page. When
3174         this test is run prior to r203542 it fails due to a CORS errors as opposed to showing
3175         the intended JavaScript alert failure message. The CORS error is due to loading a
3176         cross-origin resource that did not return an appropriate Access-Control-Allow-Origin header
3177         to allow reading of the response.
3178
3179         * http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame-expected.txt: Update expected result
3180         based on the change below.
3181         * http/tests/security/mixedContent/resources/insecure-xhr-sync-in-main-frame-window.html:
3182         Load a resource that returns "Access-Control-Allow-Origin: *" so that origin (http, 127.0.0.1, 8000)
3183         can read the response returned from origin (https, 127.0.0.1, 8443).
3184
3185 2016-12-06  Tim Horton  <timothy_horton@apple.com>
3186
3187         PDF markup/annotations visible in Mail on macOS but not on iOS
3188         https://bugs.webkit.org/show_bug.cgi?id=165444
3189         <rdar://problem/28942896>
3190
3191         Reviewed by Simon Fraser.
3192
3193         * platform/ios-simulator/TestExpectations:
3194
3195 2016-12-06  Dave Hyatt  <hyatt@apple.com>
3196
3197         [CSS Parser] Avoid more test
3198         https://bugs.webkit.org/show_bug.cgi?id=165463
3199
3200         Reviewed by Zalan Bujtas.
3201
3202         * TestExpectations:
3203
3204 2016-12-06  Sam Weinig  <sam@webkit.org>
3205
3206         [WebIDL] Add support for converting dictionaries to JS
3207         https://bugs.webkit.org/show_bug.cgi?id=165367
3208
3209         Reviewed by Darin Adler and Alex Christensen.
3210
3211         * crypto/subtle/rsa-oaep-generate-key-expected.txt:
3212         * crypto/subtle/rsa-oaep-generate-key.html:
3213         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-expected.txt:
3214         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable-expected.txt:
3215         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable.html:
3216         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key.html:
3217         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-expected.txt:
3218         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key.html:
3219         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key-expected.txt:
3220         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key.html:
3221         * crypto/webkitSubtle/rsa-oaep-key-manipulation-expected.txt:
3222         * crypto/webkitSubtle/rsa-oaep-key-manipulation.html:
3223         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-expected.txt:
3224         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt:
3225         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html:
3226         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key.html:
3227         * crypto/workers/subtle/resources/rsa-generate-key.js:
3228         * crypto/workers/subtle/rsa-generate-key-expected.txt:
3229         Update tests and expected results to show that CryptoKeyPair is now a vanilla object, not a platform object.
3230
3231 2016-12-05  Antoine Quint  <graouts@apple.com>
3232
3233         [Modern Media Controls] Controls bar in fullscreen cannot be dragged
3234         https://bugs.webkit.org/show_bug.cgi?id=165448
3235
3236         Reviewed by Simon Fraser.
3237
3238         Add a new test that simulates a dragging interaction of the controls bar in fullscreen.
3239
3240         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt:
3241         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
3242         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles-expected.txt:
3243         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles.html:
3244         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag-expected.txt: Added.
3245         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag.html: Added.
3246         * platform/ios-simulator/TestExpectations:
3247
3248 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3249
3250         [CSS Parser] Skip more bad tests
3251         https://bugs.webkit.org/show_bug.cgi?id=165449
3252
3253         Reviewed by Zalan Bujtas.
3254
3255         * TestExpectations:
3256         The font tests have illegal declarations where the
3257         ordering of the sub-properties is all wrong. Skip for
3258         now until we can rewrite them.
3259
3260         The negative-calc value test is wrong, since tab-size
3261         takes only positive integers, so a calc that resolves
3262         to a negative number must be rejected. Avoid the test
3263         for now until we can rewrite it.
3264
3265 2016-12-05  Antoine Quint  <graouts@apple.com>
3266
3267         ERROR: post-layout: dirty renderer(s) - Encountered with LayoutTest media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html
3268         https://bugs.webkit.org/show_bug.cgi?id=165312
3269
3270         Reviewed by Simon Fraser.
3271
3272         Restore previously skipped tests.
3273
3274         * platform/mac/TestExpectations:
3275
3276 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3277
3278         [CSS Parser] Tweak more layout tests to pass
3279         https://bugs.webkit.org/show_bug.cgi?id=165447
3280
3281         Reviewed by Zalan Bujtas.
3282
3283         * TestExpectations:
3284         Add a few more tests to avoid.
3285
3286         * fast/css/parsing-font-variant-ligatures-expected.txt:
3287         * fast/css/parsing-font-variant-ligatures.html:
3288         Remove the assumption that multiple occurrences of the
3289         same value are allowed.
3290
3291         * fast/filter-image/parse-filter-image-expected.txt:
3292         * fast/filter-image/parse-filter-image.html:
3293         Change the test to require url(), since you cannot omit it
3294         and expect the filter to parse properly.
3295
3296 2016-12-05  Dean Jackson  <dino@apple.com>
3297
3298         MediaDocuments crash with modern media controls
3299         https://bugs.webkit.org/show_bug.cgi?id=165446
3300         <rdar://problem/29524959>
3301
3302         Reviewed by Antoine Quint.
3303
3304         * media/modern-media-controls/media-documents/insert-style-should-not-crash-expected.txt: Added.
3305         * media/modern-media-controls/media-documents/insert-style-should-not-crash.html: Added.
3306
3307 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3308
3309         [CSS Parser] Avoid more tests
3310         https://bugs.webkit.org/show_bug.cgi?id=165445
3311
3312         Reviewed by Tim Horton.
3313
3314         * TestExpectations:
3315         Just skip the custom property test, since it's a ref test.
3316
3317 2016-12-05  Matt Baker  <mattbaker@apple.com>
3318
3319         Web Inspector: Object.shallowEqual([{}], [{}]) should return true
3320         https://bugs.webkit.org/show_bug.cgi?id=165397
3321
3322         Reviewed by Brian Burg.
3323
3324         Added passing and failing inputs for TestHarness.prototype.expectShallowEqual.
3325
3326         * inspector/unit-tests/test-harness-expect-functions-expected.txt:
3327         * inspector/unit-tests/test-harness-expect-functions.html:
3328
3329 2016-12-05  Dean Jackson  <dino@apple.com>
3330
3331         pointer lock needs to be feature detectable
3332         https://bugs.webkit.org/show_bug.cgi?id=165426
3333         <rdar://problem/29486715>
3334
3335         Reviewed by Antoine Quint.
3336
3337         Checks that the API is hidden when the feature is turned off.
3338
3339         * pointer-lock/pointerlock-interface-disabled-expected.txt: Added.
3340         * pointer-lock/pointerlock-interface-disabled.html: Added.
3341         * pointer-lock/pointerlock-interface-expected.txt: Added.
3342         * pointer-lock/pointerlock-interface.html: Added.
3343
3344 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3345
3346         [CSS Parser] Skip a grid test
3347         https://bugs.webkit.org/show_bug.cgi?id=165427
3348
3349         Reviewed by Zalan Bujtas.
3350
3351         * TestExpectations:
3352
3353 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3354
3355         [CSS Parser] Avoid more invalid tests
3356         https://bugs.webkit.org/show_bug.cgi?id=165424
3357
3358         Reviewed by Dean Jackson.
3359
3360         * TestExpectations:
3361         Avoid the aspect-ratio test, since it thinks whitespace should not be allowed, even though
3362         it should be. Avoid a couple of grid tests that assume the grid breadth can't be 0fr, even
3363         though it can be. Non-negative means < 0, not <= 0 like the old parser assumes.
3364
3365 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3366
3367         [CSS Parser] Fix invalid column-span test
3368         https://bugs.webkit.org/show_bug.cgi?id=165420
3369
3370         Reviewed by Dean Jackson.
3371
3372         * fast/multicol/newmulticol/spanner-becomes-regular-block.html:
3373
3374 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3375
3376         [CSS Parser] Avoid more tests
3377         https://bugs.webkit.org/show_bug.cgi?id=165417
3378
3379         Reviewed by Simon Fraser.
3380
3381         * TestExpectations:
3382
3383 2016-12-05  Antti Koivisto  <antti@apple.com>
3384
3385         keyframes do not work when defined inside a style in a shadowRoot
3386         https://bugs.webkit.org/show_bug.cgi?id=164608
3387         <rdar://problem/29210251>
3388
3389         Reviewed by Darin Adler.
3390
3391         * fast/shadow-dom/shadow-host-animation-expected.html: Added.
3392         * fast/shadow-dom/shadow-host-animation.html: Added.
3393
3394 2016-12-05  Ryan Haddad  <ryanhaddad@apple.com>
3395
3396         Skip three media/modern-media-controls tests.
3397         https://bugs.webkit.org/show_bug.cgi?id=165312
3398
3399         Unreviewed test gardening.
3400
3401         * platform/mac/TestExpectations:
3402
3403 2016-12-05  Ryan Haddad  <ryanhaddad@apple.com>
3404
3405         Unreviewed, rolling out r209299.
3406
3407         This change appears to have caused LayoutTest failures on
3408         Sierra WK1.
3409
3410         Reverted changeset:
3411
3412         "Improve the behavior of scroll-into-view when the target is
3413         inside position:fixed"
3414         https://bugs.webkit.org/show_bug.cgi?id=165354
3415         http://trac.webkit.org/changeset/209299
3416
3417 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3418
3419         [CSS Parser] Fix column tests with illegal syntax
3420         https://bugs.webkit.org/show_bug.cgi?id=165411
3421
3422         Reviewed by Zalan Bujtas.
3423
3424         Patch column-span layout tests that use invalid syntax
3425         to use the spec-compliant syntax instead (none instead of 1).
3426
3427         * fast/multicol/newmulticol/remove-spanner4.html:
3428         * fast/multicol/newmulticol/remove-spanner5.html:
3429         * fast/multicol/newmulticol/remove-spanner6.html:
3430         * fast/multicol/span/span-as-immediate-child-property-removal.html:
3431
3432 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3433
3434         [CSS Parser] Avoid a few more tests
3435         https://bugs.webkit.org/show_bug.cgi?id=165404
3436
3437         Reviewed by Zalan Bujtas.
3438
3439         * TestExpectations:
3440
3441 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3442
3443         [CSS Parser] Fix flex property parsing test
3444         https://bugs.webkit.org/show_bug.cgi?id=165402
3445
3446         Reviewed by Simon Fraser.
3447
3448         flex-grow and flex-shrink must occur together. They cannot be before and after
3449         the flex-basis. Since this test is about valid property declarations, just fix it
3450         by removing the invalid ones.
3451
3452         * css3/flexbox/flex-property-parsing-expected.txt:
3453         * css3/flexbox/flex-property-parsing.html:
3454
3455 2016-12-05  Ryan Haddad  <ryanhaddad@apple.com>
3456
3457         Marking media/modern-media-controls/seek-backward-support/seek-backward-support.html as flaky on mac-wk1.
3458         https://bugs.webkit.org/show_bug.cgi?id=165386
3459
3460         Unreviewed test gardening.
3461
3462         * platform/mac-wk1/TestExpectations:
3463
3464 2016-12-05  Dave Hyatt  <hyatt@apple.com>
3465
3466         [CSS Parser] Remove calc column-span test
3467         https://bugs.webkit.org/show_bug.cgi?id=165393
3468
3469         Reviewed by Zalan Bujtas.
3470
3471         "1" is not a legal value for column-span, let alone allowing it to support a calc that
3472         resolves to 1.
3473
3474         * fast/css/webkit-column-span-calculated-value-expected.txt: Removed.
3475         * fast/css/webkit-column-span-calculated-value.html: Removed.
3476
3477 2016-12-05  Ryan Haddad  <ryanhaddad@apple.com>
3478
3479         Marking media/modern-media-controls/media-controller/media-controller-resize.html as flaky on macOS.
3480         https://bugs.webkit.org/show_bug.cgi?id=164571
3481
3482         Unreviewed test gardening.
3483
3484         * platform/mac/TestExpectations:
3485
3486 2016-12-04  Dave Hyatt  <hyatt@apple.com>
3487
3488         [CSS Parser] Eliminate in-place lowercasing in the parser.
3489         https://bugs.webkit.org/show_bug.cgi?id=165368
3490
3491         Reviewed by Darin Adler.
3492