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