Restrict security origin inheritance to empty, about:blank, and about:srcdoc URLs
[WebKit-https.git] / LayoutTests / ChangeLog
1 2016-06-16  John Wilander  <wilander@apple.com>
2
3         Restrict security origin inheritance to empty, about:blank, and about:srcdoc URLs
4         https://bugs.webkit.org/show_bug.cgi?id=158855
5         <rdar://problem/26142632>
6
7         Reviewed by Alex Christensen.
8
9         * http/tests/dom/window-open-about-blank-and-access-document-expected.txt: Added.
10         * http/tests/dom/window-open-about-blank-and-access-document.html: Added.
11         * http/tests/dom/window-open-about-webkit-org-and-access-document-expected.txt: Added.
12         * http/tests/dom/window-open-about-webkit-org-and-access-document.html: Added.
13
14 2016-06-16  Jiewen Tan  <jiewen_tan@apple.com>
15
16         Move most of CSP tests into security/contentSecurityPolicy/
17         https://bugs.webkit.org/show_bug.cgi?id=158859
18
19         Reviewed by Daniel Bates.
20
21         * platform/mac-wk1/TestExpectations:
22         * platform/mac/TestExpectations:
23         * platform/wk2/TestExpectations:
24         * security/contentSecurityPolicy/blocks-video-expected.txt: Renamed from LayoutTests/media/csp-blocks-video-expected.txt.
25         * security/contentSecurityPolicy/blocks-video.html: Renamed from LayoutTests/media/csp-blocks-video.html.
26         * security/contentSecurityPolicy/font-loading-block-all-expected.txt: Renamed from LayoutTests/fast/text/font-loading-csp-block-all-expected.txt.
27         * security/contentSecurityPolicy/font-loading-block-all.html: Renamed from LayoutTests/fast/text/font-loading-csp-block-all.html.
28         * security/contentSecurityPolicy/image-with-blob-url-allowed-by-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-blob-url-allowed-by-csp-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
29         * security/contentSecurityPolicy/image-with-blob-url-allowed-by-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-blob-url-allowed-by-csp-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
30         * security/contentSecurityPolicy/image-with-blob-url-blocked-by-img-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-blob-url-blocked-by-csp-img-src-star-expected.html.
31         * security/contentSecurityPolicy/image-with-blob-url-blocked-by-img-src-star.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-blob-url-blocked-by-csp-img-src-star.html.
32         * security/contentSecurityPolicy/image-with-data-url-allowed-by-img-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-data-url-allowed-by-csp-img-src-star-expected.html.
33         * security/contentSecurityPolicy/image-with-data-url-allowed-by-img-src-star.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-data-url-allowed-by-csp-img-src-star.html.
34         * security/contentSecurityPolicy/image-with-file-url-allowed-by-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-file-url-allowed-by-csp-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
35         * security/contentSecurityPolicy/image-with-file-url-allowed-by-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-file-url-allowed-by-csp-img-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
36         * security/contentSecurityPolicy/image-with-file-url-blocked-by-img-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-file-url-blocked-by-csp-img-src-star-expected.html.
37         * security/contentSecurityPolicy/image-with-file-url-blocked-by-img-src-star.html: Renamed from LayoutTests/fast/dom/HTMLImageElement/image-with-file-url-blocked-by-csp-img-src-star.html.
38         * security/contentSecurityPolicy/link-with-blob-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-blob-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
39         * security/contentSecurityPolicy/link-with-blob-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-blob-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
40         * security/contentSecurityPolicy/link-with-blob-url-blocked-by-style-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-blob-url-blocked-by-csp-style-src-star-expected.html.
41         * security/contentSecurityPolicy/link-with-blob-url-blocked-by-style-src-star.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-blob-url-blocked-by-csp-style-src-star.html.
42         * security/contentSecurityPolicy/link-with-data-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-data-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
43         * security/contentSecurityPolicy/link-with-data-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-data-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
44         * security/contentSecurityPolicy/link-with-data-url-blocked-by-style-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-data-url-blocked-by-csp-style-src-star-expected.html.
45         * security/contentSecurityPolicy/link-with-data-url-blocked-by-style-src-star.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-data-url-blocked-by-csp-style-src-star.html.
46         * security/contentSecurityPolicy/link-with-file-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-file-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
47         * security/contentSecurityPolicy/link-with-file-url-allowed-by-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-file-url-allowed-by-csp-style-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
48         * security/contentSecurityPolicy/link-with-file-url-blocked-by-style-src-star-expected.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-file-url-blocked-by-csp-style-src-star-expected.html.
49         * security/contentSecurityPolicy/link-with-file-url-blocked-by-style-src-star.html: Renamed from LayoutTests/fast/dom/HTMLLinkElement/link-with-file-url-blocked-by-csp-style-src-star.html.
50         * security/contentSecurityPolicy/resources/worker-inherits-blocks-eval.js: Renamed from LayoutTests/fast/workers/resources/worker-inherits-csp-blocks-eval.js.
51         (catch):
52         * security/contentSecurityPolicy/resources/worker-inherits-blocks-xhr.js: Renamed from LayoutTests/fast/workers/resources/worker-inherits-csp-blocks-xhr.js.
53         (catch):
54         * security/contentSecurityPolicy/video-with-blob-url-allowed-by-media-src-star-expected.html: Renamed from LayoutTests/media/video-with-blob-url-allowed-by-csp-media-src-star-expected.html.
55         * security/contentSecurityPolicy/video-with-blob-url-allowed-by-media-src-star.html: Renamed from LayoutTests/media/video-with-blob-url-allowed-by-csp-media-src-star.html.
56         * security/contentSecurityPolicy/video-with-data-url-allowed-by-media-src-star-expected.html: Renamed from LayoutTests/media/video-with-data-url-allowed-by-csp-media-src-star-expected.html.
57         * security/contentSecurityPolicy/video-with-data-url-allowed-by-media-src-star.html: Renamed from LayoutTests/media/video-with-data-url-allowed-by-csp-media-src-star.html.
58         * security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html: Renamed from LayoutTests/media/video-with-file-url-allowed-by-csp-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled-expected.html.
59         * security/contentSecurityPolicy/video-with-file-url-allowed-by-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html: Renamed from LayoutTests/media/video-with-file-url-allowed-by-csp-media-src-star-with-AllowContentSecurityPolicySourceStarToMatchAnyProtocol-enabled.html.
60         * security/contentSecurityPolicy/video-with-file-url-blocked-by-media-src-star-expected.html: Renamed from LayoutTests/media/video-with-file-url-blocked-by-csp-media-src-star-expected.html.
61         * security/contentSecurityPolicy/video-with-file-url-blocked-by-media-src-star.html: Renamed from LayoutTests/media/video-with-file-url-blocked-by-csp-media-src-star.html.
62         * security/contentSecurityPolicy/worker-inherits-blocks-eval-expected.txt: Renamed from LayoutTests/fast/workers/worker-inherits-csp-blocks-eval-expected.txt.
63         * security/contentSecurityPolicy/worker-inherits-blocks-eval.html: Renamed from LayoutTests/fast/workers/worker-inherits-csp-blocks-eval.html.
64         * security/contentSecurityPolicy/worker-inherits-blocks-xhr-expected.txt: Renamed from LayoutTests/fast/workers/worker-inherits-csp-blocks-xhr-expected.txt.
65         * security/contentSecurityPolicy/worker-inherits-blocks-xhr.html: Renamed from LayoutTests/fast/workers/worker-inherits-csp-blocks-xhr.html.
66
67 2016-06-16  Simon Fraser  <simon.fraser@apple.com>
68
69         Focus event dispatched in iframe causes parent document to scroll incorrectly
70         https://bugs.webkit.org/show_bug.cgi?id=158629
71         rdar://problem/26521616
72
73         Reviewed by Enrica Casucci.
74         
75         Tests for user-initiated and programmatic focus in frames.
76
77         * fast/forms/ios/focus-input-in-iframe-expected.txt: Added.
78         * fast/forms/ios/focus-input-in-iframe.html: Added.
79         * fast/forms/ios/programmatic-focus-input-in-iframe.html: Added.
80         * fast/forms/ios/programmatic-focus-input-in-iframe-expected.txt: Added.
81
82 2016-06-16  Zalan Bujtas  <zalan@apple.com>
83
84         [New Block-Inside-Inline Model] Do not attempt to re-run margin collapsing on the block sequence.
85         https://bugs.webkit.org/show_bug.cgi?id=158854
86
87         Reviewed by David Hyatt.
88
89         * fast/block/inside-inlines/crash-on-first-line-change-expected.txt: Added.
90         * fast/block/inside-inlines/crash-on-first-line-change.html: Added.
91
92 2016-06-16  Benjamin Poulain  <bpoulain@apple.com>
93
94         :in-range & :out-of-range CSS pseudo-classes shouldn't match inputs without range limitations
95         https://bugs.webkit.org/show_bug.cgi?id=156558
96
97         Reviewed by Simon Fraser.
98
99         * fast/css/pseudo-in-range-basics-expected.html: Added.
100         * fast/css/pseudo-in-range-basics.html: Added.
101         * fast/css/pseudo-in-range-out-of-range-trivial-expected.html: Added.
102         * fast/css/pseudo-in-range-out-of-range-trivial.html: Added.
103         * fast/css/pseudo-out-of-range-basics-expected.html: Added.
104         * fast/css/pseudo-out-of-range-basics.html: Added.
105
106 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
107
108         [iOS WK2] On iPad, indirect focussing of a text field doesn't always scroll to the correct location
109         https://bugs.webkit.org/show_bug.cgi?id=158828
110
111         Reviewed by Enrica Casucci.
112         
113         Add various tests for focusing form fields. focus-input-via-button-ipad.html tests
114         the change in the current patch.
115
116         * fast/forms/ios/focus-input-in-fixed-expected.txt: Added.
117         * fast/forms/ios/focus-input-in-fixed.html: Added.
118         * fast/forms/ios/focus-input-via-button-ipad-expected.txt: Added.
119         * fast/forms/ios/focus-input-via-button-ipad.html: Added.
120         * fast/forms/ios/focus-long-textarea-expected.txt: Added.
121         * fast/forms/ios/focus-long-textarea.html: Added.
122         * fast/forms/ios/resources/zooming-test-utils.js:
123         (testZoomAfterTap):
124
125 2016-06-16  Adam Bergkvist  <adam.bergkvist@ericsson.com>
126
127         WebRTC: Check type of this in RTCPeerConnection JS built-in functions
128         https://bugs.webkit.org/show_bug.cgi?id=151303
129
130         Reviewed by Youenn Fablet.
131
132         Verify that the RTCPeerConnection JS built-in methods checks 'this'. The test has expected
133         failures (bug: http://webkit.org/b/158831).
134
135         * fast/mediastream/RTCPeerConnection-js-built-ins-check-this-expected.txt: Added.
136         * fast/mediastream/RTCPeerConnection-js-built-ins-check-this.html: Added.
137         * platform/mac/TestExpectations:
138         The mac port does not build with WEB_RTC enabled yet.
139
140 2016-06-16  Dean Jackson  <dino@apple.com>
141
142         [mac] LayoutTest transforms/undecomposable.html is a flaky timeout
143         https://bugs.webkit.org/show_bug.cgi?id=158816
144
145         Another attempt to deflake this test. Or is it unflake? I don't know.
146
147         * transforms/undecomposable.html:
148
149 2016-06-16  Myles C. Maxfield  <mmaxfield@apple.com>
150
151         Sporadic crash in HashTableAddResult following CSSValuePool::createFontFamilyValue
152         https://bugs.webkit.org/show_bug.cgi?id=158297
153
154         Reviewed by Darin Adler.
155
156         * fast/text/placeholder-renderstyle-null-font-expected.txt: Added.
157         * fast/text/placeholder-renderstyle-null-font.html: Added.
158
159 2016-06-15  Keith Miller  <keith_miller@apple.com>
160
161         Add support for Symbol.isConcatSpreadable (round 2)
162         https://bugs.webkit.org/show_bug.cgi?id=158769
163
164         Reviewed by Mark Lam.
165
166         Fix tests for Symbol.isConcatSpreadable. Also, add new test that
167         the array species construction does not use the callees' global
168         object's Array[Symbol.species] when given an array from another
169         global object.
170
171         * js/Object-getOwnPropertyNames-expected.txt:
172         * js/array-species-different-globalobjects.html:
173         * js/dom/array-prototype-properties-expected.txt:
174         * js/script-tests/Object-getOwnPropertyNames.js:
175
176 2016-06-15  Zalan Bujtas  <zalan@apple.com>
177
178         Decouple the percent height and positioned descendants maps.
179         https://bugs.webkit.org/show_bug.cgi?id=158773
180
181         Reviewed by David Hyatt and Chris Dumez.
182
183         Various dynamic containing block changing tests.
184
185         * fast/block/fixed-position-reparent-when-transition-is-removed.html:
186         * fast/block/positioning/change-containing-block-for-absolute-positioned-expected.txt: Added.
187         * fast/block/positioning/change-containing-block-for-absolute-positioned.html: Added.
188         * fast/block/positioning/change-containing-block-for-fixed-positioned-expected.txt: Added.
189         * fast/block/positioning/change-containing-block-for-fixed-positioned.html: Added.
190
191 2016-06-15  Tim Horton  <timothy_horton@apple.com>
192
193         <attachment> elements jump around a lot around when subtitle text changes slightly
194         https://bugs.webkit.org/show_bug.cgi?id=158818
195         <rdar://problem/24450270>
196
197         Reviewed by Simon Fraser.
198
199         * fast/attachment/attachment-subtitle-resize-expected.txt: Added.
200         * fast/attachment/attachment-subtitle-resize.html: Added.
201
202 2016-06-13  Simon Fraser  <simon.fraser@apple.com>
203
204         [iOS WK2] Make it possible to test the Next/Previous buttons in the keyboard accessory bar
205         https://bugs.webkit.org/show_bug.cgi?id=158714
206
207         Reviewed by Enrica Casucci.
208
209         Add UIScriptController.keyboardAccessoryBar{Next,Previous} and hook it up to the WKContentView
210         method that gets called from UIKit.
211
212         Add a test that exercises it.
213
214         * TestExpectations:
215         * fast/forms/ios/accessory-bar-navigation-expected.txt: Added.
216         * fast/forms/ios/accessory-bar-navigation.html: Added.
217         * fast/forms/ios/resources/zooming-test-utils.js: Added.
218         (testZoomAfterTap):
219         (tableFromJSON):
220         * platform/ios-simulator-wk2/TestExpectations:
221
222 2016-06-15  Dean Jackson  <dino@apple.com>
223
224         [mac] LayoutTest transforms/undecomposable.html is a flaky timeout
225         https://bugs.webkit.org/show_bug.cgi?id=158816
226
227         Unflakify this test by putting the script in a place that
228         will execute it before the load event (by which time the animation
229         may have started).
230
231         * transforms/undecomposable.html:
232
233 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
234
235         [iOS WK2] Add tests for zooming to text fields on focus
236         https://bugs.webkit.org/show_bug.cgi?id=158786
237
238         Reviewed by Enrica Casucci.
239
240         Add tests that focus form controls, and test the resulting scroll position and zoom level.
241
242         * TestExpectations:
243         * fast/forms/ios/focus-input-via-button-expected.txt: Added.
244         * fast/forms/ios/focus-input-via-button-no-scaling-expected.txt: Added.
245         * fast/forms/ios/focus-input-via-button-no-scaling.html: Added.
246         * fast/forms/ios/focus-input-via-button.html: Added.
247         * fast/forms/ios/resources/zooming-test-utils.js: Added.
248         (testZoomAfterTap):
249         (tableFromJSON):
250         * fast/forms/ios/zoom-after-input-tap-expected.txt: Added.
251         * fast/forms/ios/zoom-after-input-tap-wide-input-expected.txt: Added.
252         * fast/forms/ios/zoom-after-input-tap-wide-input.html: Added.
253         * fast/forms/ios/zoom-after-input-tap.html: Added.
254         * platform/ios-simulator-wk2/TestExpectations:
255
256 2016-06-15  Adam Bergkvist  <adam.bergkvist@ericsson.com>
257
258         WebRTC: Add media setup test using the legacy callback APIs
259         https://bugs.webkit.org/show_bug.cgi?id=158736
260
261         Reviewed by Eric Carlson.
262
263         Add a test that sets up media using the legacy callback-based createOffer/Answer() and
264         setLocal/RemoteDescription() methods [1].
265
266         [1] https://w3c.github.io/webrtc-pc/archives/20160513/webrtc.html#legacy-interface-extensions
267
268         * fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog-expected.txt: Added.
269         * fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html: Added.
270         * platform/mac/TestExpectations:
271         The mac port is not building with WEB_RTC yet.
272
273 2016-06-15  Antti Koivisto  <antti@apple.com>
274
275         GoogleMaps transit schedule explorer comes up blank initially
276         https://bugs.webkit.org/show_bug.cgi?id=158803
277         rdar://problem/25818080
278
279         Reviewed by Andreas Kling
280
281         Expand the tests to cover this case.
282
283         * fast/css/style-invalidation-attribute-change-descendants-expected.txt:
284         * fast/css/style-invalidation-attribute-change-descendants.html:
285         * fast/css/style-invalidation-class-change-descendants-expected.txt:
286         * fast/css/style-invalidation-class-change-descendants.html:
287
288 2016-06-15  Javier Fernandez  <jfernandez@igalia.com>
289
290         [css-sizing] Item borders are missing with 'min-width:-webkit-fill-available' and zero available width
291         https://bugs.webkit.org/show_bug.cgi?id=158258
292
293         Tests to verify that fill-available size works as expected when contaner's width is zero.
294
295         Reviewed by Darin Adler.
296
297         * fast/css-intrinsic-dimensions/fill-available-with-zero-width-expected.html: Added.
298         * fast/css-intrinsic-dimensions/fill-available-with-zero-width.html: Added.
299
300 2016-06-15  Alex Christensen  <achristensen@webkit.org>
301
302         Fix 2d canvas transform after r192900
303         https://bugs.webkit.org/show_bug.cgi?id=158725
304
305         Reviewed by Dean Jackson.
306
307         * fast/canvas/canvas-transform-inverse-expected.html: Added.
308         * fast/canvas/canvas-transform-inverse.html: Added.
309
310 2016-06-15  Eric Carlson  <eric.carlson@apple.com>
311
312         [iOS] Make HTMLMediaElement.muted mutable
313         https://bugs.webkit.org/show_bug.cgi?id=158787
314         <rdar://problem/24452567>
315
316         Reviewed by Dean Jackson.
317
318         * media/audio-playback-restriction-removed-muted-expected.txt: Added.
319         * media/audio-playback-restriction-removed-muted.html: Added.
320         * media/audio-playback-restriction-removed-track-enabled-expected.txt: Added.
321         * media/audio-playback-restriction-removed-track-enabled.html: Added.
322
323 2016-06-15  Simon Fraser  <simon.fraser@apple.com>
324
325         fast/events/ios tests are marked as flakey, but really just fail in OpenSource and WK1
326         https://bugs.webkit.org/show_bug.cgi?id=158804
327         
328         Test gardening.
329
330         fast/events/ios is skipped globally. Ideally it would be re-enabled in /ios-simulator-wk2/TestExpectations, but relies on unreleased
331         software, so leave disabled for now.
332
333         * platform/ios-simulator/TestExpectations:
334
335 2016-06-15  Antti Koivisto  <antti@apple.com>
336
337         Vary:Cookie validation doesn't work in private browsing
338         https://bugs.webkit.org/show_bug.cgi?id=158616
339
340         Reviewed by Darin Adler.
341
342         * http/tests/cache/disk-cache/disk-cache-vary-cookie-expected.txt:
343         * http/tests/cache/disk-cache/disk-cache-vary-cookie.html:
344
345         Exapand the existing test to cover memory cache and private browsing.
346
347 2016-06-14  Myles C. Maxfield  <mmaxfield@apple.com>
348
349         Honor bidi unicode codepoints
350         https://bugs.webkit.org/show_bug.cgi?id=149170
351         <rdar://problem/26527378>
352
353         Reviewed by Simon Fraser.
354
355         * fast/text/isolate-ignore-expected.html: Added.
356         * fast/text/isolate-ignore.html: Added.
357
358 2016-06-14  Joseph Pecoraro  <pecoraro@apple.com>
359
360         Web Inspector: Rename Timeline.setAutoCaptureInstruments to Timeline.setInstruments
361         https://bugs.webkit.org/show_bug.cgi?id=158762
362
363         Reviewed by Timothy Hatcher.
364
365         * inspector/timeline/setInstruments-errors-expected.txt: Renamed from LayoutTests/inspector/timeline/setAutoCaptureInstruments-errors-expected.txt.
366         * inspector/timeline/setInstruments-errors.html: Renamed from LayoutTests/inspector/timeline/setAutoCaptureInstruments-errors.html.
367
368 2016-06-14  Dean Jackson  <dino@apple.com>
369
370         decompose4 return value is unchecked, leading to potentially uninitialized data.
371         https://bugs.webkit.org/show_bug.cgi?id=158761
372         <rdar://problem/17526268>
373
374         Reviewed by Simon Fraser.
375
376         * transforms/undecomposable-expected.txt: Added.
377         * transforms/undecomposable.html: Added.
378
379 2016-06-14  Keith Miller  <keith_miller@apple.com>
380
381         The Array species constructor watchpoints should be created the first time they are needed rather than on creation
382         https://bugs.webkit.org/show_bug.cgi?id=158754
383
384         Reviewed by Benjamin Poulain.
385
386         Add new micro-benchmark that tests the impact of lazily
387         initializing the array species watchpoints.
388
389         * js/regress/lazy-array-species-watchpoints-expected.txt: Added.
390         * js/regress/lazy-array-species-watchpoints.html: Added.
391         * js/regress/script-tests/lazy-array-species-watchpoints.js: Added.
392         (test):
393
394 2016-06-14  Benjamin Poulain  <bpoulain@apple.com>
395
396         Add the unprefixed version of the pseudo element ::placeholder
397         https://bugs.webkit.org/show_bug.cgi?id=158653
398
399         Reviewed by Dean Jackson.
400
401         * fast/css/css-selector-text-expected.txt:
402         * fast/css/css-selector-text.html:
403         * fast/css/css-set-selector-text-expected.txt:
404         * fast/css/css-set-selector-text.html:
405         This covers CSSOM for the prefixed version.
406
407         * fast/forms/placeholder-pseudo-element-with-webkit-prefix-expected.html: Added.
408         * fast/forms/placeholder-pseudo-element-with-webkit-prefix.html: Added.
409         This verifies both version of the pseudo elements are equivalent.
410
411         * fast/css/pseudo-cache-stale-expected.html:
412         * fast/css/pseudo-cache-stale.html:
413         * fast/forms/input-placeholder-paint-order-2-expected.html:
414         * fast/forms/input-placeholder-paint-order-2.html:
415         * fast/forms/input-placeholder-paint-order.html:
416         * fast/forms/input-placeholder-text-indent.html:
417         * fast/forms/input-user-modify.html:
418         * fast/forms/isindex-placeholder.html:
419         * fast/forms/placeholder-position.html:
420         * fast/forms/placeholder-pseudo-style.html:
421         * fast/forms/textarea-placeholder-pseudo-style.html:
422         * fast/forms/textarea/textarea-placeholder-paint-order-2-expected.html:
423         * fast/forms/textarea/textarea-placeholder-paint-order-2.html:
424         * fast/forms/textarea/textarea-placeholder-paint-order.html:
425
426 2016-06-14  Doug Russell  <d_russell@apple.com>
427
428         AX: Form label text should be exposed as static text if it contains only static text
429         https://bugs.webkit.org/show_bug.cgi?id=158634
430
431         Reviewed by Chris Fleizach.
432
433         Use AccessibilityLabel to represent HTMLLabelElement to assistive technology.
434         AccessibilityLabel::containsOnlyStaticText() searches label subtree to evaluate 
435         if all children are static text.
436         AccessibilityLabel::stringValue() consults containsOnlyStaticText() and returns
437         textUnderElement() if true.
438         WebAccessibilityObjectWrapperMac consults containsOnlyStaticText() and substitutes
439         StaticTextRole for LabelRole if true.
440         Cache containsOnlyStaticText() in the common case when updating children.
441
442         * accessibility/aria-labelledby-overrides-label-expected.txt:
443         * accessibility/mac/label-element-all-text-string-value-expected.txt: Added.
444         * accessibility/mac/label-element-all-text-string-value.html: Added.
445         * accessibility/mac/label-element-with-hidden-control-expected.txt:
446         * accessibility/mac/label-element-with-hidden-control.html:
447         * accessibility/mac/label-element-with-link-string-value-expected.txt: Added.
448         * accessibility/mac/label-element-with-link-string-value.html: Added.
449         * accessibility/mac/slider-allows-title-ui-element-expected.txt:
450         * accessibility/mac/slider-allows-title-ui-element.html:
451
452 2016-06-14  Ryan Haddad  <ryanhaddad@apple.com>
453
454         Increase timeouts for userscripts/window-onerror-for-isolated-world-3.html to fix flakiness.
455         https://bugs.webkit.org/show_bug.cgi?id=158750
456
457         Reviewed by Joseph Pecoraro.
458
459         * userscripts/window-onerror-for-isolated-world-3.html:
460
461 2016-06-14  Commit Queue  <commit-queue@webkit.org>
462
463         Unreviewed, rolling out r202057.
464         https://bugs.webkit.org/show_bug.cgi?id=158749
465
466         This change broke the Windows build. (Requested by ryanhaddad
467         on #webkit).
468
469         Reverted changeset:
470
471         "Honor bidi unicode codepoints"
472         https://bugs.webkit.org/show_bug.cgi?id=149170
473         http://trac.webkit.org/changeset/202057
474
475 2016-06-14  Myles C. Maxfield  <mmaxfield@apple.com>
476
477         Honor bidi unicode codepoints
478         https://bugs.webkit.org/show_bug.cgi?id=149170
479         <rdar://problem/26527378>
480
481         Reviewed by Simon Fraser.
482
483         * fast/text/isolate-ignore-expected.html: Added.
484         * fast/text/isolate-ignore.html: Added.
485
486 2016-06-14  Ryan Haddad  <ryanhaddad@apple.com>
487
488         Removing duplicated TestExpectation and sorting others alphabetically
489
490         Unreviewed test gardening.
491
492         * platform/mac/TestExpectations:
493
494 2016-06-14  Ryan Haddad  <ryanhaddad@apple.com>
495
496         Marking inspector/debugger/break-in-constructor-before-super.html as flaky on mac debug.
497         https://bugs.webkit.org/show_bug.cgi?id=158742
498
499         Unreviewed test gardening.
500
501         * platform/mac/TestExpectations:
502
503 2016-06-14  Ryan Haddad  <ryanhaddad@apple.com>
504
505         Moving flaky expectation for inspector/heap/garbageCollected.html from mac-wk1 to mac
506         https://bugs.webkit.org/show_bug.cgi?id=153039
507
508         Unreviewed test gardening.
509
510         * platform/mac-wk1/TestExpectations:
511         * platform/mac/TestExpectations:
512
513 2016-06-14  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
514
515         WebRTC: RTCPeerConnection::addTrack() should throw InvalidAccessError instead of InvalidModificationError.
516         https://bugs.webkit.org/show_bug.cgi?id=158735
517
518         Reviewed by Eric Carlson.
519
520         Check that an InvalidAccessError exception is thrown when the track already exists in set of senders.
521
522         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
523
524 2016-06-14  Adam Bergkvist  <adam.bergkvist@ericsson.com>
525
526         WebRTC: Imlement MediaEndpointPeerConnection::addIceCandidate()
527         https://bugs.webkit.org/show_bug.cgi?id=158690
528
529         Reviewed by Eric Carlson.
530
531         Add test for RTCPeerConnection.addIceCandidate() that verifies:
532         - Candidate line parsing
533         - That a underlying media description can be identified using either sdpMid or sdpMLineIndex
534         - That sdpMid takes precedence over sdpMLineIndex
535
536         * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt: Added.
537         * fast/mediastream/RTCPeerConnection-addIceCandidate.html: Added.
538         * platform/mac/TestExpectations:
539         The mac port is not building with WEB_RTC yet.
540
541 2016-06-14  Adam Bergkvist  <adam.bergkvist@ericsson.com>
542
543         WebRTC: Add media setup test where media is set up in one direction at a time
544         https://bugs.webkit.org/show_bug.cgi?id=158691
545
546         Reviewed by Eric Carlson.
547
548         Test setting up media in one direction at a time. This is achieved by first negotiating
549         media in one direction. In a second step, an updated offer is sent to add bi-directional
550         media.
551
552         * fast/mediastream/RTCPeerConnection-media-setup-two-dialogs-expected.txt: Added.
553         * fast/mediastream/RTCPeerConnection-media-setup-two-dialogs.html: Added.
554         * platform/mac/TestExpectations:
555         The mac port is not building with WEB_RTC yet.
556
557 2016-06-13  Adam Bergkvist  <adam.bergkvist@ericsson.com>
558
559         WebRTC: Imlement MediaEndpointPeerConnection::replaceTrack()
560         https://bugs.webkit.org/show_bug.cgi?id=158688
561
562         Reviewed by Eric Carlson.
563
564         Update existing test for RTCRtpSender.replaceTrack.
565
566         * fast/mediastream/RTCRtpSender-replaceTrack-expected.txt:
567         * fast/mediastream/RTCRtpSender-replaceTrack.html:
568         Add test cases where a "not yet negotiated track" is directly replaced. Also check that the
569         old track id is used in later offers.
570         * fast/mediastream/resources/promise-utils.js:
571         (promiseShouldResolve):
572         Added utility method to test promise expressions that are expected to resolve.
573
574 2016-06-13  Joseph Pecoraro  <pecoraro@apple.com>
575
576         window.onerror should pass the ErrorEvent's 'error' property as the 5th argument to the event handler
577         https://bugs.webkit.org/show_bug.cgi?id=55092
578         <rdar://problem/25731279>
579
580         Reviewed by Dean Jackson.
581
582         * platform/wk2/TestExpectations:
583         Skip new userscript test on WebKit2 like others.
584
585         * fast/events/constructors/error-event-constructor-expected.txt:
586         * fast/events/constructors/error-event-constructor.html:
587         Test for the new any "error" initialization property.
588
589         * fast/events/event-leak-objects-expected.txt:
590         * fast/events/event-leak-objects.html:
591         * fast/events/event-properties-gc-expected.txt:
592         * fast/events/event-properties-gc.html:
593         Like CustomEvent.details, ErrorEvent.error should not leak
594         objects across isolated worlds.
595
596         * fast/events/window-onerror-exception-in-attr-expected.txt:
597         * fast/events/window-onerror-exception-in-attr.html:
598         * fast/events/window-onerror-syntax-error-in-attr-expected.txt:
599         * fast/events/window-onerror-syntax-error-in-attr.html:
600         * fast/events/window-onerror1-expected.txt:
601         * fast/events/window-onerror1.html:
602         * fast/events/window-onerror10-expected.txt:
603         * fast/events/window-onerror10.html:
604         * fast/events/window-onerror11-expected.txt:
605         * fast/events/window-onerror11.html:
606         * fast/events/window-onerror12-expected.txt:
607         * fast/events/window-onerror12.html:
608         * fast/events/window-onerror13.html:
609         * fast/events/window-onerror14.html:
610         * fast/events/window-onerror16.html:
611         * fast/events/window-onerror17-expected.txt: Added.
612         * fast/events/window-onerror17.html: Copied from LayoutTests/fast/events/window-onerror12.html.
613         * fast/events/window-onerror2-expected.txt:
614         * fast/events/window-onerror2.html:
615         * fast/events/window-onerror3-expected.txt:
616         * fast/events/window-onerror3.html:
617         * fast/events/window-onerror4-expected.txt:
618         * fast/events/window-onerror4.html:
619         * fast/events/window-onerror5-expected.txt:
620         * fast/events/window-onerror5.html:
621         * fast/events/window-onerror6-expected.txt:
622         * fast/events/window-onerror6.html:
623         * fast/events/window-onerror7-expected.txt:
624         * fast/events/window-onerror7.html:
625         * fast/events/window-onerror8-expected.txt:
626         * fast/events/window-onerror8.html:
627         * fast/events/window-onerror9-expected.txt:
628         * fast/events/window-onerror9.html:
629         Include output for the column number and error object where possible.
630
631         * fast/files/resources/setup-for-read-common.js:
632         * fast/files/workers/worker-apply-blob-url-to-xhr.html:
633         * fast/workers/resources/worker-error-in-handling-script-error.js:
634         * fast/workers/resources/worker-script-error-bubbled.js:
635         * fast/workers/resources/worker-script-error-handled.js:
636         * fast/workers/resources/worker-script-error.js:
637         * fast/workers/worker-script-error-expected.txt:
638         Test "onerror" within Workers, and the "error" event on
639         the Worker from the spawning context.
640
641         * http/tests/security/cross-origin-script-error-event-expected.txt: Added.
642         * http/tests/security/cross-origin-script-error-event-redirected-expected.txt: Added.
643         * http/tests/security/cross-origin-script-error-event-redirected.html: Added.
644         * http/tests/security/cross-origin-script-error-event.html: Added.
645         * http/tests/security/cross-origin-script-window-onerror-expected.txt:
646         * http/tests/security/cross-origin-script-window-onerror-redirected-expected.txt:
647         * http/tests/security/cross-origin-script-window-onerror-redirected.html:
648         * http/tests/security/cross-origin-script-window-onerror.html:
649         * http/tests/security/script-crossorigin-error-event-information-expected.txt: Added.
650         * http/tests/security/script-crossorigin-error-event-information.html: Added.
651         * http/tests/security/script-crossorigin-onerror-information-expected.txt:
652         * http/tests/security/script-crossorigin-onerror-information.html:
653         * http/tests/security/script-no-crossorigin-error-event-should-be-sanitized-expected.txt: Added.
654         * http/tests/security/script-no-crossorigin-error-event-should-be-sanitized.html: Copied from LayoutTests/http/tests/security/script-no-crossorigin-onerror-should-be-sanitized.html.
655         * http/tests/security/script-no-crossorigin-onerror-should-be-sanitized-expected.txt:
656         * http/tests/security/script-no-crossorigin-onerror-should-be-sanitized.html:
657         * http/tests/security/window-onerror-exception-in-iframe-expected.txt:
658         * http/tests/security/window-onerror-exception-in-iframe.html:
659         * http/tests/workers/worker-importScriptsOnError-expected.txt:
660         * js/dom/exception-line-number-expected.txt:
661         * js/dom/script-tests/exception-line-number.js:
662         (window.onerror):
663
664         * userscripts/window-onerror-for-isolated-world-1-expected.txt:
665         * userscripts/window-onerror-for-isolated-world-1.html:
666         * userscripts/window-onerror-for-isolated-world-2-expected.txt:
667         * userscripts/window-onerror-for-isolated-world-2.html:
668         * userscripts/window-onerror-for-isolated-world-3-expected.txt: Added.
669         * userscripts/window-onerror-for-isolated-world-3.html: Added.
670         Add an explicit test for error objects crossing isolated world boundaries.
671         In the Isolated World case, serializable values are cloned, but unserializable
672         values cause the error object to return to null to avoid leaking across worlds.
673
674 2016-06-13  Dean Jackson  <dino@apple.com>
675
676         SVG elements don't blend correctly into HTML
677         https://bugs.webkit.org/show_bug.cgi?id=158718
678         <rdar://problem/26782004>
679
680         Reviewed by Antoine Quint.
681
682         * svg/css/mix-blend-mode-with-inline-svg-expected.html: Added.
683         * svg/css/mix-blend-mode-with-inline-svg.html: Added.
684
685 2016-06-13  Brady Eidson  <beidson@apple.com>
686
687         storage/indexeddb/modern/leaks-1.html leaks the database connection handle.
688         https://bugs.webkit.org/show_bug.cgi?id=158643
689
690         Reviewed by Alex Christensen.
691
692         * storage/indexeddb/modern/leak-1-expected.txt:
693         * storage/indexeddb/modern/resources/leak-1.js:
694
695 2016-06-13  Adam Bergkvist  <adam.bergkvist@ericsson.com>
696
697         WebRTC: Add test that verifies that RTCPeerConnection.addTrack can reuse an existing RTCRtpSender
698         https://bugs.webkit.org/show_bug.cgi?id=158621
699
700         Reviewed by Eric Carlson.
701
702         Add test to verify that RTCPeerConnection.addTrack reuses an existing RTCRtpSender
703         under the right circumstances.
704
705         * fast/mediastream/RTCPeerConnection-addTrack-reuse-sender-expected.txt: Added.
706         * fast/mediastream/RTCPeerConnection-addTrack-reuse-sender.html: Added.
707         * platform/mac/TestExpectations:
708         The mac port is not building with WEB_RTC yet.
709
710 2016-06-13  Adam Bergkvist  <adam.bergkvist@ericsson.com>
711
712         WebRTC: Add media setup test with complete offer/answer dialog
713         https://bugs.webkit.org/show_bug.cgi?id=158620
714
715         Reviewed by Eric Carlson.
716
717         Test a complete SDP offer/answer dialog between two RTCPeerConnection instances in the same
718         page. Media is set up in both direction with a single dialog. Check the local- and
719         remoteDescription attributes and the RTCPeerConnection states.
720
721         * fast/mediastream/RTCPeerConnection-media-setup-single-dialog-expected.txt: Added.
722         * fast/mediastream/RTCPeerConnection-media-setup-single-dialog.html: Added.
723         * platform/mac/TestExpectations:
724         The mac port is not building with WEB_RTC yet.
725
726 2016-06-13  Romain Bellessort  <romain.bellessort@crf.canon.fr>
727
728         [GTK] Enabling Shadow DOM by default
729         https://bugs.webkit.org/show_bug.cgi?id=158686
730
731         Reviewed by Carlos Garcia Campos.
732
733         Changed GTK test expectations for fast/shadow-dom tests (most tests
734         pass).
735
736         * platform/gtk/TestExpectations:
737
738 2016-06-13  Per Arne Vollan  <pvollan@apple.com>
739
740         Unreviewed test gardening.
741         
742         Unskip passing fast/workers tests.
743
744         * platform/win/TestExpectations:
745
746 2016-06-12  Zalan Bujtas  <zalan@apple.com>
747
748         Remove positioned descendants when RenderBlock is no longer a containing block.
749         https://bugs.webkit.org/show_bug.cgi?id=158655
750         <rdar://problem/26510032>
751
752         Reviewed by Simon Fraser.
753
754         Normally the RenderView is the containing block for fixed positioned renderers.
755         However when a renderer acquires some transform related properties, it becomes the containing
756         block for all the fixed positioned renderers in its descendant tree.
757         When the last transform related property is removed, the renderer is no longer a containing block
758         and we need to remove all these positioned renderers from the descendant tracker map (gPositionedDescendantsMap).
759         They will be inserted back into the tracker map during the next layout (either under the RenderView or
760         under the next transformed renderer in the ancestor chain).
761
762         * fast/block/fixed-position-reparent-when-transition-is-removed-expected.txt: Added.
763         * fast/block/fixed-position-reparent-when-transition-is-removed.html: Added.
764
765 2016-06-11  Myles C. Maxfield  <mmaxfield@apple.com>
766
767         [Cocoa] Map commonly used Chinese Windows font names to names present on Cocoa operating systems
768         https://bugs.webkit.org/show_bug.cgi?id=158649
769         <rdar://problem/13258122>
770
771         Reviewed by Darin Adler.
772
773         Because this tests platform-specific font names, the test must
774         be platform-specific. Because it's a ref test, make two tests which
775         are mutually-exclusive on Cocoa platforms, and expected to fail
776         everywhere else.
777
778         * fast/text/chinese-font-name-aliases-2-expected.html: Added.
779         * fast/text/chinese-font-name-aliases-2.html: Added.
780         * fast/text/chinese-font-name-aliases-expected.html: Added.
781         * fast/text/chinese-font-name-aliases.html: Added.
782         * platform/efl/TestExpectations:
783         * platform/gtk/TestExpectations:
784         * platform/ios-simulator/TestExpectations:
785         * platform/mac/TestExpectations:
786         * platform/win/TestExpectations:
787
788 2016-06-11  Commit Queue  <commit-queue@webkit.org>
789
790         Unreviewed, rolling out r201967, r201968, and r201972.
791         https://bugs.webkit.org/show_bug.cgi?id=158665
792
793         Caused flaky failures on IndexedDB tests (Requested by ap on
794         #webkit).
795
796         Reverted changesets:
797
798         "Vary:Cookie validation doesn't work in private browsing"
799         https://bugs.webkit.org/show_bug.cgi?id=158616
800         http://trac.webkit.org/changeset/201967
801
802         "Build fix."
803         http://trac.webkit.org/changeset/201968
804
805         "WinCairo build fix attempt."
806         http://trac.webkit.org/changeset/201972
807
808 2016-06-11  Myles C. Maxfield  <mmaxfield@apple.com>
809
810         Deleting a CSSOM style rule invalidates any previously-added FontFaces
811         https://bugs.webkit.org/show_bug.cgi?id=158450
812
813         Reviewed by Darin Adler.
814
815         * fast/text/font-face-set-cssom-expected.txt: Added.
816         * fast/text/font-face-set-cssom.html: Added.
817
818 2016-06-11  Chris Dumez  <cdumez@apple.com>
819
820         WorkerNavigator is missing some attributes
821         https://bugs.webkit.org/show_bug.cgi?id=158593
822         <rdar://problem/26731334>
823
824         Reviewed by Darin Adler.
825
826         Improved test coverage for WorkerNavigator.
827
828         * fast/workers/resources/worker-navigator.js:
829
830 2016-06-10  Antti Koivisto  <antti@apple.com>
831
832         Vary:Cookie validation doesn't work in private browsing
833         https://bugs.webkit.org/show_bug.cgi?id=158616
834
835         Reviewed by Darin Adler.
836
837         * http/tests/cache/disk-cache/disk-cache-vary-cookie-expected.txt:
838         * http/tests/cache/disk-cache/disk-cache-vary-cookie.html:
839
840         Exapand the existing test to cover memory cache and private browsing.
841
842 2016-06-10  Benjamin Poulain  <bpoulain@apple.com>
843
844         Add support for passive event listeners on touch events
845         https://bugs.webkit.org/show_bug.cgi?id=158601
846
847         Reviewed by Simon Fraser.
848
849         * fast/events/touch/ios/tap-with-active-listener-on-elements-expected.txt: Added.
850         * fast/events/touch/ios/tap-with-active-listener-on-elements.html: Added.
851         * fast/events/touch/ios/tap-with-active-listener-on-window-expected.txt: Added.
852         * fast/events/touch/ios/tap-with-active-listener-on-window.html: Added.
853         * fast/events/touch/ios/tap-with-passive-listener-inside-active-listener-expected.txt: Added.
854         * fast/events/touch/ios/tap-with-passive-listener-on-elements-expected.txt: Added.
855         * fast/events/touch/ios/tap-with-passive-listener-on-elements.html: Added.
856         * fast/events/touch/ios/tap-with-passive-listener-on-window-expected.txt: Added.
857         * fast/events/touch/ios/tap-with-passive-listener-on-window.html: Added.
858
859 2016-06-10  Enrica Casucci  <enrica@apple.com>
860
861         REGRESSION(r198177): Cannot paste an image when the pasteboard format is mime type.
862         https://bugs.webkit.org/show_bug.cgi?id=158590
863         rdar://problem/25471371
864
865         Reviewed by Darin Adler.
866
867         * editing/pasteboard/image-in-iframe-expected.txt: Added.
868         * editing/pasteboard/image-in-iframe.html: Added.
869
870 2016-06-10  Ryan Haddad  <ryanhaddad@apple.com>
871
872         Marking imported/blink/storage/indexeddb/blob-delete-objectstore-db.html as flaky on Yosemite Release WK2
873         https://bugs.webkit.org/show_bug.cgi?id=158639
874
875         Unreviewed test gardening.
876
877         * platform/mac-wk2/TestExpectations:
878
879 2016-06-10  Brady Eidson  <beidson@apple.com>
880
881         Add an IDB leak test.
882         https://bugs.webkit.org/show_bug.cgi?id=158632
883
884         Reviewed by Alex Christensen.
885
886         * storage/indexeddb/modern/leak-1-expected.txt: Added.
887         * storage/indexeddb/modern/leak-1.html: Added.
888         * storage/indexeddb/modern/resources/leak-1.js: Added.
889
890 2016-06-10  Carlos Alberto Lopez Perez  <clopez@igalia.com>
891
892         [GTK] Unreviewed gardening.
893
894         * TestExpectations: shadow-dom tests timeout on the GTK port.
895         Update the general expectations file to include also Timeout as
896         an expected failure.
897         * platform/gtk/TestExpectations: Since r200320 resource-timing feature is a runtime flag and this causes failures.
898         Remove also one test that has been removed.
899         * platform/gtk/fast/table/border-collapsing/cached-change-row-border-width-expected.txt: rebaseline after r201234
900         * platform/gtk/fast/table/border-collapsing/cached-change-tbody-border-width-expected.txt: rebaseline after r201234
901         * platform/gtk/fast/table/max-width-integer-overflow-expected.txt: rebaseline after r201234
902
903 2016-06-10  Youenn Fablet  <youenn.fablet@crf.canon.fr>
904
905         Origin header is not included in CORS requests for preloaded cross-origin resources
906         https://bugs.webkit.org/show_bug.cgi?id=155761
907         <rdar://problem/25351850>
908
909         Reviewed by Alex Christensen.
910
911         * http/tests/security/cross-origin-css-9-expected.txt: Added.
912         * http/tests/security/cross-origin-css-9.html: Added.
913         * http/tests/security/resources/get-css-if-origin-header.php: Added.
914
915 2016-06-10  Ryan Haddad  <ryanhaddad@apple.com>
916
917         Marking fast/hidpi/hidpi-3x-device-pixel-ratio.html as failing on ios-simulator
918         https://bugs.webkit.org/show_bug.cgi?id=158618
919
920         Unreviewed test gardening.
921
922         * platform/ios-simulator/TestExpectations:
923
924 2016-06-10  Chris Dumez  <cdumez@apple.com>
925
926         ErrorEvent / ProgressEvent should be exposed to workers
927         https://bugs.webkit.org/show_bug.cgi?id=158606
928
929         Reviewed by Brady Eidson.
930
931         Rebaseline test.
932
933         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
934
935 2016-06-10  Chris Dumez  <cdumez@apple.com>
936
937         MessagePort should be exposed to workers
938         https://bugs.webkit.org/show_bug.cgi?id=158607
939
940         Reviewed by Brady Eidson.
941
942         Rebaseline test.
943
944         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
945
946 2016-06-10  Adam Bergkvist  <adam.bergkvist@ericsson.com>
947
948         WebRTC: Imlement MediaEndpointPeerConnection::createAnswer()
949         https://bugs.webkit.org/show_bug.cgi?id=158566
950
951         Reviewed by Eric Carlson.
952
953         Add test for RTCPeerConnection.createAnswer.
954
955         * fast/mediastream/RTCPeerConnection-inspect-answer-expected.txt: Added.
956         * fast/mediastream/RTCPeerConnection-inspect-answer.html: Added.
957         Generate two answers, one with audio only and a second with audio and video, and inspect
958         the result.
959         * platform/mac/TestExpectations:
960         Skip tests for mac that require building with WEB_RTC enabled.
961
962 2016-06-08  Sergio Villar Senin  <svillar@igalia.com>
963
964         [css-grid] CRASH when getting the computed style of a grid with only absolutely positioned children
965         https://bugs.webkit.org/show_bug.cgi?id=158537
966
967         Reviewed by Darin Adler.
968
969         * fast/css-grid-layout/grid-only-abspos-item-computed-style-crash-expected.txt: Added.
970         * fast/css-grid-layout/grid-only-abspos-item-computed-style-crash.html: Added.
971         * fast/css-grid-layout/grid-template-shorthand-get-set-expected.txt: Adjusted, grid-template
972         does create explicit tracks so we should return 0px instead of none.
973         * fast/css-grid-layout/grid-template-shorthand-get-set.html: Ditto.
974
975 2016-06-10  Chris Dumez  <cdumez@apple.com>
976
977         DOMException should be exposed to workers
978         https://bugs.webkit.org/show_bug.cgi?id=158608
979
980         Reviewed by Alex Christensen.
981
982         Rebaseline existing test.
983
984         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
985
986 2016-06-09  Chris Fleizach  <cfleizach@apple.com>
987
988         AX: VoiceOver Unable to View Download Progress or Completion Status for Mail Attachments
989         https://bugs.webkit.org/show_bug.cgi?id=158581
990
991         Reviewed by Darin Adler.
992
993         * accessibility/attachment-element-expected.txt:
994         * accessibility/attachment-element.html:
995         * accessibility/ios-simulator/attributed-string-for-range-expected.txt:
996         * platform/ios-simulator/TestExpectations:
997         * platform/ios-simulator/accessibility/attachment-element-expected.txt: Added.
998
999 2016-06-09  Zalan Bujtas  <zalan@apple.com>
1000
1001         Hairline borders do not show up on 3x displays.
1002         https://bugs.webkit.org/show_bug.cgi?id=158604
1003         <rdar://problem/26511679>
1004
1005         Reviewed by Simon Fraser.
1006
1007         On a 3x display, when we convert a 1/3px hairline border from float
1008         to LayoutUnit and pixel floor the result, we end up with a 0px width border.
1009         It's because float to LayoutUnit is lossy and since the current kFixedPointDenominator % 3 != 0,
1010         flooring LayoutUnit(1/3px) ends up being 0px. (float: 1/3 -> LayoutUnit: (1/3 - 1/kFixedPointDenominator) -> floor: 0)
1011         This patch eliminates the (unnecessary) float -> LayoutUnit - float conversion on border width.   
1012
1013         * fast/borders/hidpi-3x-input-hairline-border-expected-mismatch.html: Added.
1014         * fast/borders/hidpi-3x-input-hairline-border.html: Added.
1015
1016 2016-06-09  Commit Queue  <commit-queue@webkit.org>
1017
1018         Unreviewed, rolling out r201887.
1019         https://bugs.webkit.org/show_bug.cgi?id=158610
1020
1021         This change caused LayoutTest crashes under GuardMalloc and
1022         ASan (Requested by ryanhaddad on #webkit).
1023
1024         Reverted changeset:
1025
1026         "Deleting a CSSOM style rule invalidates any previously-added
1027         FontFaces"
1028         https://bugs.webkit.org/show_bug.cgi?id=158450
1029         http://trac.webkit.org/changeset/201887
1030
1031 2016-06-09  Zalan Bujtas  <zalan@apple.com>
1032
1033         Add testing support for 3x device scale factor.
1034         https://bugs.webkit.org/show_bug.cgi?id=158597
1035
1036         Reviewed by Simon Fraser.
1037
1038         Set 3x device scale factor on the test canvas when the test url is prefixed with hidpi-3x-. 
1039
1040         * fast/hidpi/hidpi-3x-device-pixel-ratio-expected.txt: Added.
1041         * fast/hidpi/hidpi-3x-device-pixel-ratio.html: Added.
1042
1043 2016-06-09  Ryosuke Niwa  <rniwa@webkit.org>
1044
1045         REGRESSION(r201823) editing/selection/selection-in-iframe-removed-crash.html is flaky
1046         https://bugs.webkit.org/show_bug.cgi?id=158569
1047
1048         Commit the test fix that was supposed to be landed as a part of r201823,
1049         and remove the flaky test expectation.
1050
1051         * editing/selection/selection-in-iframe-removed-crash.html:
1052         * platform/mac/TestExpectations:
1053
1054 2016-06-09  Antoine Quint  <graouts@apple.com>
1055
1056         [iOS] -webkit-overflow-scrolling: touch; ignores pointer-events: none;
1057         https://bugs.webkit.org/show_bug.cgi?id=119839
1058         <rdar://problem/9671514>
1059
1060         Reviewed by Simon Fraser.
1061
1062         * fast/scrolling/ios/touch-scroll-pointer-events-none-expected.txt: Added.
1063         * fast/scrolling/ios/touch-scroll-pointer-events-none.html: Added.
1064
1065 2016-06-09  Chris Dumez  <cdumez@apple.com>
1066
1067         WorkerNavigator property should exist on WorkerGlobalScope
1068         https://bugs.webkit.org/show_bug.cgi?id=158574
1069         <rdar://problem/26725108>
1070
1071         Reviewed by Darin Adler.
1072
1073         Rebaseline existing test now that WorkerNavigator is exposed to workers.
1074
1075         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
1076
1077 2016-06-09  Chris Dumez  <cdumez@apple.com>
1078
1079         atob() / btoa() API should be exposed to workers
1080         https://bugs.webkit.org/show_bug.cgi?id=158576
1081         <rdar://problem/26729340>
1082
1083         Reviewed by Sam Weinig.
1084
1085         Add test for atob() / btoa() in workers.
1086
1087         * fast/workers/atob-btoa-expected.txt: Added.
1088         * fast/workers/atob-btoa.html: Added.
1089         * fast/workers/resources/worker-atob-btoa.js: Added.
1090
1091 2016-06-09  Michael Saboff  <msaboff@apple.com>
1092
1093         ES6: Reusing function name as a parameter name shouldn't throw Syntax Error
1094         https://bugs.webkit.org/show_bug.cgi?id=158575
1095
1096         Reviewed by Benjamin Poulain.
1097
1098         Added a new test case.
1099
1100         * js/basic-strict-mode-expected.txt:
1101         * js/script-tests/basic-strict-mode.js:
1102
1103 2016-06-09  Antoine Quint  <graouts@apple.com>
1104
1105         Changing canvas height immediately after page load does not relayout canvas
1106         https://bugs.webkit.org/show_bug.cgi?id=156097
1107
1108         Reviewed by Zalan Bujtas.
1109
1110         * fast/canvas/canvas-css-size-after-height-change-with-display-flex-expected.html: Added.
1111         * fast/canvas/canvas-css-size-after-height-change-with-display-flex.html: Added.
1112
1113 2016-06-09  Myles C. Maxfield  <mmaxfield@apple.com>
1114
1115         Deleting a CSSOM style rule invalidates any previously-added FontFaces
1116         https://bugs.webkit.org/show_bug.cgi?id=158450
1117
1118         Reviewed by Darin Adler.
1119
1120         * fast/text/font-face-set-cssom-expected.txt: Added.
1121         * fast/text/font-face-set-cssom.html: Added.
1122
1123 2016-06-09  Ryan Haddad  <ryanhaddad@apple.com>
1124
1125         Marking webgl/webgl-backing-store-size-update.html as a flaky timeout on mac-wk1
1126         https://bugs.webkit.org/show_bug.cgi?id=158585
1127
1128         Unreviewed test gardening.
1129
1130         * platform/mac-wk1/TestExpectations:
1131
1132 2016-06-09  Ryan Haddad  <ryanhaddad@apple.com>
1133
1134         Removing Mavericks-specific TestExpectations from mac-wk1 TestExpectations file.
1135
1136         Unreviewed test gardening.
1137
1138         * platform/mac-wk1/TestExpectations:
1139
1140 2016-06-09  Eric Carlson  <eric.carlson@apple.com>
1141
1142         Don't show the caption menu if a video has only forced tracks
1143         https://bugs.webkit.org/show_bug.cgi?id=158573
1144         <rdar://problem/24632384>
1145
1146         Reviewed by Jer Noble.
1147
1148         * media/controls/forced-tracks-only-expected.txt: Added.
1149         * media/controls/forced-tracks-only.html: Added.
1150
1151 2016-06-09  Chris Dumez  <cdumez@apple.com>
1152
1153         WorkerGlobalScope attributes / operations should be on the prototype
1154         https://bugs.webkit.org/show_bug.cgi?id=158568
1155         <rdar://problem/26720079>
1156
1157         Reviewed by Geoffrey Garen.
1158
1159         * fast/workers/WorkerGlobalScope-properties-prototype-expected.txt: Added.
1160         * fast/workers/WorkerGlobalScope-properties-prototype.html: Added.
1161         Add layout test coverage.
1162
1163         * fast/workers/self-hasOwnProperty-expected.txt:
1164         * fast/workers/self-hasOwnProperty.html:
1165         Update test I added a couple of days ago because it wrongly expected
1166         the 'navigator' property to be on the instance. This check was failing
1167         in other browsers (Firefox and Chrome).
1168
1169 2016-06-09  Tim Horton  <timothy_horton@apple.com>
1170
1171         Writing-mode-dependent properties don't apply if their value is a variable
1172         https://bugs.webkit.org/show_bug.cgi?id=158449
1173         <rdar://problem/26662478>
1174
1175         Reviewed by Simon Fraser.
1176
1177         * fast/css/variables/direction-dependent-variable-properties-expected.html: Added.
1178         * fast/css/variables/direction-dependent-variable-properties.html: Added.
1179         Add a test ensuring that direction-dependent properties work correctly,
1180         including flipping when the direction is flipped.
1181
1182 2016-06-09  Ryan Haddad  <ryanhaddad@apple.com>
1183
1184         Marking editing/selection/selection-in-iframe-removed-crash.html as flaky on Mac
1185         https://bugs.webkit.org/show_bug.cgi?id=158569
1186
1187         Unreviewed test gardening.
1188
1189         * platform/mac/TestExpectations:
1190
1191 2016-06-09  Brady Eidson  <beidson@apple.com>
1192
1193         LayoutTest storage/indexeddb/modern/handle-user-delete.html is a flaky failure.
1194         https://bugs.webkit.org/show_bug.cgi?id=158501
1195
1196         Reviewed by Darin Adler.
1197         
1198         The order in which the transaction abort happens doesn't matter; It only matters that it happens.
1199         
1200         Update the test to reflect this.
1201         
1202         * storage/indexeddb/modern/handle-user-delete-expected.txt:
1203         * storage/indexeddb/modern/resources/handle-user-delete.js:
1204
1205 2016-06-09  Simon Fraser  <simon.fraser@apple.com>
1206
1207         border-radius with different width and height rendered wrong
1208         https://bugs.webkit.org/show_bug.cgi?id=158300
1209         <rdar://problem/26672922>
1210
1211         Reviewed by Zalan Bujtas.
1212         
1213         * fast/borders/border-non-renderable-radius-inner-clip-expected.html: Added.
1214         * fast/borders/border-non-renderable-radius-inner-clip.html: Added.
1215         * fast/borders/border-radius-inner-clip-expected-mismatch.html: Added.
1216         * fast/borders/border-radius-inner-clip-vertical-expected-mismatch.html: Added.
1217         * fast/borders/border-radius-inner-clip-vertical.html: Added.
1218         * fast/borders/border-radius-inner-clip.html: Added.
1219         * fast/borders/resources/border-radius-helpers.js: Added.
1220         (createContainer):
1221         (createReferenceContainer):
1222
1223 2016-06-09  Per Arne Vollan  <pvollan@apple.com>
1224
1225         Unreviewed test gardening.
1226         
1227         Unskip passing websocket tests.
1228
1229         * platform/win/TestExpectations:
1230
1231 2016-06-09  Ryan Haddad  <ryanhaddad@apple.com>
1232
1233         Unreviewed, rolling out r201842.
1234
1235         The change that prompted this rebaseline was rolled out.
1236
1237         Reverted changeset:
1238
1239         "Rebaseline js/dom/global-constructors-attributes.html for Mac
1240         after r201810"
1241         http://trac.webkit.org/changeset/201842
1242
1243 2016-06-09  Michael Saboff  <msaboff@apple.com>
1244
1245         WebKitTestRunner and DumpRenderTree do not handle dangling surrogate characters
1246         https://bugs.webkit.org/show_bug.cgi?id=154863
1247
1248         Reviewed by Alexey Proskuryakov.
1249
1250         New tests.
1251
1252         * fast/text/dangling-surrogates-expected.txt: Added.
1253         * fast/text/dangling-surrogates.html: Added.
1254
1255 2016-06-09  Commit Queue  <commit-queue@webkit.org>
1256
1257         Unreviewed, rolling out r201810.
1258         https://bugs.webkit.org/show_bug.cgi?id=158563
1259
1260         breaks build without ENABLE_WEB_ANIMATION (Requested by
1261         mcatanzaro on #webkit).
1262
1263         Reverted changeset:
1264
1265         "[web-animations] Add Animatable, AnimationEffect,
1266         KeyframeEffect and Animation interface"
1267         https://bugs.webkit.org/show_bug.cgi?id=156096
1268         http://trac.webkit.org/changeset/201810
1269
1270 2016-06-09  Ryosuke Niwa  <rniwa@webkit.org>
1271
1272         slotchange event should be fired at the end of microtask
1273         https://bugs.webkit.org/show_bug.cgi?id=157374
1274         <rdar://problem/26154024>
1275
1276         Reviewed by Antti Koivisto.
1277
1278         Added a test case to ensure slotchange event is dispatched at the end of a microtask.
1279
1280         * fast/shadow-dom/slotchange-event-expected.txt:
1281         * fast/shadow-dom/slotchange-event.html:
1282
1283 2016-06-08  Joseph Pecoraro  <pecoraro@apple.com>
1284
1285         REGRESSION: Web Inspector: Should be able to evaluate "{a:1, b:2}" in the console
1286         https://bugs.webkit.org/show_bug.cgi?id=158548
1287         <rdar://problem/26708513>
1288
1289         Reviewed by Timothy Hatcher.
1290
1291         * inspector/console/addInspectedNode.html:
1292         * inspector/console/command-line-api-copy.html:
1293         * inspector/console/command-line-api.html:
1294         * inspector/console/console-api.html:
1295         * inspector/console/console-table.html:
1296         * inspector/console/messagesCleared.html:
1297         * inspector/controller/runtime-controller.html:
1298         * inspector/debugger/command-line-api-exception-nested-catch.html:
1299         * inspector/debugger/command-line-api-exception.html:
1300         * inspector/model/remote-object-get-properties.html:
1301         * inspector/model/remote-object-weak-collection.html:
1302         * inspector/model/remote-object.html:
1303         * inspector/timeline/exception-in-injected-script-while-recording.html:
1304         Update evaluateInInspectedWindow callsites to use options dictionary.
1305
1306 2016-06-08  Chris Dumez  <cdumez@apple.com>
1307
1308         DedicatedWorkerGlobalScope prototype chain is incorrect
1309         https://bugs.webkit.org/show_bug.cgi?id=158544
1310
1311         Reviewed by Brady Eidson.
1312
1313         Add test coverage for the DedicatedWorkerGlobalScope prototype chain.
1314
1315         * fast/workers/DedicatedWorkerGlobalScope-prototype-chain-expected.txt: Added.
1316         * fast/workers/DedicatedWorkerGlobalScope-prototype-chain.html: Added.
1317
1318 2016-06-08  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1319
1320         WebRTC: Imlement MediaEndpointPeerConnection::setRemoteDescription()
1321         https://bugs.webkit.org/show_bug.cgi?id=158467
1322
1323         Reviewed by Eric Carlson.
1324
1325         Add tests for RTCPeerConnection.setRemoteDescription() and the RTCTrackEvent constructor.
1326
1327         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer-expected.txt: Added.
1328         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer.html: Added.
1329         Verify the description set, the expected RTCPeerConnection state changes and that the
1330         'track' event is fired before the setRemoteDescription() promise fulfills.
1331         * fast/mediastream/RTCTrackEvent-constructor-expected.txt: Added.
1332         * fast/mediastream/RTCTrackEvent-constructor.html: Added.
1333         This test has some expected failures since the bindings generator don't support 'required'
1334         dictionary members for event init dictionaries.
1335         * platform/mac/TestExpectations:
1336         Skip tests for mac that require building with WEB_RTC enabled.
1337
1338 2016-06-08  John Wilander  <wilander@apple.com>
1339
1340         Perform IDNA encoding on parameters for setHostAndPort and setHost
1341         https://bugs.webkit.org/show_bug.cgi?id=158371
1342         <rdar://problem/16869342>
1343
1344         Reviewed by Brent Fulgham.
1345
1346         * fast/dom/resources/set-document-location-iframe.html: Added.
1347         * fast/dom/set-document-location-host-to-unaccepted-values-expected.txt: Added.
1348         * fast/dom/set-document-location-host-to-unaccepted-values.html: Added.
1349         * fast/dom/set-document-location-hostname-to-unaccepted-values-expected.txt: Added.
1350         * fast/dom/set-document-location-hostname-to-unaccepted-values.html: Added.
1351         * http/tests/dom/resources/set-document-location-iframe.html: Added.
1352         * http/tests/dom/set-document-location-host-to-accepted-values-expected.txt: Added.
1353         * http/tests/dom/set-document-location-host-to-accepted-values.html: Added.
1354         * http/tests/dom/set-document-location-hostname-to-accepted-values-expected.txt: Added.
1355         * http/tests/dom/set-document-location-hostname-to-accepted-values.html: Added.
1356
1357 2016-06-08  Ryan Haddad  <ryanhaddad@apple.com>
1358
1359         Rebaseline js/dom/global-constructors-attributes.html for Mac after r201810
1360
1361         Unreviewed test gardening.
1362
1363         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1364
1365 2016-06-08  Jer Noble  <jer.noble@apple.com>
1366
1367         With audio user gesture restriction in place, video.src = 'file', video.play() succeeds where it should fail.
1368         https://bugs.webkit.org/show_bug.cgi?id=158546
1369
1370         Reviewed by Eric Carlson.
1371
1372         * media/video-playback-restriction-play-before-load-expected.txt: Added.
1373         * media/video-playback-restriction-play-before-load.html: Added.
1374
1375 2016-06-08  Chris Dumez  <cdumez@apple.com>
1376
1377         First parameter to MessagePort / DedicatedWorkerGlobalScope.postMessage() should be mandatory
1378         https://bugs.webkit.org/show_bug.cgi?id=158540
1379
1380         Reviewed by Geoffrey Garen.
1381
1382         Add test coverage.
1383
1384         * fast/files/workers/inline-worker-via-blob-url.html:
1385         * fast/workers/postMessage-missing-parameter-expected.txt: Added.
1386         * fast/workers/postMessage-missing-parameter.html: Added.
1387         * fast/workers/worker-messageport-expected.txt:
1388         * fast/workers/worker-messageport.html:
1389
1390 2016-06-08  Nan Wang  <n_wang@apple.com>
1391
1392         For keyboard users, activating a fragment URL should transfer focus and caret to the destination
1393         https://bugs.webkit.org/show_bug.cgi?id=116046
1394
1395         Reviewed by Ryosuke Niwa.
1396
1397         Added a layout test to check that mouse pressing, fragment navigation, focusing an element and removing
1398         the focused element will give us the expected focus navigation starting point.
1399
1400         Also updated the fragment activation test because now that navigating to an unfocusable fragment will
1401         unfocus the current focused element.
1402
1403         * fast/dom/fragment-activation-focuses-target-expected.txt:
1404         * fast/dom/fragment-activation-focuses-target.html:
1405         * fast/events/sequential-focus-navigation-starting-point-expected.txt: Added.
1406         * fast/events/sequential-focus-navigation-starting-point.html: Added.
1407         * platform/ios-simulator/TestExpectations:
1408
1409 2016-06-07  Ryosuke Niwa  <rniwa@webkit.org>
1410
1411         REGRESSION (r201667): ASSERTION FAILED: !m_anchorNode || !editingIgnoresContent(*m_anchorNode)
1412         https://bugs.webkit.org/show_bug.cgi?id=158373
1413
1414         Reviewed by Brent Fulgham.
1415
1416         Fixed a test so that the assertion failure happens within the test instead of affecting the subsequent test.
1417
1418         * editing/selection/selection-in-iframe-removed-crash-expected.txt:
1419         * editing/selection/selection-in-iframe-removed-crash.html:
1420
1421 2016-06-08  Ryan Haddad  <ryanhaddad@apple.com>
1422
1423         Marking css3/filters/backdrop/dynamic-backdrop-filter-change.html as flaky on Mac
1424         https://bugs.webkit.org/show_bug.cgi?id=158534
1425
1426         Unreviewed test gardening.
1427
1428         * platform/mac/TestExpectations:
1429
1430 2016-06-08  Dean Jackson  <dino@apple.com>
1431
1432         Multiple selectors break keyframes animation
1433         https://bugs.webkit.org/show_bug.cgi?id=158199
1434         <rdar://problem/26652591>
1435
1436         Reviewed by Simon Fraser.
1437
1438         * animations/duplicate-keys-expected.html: Added.
1439         * animations/duplicate-keys.html: Added.
1440
1441 2016-06-08  Per Arne Vollan  <pvollan@apple.com>
1442
1443         [Win] Shadow DOM tests are failing.
1444         https://bugs.webkit.org/show_bug.cgi?id=158524
1445
1446         Reviewed by Brent Fulgham.
1447
1448         Update test expectations for Shadow DOM.
1449
1450         * platform/win/TestExpectations:
1451
1452 2016-06-08  Rawinder Singh  <rawinder.singh-webkit@cisra.canon.com.au>
1453
1454         [web-animations] Add Animatable, AnimationEffect, KeyframeEffect and Animation interface
1455         https://bugs.webkit.org/show_bug.cgi?id=156096
1456
1457         Reviewed by Dean Jackson.
1458
1459         Adds:
1460         - Animatable interface and implementation of getAnimations in Element
1461         - Interface and implementation for Document getAnimations method.
1462         - AnimationEffect interface and class stub.
1463         - KeyframeEffect interface and constructor implementation.
1464         - 'Animation' interface, constructor and query methods for effect and timeline.
1465         - Remove runtime condition on Web animation interfaces (compile time flag is specified).
1466
1467         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
1468         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
1469         * webanimations/Document-expected.txt: Added.
1470         * webanimations/Document.html: Added.
1471         * webanimations/script-tests/Document.js: Added.
1472
1473 2016-06-08  Chris Dumez  <cdumez@apple.com>
1474
1475         self.hasOwnProperty() does not work inside Web workers
1476         https://bugs.webkit.org/show_bug.cgi?id=158446
1477         <rdar://problem/26638397>
1478
1479         Reviewed by Geoffrey Garen.
1480
1481         Add tests to make sure that self.toString() and self.hasOwnProperty()
1482         now work in workers.
1483
1484         * fast/workers/self-hasOwnProperty-expected.txt: Added.
1485         * fast/workers/self-hasOwnProperty.html: Added.
1486         * fast/workers/self-toString-expected.txt: Added.
1487         * fast/workers/self-toString.html: Added.
1488
1489 2016-06-06  Antti Koivisto  <antti@apple.com>
1490
1491         WebKit memory cache doesn't respect Vary header
1492         https://bugs.webkit.org/show_bug.cgi?id=71509
1493         <rdar://problem/26651033>
1494
1495         Reviewed by Sam Weinig.
1496
1497         * http/tests/cache/disk-cache/disk-cache-vary-expected.txt:
1498         * http/tests/cache/disk-cache/disk-cache-vary-no-body-expected.txt:
1499
1500 2016-06-08  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1501
1502         WebRTC: Imlement MediaEndpointPeerConnection::setLocalDescription()
1503         https://bugs.webkit.org/show_bug.cgi?id=158190
1504
1505         Reviewed by Eric Carlson.
1506
1507         Add new test for RTCPeerConnection.setLocalDescription.
1508
1509         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer-expected.txt: Added.
1510         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer.html: Added.
1511         Set two local offers as local descriptions and inspect the state changes. Also set some
1512         descriptions with bad types.
1513         * platform/mac/TestExpectations:
1514         Skip the above test for mac (not building with WEB_RTC)
1515
1516 2016-06-07  Chris Dumez  <cdumez@apple.com>
1517
1518         Expose Event / EventTarget properties on WorkerGlobalScope
1519         https://bugs.webkit.org/show_bug.cgi?id=158511
1520
1521         Reviewed by Sam Weinig.
1522
1523         Rebaseline existing test.
1524
1525         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
1526
1527 2016-06-07  Antoine Quint  <graouts@apple.com>
1528
1529         The backdrop-filter property does not respect border-radius
1530         https://bugs.webkit.org/show_bug.cgi?id=158483
1531         <rdar://problem/24210257>
1532
1533         Reviewed by Simon Fraser.
1534
1535         Adding new tests checking that border-radius correctly affects clipping of the backdrop layer
1536         in a basic scenario, when we change border-radius to a different value, when we set border-radius
1537         back to 0 and when we add a reflection.
1538
1539         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-add-expected.html: Added.
1540         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-add.html: Added.
1541         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-expected.html: Added.
1542         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-remove-expected.html: Added.
1543         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection-remove.html: Added.
1544         * css3/filters/backdrop/backdrop-filter-with-border-radius-and-reflection.html: Added.
1545         * css3/filters/backdrop/backdrop-filter-with-border-radius-expected.html: Added.
1546         * css3/filters/backdrop/backdrop-filter-with-border-radius-value-change-expected.html: Added.
1547         * css3/filters/backdrop/backdrop-filter-with-border-radius-value-change.html: Added.
1548         * css3/filters/backdrop/backdrop-filter-with-border-radius-value-remove-expected.html: Added.
1549         * css3/filters/backdrop/backdrop-filter-with-border-radius-value-remove.html: Added.
1550         * css3/filters/backdrop/backdrop-filter-with-border-radius.html: Added.
1551
1552 2016-06-07  Sam Weinig  <sam@webkit.org>
1553
1554         Update tests to work around https://bugs.webkit.org/show_bug.cgi?id=158507.
1555
1556         * TestExpectations:
1557         Re-enable now passing test.
1558
1559         * animations/script-tests/spring-computed-style.js:
1560         * animations/script-tests/spring-parsing.js:
1561         Use a non-body element to do the testing.
1562
1563 2016-06-07  Sam Weinig  <sam@webkit.org>
1564
1565         Mark animations/spring-computed-style.html as failing temporarily.
1566
1567         * TestExpectations:
1568
1569 2016-06-07  Ryan Haddad  <ryanhaddad@apple.com>
1570
1571         Rebaseline fast/events/touch/document-create-touch-list-ios.html
1572
1573         Unreviewed test gardening.
1574
1575         * fast/events/touch/document-create-touch-list-ios-expected.txt:
1576
1577 2016-06-07  Myles C. Maxfield  <mmaxfield@apple.com>
1578
1579         Text-decoration-style: dashed / dotted rendered as solid
1580         https://bugs.webkit.org/show_bug.cgi?id=134336
1581
1582         Reviewed by Dean Jackson.
1583
1584         Make sure that the dotted / dashed / solid renderings are all distinct.
1585
1586         * fast/css3-text/css3-text-decoration/text-decoration-dashed-expected-mismatch.html: Added.
1587         * fast/css3-text/css3-text-decoration/text-decoration-dashed.html: Added.
1588         * fast/css3-text/css3-text-decoration/text-decoration-dotted-dashed-expected-mismatch.html: Added.
1589         * fast/css3-text/css3-text-decoration/text-decoration-dotted-dashed.html: Added.
1590         * fast/css3-text/css3-text-decoration/text-decoration-dotted-expected-mismatch.html: Added.
1591         * fast/css3-text/css3-text-decoration/text-decoration-dotted.html: Added.
1592
1593 2016-06-07  Ryan Haddad  <ryanhaddad@apple.com>
1594
1595         Skipping http/tests/websocket/tests/hybi/upgrade-simple-ws.html
1596         https://bugs.webkit.org/show_bug.cgi?id=158480
1597
1598         Unreviewed test gardening.
1599
1600         * TestExpectations:
1601
1602 2016-06-05  Sam Weinig  <sam@webkit.org>
1603
1604         Add experimental support for spring based CSS animations
1605         https://bugs.webkit.org/show_bug.cgi?id=158403
1606
1607         Reviewed by Dean Jackson.
1608
1609         * animations/script-tests/spring-computed-style.js: Added.
1610         * animations/script-tests/spring-parsing.js: Added.
1611         * animations/spring-computed-style-expected.txt: Added.
1612         * animations/spring-computed-style.html: Added.
1613         * animations/spring-function-expected.txt: Added.
1614         * animations/spring-function.html: Added.
1615         * animations/spring-parsing-expected.txt: Added.
1616         * animations/spring-parsing.html: Added.
1617         Add tests for the spring timing function.
1618
1619 2016-06-07  Chris Dumez  <cdumez@apple.com>
1620
1621         Implement EventListenerOptions argument to addEventListener
1622         https://bugs.webkit.org/show_bug.cgi?id=149466
1623         <rdar://problem/22802031>
1624
1625         Reviewed by Dean Jackson.
1626
1627         * fast/events/AddEventListenerOptions-once-expected.txt: Added.
1628         * fast/events/AddEventListenerOptions-once-recursive-expected.txt: Added.
1629         * fast/events/AddEventListenerOptions-once-recursive.html: Added.
1630         * fast/events/AddEventListenerOptions-once.html: Added.
1631         * fast/events/AddEventListenerOptions-passive-expected.txt: Added.
1632         * fast/events/AddEventListenerOptions-passive.html: Added.
1633         * fast/events/removeEventListener-EventListenerOptions-capture-expected.txt: Added.
1634         * fast/events/removeEventListener-EventListenerOptions-capture.html: Added.
1635
1636         Add layout testing coverage for various aspects of the functionality.
1637
1638         * imported/blink/fast/events/eventlisteneroptions/capture_default-expected.txt: Added.
1639         * imported/blink/fast/events/eventlisteneroptions/capture_default.html: Added.
1640         * imported/blink/fast/events/eventlisteneroptions/capture_equality-expected.txt: Added.
1641         * imported/blink/fast/events/eventlisteneroptions/capture_equality.html: Added.
1642         * imported/blink/fast/events/eventlisteneroptions/capture_query-expected.txt: Added.
1643         * imported/blink/fast/events/eventlisteneroptions/capture_query.html: Added.
1644         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch-expected.txt: Added.
1645         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch.html: Added.
1646         * imported/blink/fast/events/eventlisteneroptions/passive_inequality-expected.txt: Added.
1647         * imported/blink/fast/events/eventlisteneroptions/passive_inequality.html: Added.
1648         * imported/blink/fast/events/eventlisteneroptions/passive_query-expected.txt: Added.
1649         * imported/blink/fast/events/eventlisteneroptions/passive_query.html: Added.
1650
1651         Import blink tests for this functionality.
1652
1653 2016-06-07  Brent Fulgham  <bfulgham@apple.com>
1654
1655         CSP: Content Security Policy directive, upgrade-insecure-requests (UIR)
1656         https://bugs.webkit.org/show_bug.cgi?id=143653
1657         <rdar://problem/23032067>
1658
1659         Reviewed by Andy Estes.
1660
1661         Some of these tests are based on a set of Blink patches by Mike West <mkwst@chromium.org>.
1662         <https://src.chromium.org/viewvc/blink?revision=192607&view=revision>,
1663         <https://codereview.chromium.org/1178093002>, <https://codereview.chromium.org/1964303003>
1664
1665         The rest of them are based on our own mixedContent tests, revised for upgraded requests.
1666
1667         Note that WebSockets are not part of this testing at present due to https://bugs.webkit.org/show_bug.cgi?id=157884.
1668
1669         * http/tests/security/contentSecurityPolicy/report-only-upgrade-insecure.php: Added.
1670         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests: Added.
1671         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https-expected.txt: Added.
1672         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https.html: Added.
1673         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https-expected.txt: Added.
1674         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html: Added.
1675         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade-expected.txt: Added.
1676         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade.html: Added.
1677         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-auxiliary-expected.txt: Added.
1678         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-auxiliary.html: Added.
1679         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-nested-expected.txt: Added.
1680         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-nested.html: Added.
1681         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-subresource-expected.txt: Added.
1682         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-subresource.html: Added.
1683         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-top-level-expected.txt: Added.
1684         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-top-level.html: Added.
1685         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
1686         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https.html: Added.
1687         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt: Added.
1688         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades.html: Added.
1689         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades-expected.txt: Added.
1690         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades.html: Added.
1691         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources: Added.
1692         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/basic-upgrade-cors.https.html: Added.
1693         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/check-https-header.pl: Added.
1694         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/echo-https-header.pl: Added.
1695         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-audio-video.html: Added.
1696         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-css.html: Added.
1697         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-image.html: Added.
1698         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-redirect-http-to-https-script.html: Added.
1699         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-redirect-https-to-http-script.html: Added.
1700         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/insecure-xhr-in-main-frame-window.html: Added.
1701         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/mixed-content-with-upgrade.html: Added.
1702         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/post-https-header.pl: Added.
1703         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-audio-video-in-main-frame-expected.txt: Added.
1704         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-audio-video-in-main-frame.html: Added.
1705         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt: Added.
1706         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe.html: Added.
1707         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-image-in-main-frame-expected.txt: Added.
1708         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-image-in-main-frame.html: Added.
1709         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-xhr-in-main-frame-expected.txt: Added.
1710         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-xhr-in-main-frame.html: Added.
1711         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt: Added.
1712         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe.html: Added.
1713         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt: Added.
1714         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe.html: Added.
1715         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrades-mixed-content-expected.txt: Added.
1716         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrades-mixed-content.html: Added.
1717         * http/tests/security/resources/post-origin-to-parent.html: Added.
1718         * http/tests/ssl/iframe-upgrade.https-expected.txt: Added.
1719         * http/tests/ssl/iframe-upgrade.https.html: Added.
1720         * http/tests/ssl/upgrade-origin-usage-expected.txt: Added.
1721         * http/tests/ssl/upgrade-origin-usage.html: Added.
1722         * http/tests/ssl/resources/origin-usage-iframe-1.html: Added.
1723         * http/tests/ssl/resources/origin-usage-iframe-1.manifest: Added.
1724         * http/tests/ssl/resources/origin-usage-iframe-2.html: Added.
1725         * http/tests/ssl/resources/origin-usage-iframe-2.manifest: Added.
1726         * http/tests/websocket/tests/hybi/upgrade-simple-ws-expected.txt: Added.
1727         * http/tests/websocket/tests/hybi/upgrade-simple-ws.html: Added.
1728         * TestExpectations: Skip http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-simple-ws.html since the
1729         WebSocket server does not currently support wss sockets.
1730
1731 2016-06-07  Fujii Hironori  <Hironori.Fujii@sony.com>
1732
1733         Video elements are painted twice, in PaintPhaseForeground and PaintPhaseSelfOutline
1734         https://bugs.webkit.org/show_bug.cgi?id=158247
1735
1736         Reviewed by Simon Fraser.
1737
1738         * fast/replaced/outline-replaced-elements-offset-expected.html: Added.
1739         * fast/replaced/outline-replaced-elements-offset.html: Added.
1740
1741 2016-06-07  Michael Catanzaro  <mcatanzaro@igalia.com>
1742
1743         [GTK] Mark fast/text/international/system-language/han-quotes.html as flaky
1744
1745         Unreviewed gardening
1746
1747         * platform/gtk/TestExpectations:
1748
1749 2016-06-07  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
1750
1751         Creating a TouchList with non Touch items should throw an exception
1752         https://bugs.webkit.org/show_bug.cgi?id=158302
1753
1754         Reviewed by Youenn Fablet.
1755
1756         Only Touch items should be passed to CreateTouchList function as
1757         per specification (https://w3c.github.io/touch-events/#extensions-to-the-document-interface).
1758
1759         Tests have been modified to check whether behavior of CreateTouchList is correct.
1760
1761         * fast/events/touch/document-create-touch-list-crash-expected.txt:
1762         * fast/events/touch/document-create-touch-list-expected.txt:
1763         * fast/events/touch/script-tests/document-create-touch-list-crash.js:
1764         * fast/events/touch/script-tests/document-create-touch-list.js:
1765
1766 2016-06-07  Joseph Pecoraro  <pecoraro@apple.com>
1767
1768         Unskip js/script-tests/class-syntax-scoping.js
1769         https://bugs.webkit.org/show_bug.cgi?id=158458
1770
1771         Reviewed by Ryosuke Niwa.
1772
1773         * js/script-tests/class-syntax-scoping.js:
1774
1775 2016-06-06  Joseph Pecoraro  <pecoraro@apple.com>
1776
1777         ASSERTION failed in get-by-pname.js when run with JSC_useLLINT=false and 2 other configurations
1778         https://bugs.webkit.org/show_bug.cgi?id=138497
1779         <rdar://problem/18909792>
1780
1781         Reviewed by Mark Lam.
1782
1783         * js/script-tests/get-by-pname.js:
1784         Test is no longer failing. Lets unskip.
1785
1786 2016-06-06  Commit Queue  <commit-queue@webkit.org>
1787
1788         Unreviewed, rolling out r201735.
1789         https://bugs.webkit.org/show_bug.cgi?id=158465
1790
1791         fast/events/AddEventListenerOptions-once-recursive.html fails
1792         on all bots (Requested by ap on #webkit).
1793
1794         Reverted changeset:
1795
1796         "Implement EventListenerOptions argument to addEventListener"
1797         https://bugs.webkit.org/show_bug.cgi?id=149466
1798         http://trac.webkit.org/changeset/201735
1799
1800 2016-06-06  Commit Queue  <commit-queue@webkit.org>
1801
1802         Unreviewed, rolling out r201679.
1803         https://bugs.webkit.org/show_bug.cgi?id=158464
1804
1805         http/tests/websocket/tests/hybi/upgrade-simple-ws.html is
1806         flaky (Requested by ap on #webkit).
1807
1808         Reverted changeset:
1809
1810         "CSP: Content Security Policy directive, upgrade-insecure-
1811         requests (UIR)"
1812         https://bugs.webkit.org/show_bug.cgi?id=143653
1813         http://trac.webkit.org/changeset/201679
1814
1815 2016-06-06  Jiewen Tan  <jiewen_tan@apple.com>
1816
1817         URLs containing tabs or newlines are parsed incorrectly
1818         https://bugs.webkit.org/show_bug.cgi?id=143381
1819         <rdar://problem/26567214>
1820
1821         Reviewed by Brent Fulgham.
1822
1823         * fast/dom/DOMURL/set-href-attribute-host-expected.txt:
1824         * fast/dom/DOMURL/set-href-attribute-host.html:
1825         * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js:
1826         * fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt:
1827         * fast/url/segments-expected.txt:
1828         * fast/url/segments-from-data-url-expected.txt:
1829         * fast/url/segments-from-data-url.html:
1830         * fast/url/segments.html:
1831         * fast/url/tab-and-newline-stripping-expected.txt: Added.
1832         * fast/url/tab-and-newline-stripping.html: Added.
1833         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
1834         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
1835         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
1836         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
1837         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
1838         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
1839         * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
1840         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
1841         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
1842         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
1843         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
1844         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
1845         * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
1846         * http/tests/security/xssAuditor/javascript-link-control-char2-expected.txt:
1847
1848 2016-06-02  Ryosuke Niwa  <rniwa@webkit.org>
1849
1850         Update the list of elements attachShadow is allowed
1851         https://bugs.webkit.org/show_bug.cgi?id=157706
1852
1853         Reviewed by Darin Adler.
1854
1855         Added more test cases for validating elements on which attachShadow is allowed and disallowed.
1856
1857         * fast/shadow-dom/Element-interface-attachShadow-expected.txt:
1858         * fast/shadow-dom/Element-interface-attachShadow.html:
1859
1860 2016-06-03  Ryosuke Niwa  <rniwa@webkit.org>
1861
1862         Crash inside moveOutOfAllShadowRoots
1863         https://bugs.webkit.org/show_bug.cgi?id=158378
1864
1865         Reviewed by Antti Koivisto.
1866
1867         Added a regression test that reproduced the crash reliably at least on my machine.
1868
1869         * fast/shadow-dom/shadow-host-removal-crash-expected.txt: Added.
1870         * fast/shadow-dom/shadow-host-removal-crash.html: Added.
1871         * platform/ios-simulator/TestExpectations:
1872
1873 2016-06-06  Chris Dumez  <cdumez@apple.com>
1874
1875         Implement EventListenerOptions argument to addEventListener
1876         https://bugs.webkit.org/show_bug.cgi?id=149466
1877         <rdar://problem/22802031>
1878
1879         Reviewed by Dean Jackson.
1880
1881         * fast/events/AddEventListenerOptions-once-expected.txt: Added.
1882         * fast/events/AddEventListenerOptions-once-recursive-expected.txt: Added.
1883         * fast/events/AddEventListenerOptions-once-recursive.html: Added.
1884         * fast/events/AddEventListenerOptions-once.html: Added.
1885         * fast/events/AddEventListenerOptions-passive-expected.txt: Added.
1886         * fast/events/AddEventListenerOptions-passive.html: Added.
1887         * fast/events/removeEventListener-EventListenerOptions-capture-expected.txt: Added.
1888         * fast/events/removeEventListener-EventListenerOptions-capture.html: Added.
1889
1890         Add layout testing coverage for various aspects of the functionality.
1891
1892         * imported/blink/fast/events/eventlisteneroptions/capture_default-expected.txt: Added.
1893         * imported/blink/fast/events/eventlisteneroptions/capture_default.html: Added.
1894         * imported/blink/fast/events/eventlisteneroptions/capture_equality-expected.txt: Added.
1895         * imported/blink/fast/events/eventlisteneroptions/capture_equality.html: Added.
1896         * imported/blink/fast/events/eventlisteneroptions/capture_query-expected.txt: Added.
1897         * imported/blink/fast/events/eventlisteneroptions/capture_query.html: Added.
1898         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch-expected.txt: Added.
1899         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch.html: Added.
1900         * imported/blink/fast/events/eventlisteneroptions/passive_inequality-expected.txt: Added.
1901         * imported/blink/fast/events/eventlisteneroptions/passive_inequality.html: Added.
1902         * imported/blink/fast/events/eventlisteneroptions/passive_query-expected.txt: Added.
1903         * imported/blink/fast/events/eventlisteneroptions/passive_query.html: Added.
1904
1905         Import blink tests for this functionality.
1906
1907 2016-06-06  Commit Queue  <commit-queue@webkit.org>
1908
1909         Unreviewed, rolling out r201730.
1910         https://bugs.webkit.org/show_bug.cgi?id=158453
1911
1912         This change caused existing LayoutTests to crash (Requested by
1913         ryanhaddad on #webkit).
1914
1915         Reverted changeset:
1916
1917         "Implement EventListenerOptions argument to addEventListener"
1918         https://bugs.webkit.org/show_bug.cgi?id=149466
1919         http://trac.webkit.org/changeset/201730
1920
1921 2016-06-02  Ryan Haddad  <ryanhaddad@apple.com>
1922
1923         Marking http/tests/misc/slow-loading-animated-image.html as flaky on ios-simulator
1924         https://bugs.webkit.org/show_bug.cgi?id=157916
1925
1926         Unreviewed test gardening.
1927
1928         * platform/ios-simulator/TestExpectations:
1929
1930 2016-06-06  Chris Dumez  <cdumez@apple.com>
1931
1932         Implement EventListenerOptions argument to addEventListener
1933         https://bugs.webkit.org/show_bug.cgi?id=149466
1934         <rdar://problem/22802031>
1935
1936         Reviewed by Dean Jackson.
1937
1938         * fast/events/AddEventListenerOptions-once-expected.txt: Added.
1939         * fast/events/AddEventListenerOptions-once-recursive-expected.txt: Added.
1940         * fast/events/AddEventListenerOptions-once-recursive.html: Added.
1941         * fast/events/AddEventListenerOptions-once.html: Added.
1942         * fast/events/AddEventListenerOptions-passive-expected.txt: Added.
1943         * fast/events/AddEventListenerOptions-passive.html: Added.
1944         * fast/events/removeEventListener-EventListenerOptions-capture-expected.txt: Added.
1945         * fast/events/removeEventListener-EventListenerOptions-capture.html: Added.
1946
1947         Add layout testing coverage for various aspects of the functionality.
1948
1949         * imported/blink/fast/events/eventlisteneroptions/capture_default-expected.txt: Added.
1950         * imported/blink/fast/events/eventlisteneroptions/capture_default.html: Added.
1951         * imported/blink/fast/events/eventlisteneroptions/capture_equality-expected.txt: Added.
1952         * imported/blink/fast/events/eventlisteneroptions/capture_equality.html: Added.
1953         * imported/blink/fast/events/eventlisteneroptions/capture_query-expected.txt: Added.
1954         * imported/blink/fast/events/eventlisteneroptions/capture_query.html: Added.
1955         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch-expected.txt: Added.
1956         * imported/blink/fast/events/eventlisteneroptions/passive_dispatch.html: Added.
1957         * imported/blink/fast/events/eventlisteneroptions/passive_inequality-expected.txt: Added.
1958         * imported/blink/fast/events/eventlisteneroptions/passive_inequality.html: Added.
1959         * imported/blink/fast/events/eventlisteneroptions/passive_query-expected.txt: Added.
1960         * imported/blink/fast/events/eventlisteneroptions/passive_query.html: Added.
1961
1962         Import blink tests for this functionality.
1963
1964 2016-06-06  Adam Bergkvist  <adam.bergkvist@ericsson.com>
1965
1966         WebRTC: Update MediaEndpointPeerConnection::createOffer() to use the transceiver set
1967         https://bugs.webkit.org/show_bug.cgi?id=158203
1968
1969         Reviewed by Eric Carlson.
1970
1971         Updated existing test.
1972
1973         * fast/mediastream/RTCPeerConnection-inspect-offer-expected.txt:
1974         * fast/mediastream/RTCPeerConnection-inspect-offer.html:
1975         Add verification of mid attribute [1] (corresponds to the RTCRtpTransceiver mid attribute).
1976         [1] https://tools.ietf.org/html/rfc5888
1977         * fast/mediastream/resources/sdp-utils.js: Added.
1978         (printComparableSessionDescription):
1979         (verified):
1980         (match):
1981         Move the printComparableSessionDescription function to a separate file
1982         to make it usable in other (future) tests.
1983
1984 2016-06-06  Antoine Quint  <graouts@apple.com>
1985
1986         Position of WebGL <canvas> on iOS is incorrect with CSS borders
1987         https://bugs.webkit.org/show_bug.cgi?id=156790
1988
1989         Reviewed by Simon Fraser.
1990
1991         Adding new tests checking that CSS border, box-shadow and padding properties used on a
1992         WebGL <canvas> element correctly affect the position of the WebGL content.
1993
1994         * webgl/webgl-border-expected.html: Added.
1995         * webgl/webgl-border.html: Added.
1996         * webgl/webgl-box-shadow-expected.html: Added.
1997         * webgl/webgl-box-shadow.html: Added.
1998         * webgl/webgl-padding-expected.html: Added.
1999         * webgl/webgl-padding.html: Added.
2000
2001 2016-06-06  Skachkov Oleksandr  <gskachkov@gmail.com>
2002
2003         [ESNext] Support trailing commas in function param lists
2004         https://bugs.webkit.org/show_bug.cgi?id=158020
2005
2006         Reviewed by Keith Miller.
2007
2008         * js/parser-syntax-check-expected.txt:
2009         * js/script-tests/parser-syntax-check.js:
2010         * sputnik/Conformance/13_Function_Definition/S13_A5.html:
2011
2012 2016-06-06  George Ruan  <gruan@apple.com>
2013
2014         Support createPattern(HTMLVideoElement, const String& repetitionType)
2015         https://bugs.webkit.org/show_bug.cgi?id=149984
2016         <rdar://problem/23058823>
2017
2018         Reviewed by Dean Jackson.
2019
2020         * fast/canvas/canvas-createPattern-video-invalid-expected.txt: Added.
2021         * fast/canvas/canvas-createPattern-video-invalid.html: Added. Test
2022         behavior when given invalid arguments.
2023         * fast/canvas/canvas-createPattern-video-loading-expected.txt: Added.
2024         * fast/canvas/canvas-createPattern-video-loading.html: Added. Tests
2025         behavior before video loaded, right after it's loaded, and after being
2026         played.
2027         * fast/canvas/canvas-createPattern-video-modify-expected.txt: Added.
2028         * fast/canvas/canvas-createPattern-video-modify.html: Added. Tests
2029         that modifying the video after calling the createPattern() function
2030         does not affect the pattern rendered or to be rendered.
2031         *
2032         http/tests/security/canvas-remote-read-remote-image-allowed-expected.txt:
2033         Fix typo.
2034         *
2035         http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials-expected.txt:
2036         Fix typo.
2037         *
2038         http/tests/security/canvas-remote-read-remote-image-allowed-with-credentials.html:
2039         Fix typo.
2040         * http/tests/security/canvas-remote-read-remote-image-allowed.html:
2041         Fix typo.
2042         *
2043         http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin-expected.txt:
2044         Fix typo.
2045         *
2046         http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin.html:
2047         Fix typo.
2048         * http/tests/security/canvas-remote-read-remote-video-allowed-anonymous-expected.txt: Added.
2049         *
2050         http/tests/security/canvas-remote-read-remote-video-allowed-anonymous.html:
2051         Added. This test will fail as CORS is not implemented for media yet.
2052         Tests that data can be retrieved from canvas even when tainted if CORS
2053         is enabled with anonymous.
2054         * http/tests/security/canvas-remote-read-remote-video-allowed-with-credentials-expected.txt: Added.
2055         *
2056         http/tests/security/canvas-remote-read-remote-video-allowed-with-credentials.html:
2057         Added. This test will fail as CORS is not implemented for media yet.
2058         Tests that data can be retrieved from canvas even when tainted if CORS
2059         is enabled with credentials.
2060         * http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin-expected.txt: Added.
2061         *
2062         http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin.html:
2063         Added. Ensures that data cannot be retrieved from a tainted canvas if
2064         no cross origin is enabled.
2065         * http/tests/security/canvas-remote-read-remote-video-localhost-expected.txt: Added.
2066         * http/tests/security/canvas-remote-read-remote-video-localhost.html:
2067         Added. Ensures that localhost is blocked like http.
2068         * http/tests/security/canvas-remote-read-remote-video-redirect-expected.txt: Added.
2069         * http/tests/security/canvas-remote-read-remote-video-redirect.html:
2070         Added. Ensures that redirects are blocked.
2071         * http/tests/security/resources/canvas-video-crossorigin.js: Added.
2072         Includes common functions used to test the CORS of canvas for video.
2073         *
2074         http/tests/security/resources/video-cross-origin-allow-credentials.php:
2075         Added. Script that serves test video for
2076         canvas-remote-read-remote-video-allowed-with-credentials.html.
2077         * media/video-canvas-createPattern-expected.txt: Added.
2078         * media/video-canvas-createPattern.html: Added. Naive test that
2079         ensures functionality of createPattern() with HTMLVideoElement
2080         argument.
2081         * platform/ios-simulator-wk1/TestExpectations: Added
2082         canvas-remote-read-remote-video-allowed-anonymous.html and
2083         canvas-remote-read-remote-video-allowed-with-credentials.html.
2084         * platform/ios-simulator-wk2/TestExpectations: Same as wk1.
2085         * platform/mac/TestExpectations: Same as wk1.
2086         * platform/mac/media/video-canvas-createPattern-expected.png: Added.
2087         * platform/win/TestExpectations: Same as wk1.
2088         * platform/wk2/TestExpectations: Same as wk1.
2089
2090 2016-06-06  Commit Queue  <commit-queue@webkit.org>
2091
2092         Unreviewed, rolling out r201706.
2093         https://bugs.webkit.org/show_bug.cgi?id=158427
2094
2095         This change broke the Yosemite build and its LayoutTest is
2096         failing on Mac and iOS testers (Requested by ryanhaddad on
2097         #webkit).
2098
2099         Reverted changeset:
2100
2101         "Add experimental support for spring based CSS animations"
2102         https://bugs.webkit.org/show_bug.cgi?id=158403
2103         http://trac.webkit.org/changeset/201706
2104
2105 2016-06-03  Oliver Hunt  <oliver@apple.com>
2106
2107         RegExp unicode parsing reads an extra character before failing
2108         https://bugs.webkit.org/show_bug.cgi?id=158376
2109
2110         Reviewed by Saam Barati.
2111
2112         Add a couple of tests.
2113
2114         * js/script-tests/regexp-unicode.js:
2115
2116 2016-06-06  Chris Dumez  <cdumez@apple.com>
2117
2118         Crash under JSObject::getOwnPropertyDescriptor()
2119         https://bugs.webkit.org/show_bug.cgi?id=158382
2120         <rdar://problem/26605004>
2121
2122         Reviewed by Mark Lam.
2123
2124         Add layout test to cover the crash in JSObject::getOwnPropertyDescriptor().
2125
2126         * js/dom/getOwnPropertyDescriptor-crash-expected.txt: Added.
2127         * js/dom/getOwnPropertyDescriptor-crash.html: Added.
2128
2129 2016-06-06  Javier Fernandez  <jfernandez@igalia.com>
2130
2131         [css-grid] Horizontal scroll must account for grid container's height
2132         https://bugs.webkit.org/show_bug.cgi?id=157971
2133
2134         Reviewed by Darin Adler.
2135
2136         Test to verify we account horizontal scrollbar's size for grid container's
2137         height computation.
2138
2139         * fast/css-grid-layout/grid-container-scroll-accounts-for-sizing-expected.html: Added.
2140         * fast/css-grid-layout/grid-container-scroll-accounts-for-sizing.html: Added.
2141
2142 2016-06-05  Sam Weinig  <sam@webkit.org>
2143
2144         Add experimental support for spring based CSS animations
2145         https://bugs.webkit.org/show_bug.cgi?id=158403
2146
2147         Reviewed by Dean Jackson.
2148
2149         * animations/script-tests/spring-computed-style.js: Added.
2150         * animations/script-tests/spring-parsing.js: Added.
2151         * animations/spring-computed-style-expected.txt: Added.
2152         * animations/spring-computed-style.html: Added.
2153         * animations/spring-function-expected.txt: Added.
2154         * animations/spring-function.html: Added.
2155         * animations/spring-parsing-expected.txt: Added.
2156         * animations/spring-parsing.html: Added.
2157         Add tests for the spring timing function.
2158
2159 2016-06-05  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2160
2161         Unreviewed EFL gardening on June 6. Unskip passing tests and mark failing tests.
2162         New bug is filed for new failing tests.
2163
2164         * platform/efl/TestExpectations:
2165
2166 2016-06-05  Gavin & Ellie Barraclough  <barraclough@apple.com>
2167
2168         Deprecate remaining uses of Lookup getStatic*, use HasStaticPropertyTable instead.
2169         https://bugs.webkit.org/show_bug.cgi?id=158178
2170
2171         Reviewed by Darin Adler.
2172
2173         As of bug #158059 most JSC static table property access no longer requires getOwnPropertySlot to be
2174         overridden. Port remaining calls to the getStatic* functions in Lookup.h over to the new mechanism.
2175
2176         Switch JSGlobalObject & WebCore DOM instance bindings to use HasStaticPropertyTable.
2177
2178         * fast/dom/unforgeable-attributes-expected.txt:
2179             - Progression, similar to the getOwnPropertyDescriptor test below. Previously we
2180               were reporting an error with a message appropriate to a disallowed value->value
2181               redefinition. This is actually a disallowed accessor->value reconfiguration, now
2182               reporting the correct error message for this.
2183         * http/tests/security/cross-origin-window-property-access-expected.txt:
2184             - Newly reporting previously missing CORS error.
2185         * js/dom/getOwnPropertyDescriptor-expected.txt:
2186         * js/resources/getOwnPropertyDescriptor.js:
2187             - This test was previously incorrect - was expecting window.window property to
2188               reflect as a value decriptor. This now reflect as an accesor descriptor. New
2189               behaviour is correct per spec & matches Firefox.
2190
2191 2016-06-05  Antti Koivisto  <antti@apple.com>
2192
2193         TextIterator should ignore non-visible frames in findPlainText
2194         https://bugs.webkit.org/show_bug.cgi?id=158395
2195
2196         Reviewed by Dan Bernstein and Darin Adler.
2197
2198         * editing/text-iterator/count-matches-in-frames-expected.txt: Added.
2199         * editing/text-iterator/count-matches-in-frames.html: Added.
2200         * imported/blink/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-width.html: Non-rendered whitespace change.
2201
2202 2016-06-04  Brady Eidson  <beidson@apple.com>
2203
2204         Modern IDB: Add -private.html variants of crypto/subtle IndexedDB tests.
2205         https://bugs.webkit.org/show_bug.cgi?id=153323
2206
2207         Reviewed by Darin Adler.
2208
2209         * crypto/subtle/resources/rsa-indexeddb-non-exportable.js: Copied from LayoutTests/crypto/subtle/rsa-indexeddb-non-exportable.html.
2210         * crypto/subtle/resources/rsa-indexeddb.js: Copied from LayoutTests/crypto/subtle/rsa-indexeddb.html.
2211
2212         * crypto/subtle/rsa-indexeddb-non-exportable-private-expected.txt: Added.
2213         * crypto/subtle/rsa-indexeddb-non-exportable-private.html: Added.
2214         * crypto/subtle/rsa-indexeddb-non-exportable.html:
2215         * crypto/subtle/rsa-indexeddb-private-expected.txt: Added.
2216         * crypto/subtle/rsa-indexeddb-private.html: Added.
2217         * crypto/subtle/rsa-indexeddb.html:
2218
2219 2016-06-04  Alexey Proskuryakov  <ap@apple.com>
2220
2221         REGRESSION (r201263): Some tests have become flaky timeouts.
2222         https://bugs.webkit.org/show_bug.cgi?id=157990
2223
2224         Reviewed by Darin Adler.
2225
2226         * platform/mac-wk2/TestExpectations:
2227         * platform/mac/TestExpectations:
2228
2229 2016-06-04  Joseph Pecoraro  <pecoraro@apple.com>
2230
2231         Add better basic isNaN test coverage
2232         https://bugs.webkit.org/show_bug.cgi?id=158379
2233
2234         Reviewed by Benjamin Poulain.
2235
2236         * js/Number-isNaN-expected.txt: Added.
2237         * js/Number-isNaN.html: Added.
2238         * js/global-isNaN-expected.txt: Added.
2239         * js/global-isNaN.html: Added.
2240         * js/script-tests/Number-isNaN.js: Added.
2241         (objectWithNumberValueOf.valueOf):
2242         (objectWithNaNValueOf.valueOf):
2243         (objectRecordConversionCalls.toString):
2244         (objectRecordConversionCalls.valueOf):
2245         * js/script-tests/global-isNaN.js: Added.
2246         (objectConvertToString.toString):
2247         (objectRecordToStringCall.toString):
2248         (objectThrowOnToString.toString):
2249         (objectWithValueOf.valueOf):
2250         (objectThrowOnValueOf.valueOf):
2251         (objectThrowOnValueOf.toString):
2252         (objectRecordValueOfCall.valueOf):
2253         (objectRecordConversionCalls.toString):
2254         (objectRecordConversionCalls.valueOf):
2255         * js/script-tests/math-clz32.js:
2256
2257 2016-06-04  Brent Fulgham  <bfulgham@apple.com>
2258
2259         CSP: Content Security Policy directive, upgrade-insecure-requests (UIR)
2260         https://bugs.webkit.org/show_bug.cgi?id=143653
2261         <rdar://problem/23032067>
2262
2263         Reviewed by Andy Estes.
2264
2265         Some of these tests are based on a set of Blink patches by Mike West <mkwst@chromium.org>.
2266         <https://src.chromium.org/viewvc/blink?revision=192607&view=revision>,
2267         <https://codereview.chromium.org/1178093002>, <https://codereview.chromium.org/1964303003>
2268
2269         The rest of them are based on our own mixedContent tests, revised for upgraded requests.
2270
2271         Note that WebSockets are not part of this testing at present due to https://bugs.webkit.org/show_bug.cgi?id=157884.
2272
2273         * http/tests/security/contentSecurityPolicy/report-only-upgrade-insecure.php: Added.
2274         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests: Added.
2275         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https-expected.txt: Added.
2276         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade-cors.https.html: Added.
2277         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https-expected.txt: Added.
2278         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html: Added.
2279         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade-expected.txt: Added.
2280         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade.html: Added.
2281         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-auxiliary-expected.txt: Added.
2282         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-auxiliary.html: Added.
2283         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-nested-expected.txt: Added.
2284         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-nested.html: Added.
2285         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-subresource-expected.txt: Added.
2286         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-subresource.html: Added.
2287         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-top-level-expected.txt: Added.
2288         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/https-header-top-level.html: Added.
2289         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https-expected.txt: Added.
2290         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https.html: Added.
2291         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades-expected.txt: Added.
2292         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-nested-upgrades.html: Added.
2293         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades-expected.txt: Added.
2294         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-open-window-upgrades.html: Added.
2295         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources: Added.
2296         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/basic-upgrade-cors.https.html: Added.
2297         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/check-https-header.pl: Added.
2298         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/echo-https-header.pl: Added.
2299         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-audio-video.html: Added.
2300         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-css.html: Added.
2301         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-insecure-image.html: Added.
2302         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-redirect-http-to-https-script.html: Added.
2303         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/frame-with-redirect-https-to-http-script.html: Added.
2304         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/insecure-xhr-in-main-frame-window.html: Added.
2305         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/mixed-content-with-upgrade.html: Added.
2306         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/post-https-header.pl: Added.
2307         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-audio-video-in-main-frame-expected.txt: Added.
2308         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-audio-video-in-main-frame.html: Added.
2309         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe-expected.txt: Added.
2310         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-css-in-iframe.html: Added.
2311         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-image-in-main-frame-expected.txt: Added.
2312         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-image-in-main-frame.html: Added.
2313         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-xhr-in-main-frame-expected.txt: Added.
2314         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-insecure-xhr-in-main-frame.html: Added.
2315         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe-expected.txt: Added.
2316         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-http-to-https-script-in-iframe.html: Added.
2317         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe-expected.txt: Added.
2318         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-redirect-https-to-http-script-in-iframe.html: Added.
2319         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrades-mixed-content-expected.txt: Added.
2320         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrades-mixed-content.html: Added.
2321         * http/tests/security/resources/post-origin-to-parent.html: Added.
2322         * http/tests/ssl/iframe-upgrade.https-expected.txt: Added.
2323         * http/tests/ssl/iframe-upgrade.https.html: Added.
2324         * http/tests/ssl/upgrade-origin-usage-expected.txt: Added.
2325         * http/tests/ssl/upgrade-origin-usage.html: Added.
2326         * http/tests/ssl/resources/origin-usage-iframe-1.html: Added.
2327         * http/tests/ssl/resources/origin-usage-iframe-1.manifest: Added.
2328         * http/tests/ssl/resources/origin-usage-iframe-2.html: Added.
2329         * http/tests/ssl/resources/origin-usage-iframe-2.manifest: Added.
2330         * http/tests/websocket/tests/hybi/upgrade-simple-ws-expected.txt: Added.
2331         * http/tests/websocket/tests/hybi/upgrade-simple-ws.html: Added.
2332         * TestExpectations: Skip http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/upgrade-simple-ws.html since the
2333         WebSocket server does not currently support wss sockets.
2334
2335 2016-06-03  Myles C. Maxfield  <mmaxfield@apple.com>
2336
2337         Bopomofo ruby in Dictionary.app is written horizontally (when it should be written vertically)
2338         https://bugs.webkit.org/show_bug.cgi?id=158245
2339         <rdar://problem/25675318>
2340
2341         Reviewed by Darin Adler.
2342
2343         Rebaselined fast/table/border-collapsing/004-vertical.html to show a progression.
2344
2345         * fast/text/orthogonal-writing-mode-containing-block-frameView-resize-relayout-expected.html: Added.
2346         * fast/text/orthogonal-writing-mode-containing-block-frameView-resize-relayout.html: Added.
2347         * platform/mac/fast/table/border-collapsing/004-vertical-expected.png: Rebased
2348         * platform/mac/fast/table/border-collapsing/004-vertical-expected.txt: Rebased
2349
2350 2016-06-03  Myles C. Maxfield  <mmaxfield@apple.com>
2351
2352         Text not visible while external font downloading
2353         https://bugs.webkit.org/show_bug.cgi?id=25207
2354         <rdar://problem/15167413>
2355
2356         Reviewed by Dean Jackson.
2357
2358         * fast/text/web-font-load-fallback-during-loading-no-multiple-expected.txt: Added.
2359         * fast/text/web-font-load-fallback-during-loading-no-multiple.html: Added.
2360         * fast/text/web-font-load-fallback-during-loading-expected.html: Added.
2361         * fast/text/web-font-load-fallback-during-loading.html: Added.
2362
2363 2016-06-03  Benjamin Poulain  <bpoulain@apple.com>
2364
2365         JSON.stringify replacer function calls with numeric array indices
2366         https://bugs.webkit.org/show_bug.cgi?id=158262
2367
2368         Reviewed by Saam Barati.
2369
2370         * js/JSON-stringify-exposes-array-indices-as-strings-expected.txt: Added.
2371         * js/JSON-stringify-exposes-array-indices-as-strings.html: Added.
2372         * js/script-tests/JSON-stringify-exposes-array-indices-as-strings.js: Added.
2373         (replacer):
2374         (testObject.toJSON):
2375         (toJSONArrayHelper):
2376         * js/resources/JSON-stringify.js:
2377         * js/dom/JSON-stringify-expected.txt:
2378         Update the test results for the native implementation.
2379
2380 2016-06-03  Ryosuke Niwa  <rniwa@webkit.org>
2381
2382         Crash under VisibleSelection::firstRange()
2383         https://bugs.webkit.org/show_bug.cgi?id=158241
2384
2385         Reviewed by Enrica Casucci.
2386
2387         Added a regression test.
2388
2389         * fast/shadow-dom/selection-at-shadow-root-crash-expected.txt: Added.
2390         * fast/shadow-dom/selection-at-shadow-root-crash.html: Added.
2391
2392 2016-06-03  Zalan Bujtas  <zalan@apple.com>
2393
2394         Incorrect rendering on boostmobile FAQ page
2395         https://bugs.webkit.org/show_bug.cgi?id=158303
2396         <rdar://problem/26603462>
2397
2398         Reviewed by Chris Dumez.
2399
2400         Initial value for background-color is 'transparent'. see https://drafts.csswg.org/css-backgrounds-3/#background-color
2401
2402         * fast/selectors/non-visited-link-backround-color-expected.html: Added.
2403         * fast/selectors/non-visited-link-backround-color.html: Added.
2404
2405 2016-06-03  Chris Dumez  <cdumez@apple.com>
2406
2407         CanvasRenderingContext2D.createPattern() / putImageData() throw wrong exception type
2408         https://bugs.webkit.org/show_bug.cgi?id=158322
2409
2410         Reviewed by Ryosuke Niwa.
2411
2412         Update several outdated layout tests.
2413
2414         * canvas/philip/tests/2d.imageData.put.null.html:
2415         * canvas/philip/tests/2d.pattern.image.null.html:
2416         * canvas/philip/tests/2d.pattern.image.undefined.html:
2417
2418 2016-06-03  Ryan Haddad  <ryanhaddad@apple.com>
2419
2420         Marking fast/scrolling/scroll-container-horizontally.html as flaky on mac-wk2 and ios-simulator-wk1
2421         https://bugs.webkit.org/show_bug.cgi?id=158237
2422
2423         Unreviewed test gardening.
2424
2425         * platform/ios-simulator-wk1/TestExpectations:
2426         * platform/mac-wk2/TestExpectations:
2427
2428 2016-06-03  Brady Eidson  <beidson@apple.com>
2429
2430         LayoutTest imported/w3c/indexeddb/idbcursor-advance-continue-async.htm is flaky on Yosemite WK2
2431         https://bugs.webkit.org/show_bug.cgi?id=154606
2432
2433         Reviewed by Alex Christensen.
2434
2435         * platform/mac-wk2/TestExpectations: Remove expectations. Test has been working great for quite awhile.
2436
2437 2016-06-03  Brady Eidson  <beidson@apple.com>
2438
2439         storage/indexeddb/intversion-open-in-upgradeneeded.html is flaky on mac.
2440         https://bugs.webkit.org/show_bug.cgi?id=155050
2441
2442         Reviewed by Alex Christensen.
2443
2444         The test no longer crashes/times out, but it does have text failures.
2445         Resolve them by removing a race in the test itself.
2446         
2447         * platform/mac-wk2/TestExpectations:
2448         * storage/indexeddb/intversion-open-in-upgradeneeded-expected.txt:
2449         * storage/indexeddb/intversion-open-in-upgradeneeded-private-expected.txt:
2450         * storage/indexeddb/resources/intversion-open-in-upgradeneeded.js:
2451
2452 2016-06-03  Antoine Quint  <graouts@apple.com>
2453
2454         Reflection of element does not respect backdrop-filter property
2455         https://bugs.webkit.org/show_bug.cgi?id=158201
2456
2457         Reviewed by Dean Jackson.
2458
2459         * css3/filters/backdrop/backdrop-filter-with-reflection-add-backdrop-expected.html: Added.
2460         * css3/filters/backdrop/backdrop-filter-with-reflection-add-backdrop.html: Added.
2461
2462         Covers the case where a reflected element without a backdrop-filter initially has one added later.
2463
2464         * css3/filters/backdrop/backdrop-filter-with-reflection-expected.html: Added.
2465         * css3/filters/backdrop/backdrop-filter-with-reflection-remove-backdrop-expected.html: Added.
2466
2467         Covers the case where a reflected element with a backdrop-filter initially has it removed later.
2468
2469         * css3/filters/backdrop/backdrop-filter-with-reflection-remove-backdrop.html: Added.
2470         * css3/filters/backdrop/backdrop-filter-with-reflection-value-change-expected.html: Added.
2471
2472         Covers the case where a reflected element with a backdrop-filter has its backdrop-filter property changed later.
2473
2474         * css3/filters/backdrop/backdrop-filter-with-reflection-value-change.html: Added.
2475         * css3/filters/backdrop/backdrop-filter-with-reflection.html: Added.
2476
2477         Covers the basic case of a reflected element with a backdrop-filter.
2478
2479 2016-06-03  Antoine Quint  <graouts@apple.com>
2480
2481         REGRESSION: WebGL doesn't show up in CSS reflections
2482         https://bugs.webkit.org/show_bug.cgi?id=76489
2483
2484         Reviewed by Dean Jackson.
2485
2486         Update the expected rendering to contain the reflected WebGL <canvas>.
2487
2488         * platform/mac/compositing/webgl/webgl-reflection-expected.png:
2489
2490 2016-06-02  Zalan Bujtas  <zalan@apple.com>
2491
2492         Repaint issue with vertical text in an out of flow container.
2493         https://bugs.webkit.org/show_bug.cgi?id=102665
2494         <rdar://problem/26605298>
2495
2496         Reviewed by David Hyatt.
2497
2498         Since the renderer’s offset for positioned objects is always physical, we only
2499         need to flip the repaint rect(always logical) for writing root, when we see the first positioned object.
2500         All subsequent writing root changes for positioned objects are okay and they don't need flipping.
2501
2502         * fast/repaint/vertical-text-repaint-expected.txt: Added.
2503         * fast/repaint/vertical-text-repaint.html: Added.
2504
2505 2016-06-02  Benjamin Poulain  <bpoulain@apple.com>
2506
2507         Fix a typo in the clz32() tests
2508
2509         Rubber-stamped by Joseph Pecoraro.
2510
2511         Joe found a bug in math-clz32.js: I typed INFINITI instead of INFINITY.
2512         The tests was effectively checking "undefined" instead of infinity.
2513
2514         * js/math-clz32-expected.txt:
2515         * js/script-tests/math-clz32.js:
2516         (objectRecordConversionCalls.valueOf):
2517
2518 2016-06-02  Chris Dumez  <cdumez@apple.com>
2519
2520         [WebIDL] 'undefined' should be an acceptable value for nullable parameters
2521         https://bugs.webkit.org/show_bug.cgi?id=158321
2522
2523         Reviewed by Ryosuke Niwa.
2524
2525         Rebaseline existing test that is now passing.
2526
2527         * canvas/philip/tests/2d.pattern.image.undefined-expected.txt:
2528
2529 2016-06-02  Oliver Hunt  <oliver@apple.com>
2530
2531         JS parser incorrectly handles invalid utf8 in error messages.
2532         https://bugs.webkit.org/show_bug.cgi?id=158128
2533
2534         Reviewed by Saam Barati.
2535
2536         Add a testcase.
2537
2538         * js/invalid-utf8-in-syntax-error-expected.txt: Added.
2539         * js/script-tests/invalid-utf8-in-syntax-error.js: Added.
2540
2541 2016-06-02  Michael Saboff  <msaboff@apple.com>
2542
2543         REGRESSION(r200694): %ThrowTypeError% is not unique
2544         https://bugs.webkit.org/show_bug.cgi?id=158231
2545
2546         Reviewed by Joseph Pecoraro.
2547
2548         Rebased tests for the new TypeError messages.
2549         Added a new test, throw-type-error-is-unique.html.
2550
2551         * inspector/runtime/getProperties-expected.txt:
2552         * js/basic-strict-mode-expected.txt:
2553         * js/caller-property-expected.txt:
2554         * js/class-method-and-constructor-properties-expected.txt:
2555         * js/script-tests/caller-property.js:
2556         (strictCaller):
2557         (strictTailCaller):
2558         * js/script-tests/class-method-and-constructor-properties.js:
2559         (F.prototype.getElement):
2560         (F):
2561         (G.prototype.get item):
2562         (G):
2563         (H.prototype.arguments):
2564         (H):
2565         * js/script-tests/throw-type-error-is-unique.js: Added.
2566         (ThrowTypeErrorSource):
2567         (ThrowTypeErrorSource.prototype.checkTypeErrorFunctions):
2568         (A):
2569         (strictArguments):
2570         (test):
2571         * js/throw-type-error-is-unique-expected.txt: Added.
2572         * js/throw-type-error-is-unique.html: Added.
2573
2574 2016-06-02  Daniel Bates  <dabates@apple.com>
2575
2576         Fix a couple of mistakes in CSSParserValue memory management
2577         https://bugs.webkit.org/show_bug.cgi?id=158307
2578         <rdar://problem/26127225>
2579
2580         Reviewed by Darin Adler.
2581
2582         * fast/css/calc-with-two-variables-crash-expected.txt: Added.
2583         * fast/css/calc-with-two-variables-crash.html: Added.
2584
2585 2016-06-02  Said Abou-Hallawa  <sabouhallawa@apple.com>
2586
2587         SVG content renders in incorrect vertical position when padding-left is not specified
2588         https://bugs.webkit.org/show_bug.cgi?id=158234
2589
2590         Reviewed by Darin Adler.
2591
2592         Make sure the SVG root element is positioned correctly when either the sum
2593         of its (leftPadding + rightPadding) or the sum of its (topPadding + bottomPadding)
2594         is equal to zero.
2595
2596         * svg/custom/svg-root-padding-individual-expected.html: Added.
2597         * svg/custom/svg-root-padding-individual.html: Added.
2598
2599 2016-06-02  Adam Bergkvist  <adam.bergkvist@ericsson.com>
2600
2601         WebRTC: Update RTCPeerConnection.addTrack() to create (or reuse) an RTCRtpTransceiver
2602         https://bugs.webkit.org/show_bug.cgi?id=158191
2603
2604         Reviewed by Eric Carlson.
2605
2606         Extend existing test to verify the created RTCRtpTransceiver object.
2607
2608         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
2609         * fast/mediastream/RTCPeerConnection-add-removeTrack.html:
2610         Add checks for bad argument lists and verify the created RTCRtpTransceiver.
2611
2612 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
2613
2614         Unreviewed test gardening.
2615         
2616         Unskip websocket tests passing after r201500.
2617
2618         * platform/win/TestExpectations:
2619
2620 2016-06-02  Per Arne Vollan  <pvollan@apple.com>
2621
2622         Unreviewed test gardening.
2623         
2624         The test storage/indexeddb/modern/blob-simple.html is passing.
2625
2626         * platform/win/TestExpectations:
2627
2628 2016-06-02  Javier Fernandez  <jfernandez@igalia.com>
2629
2630         Unreviewed GTK+ gardening Additional rebaseline after r201397.
2631
2632         Added reference files for pixel tests.
2633
2634         * fast/forms/search-input-rtl-expected.txt:
2635         * platform/gtk/fast/css/text-overflow-input-expected.png:
2636         * platform/gtk/fast/forms/placeholder-position-expected.png:
2637         * platform/gtk/fast/forms/search-input-rtl-expected.png: Added.
2638         * platform/gtk/fast/forms/search-rtl-expected.png:
2639
2640 2016-06-01  Benjamin Poulain  <bpoulain@apple.com>
2641
2642         [JSC] Some setters for components of Date do not timeClip() their result
2643         https://bugs.webkit.org/show_bug.cgi?id=158278
2644         rdar://problem/25131426
2645
2646         Reviewed by Geoffrey Garen.
2647
2648         New test coverage for large values.
2649
2650         Note that some of those tests are still failing with this patch.
2651
2652         The reason is our code handling month and years is unable to deal
2653         with values outside int32.
2654         Changing that is a bit more complicated due to the number of users
2655         of DateMath. I leave that for the future.
2656
2657         * js/date-timeClip-large-values-expected.txt: Added.
2658         * js/date-timeClip-large-values.html: Added.
2659         * js/script-tests/date-timeClip-large-values.js: Added.
2660
2661 2016-06-01  Chris Fleizach  <cfleizach@apple.com>
2662
2663         AX: iOS: VoiceOver can't access attachments in mail messages
2664         https://bugs.webkit.org/show_bug.cgi?id=158198
2665
2666         Reviewed by Joanmarie Diggs.
2667
2668         * accessibility/ios-simulator/attributed-string-for-range.html: Added.
2669
2670 2016-06-01  Commit Queue  <commit-queue@webkit.org>
2671
2672         Unreviewed, rolling out r201488.
2673         https://bugs.webkit.org/show_bug.cgi?id=158268
2674
2675         Caused 23% regression on JetStream's crypto-md5 (Requested by
2676         rniwa on #webkit).
2677
2678         Reverted changeset:
2679
2680         "[ESNext] Support trailing commas in function param lists"
2681         https://bugs.webkit.org/show_bug.cgi?id=158020
2682         http://trac.webkit.org/changeset/201488
2683
2684 2016-06-01  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
2685
2686         POST request on a blob resource should return a "network error" instead of HTTP 500 response
2687         https://bugs.webkit.org/show_bug.cgi?id=158022
2688
2689         Reviewed by Alex Christensen.
2690
2691         Make sure response to XHR request on blob is correct.
2692
2693         * fast/files/xhr-blob-request-expected.txt: Added.
2694         * fast/files/xhr-blob-request.html: Added.
2695
2696 2016-06-01  Javier Fernandez  <jfernandez@igalia.com>
2697
2698         Unreviewed GTK+ gardening. Rebaseline several tests after r201397.
2699
2700         We correctly render search field's cancel and result button for RTL content.
2701
2702         * fast/forms/search-input-rtl-expected.txt: Added.
2703         * platform/gtk/fast/css/text-overflow-input-expected.txt:
2704         * platform/gtk/fast/forms/placeholder-position-expected.txt:
2705         * platform/gtk/fast/forms/search-rtl-expected.txt:
2706
2707 2016-06-01  Adam Bergkvist  <adam.bergkvist@ericsson.com>
2708
2709         WebRTC: Add RTCRtpTransceiver interface and RTCPeerConnection.addTransceiver()
2710         https://bugs.webkit.org/show_bug.cgi?id=158189
2711
2712         Reviewed by Darin Adler.
2713
2714         Added test for RTCPeerConnection.addTransceiver().
2715
2716         * fast/mediastream/RTCPeerConnection-addTransceiver-expected.txt: Added.
2717         * fast/mediastream/RTCPeerConnection-addTransceiver.html: Added.
2718         Test creating several RTCRtpTransceivers with various configurations and inspect the result.
2719         * platform/mac/TestExpectations:
2720         Skip the new test since the Mac port currently doesn't build with WebRTC support.
2721
2722 2016-06-01  Manuel Rego Casasnovas  <rego@igalia.com>
2723
2724         [css-grid] Positioned items can be placed on the implicit grid
2725         https://bugs.webkit.org/show_bug.cgi?id=158197
2726
2727         Reviewed by Sergio Villar Senin.
2728
2729         Updated the test to follow the expected behavior.
2730
2731         * fast/css-grid-layout/grid-positioned-items-within-grid-implicit-track-expected.txt:
2732         * fast/css-grid-layout/grid-positioned-items-within-grid-implicit-track.html:
2733
2734 2016-05-31  Dave Hyatt  <hyatt@apple.com>
2735
2736         REGRESSION(r201040): Repainting of moving overflow:hidden objects is broken.
2737         https://bugs.webkit.org/show_bug.cgi?id=158079
2738
2739         Reviewed by Zalan Bujtas.
2740
2741         * fast/repaint/overflow-hidden-movement-expected.txt: Added.
2742         * fast/repaint/overflow-hidden-movement.html: Added.
2743
2744 2016-05-31  Eric Carlson  <eric.carlson@apple.com>
2745
2746         [Mac] AirPlay route is sometimes reset when changing video.src
2747         https://bugs.webkit.org/show_bug.cgi?id=158226
2748         <rdar://problem/24197592>
2749
2750         Reviewed by Jer Noble.
2751
2752         * media/airplay-autoplay-expected.txt: Added.
2753         * media/airplay-autoplay.html: Added.
2754
2755 2016-05-31  Dave Hyatt  <hyatt@apple.com>
2756
2757         REGRESSION (r189567): Elements with aspect ratios not handled correctly inside flexbox.
2758         https://bugs.webkit.org/show_bug.cgi?id=158040
2759
2760         Reviewed by Zalan Bujtas.
2761
2762         * fast/flexbox/aspect-ratio-intrinsic-adjust-expected.html: Added.
2763         * fast/flexbox/aspect-ratio-intrinsic-adjust.html: Added.
2764         * fast/flexbox/resources/subjects_sm.png: Added.
2765
2766 2016-05-25  Sergio Villar Senin  <svillar@igalia.com>
2767
2768         [css-grid] Empty grid without explicit tracks shouldn't have any size
2769         https://bugs.webkit.org/show_bug.cgi?id=155197
2770
2771         Reviewed by Darin Adler.
2772
2773         Make sure that empty grids (and grids with one empty axis) are properly handled. Do also
2774         verify that removing all the items from a grid also generates an correct empty grid.
2775
2776         * fast/css-grid-layout/empty-grid-expected.txt: Added.
2777         * fast/css-grid-layout/empty-grid.html: Added.
2778
2779 2016-05-30  Per Arne Vollan  <pvollan@apple.com>
2780
2781         Unreviewed test gardening.
2782         
2783         After the crash fix in r201500, update the test expectations for 
2784         http/tests/websocket/tests/hybi/stop-on-resume-in-error-handler.html.
2785
2786         * platform/win/TestExpectations:
2787
2788 2016-05-30  Javier Fernandez  <jfernandez@igalia.com>
2789
2790         [CSS Box Alignment] New CSS Value 'normal' for Self Alignment
2791         https://bugs.webkit.org/show_bug.cgi?id=156254
2792
2793         Reviewed by Darin Adler.
2794
2795         Changes in the already defined tests for the alignment properties to
2796         consider the new CSS value 'normal', which is the default for align-items
2797         and the value to resolve 'auto' when there is no parent.
2798
2799         Added a new test to verify the Self-Alignment properties work as expected
2800         with root elements.
2801
2802         * css3/flexbox/css-properties-expected.txt:
2803         * css3/flexbox/css-properties.html:
2804         * css3/parse-align-items-expected.txt:
2805         * css3/parse-align-items.html:
2806         * css3/parse-align-self-expected.txt:
2807         * css3/parse-align-self.html:
2808         * css3/parse-alignment-of-root-elements-expected.txt: Added.
2809         * css3/parse-alignment-of-root-elements.html: Added.
2810         * fast/css/getComputedStyle/computed-style-expected.txt:
2811         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
2812         * fast/css/parse-justify-items-expected.txt:
2813         * fast/css/parse-justify-items.html:
2814         * fast/css/parse-justify-self-expected.txt:
2815         * fast/css/parse-justify-self.html:
2816         * fast/css/resources/alignment-parsing-utils.js:
2817         * svg/css/getComputedStyle-basic-expected.txt:
2818         (checkBadValues):
2819         * svg/css/getComputedStyle-basic-expected.txt:
2820
2821 2016-05-25  Skachkov Oleksandr  <gskachkov@gmail.com>
2822
2823         [ESNext] Support trailing commas in function param lists
2824         https://bugs.webkit.org/show_bug.cgi?id=158020
2825
2826         Reviewed by Keith Miller.
2827
2828         * js/parser-syntax-check-expected.txt:
2829         * js/script-tests/parser-syntax-check.js:
2830         * sputnik/Conformance/13_Function_Definition/S13_A5.html:
2831
2832 2016-05-27  Zalan Bujtas  <zalan@apple.com>
2833
2834         EventHandler finds incorrect scrollable container.
2835         https://bugs.webkit.org/show_bug.cgi?id=158132
2836         <rdar://problem/26423126>
2837
2838         Reviewed by Brent Fulgham.
2839
2840         Fix the logic that checks whether we are at the beginning or at the end of the container (horizontally).
2841         While scrolling to the right, deltaX has negative values. So in case of deltaX < 0, we need to check if
2842         the container is not scrolled all the way to the right.
2843
2844         * fast/scrolling/scroll-container-horizontally-expected.txt: Added.
2845         * fast/scrolling/scroll-container-horizontally.html: Added.
2846         * platform/ios-simulator/TestExpectations:
2847         * platform/mac-wk1/TestExpectations:
2848
2849 2016-05-27  Saam barati  <sbarati@apple.com>
2850
2851         DebuggerCallFrame crashes when updated with the globalExec because neither ShadowChicken's algorithm nor StackVisitor's algorithm reasons about the globalExec
2852         https://bugs.webkit.org/show_bug.cgi?id=158104
2853
2854         Reviewed by Filip Pizlo.
2855
2856         * inspector/debugger/breakpoint-syntax-error-top-level-expected.txt: Added.
2857         * inspector/debugger/breakpoint-syntax-error-top-level.html: Added.
2858         * inspector/debugger/resources/file-with-syntax-error.js: Added.
2859
2860 2016-05-27  Brent Fulgham  <bfulgham@apple.com>
2861
2862         Unreviewed test fix after r201468.
2863
2864         Correct output handling to reduce flakiness on test bots.
2865
2866         * http/tests/security/contentSecurityPolicy/frame-src-cross-origin-load.html:
2867
2868 2016-05-26  Ryosuke Niwa  <rniwa@webkit.org>
2869
2870         Crash in TreeScope::focusedElement
2871         https://bugs.webkit.org/show_bug.cgi?id=158108
2872
2873         Reviewed by Enrica Casucci.
2874
2875         Added a regression test for accessing shadowRoot.activeElement after re-focusing an element
2876         inside DOMNodeRemovedFromDocument event and unload events.
2877
2878         This patch also restores the expected result of fast/events/onblur-remove.html to that of when
2879         the test was in r15720 and updated in r19014. The expected result was changed in r85495 as it was
2880         converted to a eventSender test.
2881
2882         * fast/dom/Range/range-created-during-remove-children-expected.txt:
2883         * fast/dom/Range/range-created-during-remove-children.html: Update the test to use unload event
2884         of an iframe since we no longer fire blur event when removing a focused element.
2885         * fast/dom/adopt-node-prevented-expected.txt:
2886         * fast/dom/adopt-node-prevented.html: Ditto.
2887         * fast/dom/remove-body-during-body-replacement2.html: Ditto. Use DOMNodeRemoved instead.
2888         * fast/events/nested-event-remove-node-crash.html: Ditto. Use DOMNodeRemovedFromDocument instead.
2889         * fast/events/onblur-remove-expected.txt:
2890         * fast/events/onblur-remove.html: See above.
2891         * fast/shadow-dom/shadow-root-active-element-crash-expected.txt: Added.
2892         * fast/shadow-dom/shadow-root-active-element-crash.html: Added.
2893
2894 2016-05-27  Brent Fulgham  <bfulgham@apple.com>
2895
2896         CSP: Fire 'load' events even when blocking loads via 'frame-src'.
2897         https://bugs.webkit.org/show_bug.cgi?id=153150
2898         <rdar://problem/24383162>
2899
2900         Reviewed by Daniel Bates.
2901
2902         * TestExpectations: Unskip the cross-origin load test.
2903         * http/tests/security/contentSecurityPolicy/frame-src-cross-origin-load-expected.txt: Update to match
2904         our message format.
2905
2906 2016-05-27  Saam barati  <sbarati@apple.com>
2907
2908         ShadowChicken/DebuggerCallFrame don't properly handle when the entry stack frame is a tail deleted frame
2909         https://bugs.webkit.org/show_bug.cgi?id=158131
2910
2911         Reviewed by Yusuke Suzuki.
2912
2913         * inspector/debugger/resources/tail-deleted-frames-from-vm-entry.js: Added.
2914         (timeout):
2915         (bar):
2916         * inspector/debugger/tail-deleted-frames-from-vm-entry-expected.txt: Added.
2917         * inspector/debugger/tail-deleted-frames-from-vm-entry.html: Added.
2918
2919 2016-05-27  Joanmarie Diggs  <jdiggs@igalia.com>
2920
2921         AX: [ATK] accessibility/gtk/no-notification-for-unrendered-iframe-children.html began failing after r201416
2922         https://bugs.webkit.org/show_bug.cgi?id=158152
2923
2924         Reviewed by Chris Fleizach.
2925
2926         The failure is actually a bug fix because only one child is being added, but two
2927         notifications were being emitted. Now there is only one notification. To verify
2928         this was the case, we really should examine the child reportedly being added. That
2929         child is the ATK event's any_data, so pass along that child to the listener.
2930
2931         The failing test and associated expectations were modified to remove the duplicate
2932         notification and include the title of the added child for the notification we get.
2933
2934         * accessibility/gtk/no-notification-for-unrendered-iframe-children.html: Updated.
2935         * accessibility/gtk/no-notification-for-unrendered-iframe-children-expected.txt: Updated.
2936
2937 2016-05-27  Adam Bergkvist  <adam.bergkvist@ericsson.com>
2938
2939         WebRTC: Update RTCPeerConnection overloaded legacy operations to return a Promise
2940         https://bugs.webkit.org/show_bug.cgi?id=158114
2941
2942         Reviewed by Eric Carlson.
2943
2944         Updated existing tests (see below).
2945
2946         * fast/mediastream/RTCPeerConnection-overloaded-operations-expected.txt:
2947         * fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt:
2948         * fast/mediastream/RTCPeerConnection-overloaded-operations-params.html:
2949         Test various combinations of good and bad arguments and verify that no errors are thrown.
2950         * fast/mediastream/RTCPeerConnection-overloaded-operations.html:
2951         Test that all overloaded versions return a promise.
2952         * fast/mediastream/resources/promise-utils.js: Added.
2953         Shared utils to make it easier to test async promise APIs.
2954         (ensurePromise):
2955         (promiseShouldReject):
2956         (promiseShouldNotRejectWithTypeError.):
2957
2958 2016-05-27  Antoine Quint  <graouts@apple.com>
2959
2960         Video play glyph not visible if initially invisible when contained in a "-webkit-overflow-scrolling: touch" container
2961         https://bugs.webkit.org/show_bug.cgi?id=158146
2962         <rdar://problem/25816307>
2963
2964         Reviewed by Dean Jackson.
2965
2966         Testing that on iOS the play glyph for <video> controls when play button would be initially invisible when contained
2967         in a scrollable container is indeed composited.
2968
2969         * platform/ios-simulator/media/video-play-glyph-composited-outside-overflow-scrolling-touch-container-expected.txt: Added.
2970         * platform/ios-simulator/media/video-play-glyph-composited-outside-overflow-scrolling-touch-container.html: Added.
2971
2972 2016-05-26  Yoav Weiss  <yoav@yoav.ws>
2973
2974         Preload single download tests.
2975         https://bugs.webkit.org/show_bug.cgi?id=157988
2976
2977         Reviewed by Alex Christensen.
2978
2979         Make sure preload is only downloading a single resource, which is properly reused.
2980
2981         * http/tests/preload/resources/single_download_preload.html: Added.
2982         * http/tests/preload/single_download_preload_runner-expected.txt: Added.
2983         * http/tests/preload/single_download_preload_runner.html: Added.
2984
2985 2016-05-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2986
2987         Unreviewed EFL gardening.
2988         Release some passing tests which have been marked to Crash, Failure.
2989
2990         * platform/efl/TestExpectations:
2991
2992 2016-05-26  Nan Wang  <n_wang@apple.com>
2993
2994         AX: Wrong CharacterOffset from VisiblePosition with composed characters
2995         https://bugs.webkit.org/show_bug.cgi?id=158138
2996
2997         Reviewed by Chris Fleizach.
2998
2999         * accessibility/mac/character-offset-visible-position-conversion-with-emoji-expected.txt: Added.
3000         * accessibility/mac/character-offset-visible-position-conversion-with-emoji.html: Added.
3001
3002 2016-05-26  Brent Fulgham  <bfulgham@apple.com>
3003
3004         DOM mutation methods fail to re-check validity of node insertion after removing nodes from old parent
3005         https://bugs.webkit.org/show_bug.cgi?id=81991
3006         <rdar://problem/11120506>
3007
3008         Reviewed by Chris Dumez.
3009
3010         Add a test case for an old DOM mutation bug that was fixed long ago.
3011
3012         * fast/dom/circular-dom-tree-crash-expected.txt: Added.
3013         * fast/dom/circular-dom-tree-crash.html: Added.
3014
3015 2016-05-26  Ryan Haddad  <ryanhaddad@apple.com>
3016
3017         Marking js/function-apply.html as a flaky timeout on mac debug wk2
3018         https://bugs.webkit.org/show_bug.cgi?id=158133
3019
3020         Unreviewed test gardening.
3021
3022         * platform/mac-wk2/TestExpectations:
3023
3024 2016-05-25  Geoffrey Garen  <ggaren@apple.com>
3025
3026         replaceable own properties seem to ignore replacement after property caching
3027         https://bugs.webkit.org/show_bug.cgi?id=158091
3028
3029         Reviewed by Darin Adler.
3030
3031         * js/cached-window-properties.html: Augmneted this test to enter cacheable
3032         dictionary mode in order to demonstrate a bug that is not visible otherwise.
3033
3034         Factored out a helper test function.
3035
3036 2016-05-26  Pranjal Jumde  <pjumde@apple.com>
3037
3038         Sites served over insecure connections should not be allowed to use geolocation.
3039         https://bugs.webkit.org/show_bug.cgi?id=157423
3040         <rdar://problem/23751632>
3041
3042         Reviewed by Brent Fulgham.
3043
3044         Add missing test content from r201423.
3045
3046         * http/tests/security/resources/geolocation-over-insecure-content.html: Added.
3047         * http/tests/security/resources/geolocation-over-mixed-content-block.html: Added.
3048         * http/tests/security/resources/geolocation-over-mixed-content.html: Added.
3049
3050 2016-05-26  Per Arne Vollan  <pvollan@apple.com>
3051
3052         [Win] Update test expectation for imported blink test.
3053         https://bugs.webkit.org/show_bug.cgi?id=158122
3054
3055         Reviewed by Alex Christensen.
3056
3057         The crash on imported/blink/compositing/perspective-origin-overflow-hidden.html
3058         was fixed in https://trac.webkit.org/changeset/192166.
3059
3060         * platform/win/TestExpectations:
3061
3062 2016-05-26  Brady Eidson  <beidson@apple.com>
3063
3064         Release JSC test test-observegc.js.layout failing.
3065         https://bugs.webkit.org/show_bug.cgi?id=158126
3066
3067         Unreviewed.
3068
3069         Move this test to a directory that is less... "special"
3070         
3071         * fast/misc/resources/test-observegc.js: Renamed from LayoutTests/js/script-tests/test-observegc.js.
3072         * fast/misc/test-observegc-expected.txt: Renamed from LayoutTests/js/test-observegc-expected.txt.
3073         * fast/misc/test-observegc.html: Added.
3074         * js/test-observegc.html: Removed.
3075
3076 2016-05-26  Pranjal Jumde  <pjumde@apple.com>
3077
3078         Sites served over insecure connections should not be allowed to use geolocation.
3079         https://bugs.webkit.org/show_bug.cgi?id=157423
3080         <rdar://problem/23751632>
3081
3082         Reviewed by Brent Fulgham.
3083
3084         * http/tests/security/geolocation-over-insecure-content.html: Added.
3085         * http/tests/security/geolocation-over-mixed-content-block.html: Added.
3086         * http/tests/security/geolocation-over-mixed-content.html: Added.
3087         * http/tests/security/insecure-geolocation-expected.txt: Added.
3088         * http/tests/security/insecure-geolocation.html: Added.
3089         * http/tests/security/mixedcontent-geolocation-block-insecure-content-expected.txt: Added.
3090         * http/tests/security/mixedcontent-geolocation-block-insecure-content.html: Added.
3091         * http/tests/security/mixedcontent-geolocation-expected.txt: Added.
3092         * http/tests/security/mixedcontent-geolocation.html: Added.
3093         * http/tests/security/sandboxed-iframe-geolocation-watchPosition.html:
3094           iframe is loaded over secure connection to avoid geolocation failures
3095         * http/tests/security/sandboxed-iframe-geolocation-getCurrentPosition.html: 
3096           iframe is loaded over secure connection to avoid geolocation failures
3097
3098 2016-05-26  Brady Eidson  <beidson@apple.com>
3099
3100         Implement internals.observeGC to get called back when a Javascript object is GC'ed.
3101         https://bugs.webkit.org/show_bug.cgi?id=158093
3102
3103         Reviewed by Geoffrey Garen.
3104
3105         * js/script-tests/test-observegc.js: Added.
3106         * js/test-observegc-expected.txt: Added.
3107         * js/test-observegc.html: Added.
3108
3109 2016-05-26  Myles C. Maxfield  <mmaxfield@apple.com>
3110
3111         [Font Loading] Allow empty strings in FontFace constructor
3112         https://bugs.webkit.org/show_bug.cgi?id=158112
3113
3114         Reviewed by Darin Adler.
3115
3116         * fast/text/font-face-empty-string-expected.txt: Added.
3117         * fast/text/font-face-empty-string.html: Added.
3118
3119 2016-05-26  Adam Bergkvist  <adam.bergkvist@ericsson.com>
3120
3121         WebRTC: RTCSessionDescription: Make attributes readonly (and remove custom binding)
3122         https://bugs.webkit.org/show_bug.cgi?id=157858
3123
3124         Reviewed by Eric Carlson.
3125
3126         * fast/mediastream/RTCSessionDescription-expected.txt:
3127         * fast/mediastream/RTCSessionDescription.html:
3128         Add tests for mandatory constructor dictionary argument and required 'type' member (also
3129         check its value). Verify that attributes are read-only.
3130
3131 2016-05-25  Yoav Weiss  <yoav@yoav.ws>
3132
3133         Fix ResourceTiming multiple entries per resource and test initiator
3134         https://bugs.webkit.org/show_bug.cgi?id=158094
3135
3136         Reviewed by Alex Christensen.
3137
3138         Make sure that CachedResource that was needed by two different elements only adds one entry, with the right (first) initiatorType.
3139
3140         * http/tests/performance/performance-resource-timing-initiator-css.html: Added. Makes sure css has the right initiator type.
3141         * http/tests/performance/performance-resource-timing-initiator-css-expected.txt: Added.
3142         * http/tests/performance/performance-resource-timing-initiator-no-override.html: Added. Makes sure that only one entry is added and
3143         that its initiator info doesn't get overriden.
3144         * http/tests/performance/performance-resource-timing-initiator-no-override-expected.txt: Added.
3145
3146 2016-05-25  Yoav Weiss  <yoav@yoav.ws>
3147
3148         Fix ResourceTiming XHR flakiness
3149         https://bugs.webkit.org/show_bug.cgi?id=158019
3150
3151         Reviewed by Alex Christensen.
3152
3153         Test fixes and additions that make sure XHR tests are not run as part of XHR's onload event, as ResourceTiming entries are added
3154         after it.
3155
3156         * TestExpectations:
3157         * http/tests/performance/performance-resource-timing-cached-entries.html: Avoid running the tests as part of the XHR's load event.
3158         * http/tests/performance/performance-resource-timing-xhr-single-entry-expected.txt: Added.
3159         * http/tests/performance/performance-resource-timing-xhr-single-entry.html: Test that XHR fetch adds a single entry with correct initiatorType.
3160
3161 2016-05-25  Benjamin Poulain  <benjamin@webkit.org>
3162
3163         [JSC] RegExp with deeply nested subexpressions overflow the stack in Yarr
3164         https://bugs.webkit.org/show_bug.cgi?id=158011
3165         rdar://problem/25946592
3166
3167         Reviewed by Saam Barati.
3168
3169         * js/script-tests/stack-overflow-arrity-catch.js:
3170         With the new failure, this test can fail on allocating
3171         the RegExp for a valid reason.
3172
3173         The new expression should not have this issue.
3174         * js/script-tests/stack-overflow-regexp.js: Added.
3175         (shouldThrow.recursiveCall):
3176         (shouldThrow):
3177         (recursiveCall):
3178         * js/stack-overflow-regexp-expected.txt: Added.
3179         * js/stack-overflow-regexp.html: Added.
3180
3181 2016-05-25  Ryan Haddad  <ryanhaddad@apple.com>
3182
3183         Marking imported/blink/http/tests/plugins/get-url-notify-on-removal.html as a flaky timeout
3184         https://bugs.webkit.org/show_bug.cgi?id=158101
3185
3186         Unreviewed test gardening.
3187
3188         * platform/mac/TestExpectations:
3189
3190 2016-05-25  Zalan Bujtas  <zalan@apple.com>
3191
3192         Setting overflow:hidden does not always repaint clipped content.
3193         https://bugs.webkit.org/show_bug.cgi?id=116994
3194         rdar://problem/26476697
3195
3196         Issue repaint for both layout and visual overflow rects when the container starts
3197         clipping overflow content.
3198
3199         Reviewed by David Hyatt.
3200
3201         * fast/repaint/overflow-hidden-repaint-expected.html: Added.
3202         * fast/repaint/overflow-hidden-repaint.html: Added.
3203
3204 2016-05-25  Daniel Bates  <dabates@apple.com> and Brent Fulgham  <bfulgham@apple.com>
3205
3206         [WebSockets] No infrastructure for testing secure web sockets (wss)
3207         https://bugs.webkit.org/show_bug.cgi?id=157884
3208         <rdar://problem/26477197>
3209
3210         Reviewed by Andy Estes.
3211
3212         * http/tests/websocket/tests/hybi/simple-wss-expected.txt: Added.
3213         * http/tests/websocket/tests/hybi/simple-wss.html: Added.
3214
3215 2016-05-25  Ryan Haddad  <ryanhaddad@apple.com>
3216
3217         Marking http/tests/css/shared-stylesheet-mutation.html as flaky
3218         https://bugs.webkit.org/show_bug.cgi?id=158085
3219
3220         Unreviewed test gardening.
3221
3222         * TestExpectations:
3223
3224 2016-05-25  Manuel Rego Casasnovas  <rego@igalia.com>
3225
3226         [css-grid] Update <fixed-size> syntax
3227         https://bugs.webkit.org/show_bug.cgi?id=158063
3228
3229         Reviewed by Darin Adler.
3230
3231         Updated test to check the new expected behavior.
3232
3233         * fast/css-grid-layout/grid-element-auto-repeat-get-set-expected.txt:
3234         * fast/css-grid-layout/grid-element-auto-repeat-get-set.html:
3235
3236 2016-05-25  Zalan Bujtas  <zalan@apple.com>
3237
3238         Swap search field's cancel and result button for RTL content.
3239         https://bugs.webkit.org/show_bug.cgi?id=158007
3240
3241         Reviewed by Dean Jackson.
3242
3243         * fast/forms/resources/common.js:
3244         (searchCancelButtonPositionRTL):
3245         (searchCancelButtonPosition):
3246         * fast/forms/search-input-rtl.html: Added.
3247         * fast/forms/search-rtl.html:
3248         * platform/ios-simulator-wk2/fast/forms/search-rtl-expected.txt:
3249         * platform/ios-simulator/fast/css/text-overflow-input-expected.txt:
3250         * platform/ios-simulator/fast/forms/search-input-rtl-expected.txt: Added.
3251         * platform/mac/fast/css/text-overflow-input-expected.txt:
3252         * platform/mac/fast/forms/placeholder-position-expected.txt:
3253         * platform/mac/fast/forms/search-input-rtl-expected.png: Added.
3254         * platform/mac/fast/forms/search-input-rtl-expected.txt: Added.
3255         * platform/mac/fast/forms/search-rtl-expected.txt:
3256
3257 2016-05-25  Myles C. Maxfield  <mmaxfield@apple.com>
3258
3259         [Font Loading] ASSERT if calling FontFace.loaded twice with a garbage collection between them
3260         https://bugs.webkit.org/show_bug.cgi?id=158015
3261
3262         Reviewed by Darin Adler.
3263
3264         * fast/text/font-face-crash-2-expected.txt: Added.
3265         * fast/text/font-face-crash-2.html: Added.
3266
3267 2016-05-25  Antti Koivisto  <antti@apple.com>
3268
3269         Shadow DOM: RenderTreePosition should determine if element has display:contents from new style
3270         https://bugs.webkit.org/show_bug.cgi?id=158072
3271
3272         Reviewed by Darin Adler.
3273
3274         * fast/shadow-dom/slot-crash.html: Added.
3275
3276 2016-05-25  Chris Dumez  <cdumez@apple.com>
3277
3278         Update dom/Window/messageevent-source-postmessage-reified.html after r201315
3279         https://bugs.webkit.org/show_bug.cgi?id=158048
3280
3281         Reviewed by Darin Adler.
3282
3283         We need to delete a property that is part of the Window's static table
3284         now in order to force the reification.
3285
3286         * fast/dom/Window/messageevent-source-postmessage-reified.html:
3287
3288 2016-05-25  Antoine Quint  <graouts@apple.com>
3289
3290         Elements with backdrop-filter cannot be clipped with clip-path or mask
3291         https://bugs.webkit.org/show_bug.cgi?id=142662
3292         <rdar://problem/20150192>
3293
3294         Reviewed by Dean Jackson.
3295
3296         New test that checks that applying a backdrop-filter and a clip-path on a single
3297         element has the same effect as applying a clip-path on a parent of a child with
3298         a backdrop-filter.
3299
3300         * css3/filters/backdrop/backdrop-filter-with-clip-path-expected.txt: Added.
3301         * css3/filters/backdrop/backdrop-filter-with-clip-path.html: Added.
3302         * platform/ios-simulator/css3/filters/backdrop/backdrop-filter-with-clip-path-expected.html: Added.
3303         * platform/mac/css3/filters/backdrop/backdrop-filter-with-clip-path-expected.png: Added.
3304
3305 2016-05-24  Myles C. Maxfield  <mmaxfield@apple.com>
3306
3307         [Font Loading] Crash during font download failure after garbage collection
3308         https://bugs.webkit.org/show_bug.cgi?id=158013
3309         <rdar://problem/25148032>
3310
3311         Reviewed by Darin Adler.
3312
3313         * fast/text/font-face-crash-expected.txt: Added.
3314         * fast/text/font-face-crash.html: Added.
3315
3316 201-05-24  Ryan Haddad  <ryanhaddad@apple.com>
3317
3318         Unreviewed, rolling out r201349.
3319
3320         This change caused compositing tests to assert on iOS
3321         simulator
3322
3323         Reverted changeset:
3324
3325         "Elements with backdrop-filter cannot be clipped with clip-
3326         path or mask"
3327         https://bugs.webkit.org/show_bug.cgi?id=142662
3328         http://trac.webkit.org/changeset/201349
3329
3330 2016-05-24  Ada Chan  <adachan@apple.com>
3331
3332         Only set overflow:hidden on -webkit-media-controls when the placeholder is showing.
3333         https://bugs.webkit.org/show_bug.cgi?id=157975
3334
3335         Reviewed by Eric Carlson.
3336
3337         This is a Mac only test. The media controls panel should still be visible
3338         even if the media element's height is very short.
3339
3340         * TestExpectations:
3341         * media/mac/controls-panel-not-clipped-out-expected.html: Added.
3342         * media/mac/controls-panel-not-clipped-out.html: Added.
3343         * platform/mac/TestExpectations:
3344
3345         * platform/mac/media/media-document-audio-repaint-expected.txt:
3346         * platform/mac/media/video-zoom-controls-expected.txt:
3347         Rebaseline tests.
3348
3349 2016-05-24  Adam Bergkvist  <adam.bergkvist@ericsson.com>
3350
3351         WebRTC: RTCIceCandidate: Make attributes readonly (and update constructor arg)
3352         https://bugs.webkit.org/show_bug.cgi?id=157859
3353
3354         Reviewed by Eric Carlson.
3355
3356         * fast/mediastream/RTCIceCandidate-expected.txt:
3357         Small unrelated fix: s/a argument/an argument/ (test was previously broken).
3358         * fast/mediastream/RTCIceCandidate.html:
3359         Test without constructor arguments and writing to the read-only attributes.
3360
3361 2016-05-24  Antoine Quint  <graouts@apple.com>
3362
3363         Elements with backdrop-filter cannot be clipped with clip-path or mask
3364         https://bugs.webkit.org/show_bug.cgi?id=142662
3365         <rdar://problem/20150192>
3366
3367         Reviewed by Dean Jackson.
3368
3369         New test that checks that applying a backdrop-filter and a clip-path on a single
3370         element has the same effect as applying a clip-path on a parent of a child with
3371         a backdrop-filter.
3372
3373         * css3/filters/backdrop/backdrop-filter-with-clip-path-expected.txt: Added.
3374         * css3/filters/backdrop/backdrop-filter-with-clip-path.html: Added.
3375         * platform/ios-simulator/css3/filters/backdrop/backdrop-filter-with-clip-path-expected.html: Added.
3376         * platform/mac/css3/filters/backdrop/backdrop-filter-with-clip-path-expected.png: Added.
3377
3378 2016-05-24  Adam Bergkvist  <adam.bergkvist@ericsson.com>
3379
3380         WebRTC: Update failing RTCPeerConnection and RTCRtpSender tests
3381         https://bugs.webkit.org/show_bug.cgi?id=158023
3382
3383         Reviewed by Eric Carlson.
3384
3385         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt:
3386         Update results with more specific TypeError.
3387         * fast/mediastream/RTCRtpSender-replaceTrack-expected.txt:
3388         Update test to match Promise rejections introduce in r201080.
3389
3390 2016-05-24  Zalan Bujtas  <zalan@apple.com>
3391
3392         fast/table/neighboring-cells-when-collapsed-border-changes.html is flaky.
3393         https://bugs.webkit.org/show_bug.cgi?id=158009
3394
3395         Reviewed by David Hyatt.
3396
3397         RenderTable::invalidateCollapsedBorders() early returns on m_collapsedEmptyBorderIsPresent
3398         which prevents us from marking neighboring cells dirty when style changes.
3399         Decouple the "invalidate the collapsed borders" and the "mark the neighboring cells dirty" logic.
3400
3401         * fast/table/border-collapsing/cached-change-cell-border-width-expected.txt: Progression. FF agrees.
3402         * fast/table/neighboring-cells-when-collapsed-border-changes.html:
3403         * platform/ios-simulator-wk1/fast/table/border-collapsing/cached-change-cell-border-width-expected.txt:
3404         * platform/mac-wk1/TestExpectations:
3405         * platform/mac/fast/table/border-collapsing/cached-change-cell-border-width-expected.txt:
3406
3407 2016-05-24  Ryan Haddad  <ryanhaddad@apple.com>
3408
3409         Marking mathml/wbr-in-mroot-crash.html as flaky on ios-simulator-wk2
3410         https://bugs.webkit.org/show_bug.cgi?id=157990
3411
3412         Unreviewed test gardening.
3413
3414         * platform/ios-simulator-wk2/TestExpectations:
3415
3416 2016-05-24  Ryan Haddad  <ryanhaddad@apple.com>
3417
3418         Unreviewed, rolling out r201323.
3419
3420         One of the LayoutTests added with this change fails on all
3421         platforms. Rolling out until ResourceTiming flakiness fix is
3422         landed
3423
3424         Reverted changeset:
3425
3426         "Add a few initiator tests to resource timing."
3427         https://bugs.webkit.org/show_bug.cgi?id=157986
3428         http://trac.webkit.org/changeset/201323
3429
3430 2016-05-24  Alex Christensen  <achristensen@webkit.org>
3431
3432         Unskip passing test after r201336
3433         https://bugs.webkit.org/show_bug.cgi?id=156812
3434
3435         * platform/ios-simulator/TestExpectations:
3436         compositing/webgl/webgl-reflection.html passes now.
3437
3438 2016-05-24  Filip Pizlo  <fpizlo@apple.com>
3439
3440         LLInt64 should have typed array fast paths for get_by_val
3441         https://bugs.webkit.org/show_bug.cgi?id=157931
3442
3443         Reviewed by Keith Miller.
3444
3445         * js/regress/get_by_val-Int32Array-expected.txt: Added.
3446         * js/regress/get_by_val-Int32Array.html: Added.
3447         * js/regress/script-tests/get_by_val-Int32Array.js: Added.
3448
3449 2016-05-24  Carlos Garcia Campos  <cgarcia@igalia.com>
3450
3451         Unreviewed GTK+ gardening. Rebaseline several tests after r200116.
3452
3453         We are now correctly positioning RTL scrollbars.
3454
3455         * platform/gtk/fast/block/float/026-expected.png:
3456         * platform/gtk/fast/block/float/026-expected.txt:
3457         * platform/gtk/fast/block/float/028-expected.png:
3458         * platform/gtk/fast/block/float/028-expected.txt:
3459         * platform/gtk/fast/overflow/unreachable-overflow-rtl-bug-expected.png:
3460         * platform/gtk/fast/overflow/unreachable-overflow-rtl-bug-expected.txt:
3461
3462 2016-05-24  Carlos Garcia Campos  <cgarcia@igalia.com>
3463
3464         Unreviewed GTK+ gardening. Fix wrong expectations of fast/harness/sample-fail-mismatch-reftest.html.
3465
3466         The test is flaky, but in this case  Pass means it failed and ImageOnlyFailure that it passed.
3467
3468         * platform/gtk/TestExpectations:
3469
3470 2016-05-24  Manuel Rego Casasnovas  <rego@igalia.com>
3471
3472         [css-grid] Fix behavior of flexible track breadths
3473         https://bugs.webkit.org/show_bug.cgi?id=157834
3474
3475         Reviewed by Sergio Villar Senin.
3476
3477         This patch is fixing 2 issues that are interrelated:
3478         1) Flex sizes are invalid as min track sizing function.
3479         2) Flex sizes outside minmax() behave as auto minimum.
3480
3481         The patch includes new test cases checking specifically these 2 issues.
3482         In addition several tests results have been updated to reflect
3483         the new behavior. Also, some cases that are now invalid and
3484         were not testing anything new have been removed.
3485
3486         * fast/css-grid-layout/flex-and-content-sized-resolution-columns-expected.txt:
3487         * fast/css-grid-layout/flex-and-content-sized-resolution-columns.html:
3488         * fast/css-grid-layout/flex-content-resolution-columns-expected.txt:
3489         * fast/css-grid-layout/flex-content-resolution-columns.html:
3490         * fast/css-grid-layout/flex-content-resolution-rows-expected.txt:
3491         * fast/css-grid-layout/flex-content-resolution-rows.html:
3492         * fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
3493         * fast/css-grid-layout/grid-gutters-and-flex-content-expected.txt:
3494         * fast/css-grid-layout/grid-gutters-and-flex-content.html:
3495         * fast/css-grid-layout/grid-preferred-logical-widths.html:
3496         * fast/css-grid-layout/non-grid-columns-rows-get-set-expected.txt:
3497         * fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
3498         * fast/css-grid-layout/resources/non-grid-columns-rows-get-set.js:
3499
3500 2016-05-24  Youenn Fablet  <youenn.fablet@crf.canon.fr>
3501
3502         [Fetch API] Implement Fetch redirect mode
3503         https://bugs.webkit.org/show_bug.cgi?id=157837
3504
3505         Reviewed by Alex Christensen.
3506
3507         * http/tests/fetch/caching-with-different-options-expected.txt: Added.
3508         * http/tests/fetch/caching-with-different-options.html: Added.
3509         * http/tests/fetch/resources/redirect-with-cache.php: Added.
3510         * platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-location-expected.txt:
3511         * platform/gtk/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method-expected.txt:
3512
3513 2016-05-23  Yoav Weiss  <yoav@yoav.ws>
3514
3515         Add a few initiator tests to resource timing.
3516         https://bugs.webkit.org/show_bug.cgi?id=157986
3517