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