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