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