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