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