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