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