Enhance shouldBe()/shouldNotBe() to accept anonymous function arguments
[WebKit-https.git] / LayoutTests / ChangeLog
1 2017-04-27  David Kilzer  <ddkilzer@apple.com>
2
3         Enhance shouldBe()/shouldNotBe() to accept anonymous function arguments
4         <https://webkit.org/b/171362>
5         <rdar://problem/31867686>
6
7         Reviewed by Joseph Pecoraro.
8
9         This change makes it possible to pass either the first or second
10         argument (or both) as anonymous functions into shouldBe() and
11         shouldNotBe() to make it easy to capture local variables when
12         writing tests.  This is similar to the change in r202609 for Bug
13         159232 for shouldThrow() and shouldNotThrow().
14
15         Note that shouldBe()/shouldNotBe() from the following files were
16         NOT updated since they were imported from other projects and did
17         share the full WebKit history of resources/js-test-pre.js:
18
19             http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js
20             js/mozilla/resources/js-test-pre.js
21             webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js
22             webgl/1.0.3/resources/webgl_test_files/resources/js-test-pre.js
23
24         However, these files WERE brought up-to-date with the ability to
25         pass anonymous functions into shouldBe()/shouldNotBe() for this
26         bug, and shouldThrow()/shouldNotThrow() which should have
27         originally been fixed with Bug 159232:
28
29             http/tests/resources/js-test-pre.js
30             resources/standalone-pre.js
31
32         * css3/scroll-snap/resources/iframe-content.html: Drive-by fix
33         to debug message for copy-paste error.  Found by searching
34         LayoutTests directory for "expects string arguments".
35
36         * fast/canvas/webgl/array-unit-tests-expected.txt: Update test
37         results.
38         * fast/canvas/webgl/array-unit-tests.html: Fix warning by making
39         second argument to shouldBe() a string.
40
41         * fast/css/script-tests/image-set-parsing.js:
42         (testImageSetRule): Remove comment by changing second argument
43         to shouldBe() into an anonymous function.
44
45         * http/tests/resources/js-test-pre.js:
46         (evalAndLog):
47         (evalAndLogResult):
48         (shouldBe):
49         (shouldNotBe):
50         (shouldEvaluateTo):
51         - Made a full copy of resources/js-test-pre.js to bring this up
52           to speed.  Needs a checker written for it to keep them in sync.
53         * http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt:
54         * http/tests/security/xssAuditor/block-does-not-leak-referrer-expected.txt:
55         - Update line numbers after updating http/tests/resources/js-test-pre.js.
56
57         * js/function-declarations-in-switch-statement-expected.txt:
58         - Update results after fixing warnings.
59         * js/script-tests/function-declarations-in-switch-statement.js:
60         - Fix warnings by passing in strings to shouldBe().
61
62         * js/script-tests/stack-unwinding.js:
63         - Update results after fixing warnings.
64         * js/stack-unwinding-expected.txt:
65         - Fix warnings by passing in strings to shouldBe().
66
67         * resources/js-test-pre.js:
68         (shouldBe):
69         (shouldNotBe):
70         * resources/js-test.js:
71         (shouldBe):
72         (shouldNotBe):
73         - Update shouldBe()/shouldNotBe() to accept anonymous function
74           arguments.
75
76         * resources/standalone-pre.js:
77         (shouldBe):
78         (shouldNotBe):
79         (shouldNotThrow):
80         (shouldThrow):
81         - Update shouldBe()/shouldNotBe() to accept anonymous function
82           arguments.
83         - Also fix shouldThrow()/shouldNotThrow() to accept anonymous
84           function arguments (which were missed in r202609 for Bug
85           159232).
86
87 2017-04-27  Chris Dumez  <cdumez@apple.com>
88
89         Element.getBoundingClientRect() / getClientRects() should return a DOMRect types
90         https://bugs.webkit.org/show_bug.cgi?id=171226
91
92         Reviewed by Simon Fraser.
93
94         Update existing tests to reflect behavior change.
95
96         * TestExpectations:
97         * css3/flexbox/align-absolute-child-expected.txt:
98         * fast/css/ClientRect-attributes-prototype-expected.txt: Removed.
99         * fast/css/ClientRect-attributes-prototype.html: Removed.
100         * fast/css/ClientRect-serialization-expected.txt: Removed.
101         * fast/css/ClientRect-serialization.html: Removed.
102         * fast/css/DOMRect-attributes-prototype-expected.txt: Added.
103         * fast/css/DOMRect-attributes-prototype.html: Added.
104         * fast/css/DOMRect-serialization-expected.txt: Added.
105         * fast/css/DOMRect-serialization.html: Added.
106         * fast/dom/Element/getClientRects-return-type-expected.txt: Added.
107         * fast/dom/Element/getClientRects-return-type.html: Added.
108         * fast/dom/collection-iterators-expected.txt:
109         * fast/dom/collection-iterators.html:
110         * fast/visual-viewport/zoomed-fixed-expected.txt:
111         * fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt:
112         * fast/zooming/client-rect-in-fixed-zoomed-expected.txt:
113         * fast/zooming/client-rect-in-fixed-zoomed.html:
114         * js/resources/JSON-stringify.js:
115
116 2017-04-27  Ryan Haddad  <ryanhaddad@apple.com>
117
118         Mark media/modern-media-controls/fullscreen-button/fullscreen-button.html as flaky.
119         https://bugs.webkit.org/show_bug.cgi?id=171391
120
121         Unreviewed test gardening.
122
123         * platform/mac-wk1/TestExpectations:
124
125 2017-04-27  Ryan Haddad  <ryanhaddad@apple.com>
126
127         Mark http/tests/security/contentSecurityPolicy/source-list-parsing-05.html as flaky.
128         https://bugs.webkit.org/show_bug.cgi?id=171389
129
130         Unreviewed test gardening.
131
132         * platform/ios-wk2/TestExpectations:
133
134 2017-04-27  Ryan Haddad  <ryanhaddad@apple.com>
135
136         Mark http/tests/xmlhttprequest/workers/methods.html as flaky.
137         https://bugs.webkit.org/show_bug.cgi?id=170181
138
139         Unreviewed test gardening.
140
141         * platform/ios-wk2/TestExpectations:
142
143 2017-04-27  Joanmarie Diggs  <jdiggs@igalia.com>
144
145         AX: Expose elements with the ARIA "feed" role
146         https://bugs.webkit.org/show_bug.cgi?id=171184
147
148         Reviewed by Chris Fleizach.
149
150         Add "feed" role to roles-exposed.html, xml-roles-exposed.html, and
151         roles-computedRoleString.html. Update expectations accordingly.
152
153         * accessibility/gtk/xml-roles-exposed-expected.txt:
154         * accessibility/gtk/xml-roles-exposed.html:
155         * accessibility/roles-computedRoleString.html:
156         * accessibility/roles-exposed.html:
157         * platform/gtk/accessibility/roles-exposed-expected.txt:
158         * platform/mac/accessibility/roles-computedRoleString-expected.txt:
159         * platform/mac/accessibility/roles-exposed-expected.txt:
160
161 2017-04-27  Myles C. Maxfield  <mmaxfield@apple.com>
162
163         REGRESSION(r214572): Update fast/text/variations/advances.html to understand normalized variation widths
164         https://bugs.webkit.org/show_bug.cgi?id=171356
165         <rdar://problem/28670085>
166
167         Reviewed by Dean Jackson.
168
169         Unspecified 'wdth' axis values are being normalized because the font is a GX font. However, this
170         font assumes no normalization, which means one of the comparisons in the test is bogus.
171
172         * fast/text/variations/advances-expected.txt:
173         * fast/text/variations/advances.html:
174         * platform/ios/TestExpectations:
175         * platform/mac/TestExpectations:
176
177 2017-04-27  Antti Koivisto  <antti@apple.com>
178
179         Skip css3/viewport-percentage-lengths/vh-auto-size.html on WK1.
180
181         Looks like use of auto-sizing leaves state behind in DRT.
182
183         * platform/mac-wk1/TestExpectations:
184
185 2017-04-27  Ryan Haddad  <ryanhaddad@apple.com>
186
187         Mark media/modern-media-controls/buttons-container/buttons-container-buttons-property.html as flaky.
188         https://bugs.webkit.org/show_bug.cgi?id=167371
189
190         Unreviewed test gardening.
191
192         * platform/mac-wk1/TestExpectations:
193
194 2017-04-27  Ryan Haddad  <ryanhaddad@apple.com>
195
196         Mark webgl/1.0.2/conformance/glsl/misc/shader-with-reserved-words.html as flaky.
197         https://bugs.webkit.org/show_bug.cgi?id=170877
198
199         Unreviewed test gardening.
200
201         * platform/mac-wk1/TestExpectations:
202
203 2017-04-27  Zalan Bujtas  <zalan@apple.com>
204
205         Use text-shadow to visualize simple line layout coverage.
206         https://bugs.webkit.org/show_bug.cgi?id=171379
207
208         Reviewed by Antti Koivisto.
209
210         * fast/inline/simple-line-layout-16bit-content-expected-mismatch.html: Added.
211         * fast/inline/simple-line-layout-16bit-content-expected.html: Removed.
212         * fast/inline/simple-line-layout-16bit-content.html:
213
214 2017-04-27  Joanmarie Diggs  <jdiggs@igalia.com>
215
216         [ATK] ARIA alertdialogs should be exposed with ROLE_DIALOG
217         https://bugs.webkit.org/show_bug.cgi?id=171187
218
219         Reviewed by Chris Fleizach.
220
221         * accessibility/aria-mappings-expected.txt: Updated.
222         * accessibility/gtk/xml-roles-exposed-expected.txt: Updated.
223         * platform/gtk/accessibility/roles-exposed-expected.txt: Updated.
224
225 2017-04-27  Myles C. Maxfield  <mmaxfield@apple.com>
226
227         Make fast/text/complex-small-caps-non-bmp-capitalize.html more robust
228         https://bugs.webkit.org/show_bug.cgi?id=171366
229         <rdar://problem/30060323>
230
231         Reviewed by Alex Christensen.
232
233         This test needs a font which supports Deseret but doesn't support small caps.
234         Geneva is a better choice for such a font.
235
236         * fast/text/complex-small-caps-non-bmp-capitalize-expected.html:
237         * fast/text/complex-small-caps-non-bmp-capitalize.html:
238
239 2017-04-27  Antti Koivisto  <antti@apple.com>
240
241         Repeated layouts in Mail due to viewport units being used with auto-sizing
242         https://bugs.webkit.org/show_bug.cgi?id=171371
243         <rdar://problem/28780084>
244
245         Reviewed by Zalan Bujtas.
246
247         * css3/viewport-percentage-lengths/vh-auto-size-expected.html: Added.
248         * css3/viewport-percentage-lengths/vh-auto-size.html: Added.
249
250 2017-04-27  Joanmarie Diggs  <jdiggs@igalia.com>
251
252         AX: Inconsistent exposure of ARIA "button" role with non-false value of aria-haspopup
253         https://bugs.webkit.org/show_bug.cgi?id=171204
254
255         Reviewed by Chris Fleizach.
256
257         It turns out that this bug was fixed as a side effect of the changes made
258         to fix WebKitGtk bug 171164 (r215821). But we didn't realize it due to the
259         lack of an existing layout test covering the mappings for other platforms.
260         The test created for the WebKitGtk port was modified and moved to the shared
261         tests. Shared expectations are based on the Mac's mappings.
262
263         * accessibility/button-with-aria-haspopup-role-expected.txt: Added.
264         * accessibility/button-with-aria-haspopup-role.html: Renamed from LayoutTests/accessibility/gtk/button-with-aria-haspopup-is-not-a-combobox.html.
265         * accessibility/gtk/button-with-aria-haspopup-is-not-a-combobox-expected.txt: Removed.
266         * platform/gtk/accessibility/button-with-aria-haspopup-role-expected.txt: Added.
267
268 2017-04-27  Ryan Haddad  <ryanhaddad@apple.com>
269
270         Mark http/tests/local/blob/send-hybrid-blob-using-open-panel.html as flaky.
271         https://bugs.webkit.org/show_bug.cgi?id=171353
272
273         Unreviewed test gardening.
274
275         * platform/ios-wk2/TestExpectations:
276
277 2017-04-27  Frederic Wang  <fwang@igalia.com>
278
279         Fix some tests from platform-tests/cssom-view/cssom-view/
280         https://bugs.webkit.org/show_bug.cgi?id=171228
281
282         Reviewed by Youenn Fablet.
283
284         * TestExpectations: Unskip media-query-list-interface.
285
286 2017-04-27  Zalan Bujtas  <zalan@apple.com>
287
288         Text gets cut off when bailing out of simple line layout with widows.
289         https://bugs.webkit.org/show_bug.cgi?id=171370
290         <rdar://problem/31563414>
291
292         Reviewed by Antti Koivisto.
293
294         * fast/multicol/simple-line-layout-widows-when-switching-over-to-normal-line-layout-expected.html: Added.
295         * fast/multicol/simple-line-layout-widows-when-switching-over-to-normal-line-layout.html: Added.
296
297 2017-04-26  Chris Dumez  <cdumez@apple.com>
298
299         Unreviewed, remove unnecessary expected result in platform/ios-wk2
300
301         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: Removed.
302         * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
303
304 2017-04-26  Joseph Pecoraro  <pecoraro@apple.com>
305
306         Web Inspector: Uint8ClampedArray should be treated like an array, not an object
307         https://bugs.webkit.org/show_bug.cgi?id=171364
308         <rdar://problem/10873037>
309
310         Reviewed by Sam Weinig.
311
312         * inspector/model/remote-object-expected.txt:
313         * inspector/model/remote-object.html:
314         * platform/mac/inspector/model/remote-object-expected.txt:
315         Test a Uint8ClampedArray is treated like an array.
316
317 2017-04-26  Saam Barati  <sbarati@apple.com>
318
319         ASSERTION FAILED: inIndex != notFound in JSC::invalidParameterInSourceAppender()
320         https://bugs.webkit.org/show_bug.cgi?id=170924
321         <rdar://problem/31721052>
322
323         Reviewed by Mark Lam.
324
325         * js/let-syntax-expected.txt:
326
327 2017-04-26  Joanmarie Diggs  <jdiggs@igalia.com>
328
329         [ATK] ARIA buttons which have a popup should be ATK_ROLE_PUSH_BUTTON; not ATK_ROLE_COMBO_BOX
330         https://bugs.webkit.org/show_bug.cgi?id=171182
331
332         Reviewed by Chris Fleizach.
333
334         * accessibility/gtk/button-with-aria-haspopup-is-not-a-combobox-expected.txt: Added.
335         * accessibility/gtk/button-with-aria-haspopup-is-not-a-combobox.html: Added.
336
337 2017-04-26  Tim Horton  <timothy_horton@apple.com>
338
339         Should not drag x-apple-data-detectors links
340         https://bugs.webkit.org/show_bug.cgi?id=171352
341         <rdar://problem/31309081>
342
343         Reviewed by Beth Dakin.
344
345         * fast/events/do-not-drag-and-drop-data-detectors-link-expected.txt: Added.
346         * fast/events/do-not-drag-and-drop-data-detectors-link.html: Added.
347
348 2017-04-26  Tim Horton  <timothy_horton@apple.com>
349
350         Revert accidentally smushed commit.
351
352         * TestExpectations:
353         * fast/events/do-not-drag-and-drop-data-detectors-link-expected.txt: Removed.
354         * fast/events/do-not-drag-and-drop-data-detectors-link.html: Removed.
355         * platform/mac/TestExpectations:
356
357 2017-04-26  Matt Lewis  <jlewis3@apple.com>
358
359         Re-baseline inspector/dom/getAccessibilityPropertiesForNode.html after r215821
360         https://bugs.webkit.org/show_bug.cgi?id=171346
361
362         Unreviewed test gardening.
363
364         * inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
365
366 2017-04-26  Joanmarie Diggs  <jdiggs@igalia.com>
367
368         [ATK] Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE
369         https://bugs.webkit.org/show_bug.cgi?id=171163
370
371         Reviewed by Chris Fleizach.
372
373         * accessibility/gtk/aria-current-changed-notification-expected.txt: Added.
374         * accessibility/gtk/aria-current-changed-notification.html: Added.
375         * accessibility/gtk/aria-current-expected.txt: Added.
376         * accessibility/gtk/aria-current.html: Added.
377
378 2017-04-26  Youenn Fablet  <youenn@apple.com>
379
380         LayoutTest webrtc/datachannel/bufferedAmountLowThreshold.html is a flaky failure
381         https://bugs.webkit.org/show_bug.cgi?id=170701
382
383         Reviewed by Eric Carlson.
384
385         * platform/mac-wk1/TestExpectations: Removing flaky expectation.
386         * webrtc/datachannel/bufferedAmountLowThreshold-expected.txt:
387         * webrtc/datachannel/bufferedAmountLowThreshold.html:
388
389 2017-04-26  Said Abou-Hallawa  <sabouhallawa@apple.com>
390
391         Restrict WebKit image formats to a known whitelist
392         https://bugs.webkit.org/show_bug.cgi?id=170700
393
394         Reviewed by Tim Horton.
395
396         * fast/images/image-formats-support-expected.txt: Added.
397         * fast/images/image-formats-support.html: Added.
398         * fast/images/resources/100x100-red-psd-renamed.png: Added.
399         * fast/images/resources/100x100-red-tga-renamed.png: Added.
400         * fast/images/resources/100x100-red.psd: Added.
401         * fast/images/resources/100x100-red.tga: Added.
402
403 2017-04-26  Matt Lewis  <jlewis3@apple.com>
404
405         Mark swipe/main-frame-pinning-requirement.html as a flaky failure on mac-wk2.
406         https://bugs.webkit.org/show_bug.cgi?id=170484
407
408         Reviewed by Alexey Proskuryakov.
409
410         * platform/mac-wk2/TestExpectations:
411
412 2017-04-26  Chris Dumez  <cdumez@apple.com>
413
414         Re-sync html/browsers/the-window-object web-platform-tests from upstream
415         https://bugs.webkit.org/show_bug.cgi?id=171313
416
417         Reviewed by Alex Christensen.
418
419         * tests-options.json:
420
421 2017-04-26  Joanmarie Diggs  <jdiggs@igalia.com>
422
423         [ATK] Implement support for new ARIA 1.1 values of aria-haspopup
424         https://bugs.webkit.org/show_bug.cgi?id=171164
425
426         Reviewed by Chris Fleizach.
427
428         In addition to the new test, update xml-roles-exposed.html's expectations
429         because the implicit value of aria-haspopup for the combobox role is now
430         listbox, and that value should be exposed via an AtkObject attribute.
431
432         * accessibility/gtk/aria-haspopup-expected.txt: Added.
433         * accessibility/gtk/aria-haspopup.html: Added.
434         * accessibility/gtk/xml-roles-exposed-expected.txt:
435
436 2017-04-26  Simon Fraser  <simon.fraser@apple.com>
437
438         http/tests/frame-throttling tests failing on iOS
439         https://bugs.webkit.org/show_bug.cgi?id=171314
440         rdar://problem/31691134
441
442         Reviewed by Chris Dumez.
443
444         The tests use UIHelper.activateAt(), which in DumpRenderTree dispatches mouse events via EventSender, and in iOS WK2 uses
445         UIScriptController to dispatch touch events. The former just use standard hit testing, which works fine.
446         The latter go via Frame::qualifyingNodeAtViewportLocation(), which calls ancestorRespondingToClickEvents()
447         and does area hit testing, and this fails to find anything clickable inside the <iframe>s.
448
449         Fix by putting a div with an onlick handler inside the iframes, and adjusting the click
450         locations.
451
452         * http/tests/frame-throttling/raf-throttle-in-cross-origin-subframe.html:
453         * http/tests/frame-throttling/resources/requestAnimationFrame-frame.html:
454         * http/tests/frame-throttling/resources/timer-throttling-frame.html:
455         * http/tests/frame-throttling/timer-throttle-in-cross-origin-subframe.html:
456
457 2017-04-26  Matt Lewis  <jlewis3@apple.com>
458
459         Removing Flaky timeout expectation for swipe/main-frame-pinning-requirement.html.
460         https://bugs.webkit.org/show_bug.cgi?id=161887
461
462         Reviewed by Tim Horton.
463
464         * platform/mac-wk2/TestExpectations:
465
466 2017-04-25  Dean Jackson  <dino@apple.com>
467
468         [Color] Make gradients work with ExtendedColors
469         https://bugs.webkit.org/show_bug.cgi?id=171315
470         <rdar://problems/31830177>
471
472         Reviewed by Antoine Quint.
473
474         Test for gradients using the color() syntax. Unfortunately,
475         due to rounding errors, we can't use a ref test for some
476         transparent colors, so comment them out for the moment.
477         These can be re-enabled when we can specify a tolerance
478         value for image comparison in the testing framework.
479
480         * css3/color/gradients-expected.html: Added.
481         * css3/color/gradients.html: Added.
482
483 2017-04-26  Zalan Bujtas  <zalan@apple.com>
484
485         Forced page break on :after triggers infinite loop in column balancing
486         https://bugs.webkit.org/show_bug.cgi?id=171309
487         rdar://problem/26285884
488
489         Reviewed by David Hyatt.
490
491         * fast/multicol/infinite-loop-when-forced-break-expected.txt: Added.
492         * fast/multicol/infinite-loop-when-forced-break.html: Added.
493
494 2017-04-26  Ryan Haddad  <ryanhaddad@apple.com>
495
496         Unreviewed, rolling out r215767.
497
498         The LayoutTest for this change is a flaky failure.
499
500         Reverted changeset:
501
502         "Restrict WebKit image formats to a known whitelist"
503         https://bugs.webkit.org/show_bug.cgi?id=170700
504         http://trac.webkit.org/changeset/215767
505
506 2017-04-24  Sergio Villar Senin  <svillar@igalia.com>
507
508         [css-grid] Remove most of the usage of SizingOperation
509         https://bugs.webkit.org/show_bug.cgi?id=171225
510
511         Reviewed by Darin Adler.
512
513         Added a new test case which was working correctly but that was not properly tested before.
514
515         * fast/css-grid-layout/grid-track-sizing-with-percentages-and-orthogonal-flows-expected.txt:
516         * fast/css-grid-layout/grid-track-sizing-with-percentages-and-orthogonal-flows.html:
517
518 2017-04-25  Joseph Pecoraro  <pecoraro@apple.com>
519
520         [mac-wk1 Debug] LayoutTest http/tests/inspector/network/resource-sizes-network.html is a flaky failure
521         https://bugs.webkit.org/show_bug.cgi?id=170953
522
523         Reviewed by Brian Burg.
524
525         * http/tests/inspector/network/resource-sizes-disk-cache.html:
526         * http/tests/inspector/network/resource-sizes-network.html:
527         Read the entire data to ensure the load is complete before we notify the frontend.
528
529         * platform/mac-wk1/TestExpectations:
530         * platform/mac-wk2/TestExpectations:
531         Unflake these tests, they should be more reliable now.
532
533 2017-04-25  Youenn Fablet  <youenn@apple.com>
534
535         fast/mediastream/RTCPeerConnection-icecandidate-event.html is flaky
536         https://bugs.webkit.org/show_bug.cgi?id=171242
537
538         Reviewed by Alex Christensen.
539
540         * TestExpectations:
541         * fast/mediastream/RTCPeerConnection-icecandidate-event-expected.txt:
542         * fast/mediastream/RTCPeerConnection-icecandidate-event.html: Updating test to be more deterministic.
543
544 2017-04-25  Brent Fulgham  <bfulgham@apple.com>
545
546         Relax the event firing ASSERT for Attr changes
547         https://bugs.webkit.org/show_bug.cgi?id=171236
548         <rdar://problem/30516349>
549
550         Reviewed by Dean Jackson.
551
552         * fast/dom/HTMLLinkElement/event-while-removing-attribute-expected.txt: Added.
553         * fast/dom/HTMLLinkElement/event-while-removing-attribute.html: Added.
554
555 2017-04-25  Dean Jackson  <dino@apple.com>
556
557         REGRESSION (r214129): fast/media/mq-prefers-reduced-motion.html fails
558         https://bugs.webkit.org/show_bug.cgi?id=171303
559         <rdar://problem/31434879>
560
561         Reviewed by Brent Fulgham.
562
563         This particular test was calling notifyDone() from within
564         a callback triggered by the UIScriptController script, which
565         meant that by the time the controller tried to call its callback,
566         the test had finished.
567
568         * fast/media/mq-prefers-reduced-motion-matchMedia.html: Make sure
569         notifyDone is called after both the callback-like functions have
570         triggered.
571
572 2017-04-25  John Wilander  <wilander@apple.com>
573
574         Resource Load Statistics: Introduce shorter time-to-live for cookie partition whitelisting
575         https://bugs.webkit.org/show_bug.cgi?id=171295
576         <rdar://problem/31823818>
577
578         Reviewed by Brent Fulgham.
579
580         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html:
581             Changed a TestRunner function name to
582             statisticsFireShouldPartitionCookiesHandlerForOneDomain().
583         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout-expected.txt: Added.
584         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-with-partitioning-timeout.html: Added.
585         * http/tests/loading/resourceLoadStatistics/partitioned-cookies-with-and-without-user-interaction.html:
586             Changed a TestRunner function name to
587             statisticsFireShouldPartitionCookiesHandlerForOneDomain().
588
589 2017-04-25  Commit Queue  <commit-queue@webkit.org>
590
591         Unreviewed, rolling out r215476.
592         https://bugs.webkit.org/show_bug.cgi?id=171304
593
594         "It broke JSBench" (Requested by saamyjoon on #webkit).
595
596         Reverted changeset:
597
598         "[ES6]. Implement Annex B.3.3 function hoisting rules for
599         eval"
600         https://bugs.webkit.org/show_bug.cgi?id=163208
601         http://trac.webkit.org/changeset/215476
602
603 2017-04-25  Saam Barati  <sbarati@apple.com>
604
605         JSArray::isArrayPrototypeIteratorProtocolFastAndNonObservable is wrong because it does not do the necessary checks on the base object
606         https://bugs.webkit.org/show_bug.cgi?id=171150
607         <rdar://problem/31771880>
608
609         Reviewed by Sam Weinig.
610
611         * js/sequence-iterator-protocol-2-expected.txt: Added.
612         * js/sequence-iterator-protocol-2.html: Added.
613         * js/sequence-iterator-protocol-expected.txt: Added.
614         * js/sequence-iterator-protocol.html: Added.
615
616 2017-04-25  Ryan Haddad  <ryanhaddad@apple.com>
617
618         Mark media/modern-media-controls/pip-support/pip-support-click.html as flaky.
619         https://bugs.webkit.org/show_bug.cgi?id=165311
620
621         Unreviewed test gardening.
622
623         * platform/mac/TestExpectations:
624
625 2017-04-25  Ryan Haddad  <ryanhaddad@apple.com>
626
627         Mark http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-invalidnonce.html as flaky.
628         https://bugs.webkit.org/show_bug.cgi?id=171301
629
630         Unreviewed test gardening.
631
632         * platform/ios-wk2/TestExpectations:
633
634 2017-04-25  Ryan Haddad  <ryanhaddad@apple.com>
635
636         Unreviewed, rolling out r215730.
637
638         The LayoutTest for this change is a flaky timeout on mac-wk1
639         debug.
640
641         Reverted changeset:
642
643         "Enable expired-only reload policy on Mac and iOS"
644         https://bugs.webkit.org/show_bug.cgi?id=171264
645         http://trac.webkit.org/changeset/215730
646
647 2017-04-25  Said Abou-Hallawa  <sabouhallawa@apple.com>
648
649         Restrict WebKit image formats to a known whitelist
650         https://bugs.webkit.org/show_bug.cgi?id=170700
651
652         Reviewed by Tim Horton.
653
654         * fast/images/image-formats-support-expected.txt: Added.
655         * fast/images/image-formats-support.html: Added.
656         * fast/images/resources/100x100-red-psd-renamed.png: Added.
657         * fast/images/resources/100x100-red-tga-renamed.png: Added.
658         * fast/images/resources/100x100-red.psd: Added.
659         * fast/images/resources/100x100-red.tga: Added.
660
661 2017-04-25  Tim Horton  <timothy_horton@apple.com>
662
663         Deduplicate some lines in the toplevel TestExpectations
664
665         * TestExpectations:
666         Remove a duplicate line and consolidate another.
667
668 2017-04-25  Chris Dumez  <cdumez@apple.com>
669
670         Element.dataset.name incorrectly returns undefined
671         https://bugs.webkit.org/show_bug.cgi?id=161454
672         <rdar://problem/31818563>
673
674         Reviewed by Mark Lam.
675
676         Add layout test for JS caching bug on DOMStringMap that was fixed as part
677         of a large named property getter refactoring in r210667.
678
679         * fast/dom/dataset-caching-bug-expected.txt: Added.
680         * fast/dom/dataset-caching-bug.html: Added.
681
682 2017-04-25  Myles C. Maxfield  <mmaxfield@apple.com>
683
684         Supplementary Multilingual Plane Complex Scripts Rendered Incorrectly
685         https://bugs.webkit.org/show_bug.cgi?id=171272
686         <rdar://problem/30966764>
687
688         Reviewed by Zalan Bujtas.
689
690         * fast/text/kaithi-expected.html: Added.
691         * fast/text/kaithi.html: Added.
692         * platform/ios/TestExpectations:
693         * platform/mac/TestExpectations:
694
695 2017-04-25  Daniel Bates  <dabates@apple.com>
696
697         [Cocoa][Win] Enable of X-Content-Type-Options: nosniff header
698         https://bugs.webkit.org/show_bug.cgi?id=136452
699         <rdar://problem/23412620>
700
701         Reviewed by Brent Fulgham.
702
703         Unskip nosniff tests on Mac, iOS and Windows and update expected results now that
704         we support X-Content-Type-Options: nosniff.
705
706         Merge Blink test from <https://src.chromium.org/viewvc/blink?revision=168570&view=revision>.
707
708         * TestExpectations: Unskip all nosniff tests except imported/w3c/web-platform-tests/fetch/nosniff/importscripts.html.
709         We need to fix <https://bugs.webkit.org/show_bug.cgi?id=171248> before we can unskip it.
710         When running the nosniff Web Platform Tests (WPT) dump console messages to standard error
711         to avoid a difference of console message ordering due to the non-determinism of the WPT
712         tests from affecting the matching of the expected result.
713         * http/tests/security/contentTypeOptions/nosniff-dynamic-script-blocked-expected.txt: Added.
714         * http/tests/security/contentTypeOptions/nosniff-dynamic-script-blocked.html: Copied from LayoutTests/http/tests/security/contentTypeOptions/nosniff-script-blocked.html.
715         * http/tests/security/contentTypeOptions/nosniff-script-blocked-expected.txt: Update expected result.
716         * http/tests/security/contentTypeOptions/nosniff-script-blocked.html: Substitute the not executable
717         MIME type "text/xx-javascript" for "text/x-javascript" as the latter is an acceptable MIME type for
718         JavaScript scripts as per the Fetch standard, <https://html.spec.whatwg.org/multipage/scripting.html#javascript-mime-type> (30 March 2017).
719         * http/tests/security/contentTypeOptions/nosniff-script-without-content-type-blocked-expected.txt: Update
720         expected result.
721         * platform/gtk/TestExpectations: Skip the nosniff tests as GTK does not enable ENABLE(NOSNIFF).
722         * platform/ios/TestExpectations: Unskip nosniff tests.
723         * platform/mac/TestExpectations: Ditto.
724         * platform/win/TestExpectations: Ditto.
725         * platform/wk2/TestExpectations: Ditto.
726
727 2017-04-25  Ryan Haddad  <ryanhaddad@apple.com>
728
729         Mark http/tests/inspector/network/resource-sizes-disk-cache.html as flaky.
730         https://bugs.webkit.org/show_bug.cgi?id=170971
731
732         Unreviewed test gardening.
733
734         * platform/mac-wk2/TestExpectations:
735
736 2017-04-25  Chris Dumez  <cdumez@apple.com>
737
738         Content-Disposition header filename is ignored when 'download' attribute is specified in HTML
739         https://bugs.webkit.org/show_bug.cgi?id=171239
740         <rdar://problem/31789855>
741
742         Reviewed by Alex Christensen.
743
744         * http/tests/security/anchor-download-allow-sameorigin.html:
745         Stop using attachment.php as resource for this download attribute test because attachment.php
746         returns a Content-Disposition header with a filename. Given the behavior change in this patch,
747         this resource is no longer suitable for testing the download attribute.
748
749         * http/tests/download/anchor-download-attribute-content-disposition-expected.txt: Added.
750         * http/tests/download/anchor-download-attribute-content-disposition.html: Added.
751         * http/tests/download/resources/content-disposition-pass.php: Added.
752         Add layout test coverage.
753
754         * platform/ios-wk2/TestExpectations:
755         * platform/mac-wk1/TestExpectations:
756         * platform/win/TestExpectations:
757         Skip new test on platforms where the download attribute is not supported.
758
759 2017-04-25  Ryan Haddad  <ryanhaddad@apple.com>
760
761         Rebaseline fast/canvas/canvas-crash.html for ios-simulator.
762         https://bugs.webkit.org/show_bug.cgi?id=171238
763
764         Unreviewed test gardening.
765
766         * platform/ios-simulator/fast/canvas/canvas-crash-expected.txt: Added.
767
768 2017-04-25  Antti Koivisto  <antti@apple.com>
769
770         Enable expired-only reload policy on Mac and iOS
771         https://bugs.webkit.org/show_bug.cgi?id=171264
772         <rdar://problem/31807637>
773
774         Reviewed by Andreas Kling.
775
776         * fast/loader/display-image-unset-can-block-image-and-can-reload-in-place.html:
777
778         WebKitDisplayImages preference blocks loads, it does not prevent images already in memory cache from displaying.
779         Modify the test to clear the memory cache so it still tests what it is supposed to.
780
781 2017-04-25  Frederic Wang  <fwang@igalia.com>
782
783         Import W3C tests for the CSSOM View module
784         https://bugs.webkit.org/show_bug.cgi?id=171215
785
786         Reviewed by Youenn Fablet.
787
788         * TestExpectations: Skip some completely failing CSSOM View tests.
789         * platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/Screen-pixelDepth-Screen-colorDepth001-actual.txt: Added. Add an expectation for iOS simulator, differing from other platform.
790         * platform/ios-simulator/imported/w3c/web-platform-tests/cssom-view/scrolling-quirks-vs-nonquirks-expected.txt: Added. Ditto.
791
792 2017-04-24  Joseph Pecoraro  <pecoraro@apple.com>
793
794         test262: test262/test/language/expressions/object/method-definition/early-errors-object-method-duplicate-parameters.js
795         https://bugs.webkit.org/show_bug.cgi?id=171190
796
797         Reviewed by Saam Barati.
798
799         * js/parser-syntax-check-expected.txt:
800         * js/script-tests/parser-syntax-check.js:
801         Extend to cover method duplicate parameter cases.
802
803 2017-04-24  Jiewen Tan  <jiewen_tan@apple.com>
804
805         LayoutTests crypto/subtle/ecdsa-generate-key-sign-verify-p384.html and crypto/subtle/ecdsa-generate-key-sign-verify-p256.html are flaky failures
806         https://bugs.webkit.org/show_bug.cgi?id=171059
807         <rdar://problem/31734958>
808
809         Reviewed by Brent Fulgham.
810
811         * TestExpectations:
812         Remove test expectations.
813
814 2017-04-24  Manuel Rego Casasnovas  <rego@igalia.com>
815
816         [selectors4] :focus-within should use the flat tree
817         https://bugs.webkit.org/show_bug.cgi?id=170899
818
819         Reviewed by Antti Koivisto.
820
821         * TestExpectations: Remove test that is passing now.
822
823 2017-04-24  Nan Wang  <n_wang@apple.com>
824
825         AX: Crash at WebCore::AXObjectCache::characterOffsetForIndex(int, WebCore::AccessibilityObject const*) + 703
826         https://bugs.webkit.org/show_bug.cgi?id=171247
827
828         Reviewed by Chris Fleizach.
829
830         * accessibility/mac/input-string-for-range-crash-expected.txt: Added.
831         * accessibility/mac/input-string-for-range-crash.html: Added.
832
833 2017-04-24  Youenn Fablet  <youenn@apple.com>
834
835         Set defaults video getUserMedia constraints
836         https://bugs.webkit.org/show_bug.cgi?id=171127
837
838         Reviewed by Eric Carlson.
839
840         * fast/mediastream/getUserMedia-default-expected.txt: Added.
841         * fast/mediastream/getUserMedia-default.html: Added.
842
843 2017-04-24  Chris Dumez  <cdumez@apple.com>
844
845         createElementNS() should now throw only InvalidCharacterError, not NamespaceError
846         https://bugs.webkit.org/show_bug.cgi?id=171052
847
848         Reviewed by Sam Weinig.
849
850         Updated / rebaselined existing tests to reflect behavior change.
851
852         * fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt:
853         * fast/dom/DOMImplementation/createDocumentType-err-expected.txt:
854         * fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js:
855         * fast/dom/DOMImplementation/script-tests/createDocumentType-err.js:
856         * fast/dom/Document/createAttributeNS-namespace-err-expected.txt:
857         * fast/dom/Document/createElementNS-namespace-err-expected.txt:
858         * fast/dom/Document/script-tests/createAttributeNS-namespace-err.js:
859         * fast/dom/Document/script-tests/createElementNS-namespace-err.js:
860         * fast/dom/Element/script-tests/setAttributeNS-namespace-err.js:
861         * fast/dom/Element/setAttributeNS-namespace-err-expected.txt:
862
863 2017-04-24  Chris Dumez  <cdumez@apple.com>
864
865         REGRESSION (214503): Webkit crash under RenderElement::repaintForPausedImageAnimationsIfNeeded() when scrolling giphy pages
866         https://bugs.webkit.org/show_bug.cgi?id=171243
867         <rdar://problem/31715572>
868
869         Reviewed by Antti Koivisto.
870
871         Add layout test coverage.
872
873         * fast/images/animated-gif-scrolling-crash-expected.txt: Added.
874         * fast/images/animated-gif-scrolling-crash.html: Added.
875
876 2017-04-24  Saam Barati  <sbarati@apple.com>
877
878         [mac debug] LayoutTest workers/wasm-long-compile-many.html is a flaky timeout
879         https://bugs.webkit.org/show_bug.cgi?id=171120
880         <rdar://problem/31781889>
881
882         Rubber stamped by Mark Lam.
883
884         Make the wasm binary we compile close to 50% smaller.
885
886         * workers/wasm-resources/long-compile-many.js:
887         (i.async.run):
888         (i.worker.onmessage):
889         * workers/wasm-resources/long-compile-worker.js:
890         * workers/wasm-resources/long-compile.js:
891         (async.run):
892         (worker.onmessage):
893
894 2017-04-24  Ryan Haddad  <ryanhaddad@apple.com>
895
896         Mark media/modern-media-controls/scrubber-support/scrubber-support-click.html as flaky.
897         https://bugs.webkit.org/show_bug.cgi?id=171245
898
899         Unreviewed test gardening.
900
901         * platform/mac-wk1/TestExpectations:
902
903 2017-04-24  Joseph Pecoraro  <pecoraro@apple.com>
904
905         test262: test262/test/language/computed-property-names/class/static/getter-prototype.js
906         https://bugs.webkit.org/show_bug.cgi?id=170897
907
908         Reviewed by Saam Barati.
909
910         * js/class-syntax-declaration-expected.txt:
911         * js/script-tests/class-syntax-declaration.js:
912         Extend tests for static and non-static methods named "constructor" and "prototype".
913
914 2017-04-24  Joseph Pecoraro  <pecoraro@apple.com>
915
916         Address some FIXMEs in JavaScript tests for bugs that have been fixed
917         https://bugs.webkit.org/show_bug.cgi?id=171191
918
919         Reviewed by JF Bastien.
920
921         * js/dom/custom-constructors-expected.txt:
922         * js/dom/script-tests/custom-constructors.js:
923         * js/script-tests/keyword-method-names.js:
924
925 2017-04-24  Joseph Pecoraro  <pecoraro@apple.com>
926
927         test262: test262/test/language/expressions/generators/yield-as-label.js
928         https://bugs.webkit.org/show_bug.cgi?id=170979
929
930         Reviewed by Saam Barati.
931
932         * js/object-literal-shorthand-construction-expected.txt:
933         * js/script-tests/object-literal-shorthand-construction.js:
934         Extend this test to cover object literal shorthand with keywords.
935
936         * js/dom/reserved-words-as-property-expected.txt:
937         * js/let-syntax-expected.txt:
938         * js/parser-syntax-check-expected.txt:
939         Improved error messages.
940
941 2017-04-23  Commit Queue  <commit-queue@webkit.org>
942
943         Unreviewed, rolling out r215674.
944         https://bugs.webkit.org/show_bug.cgi?id=171212
945
946         Possible unintended commit. This patch was on the wrong bug.
947         (Requested by JoePeck on #webkit).
948
949         Reverted changeset:
950
951         "test262: test262/test/language/expressions/generators/yield-
952         as-label.js"
953         https://bugs.webkit.org/show_bug.cgi?id=170979
954         http://trac.webkit.org/changeset/215674
955
956 2017-04-23  Joseph Pecoraro  <pecoraro@apple.com>
957
958         test262: test262/test/language/expressions/generators/yield-as-label.js
959         https://bugs.webkit.org/show_bug.cgi?id=170979
960
961         Reviewed by Saam Barati.
962
963         * js/object-literal-shorthand-construction-expected.txt:
964         * js/script-tests/object-literal-shorthand-construction.js:
965         Extend this test to cover object literal shorthand with keywords.
966
967         * js/dom/reserved-words-as-property-expected.txt:
968         * js/let-syntax-expected.txt:
969         * js/parser-syntax-check-expected.txt:
970         Improved error messages.
971
972 2017-04-21  Zalan Bujtas  <zalan@apple.com>
973
974         REGRESSION(r205374): <li> content inside <ul> should mid-word wrap when word-break: break-word is present.
975         https://bugs.webkit.org/show_bug.cgi?id=171108
976         <rdar://problem/30271747>
977
978         Reviewed by Dan Bernstein.
979
980         * fast/replaced/ul-li-word-break-break-word-expected.html: Added.
981         * fast/replaced/ul-li-word-break-break-word.html: Added.
982         * fast/replaced/zero-width-image-force-linebreak-expected.html: Added.
983         * fast/replaced/zero-width-image-force-linebreak.html: Added.
984
985 2017-04-21  Aaron Chu  <aaron_chu@apple.com>
986
987         AX: FKA: Buttons need a visible focus indicator
988         https://bugs.webkit.org/show_bug.cgi?id=171040
989         <rdar://problem/30922548>
990
991         Reviewed by Antoine Quint.
992
993         * TestExpectations:
994         * media/modern-media-controls/icon-button/icon-button-focus-state-expected.txt: Added.
995         * media/modern-media-controls/icon-button/icon-button-focus-state.html: Added.
996         * platform/mac/TestExpectations:
997
998 2017-04-21  Ryan Haddad  <ryanhaddad@apple.com>
999
1000         Mark inspector/debugger/tail-deleted-frames-this-value.html as flaky.
1001         https://bugs.webkit.org/show_bug.cgi?id=169119
1002
1003         Unreviewed test gardening.
1004
1005         * platform/mac/TestExpectations:
1006
1007 2017-04-21  Chris Dumez  <cdumez@apple.com>
1008
1009         Regression(r206240): XMLSerializer.serializeToString() does not properly escape '<' / '>' in attribute values
1010         https://bugs.webkit.org/show_bug.cgi?id=171132
1011         <rdar://problem/31426752>
1012
1013         Reviewed by Ryosuke Niwa.
1014
1015         Add layout test coverage. This test is passing in both Firefox and Chrome.
1016
1017         * fast/dom/XMLSerializer-serializeToString-entities-expected.txt: Added.
1018         * fast/dom/XMLSerializer-serializeToString-entities.html: Added.
1019
1020 2017-04-21  Youenn Fablet  <youenn@apple.com>
1021
1022         [ios-simulator] LayoutTest webrtc/multi-video.html is a flaky crash
1023         https://bugs.webkit.org/show_bug.cgi?id=170823
1024         <rdar://problem/31611583>
1025
1026         Unreviewed.
1027
1028         * TestExpectations: Reactivating test.
1029
1030 2017-04-21  Daniel Bates  <dabates@apple.com>
1031
1032         [iOS] Skip http/tests/security/contentSecurityPolicy/{audio, video}-redirect-allowed2.html
1033         <rdar://problem/31690952>
1034
1035         Rubber-stamped by Jer Noble.
1036
1037         We can enable these tests again once we fix <rdar://problem/25780035>.
1038
1039         * platform/ios/TestExpectations:
1040
1041 2017-04-21  Per Arne Vollan  <pvollan@apple.com>
1042
1043         Validate vImage arguments
1044         https://bugs.webkit.org/show_bug.cgi?id=171109
1045
1046         Reviewed by Brent Fulgham.
1047
1048         * fast/canvas/canvas-crash-expected.txt: Added.
1049         * fast/canvas/canvas-crash.html: Added.
1050
1051 2017-04-21  Ryan Haddad  <ryanhaddad@apple.com>
1052
1053         Mark webrtc/datachannel/bufferedAmountLowThreshold.html as flaky.
1054         https://bugs.webkit.org/show_bug.cgi?id=170701
1055
1056         Unreviewed test gardening.
1057
1058         * TestExpectations:
1059
1060 2017-04-21  Andy VanWagoner  <thetalecrafter@gmail.com>
1061
1062         [INTL] Implement Intl.DateTimeFormat.prototype.formatToParts
1063         https://bugs.webkit.org/show_bug.cgi?id=169458
1064
1065         Reviewed by JF Bastien.
1066
1067         Add tests for formatToParts
1068
1069         * js/intl-datetimeformat-expected.txt:
1070         * js/script-tests/intl-datetimeformat.js:
1071
1072 2017-04-21  Timothy Horton  <timothy_horton@apple.com>
1073
1074         Expose obscured insets to web content (as "safe area insets")
1075         https://bugs.webkit.org/show_bug.cgi?id=171013
1076         <rdar://problem/31564652>
1077
1078         Reviewed by Wenson Hsieh and Dave Hyatt.
1079
1080         * TestExpectations:
1081         * fast/css/variables/constants/invalid-constant-name-fallback-expected.html: Added.
1082         * fast/css/variables/constants/invalid-constant-name-fallback.html: Added.
1083         * fast/css/variables/constants/ios/safe-area-inset-set-expected.html: Added.
1084         * fast/css/variables/constants/ios/safe-area-inset-set.html: Added.
1085         * fast/css/variables/constants/safe-area-inset-cannot-override-expected.html: Added.
1086         * fast/css/variables/constants/safe-area-inset-cannot-override.html: Added.
1087         * fast/css/variables/constants/safe-area-inset-zero-expected.html: Added.
1088         * fast/css/variables/constants/safe-area-inset-zero.html: Added.
1089         * platform/ios-wk2/TestExpectations:
1090
1091 2017-04-20  Commit Queue  <commit-queue@webkit.org>
1092
1093         Unreviewed, rolling out r215597.
1094         https://bugs.webkit.org/show_bug.cgi?id=171102
1095
1096         Made all tests crash under GuardMalloc (Requested by ap on
1097         #webkit).
1098
1099         Reverted changeset:
1100
1101         "Expose obscured insets to web content (as "safe area
1102         insets")"
1103         https://bugs.webkit.org/show_bug.cgi?id=171013
1104         http://trac.webkit.org/changeset/215597
1105
1106 2017-04-20  Timothy Horton  <timothy_horton@apple.com>
1107
1108         Expose obscured insets to web content (as "safe area insets")
1109         https://bugs.webkit.org/show_bug.cgi?id=171013
1110         <rdar://problem/31564652>
1111
1112         Reviewed by Wenson Hsieh and Dave Hyatt.
1113
1114         * TestExpectations:
1115         * fast/css/variables/constants/invalid-constant-name-fallback-expected.html: Added.
1116         * fast/css/variables/constants/invalid-constant-name-fallback.html: Added.
1117         * fast/css/variables/constants/ios/safe-area-inset-set-expected.html: Added.
1118         * fast/css/variables/constants/ios/safe-area-inset-set.html: Added.
1119         * fast/css/variables/constants/safe-area-inset-cannot-override-expected.html: Added.
1120         * fast/css/variables/constants/safe-area-inset-cannot-override.html: Added.
1121         * fast/css/variables/constants/safe-area-inset-zero-expected.html: Added.
1122         * fast/css/variables/constants/safe-area-inset-zero.html: Added.
1123         * platform/ios-wk2/TestExpectations:
1124
1125 2017-04-20  Ryan Haddad  <ryanhaddad@apple.com>
1126
1127         Mark media/modern-media-controls/tracks-support/tracks-support-click-track-in-panel.html as flaky.
1128         https://bugs.webkit.org/show_bug.cgi?id=169109
1129
1130         Unreviewed test gardening.
1131
1132         * platform/mac/TestExpectations:
1133
1134 2017-04-20  Ryan Haddad  <ryanhaddad@apple.com>
1135
1136         Mark imported/w3c/web-platform-tests/WebCryptoAPI/sign_verify/ecdsa.worker.html as flaky.
1137         https://bugs.webkit.org/show_bug.cgi?id=170921
1138
1139         Unreviewed test gardening.
1140
1141         * TestExpectations:
1142
1143 2017-04-20  Matt Baker  <mattbaker@apple.com>
1144
1145         Web Inspector: Add regular expression support to XHR breakpoints
1146         https://bugs.webkit.org/show_bug.cgi?id=170099
1147         <rdar://problem/31558082>
1148
1149         Reviewed by Joseph Pecoraro.
1150
1151         Update tests and expectations for new XHR breakpoint type.
1152
1153         * inspector/dom-debugger/xhr-breakpoints-expected.txt:
1154         * inspector/dom-debugger/xhr-breakpoints.html:
1155
1156 2017-04-20  Wenson Hsieh  <wenson_hsieh@apple.com>
1157
1158         Inline anchor elements cannot be dragged when starting the drag from a block descendant
1159         https://bugs.webkit.org/show_bug.cgi?id=171062
1160         <rdar://problem/31697835>
1161
1162         Reviewed by Tim Horton.
1163
1164         Adds a new test on WK1 Mac to verify that link dragging succeeds when the link's anchor element is inline and
1165         the drag is started from a block element under the link.
1166
1167         * fast/events/drag-and-drop-link-containing-block-expected.txt: Added.
1168         * fast/events/drag-and-drop-link-containing-block.html: Added.
1169         * platform/ios/TestExpectations:
1170         * platform/mac-wk2/TestExpectations:
1171
1172         Skip the test on iOS and Mac WK2.
1173
1174 2017-04-20  Aaron Chu  <aaron_chu@apple.com>
1175
1176         AX: Modern Media Controls Timeline slider should be operable
1177         https://bugs.webkit.org/show_bug.cgi?id=170250
1178
1179         Reviewed by Antoine Quint.
1180
1181         * media/modern-media-controls/scrubber/scrubber-has-correct-ax-label-expected.txt: Added.
1182         * media/modern-media-controls/scrubber/scrubber-has-correct-ax-label.html: Added.
1183
1184 2017-04-18  Filip Pizlo  <fpizlo@apple.com>
1185
1186         Optimize SharedArrayBuffer in the DFG+FTL
1187         https://bugs.webkit.org/show_bug.cgi?id=164108
1188
1189         Reviewed by Saam Barati.
1190         
1191         Add a test of futex performance.
1192
1193         * workers/sab/cascade_lock-worker.js: Added.
1194         (onmessage):
1195         * workers/sab/cascade_lock.html: Added.
1196         * workers/sab/worker-resources.js:
1197         (cascadeLockSlow):
1198         (cascadeLock):
1199         (cascadeUnlock):
1200
1201 2017-04-20  Jon Lee  <jonlee@apple.com>
1202
1203         Update pip placard to "picture in picture"
1204         https://bugs.webkit.org/show_bug.cgi?id=171036
1205         rdar://problem/30201536
1206
1207         Reviewed by Antoine Quint.
1208
1209         * media/modern-media-controls/pip-placard/pip-placard-expected.txt: Updated expected results.
1210         * media/modern-media-controls/pip-placard/pip-placard.html:
1211
1212 2017-04-20  Ryan Haddad  <ryanhaddad@apple.com>
1213
1214         Mark two crypto/subtle/ecdsa LayoutTests as flaky.
1215         https://bugs.webkit.org/show_bug.cgi?id=171059
1216
1217         Unreviewed test gardening.
1218
1219         * TestExpectations:
1220
1221 2017-04-20  Ryan Haddad  <ryanhaddad@apple.com>
1222
1223         Mark memory/memory-pressure-simulation.html as flaky.
1224         https://bugs.webkit.org/show_bug.cgi?id=170629
1225
1226         Unreviewed test gardening.
1227
1228         * platform/mac-wk2/TestExpectations:
1229
1230 2017-04-20  Carlos Alberto Lopez Perez  <clopez@igalia.com>
1231
1232         [GTK] Update layout tests expectations after r215556
1233         https://bugs.webkit.org/show_bug.cgi?id=170942
1234
1235         Unreviewed gardening.
1236
1237         * platform/gtk/TestExpectations:
1238
1239 2017-04-20  Youenn Fablet  <youenn@apple.com>
1240
1241         RTCPeerConnection is stopping its backend twice sometimes
1242         https://bugs.webkit.org/show_bug.cgi?id=171043
1243
1244         Reviewed by Eric Carlson.
1245
1246         * webrtc/closing-peerconnection-expected.txt: Added.
1247         * webrtc/closing-peerconnection.html: Added.
1248
1249 2017-04-20  Joanmarie Diggs  <jdiggs@igalia.com>
1250
1251         [ATK] Implement support for DPub ARIA roles
1252         https://bugs.webkit.org/show_bug.cgi?id=170679
1253
1254         Reviewed by Chris Fleizach.
1255
1256         Update tests and expectations to reflect the modified WebCore Accessibility
1257         role mappings, and the corresponding changes for the platforms.
1258
1259         * accessibility/gtk/xml-roles-exposed-expected.txt:
1260         * accessibility/gtk/xml-roles-exposed.html:
1261         * accessibility/roles-exposed.html:
1262         * inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
1263         * platform/gtk/TestExpectations:
1264         * platform/gtk/accessibility/roles-exposed-expected.txt:
1265         * platform/mac/accessibility/roles-exposed-expected.txt:
1266
1267 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
1268
1269         Mark imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.worker.html as flaky.
1270         https://bugs.webkit.org/show_bug.cgi?id=170907
1271
1272         Unreviewed test gardening.
1273
1274         * platform/mac-wk2/TestExpectations:
1275
1276 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
1277
1278         Rebaseline imported/w3c/web-platform-tests/html/dom/reflection-embedded.html.
1279
1280         Unreviewed test gardening.
1281
1282         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
1283
1284 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
1285
1286         Mark imported/w3c/web-platform-tests/XMLHttpRequest/getallresponseheaders-cl.htm as failing.
1287         https://bugs.webkit.org/show_bug.cgi?id=171031
1288
1289         Unreviewed test gardening.
1290
1291         * TestExpectations:
1292
1293 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
1294
1295         Remove two tests after r215515.
1296         https://bugs.webkit.org/show_bug.cgi?id=171014
1297
1298         Unreviewed test gardening.
1299
1300         * TestExpectations:
1301
1302 2017-04-19  Ryan Haddad  <ryanhaddad@apple.com>
1303
1304         Rebaseline tests after r215515.
1305         https://bugs.webkit.org/show_bug.cgi?id=171014
1306
1307         Unreviewed test gardening.
1308
1309         * TestExpectations:
1310         * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
1311         * platform/ios/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin-expected.txt:
1312         * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
1313
1314 2017-04-19  Alex Christensen  <achristensen@webkit.org>
1315
1316         Parsing large XML strings fails
1317         https://bugs.webkit.org/show_bug.cgi?id=170999
1318         <rdar://problem/17336267>
1319
1320         Reviewed by Brady Eidson.
1321
1322         * fast/dom/xml-large-expected.txt: Added.
1323         * fast/dom/xml-large.html: Added.
1324
1325 2017-04-19  Chris Fleizach  <cfleizach@apple.com>
1326
1327         AX: <hr> should use a different role description than interactive separators
1328         https://bugs.webkit.org/show_bug.cgi?id=170317
1329         <rdar://problem/31363024>
1330
1331         Reviewed by Joanmarie Diggs.
1332
1333         * accessibility/mac/hr-element-expected.txt:
1334         * accessibility/mac/hr-element.html:
1335
1336 2017-04-19  JF Bastien  <jfbastien@apple.com>
1337
1338         Unreviewed, rolling out r215520.
1339
1340         Broke Debian 8
1341
1342         Reverted changeset:
1343
1344         "[INTL] Implement Intl.DateTimeFormat.prototype.formatToParts"
1345         https://bugs.webkit.org/show_bug.cgi?id=169458
1346         http://trac.webkit.org/changeset/215520
1347
1348 2017-04-19  Andy VanWagoner  <thetalecrafter@gmail.com>
1349
1350         [INTL] Implement Intl.DateTimeFormat.prototype.formatToParts
1351         https://bugs.webkit.org/show_bug.cgi?id=169458
1352
1353         Reviewed by JF Bastien.
1354
1355         Add tests for formatToParts
1356
1357         * js/intl-datetimeformat-expected.txt:
1358         * js/script-tests/intl-datetimeformat.js:
1359
1360 2017-04-19  Youenn Fablet  <youenn@apple.com>
1361
1362         Import web-platform-tests/tools
1363         https://bugs.webkit.org/show_bug.cgi?id=170718
1364
1365         Reviewed by Alex Christensen.
1366
1367         * TestExpectations:
1368         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt: Added.
1369         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt: Added.
1370         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt: Added.
1371         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt: Added.
1372         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt: Added.
1373         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt: Added.
1374         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt: Renamed from LayoutTests/platform/mac/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt.
1375         * tests-options.json:
1376
1377 2017-04-19  Antti Koivisto  <antti@apple.com>
1378
1379         Avoid repaints for invisible animations on tumblr.com/search/aww
1380         https://bugs.webkit.org/show_bug.cgi?id=170986
1381         <rdar://problem/28644580>
1382
1383         Reviewed by Andreas Kling.
1384
1385         * fast/repaint/mutate-non-visible-expected.txt: Added.
1386         * fast/repaint/mutate-non-visible.html: Added.
1387
1388 2017-04-18  John Wilander  <wilander@apple.com>
1389
1390         Resource Load Statistics: Check both origins and cookieHostNames for domain matches in data removal
1391         https://bugs.webkit.org/show_bug.cgi?id=170763
1392         <rdar://problem/31573091>
1393
1394         Reviewed by Alex Christensen.
1395
1396         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion-expected.txt: Added.
1397         * http/tests/loading/resourceLoadStatistics/partitioned-and-unpartitioned-cookie-deletion.html: Added.
1398
1399 2017-04-18  Dean Jackson  <dino@apple.com>
1400
1401         Update ANGLE
1402         https://bugs.webkit.org/show_bug.cgi?id=170941
1403         <rdar://problem/31633999>
1404
1405         Reviewed by Alex Christensen.
1406
1407         * fast/canvas/webgl/fragment-shader-assertion-expected.txt:
1408
1409 2017-04-18  Brent Fulgham  <bfulgham@apple.com>
1410
1411         Correct handling of isolatedWorld in event handling
1412         https://bugs.webkit.org/show_bug.cgi?id=65589
1413         <rdar://problem/24097804>
1414
1415         Reviewed by Geoffrey Garen.
1416
1417         This following test cases are from the following Blink change:
1418         https://src.chromium.org/viewvc/blink?revision=152377&view=revision
1419
1420         * fast/dom/event-attrs-isolated-world-expected.txt: Added.
1421         * fast/dom/event-attrs-isolated-world.html: Added.
1422         * http/tests/security/isolatedWorld/onclick-attribute-expected.txt: Added.
1423         * http/tests/security/isolatedWorld/onclick-attribute.html: Added.
1424
1425 2017-04-18  Wenson Hsieh  <wenson_hsieh@apple.com>
1426
1427         [WK2] Cannot select text on nytimes.com when the selection granularity is WKSelectionGranularityCharacter
1428         https://bugs.webkit.org/show_bug.cgi?id=170968
1429         <rdar://problem/31692560>
1430
1431         Reviewed by Dan Bernstein.
1432
1433         Adds a new layout test checking that text within a node with a click handler can be selected when using
1434         character selection granularity.
1435
1436         * editing/selection/character-granularity-select-text-with-click-handler-expected.txt: Added.
1437         * editing/selection/character-granularity-select-text-with-click-handler.html: Added.
1438
1439 2017-04-18  Joseph Pecoraro  <pecoraro@apple.com>
1440
1441         [mac-wk1 Debug] LayoutTest http/tests/inspector/network/resource-sizes-network.html is a flaky failure
1442         https://bugs.webkit.org/show_bug.cgi?id=170953
1443
1444         Unreviewed test gardening.
1445
1446         * platform/mac-wk1/TestExpectations:
1447         Mark a flakey test in WebKit1.
1448
1449 2017-04-17  Sam Weinig  <sam@webkit.org>
1450
1451         [WebIDL] Make annotated types first class allowing them to be used in sequences and unions
1452         https://bugs.webkit.org/show_bug.cgi?id=170926
1453
1454         Reviewed by Chris Dumez.
1455
1456         * js/dom/webidl-type-mapping-expected.txt:
1457         * js/dom/webidl-type-mapping.html:
1458         Update test to account for testDictionary now being an attribute,
1459         and test that the annotated type members behave correctly.
1460
1461 2017-04-18  Oleksandr Skachkov  <gskachkov@gmail.com>
1462
1463         [ES6]. Implement Annex B.3.3 function hoisting rules for eval
1464         https://bugs.webkit.org/show_bug.cgi?id=163208
1465
1466         Reviewed by Saam Barati.
1467
1468         * inspector/runtime/evaluate-CommandLineAPI-expected.txt:
1469         * inspector/runtime/evaluate-CommandLineAPI.html:
1470         * js/parser-syntax-check-expected.txt:
1471         * js/script-tests/parser-syntax-check.js:
1472
1473 2017-04-18  Antti Koivisto  <antti@apple.com>
1474
1475         Enable optimized layer flushes on iOS
1476         https://bugs.webkit.org/show_bug.cgi?id=170938
1477         <rdar://problem/31677395>
1478
1479         Reviewed by Simon Fraser.
1480
1481         Add test verifying that tiles get created for touch overflow scrolling.
1482
1483         * compositing/ios/overflow-scroll-touch-tiles-expected.txt: Added.
1484         * compositing/ios/overflow-scroll-touch-tiles.html: Added.
1485
1486 2017-04-18  Ryan Haddad  <ryanhaddad@apple.com>
1487
1488         Update TestExpectations for "selectors4" tests on mac-wk1.
1489         https://trac.webkit.org/changeset/215457/webkit
1490
1491         Unreviewed test gardening.
1492
1493         * platform/mac-wk1/TestExpectations:
1494
1495 2017-04-18  Manuel Rego Casasnovas  <rego@igalia.com>
1496
1497         [css-grid] Add support for percentage gaps
1498         https://bugs.webkit.org/show_bug.cgi?id=170764
1499
1500         Reviewed by Sergio Villar Senin.
1501
1502         Import tests from Blink.
1503
1504         * fast/css-grid-layout/grid-gutters-as-percentage-expected.txt: Added.
1505         * fast/css-grid-layout/grid-gutters-as-percentage.html: Added.
1506         * fast/css-grid-layout/grid-gutters-get-set-expected.txt:
1507         * fast/css-grid-layout/grid-gutters-get-set.html:
1508
1509 2017-04-18  Miguel Gomez  <magomez@igalia.com>
1510
1511         [GTK+] Crash in WebCore::ImageFrame::ImageFrame()
1512         https://bugs.webkit.org/show_bug.cgi?id=170332
1513
1514         Reviewed by Carlos Garcia Campos.
1515
1516         Added a test to ensure that the browser doesn't crash when loading a PNG image which
1517         reports a wrong number of frames.
1518
1519         * fast/images/bad-png-missing-fdat-expected.txt: Added.
1520         * fast/images/bad-png-missing-fdat.html: Added.
1521         * fast/images/resources/bad-png-missing-fdAT.png: Added.
1522
1523 2017-04-18  Manuel Rego Casasnovas  <rego@igalia.com>
1524
1525         [selectors4] Import W3C Test Suite
1526         https://bugs.webkit.org/show_bug.cgi?id=170898
1527
1528         Reviewed by Youenn Fablet.
1529
1530         * TestExpectations: Mark a few tests as failure linking to the related bugs.
1531         * platform/mac-wk1/TestExpectations: Marking some tests that have issues on WK1.
1532
1533 2017-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>
1534
1535         Unreviewed GTK+ gardening. Add several test expectations.
1536
1537         * platform/gtk/TestExpectations:
1538
1539 2017-04-17  Joseph Pecoraro  <pecoraro@apple.com>
1540
1541         Web Inspector: Doesn't show size of compressed content correctly
1542         https://bugs.webkit.org/show_bug.cgi?id=155112
1543         <rdar://problem/25006728>
1544
1545         Reviewed by Alex Christensen and Timothy Hatcher.
1546
1547         * http/tests/inspector/network/resource-sizes-disk-cache-expected.txt: Added.
1548         * http/tests/inspector/network/resource-sizes-disk-cache.html: Added.
1549         * http/tests/inspector/network/resource-sizes-memory-cache-expected.txt: Added.
1550         * http/tests/inspector/network/resource-sizes-memory-cache.html: Added.
1551         * http/tests/inspector/network/resource-sizes-network-expected.txt: Added.
1552         * http/tests/inspector/network/resource-sizes-network.html: Added.
1553         Test resource sizes under different load conditions.
1554
1555         * platform/mac/http/tests/inspector/network/resource-sizes-memory-cache-expected.txt: Added.
1556         * platform/mac/http/tests/inspector/network/resource-sizes-network-expected.txt: Added.
1557         Older versions of macOS will not have the new metrics, but test their output anyways.
1558
1559         * http/tests/inspector/network/resources/404.php: Added.
1560         * http/tests/inspector/network/resources/gzipped-lorem-no-content-length.php: Added.
1561         * http/tests/inspector/network/resources/gzipped-lorem.php: Added.
1562         * http/tests/inspector/network/resources/lorem.txt: Added.
1563         Different resources with fixed sizes (text, gzipped, 404 with fixed response).
1564
1565         * http/tests/inspector/network/resources/resource-size-test.js: Added.
1566         (TestPage.registerInitializer.InspectorTest.gracefulExpectEquals):
1567         (TestPage.registerInitializer.window.addResourceSizeTest):
1568         (TestPage.registerInitializer):
1569         Shared test code for resource sizes.
1570
1571         * platform/mac-wk1/TestExpectations:
1572         * platform/win/TestExpectations:
1573
1574 2017-04-17  Youenn Fablet  <youenn@apple.com>
1575
1576         Enable video autoplay when getUserMedia is on
1577         https://bugs.webkit.org/show_bug.cgi?id=170919
1578
1579         Reviewed by Geoffrey Garen.
1580
1581         * webrtc/video-autoplay-expected.txt: Added.
1582         * webrtc/video-autoplay.html: Added.
1583
1584 2017-04-17  Ryan Haddad  <ryanhaddad@apple.com>
1585
1586         Skip webrtc/multi-video.html.
1587         https://bugs.webkit.org/show_bug.cgi?id=170823
1588
1589         Unreviewed test gardening.
1590
1591         * TestExpectations:
1592
1593 2017-04-17  Youenn Fablet  <youenn@apple.com>
1594
1595         LayoutTest webrtc/video-mute.html is a flaky failure
1596         https://bugs.webkit.or
1597         g/show_bug.cgi?id=170704
1598
1599         Reviewed by Eric Carlson.
1600
1601         * webrtc/video-mute.html: Another try at making the test not flaky.
1602
1603 2017-04-17  Tim Horton  <timothy_horton@apple.com>
1604
1605         Provide a viewport parameter to disable clipping to the safe area
1606         https://bugs.webkit.org/show_bug.cgi?id=170766
1607         <rdar://problem/31564634>
1608
1609         Reviewed by Beth Dakin.
1610
1611         * tiled-drawing/ios/viewport-clip-to-safe-area-no-gets-margin-tiles-expected.txt: Added.
1612         * tiled-drawing/ios/viewport-clip-to-safe-area-no-gets-margin-tiles.html: Added.
1613         * tiled-drawing/ios/viewport-clip-to-safe-area-yes-gets-no-margin-tiles-expected.txt: Added.
1614         * tiled-drawing/ios/viewport-clip-to-safe-area-yes-gets-no-margin-tiles.html: Added.
1615
1616 2017-04-14  Jiewen Tan  <jiewen_tan@apple.com>
1617
1618         [WebCrypto] Add support for ECDSA
1619         https://bugs.webkit.org/show_bug.cgi?id=170789
1620         <rdar://problem/31588604>
1621
1622         Reviewed by Brent Fulgham.
1623
1624         * crypto/subtle/ec-generate-key-malformed-parameters-expected.txt:
1625         * crypto/subtle/ec-generate-key-malformed-parameters.html:
1626         * crypto/subtle/ec-import-key-malformed-parameters-expected.txt:
1627         * crypto/subtle/ec-import-key-malformed-parameters.html:
1628         * crypto/subtle/ecdh-generate-export-key-pkcs8-p256-expected.txt: Renamed from LayoutTests/crypto/subtle/ecdh-generate-export-pkcs8-p256-expected.txt.
1629         * crypto/subtle/ecdh-generate-export-key-pkcs8-p256.html: Renamed from LayoutTests/crypto/subtle/ecdh-generate-export-pkcs8-p256.html.
1630         * crypto/subtle/ecdh-generate-export-key-pkcs8-p384-expected.txt: Renamed from LayoutTests/crypto/subtle/ecdh-generate-export-pkcs8-p384-expected.txt.
1631         * crypto/subtle/ecdh-generate-export-key-pkcs8-p384.html: Renamed from LayoutTests/crypto/subtle/ecdh-generate-export-pkcs8-p384.html.
1632         * crypto/subtle/ecdsa-generate-export-jwk-key-expected.txt: Added.
1633         * crypto/subtle/ecdsa-generate-export-jwk-key.html: Added.
1634         * crypto/subtle/ecdsa-generate-export-key-pkcs8-expected.txt: Added.
1635         * crypto/subtle/ecdsa-generate-export-key-pkcs8.html: Added.
1636         * crypto/subtle/ecdsa-generate-export-key-raw-expected.txt: Added.
1637         * crypto/subtle/ecdsa-generate-export-key-raw.html: Added.
1638         * crypto/subtle/ecdsa-generate-export-key-spki-expected.txt: Added.
1639         * crypto/subtle/ecdsa-generate-export-key-spki.html: Added.
1640         * crypto/subtle/ecdsa-generate-key-expected.txt: Added.
1641         * crypto/subtle/ecdsa-generate-key-sign-verify-p256-expected.txt: Added.
1642         * crypto/subtle/ecdsa-generate-key-sign-verify-p256.html: Added.
1643         * crypto/subtle/ecdsa-generate-key-sign-verify-p384-expected.txt: Added.
1644         * crypto/subtle/ecdsa-generate-key-sign-verify-p384.html: Added.
1645         * crypto/subtle/ecdsa-generate-key.html: Added.
1646         * crypto/subtle/ecdsa-import-jwk-private-key-expected.txt: Added.
1647         * crypto/subtle/ecdsa-import-jwk-private-key.html: Added.
1648         * crypto/subtle/ecdsa-import-jwk-public-key-alg-256-expected.txt: Added.
1649         * crypto/subtle/ecdsa-import-jwk-public-key-alg-256.html: Added.
1650         * crypto/subtle/ecdsa-import-jwk-public-key-alg-384-expected.txt: Added.
1651         * crypto/subtle/ecdsa-import-jwk-public-key-alg-384.html: Added.
1652         * crypto/subtle/ecdsa-import-jwk-public-key-expected.txt: Added.
1653         * crypto/subtle/ecdsa-import-jwk-public-key.html: Added.
1654         * crypto/subtle/ecdsa-import-key-sign-p256-expected.txt: Added.
1655         * crypto/subtle/ecdsa-import-key-sign-p256.html: Added.
1656         * crypto/subtle/ecdsa-import-key-sign-p384-expected.txt: Added.
1657         * crypto/subtle/ecdsa-import-key-sign-p384.html: Added.
1658         * crypto/subtle/ecdsa-import-key-verify-p256-expected.txt: Added.
1659         * crypto/subtle/ecdsa-import-key-verify-p256.html: Added.
1660         * crypto/subtle/ecdsa-import-key-verify-p384-expected.txt: Added.
1661         * crypto/subtle/ecdsa-import-key-verify-p384.html: Added.
1662         * crypto/subtle/ecdsa-import-pkcs8-key-expected.txt: Added.
1663         * crypto/subtle/ecdsa-import-pkcs8-key.html: Added.
1664         * crypto/subtle/ecdsa-import-raw-key-expected.txt: Added.
1665         * crypto/subtle/ecdsa-import-raw-key.html: Added.
1666         * crypto/subtle/ecdsa-import-spki-key-expected.txt: Added.
1667         * crypto/subtle/ecdsa-import-spki-key.html: Added.
1668         * crypto/subtle/ecdsa-verify-malformed-parameters-expected.txt: Added.
1669         * crypto/subtle/ecdsa-verify-malformed-parameters.html: Added.
1670         * crypto/workers/subtle/ecdsa-import-key-sign-expected.txt: Added.
1671         * crypto/workers/subtle/ecdsa-import-key-sign.html: Added.
1672         * crypto/workers/subtle/ecdsa-import-key-verify-expected.txt: Added.
1673         * crypto/workers/subtle/ecdsa-import-key-verify.html: Added.
1674         * crypto/workers/subtle/resources/ecdsa-import-key-sign.js: Added.
1675         * crypto/workers/subtle/resources/ecdsa-import-key-verify.js: Added.
1676
1677 2017-04-17  Youenn Fablet  <youenn@apple.com>
1678
1679         LayoutTestwebrtc/audio-replace-track.html is a flaky failure
1680         https://bugs.webkit.org/show_bug.cgi?id=170837
1681
1682         Reviewed by Eric Carlson.
1683
1684         * webrtc/audio-replace-track.html: Updating the test to be less flaky.
1685
1686 2017-04-17  Youenn Fablet  <youenn@apple.com>
1687
1688         RTCPeerConnection addTrack does not require a stream parameter
1689         https://bugs.webkit.org/show_bug.cgi?id=170894
1690
1691         Reviewed by Alex Christensen.
1692
1693         * webrtc/video-addTrack-expected.txt: Added.
1694         * webrtc/video-addTrack.html: Added.
1695
1696 2017-04-16  Joseph Pecoraro  <pecoraro@apple.com>
1697
1698         test262: test262/test/built-ins/Object/prototype/toLocaleString/primitive_this_value.js
1699         https://bugs.webkit.org/show_bug.cgi?id=170882
1700
1701         Reviewed by Saam Barati.
1702
1703         * js/dom/object-prototype-toLocaleString-expected.txt:
1704         * js/dom/script-tests/object-prototype-toLocaleString.js:
1705         Test the case of toLocaleString where toString does not exist.
1706
1707 2017-04-16  Chris Dumez  <cdumez@apple.com>
1708
1709         CMD+R / CMD+Q is considered as user interaction and beforeunload alert is shown
1710         https://bugs.webkit.org/show_bug.cgi?id=169995
1711         <rdar://problem/23798897>
1712
1713         Reviewed by Sam Weinig.
1714
1715         Add layout test coverage.
1716
1717         * fast/events/beforeunload-alert-handled-keydown-expected.txt: Added.
1718         * fast/events/beforeunload-alert-handled-keydown.html: Added.
1719         * fast/events/beforeunload-alert-unhandled-keydown-expected.txt: Added.
1720         * fast/events/beforeunload-alert-unhandled-keydown.html: Added.
1721
1722 2017-04-16  Joseph Pecoraro  <pecoraro@apple.com>
1723
1724         test262: test262/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-44.js
1725         https://bugs.webkit.org/show_bug.cgi?id=170879
1726
1727         Reviewed by Saam Barati.
1728
1729         * js/Object-getOwnPropertyNames-expected.txt:
1730         * js/script-tests/Object-getOwnPropertyNames.js:
1731
1732 2017-04-14  Nikita Vasilyev  <nvasilyev@apple.com>
1733
1734         Web Inspector: WebSockets: messages with non-latin letters are displayed incorrectly
1735         https://bugs.webkit.org/show_bug.cgi?id=170760
1736
1737         Reviewed by Joseph Pecoraro.
1738
1739         Test sending and receiving text and binary (blob and array buffer) data.
1740
1741         * http/tests/websocket/tests/hybi/inspector/binary-expected.txt: Added.
1742         * http/tests/websocket/tests/hybi/inspector/binary.html: Added.
1743         * http/tests/websocket/tests/hybi/inspector/binary_wsh.py: Added.
1744         (web_socket_do_extra_handshake):
1745         (web_socket_transfer_data):
1746         (all_distinct_bytes):
1747         * http/tests/websocket/tests/hybi/inspector/send-and-receive-expected.txt: Added.
1748         * http/tests/websocket/tests/hybi/inspector/send-and-receive.html: Added.
1749         * http/tests/websocket/tests/hybi/inspector/send-and-receive_wsh.py: Added.
1750         (web_socket_do_extra_handshake):
1751         (web_socket_transfer_data):
1752
1753 2017-04-14  Jiewen Tan  <jiewen_tan@apple.com>
1754
1755         [WebCrypto] Support HKDF
1756         https://bugs.webkit.org/show_bug.cgi?id=170636
1757         <rdar://problem/23539827>
1758
1759         Reviewed by Brent Fulgham.
1760
1761         * TestExpectations:
1762         * crypto/subtle/ecdh-import-key-derive-hkdf-key-expected.txt: Added.
1763         * crypto/subtle/ecdh-import-key-derive-hkdf-key.html: Added.
1764         * crypto/subtle/hkdf-derive-bits-malformed-parametrs-expected.txt: Added.
1765         * crypto/subtle/hkdf-derive-bits-malformed-parametrs.html: Added.
1766         * crypto/subtle/hkdf-import-key-derive-bits-expected.txt: Added.
1767         * crypto/subtle/hkdf-import-key-derive-bits.html: Added.
1768         * crypto/subtle/hkdf-import-key-derive-hmac-key-expected.txt: Added.
1769         * crypto/subtle/hkdf-import-key-derive-hmac-key.html: Added.
1770         * crypto/subtle/hkdf-import-key-expected.txt: Added.
1771         * crypto/subtle/hkdf-import-key-malformed-parameters-expected.txt: Added.
1772         * crypto/subtle/hkdf-import-key-malformed-parameters.html: Added.
1773         * crypto/subtle/hkdf-import-key.html: Added.
1774         * crypto/workers/subtle/hkdf-import-key-derive-bits-expected.txt: Added.
1775         * crypto/workers/subtle/hkdf-import-key-derive-bits.html: Added.
1776         * crypto/workers/subtle/hkdf-import-key-derive-hmac-key-expected.txt: Added.
1777         * crypto/workers/subtle/hkdf-import-key-derive-hmac-key.html: Added.
1778         * crypto/workers/subtle/hkdf-import-key-expected.txt: Added.
1779         * crypto/workers/subtle/hkdf-import-key.html: Added.
1780         * crypto/workers/subtle/resources/hkdf-import-key-derive-bits.js: Added.
1781         * crypto/workers/subtle/resources/hkdf-import-key-derive-hmac-key.js: Added.
1782         * crypto/workers/subtle/resources/hkdf-import-key.js: Added.
1783
1784 2017-04-14  Ryan Haddad  <ryanhaddad@apple.com>
1785
1786         Skip workers/wasm-* LayoutTests on ios-simulator.
1787
1788         Unreviewed test gardening.
1789
1790         * platform/ios/TestExpectations:
1791
1792 2017-04-14  Zalan Bujtas  <zalan@apple.com>
1793
1794         text-align start / end failure in table cells
1795         https://bugs.webkit.org/show_bug.cgi?id=141417
1796         <rdar://problem/31051672>
1797
1798         Reviewed by Antti Koivisto.
1799
1800         * fast/table/center-th-when-parent-has-initial-text-align-expected.html: Added.
1801         * fast/table/center-th-when-parent-has-initial-text-align.html: Added.
1802
1803 2017-04-13  Saam Barati  <sbarati@apple.com>
1804
1805         WebAssembly: We should be able to postMessage a JSWebAssemblyModule
1806         https://bugs.webkit.org/show_bug.cgi?id=170573
1807
1808         Reviewed by Filip Pizlo.
1809
1810         * storage/indexeddb/resources/wasm-exceptions.js: Added.
1811         (const._fail):
1812         (const.isNotA.assert.isNotA):
1813         (const):
1814         (switch.typeof):
1815         (Builder):
1816         (Builder.prototype.setChecked):
1817         (Builder.prototype.setPreamble):
1818         (Builder.prototype._functionIndexSpaceKeyHash):
1819         (Builder.prototype._registerFunctionToIndexSpace):
1820         (Builder.prototype._getFunctionFromIndexSpace):
1821         (Builder.prototype._registerSectionBuilders.const.section.in.WASM.description.section.switch.section.case.string_appeared_here.this.section):
1822         (Builder.prototype._registerSectionBuilders.const.section.in.WASM.description.section.switch.section.const.codeBuilder.End.switch.case.string_appeared_here.e):
1823         (Builder.prototype._registerSectionBuilders.this.Unknown):
1824         (prepareDatabase):
1825         (testDatabase):
1826         * storage/indexeddb/wasm-exceptions-expected.txt: Added.
1827         * storage/indexeddb/wasm-exceptions.html: Added.
1828         * workers/wasm-hashset: Added.
1829         * workers/wasm-hashset-expected.txt: Added.
1830         * workers/wasm-hashset-many-expected.txt: Added.
1831         * workers/wasm-hashset-many.html: Added.
1832         * workers/wasm-hashset.html: Added.
1833         * workers/wasm-hashset/many-test.js: Added.
1834         (reallyDone):
1835         (console.log):
1836         (console.error):
1837         (console.assert):
1838         (i.worker.onmessage):
1839         (Module.print):
1840         (Module.printErr):
1841         (Module.canvas):
1842         (Module.setStatus):
1843         (Module):
1844         (setValue):
1845         (getValue):
1846         (allocate):
1847         (getMemory):
1848         (Pointer_stringify):
1849         (AsciiToString):
1850         (stringToAscii):
1851         (UTF8ArrayToString):
1852         (UTF8ToString):
1853         (stringToUTF8Array):
1854         (stringToUTF8):
1855         (lengthBytesUTF8):
1856         (demangle):
1857         (demangleAll):
1858         (stackTrace):
1859         (alignUp):
1860         (updateGlobalBuffer):
1861         (updateGlobalBufferViews):
1862         (abortOnCannotGrowMemory):
1863         (enlargeMemory):
1864         (getTotalMemory):
1865         (callRuntimeCallbacks):
1866         (preRun):
1867         (ensureInitRuntime):
1868         (preMain):
1869         (exitRuntime):
1870         (postRun):
1871         (addOnPreRun):
1872         (addOnInit):
1873         (addOnPreMain):
1874         (addOnExit):
1875         (addOnPostRun):
1876         (intArrayFromString):
1877         (intArrayToString):
1878         (writeStringToMemory):
1879         (writeArrayToMemory):
1880         (writeAsciiToMemory):
1881         (Math.string_appeared_here):
1882         (addRunDependency):
1883         (removeRunDependency):
1884         (integrateWasmJS.asm2wasmImports.string_appeared_here):
1885         (integrateWasmJS.lookupImport):
1886         (integrateWasmJS.mergeMemory):
1887         (integrateWasmJS.fixImports):
1888         (integrateWasmJS.getBinary):
1889         (integrateWasmJS.doJustAsm):
1890         (integrateWasmJS.receiveInstance):
1891         (integrateWasmJS.):
1892         (integrateWasmJS.doNativeWasm):
1893         (integrateWasmJS.doWasmPolyfill):
1894         (integrateWasmJS.Module.string_appeared_here):
1895         (integrateWasmJS):
1896         (___setErrNo):
1897         (__ZSt18uncaught_exceptionv):
1898         (EXCEPTIONS.deAdjust):
1899         (EXCEPTIONS.addRef):
1900         (EXCEPTIONS.decRef):
1901         (EXCEPTIONS.clearRef):
1902         (___cxa_find_matching_catch):
1903         (___gxx_personality_v0):
1904         (___lock):
1905         (_emscripten_memcpy_big):
1906         (_gettimeofday):
1907         (_abort):
1908         (SYSCALLS):
1909         (SYSCALLS.get getStr):
1910         (SYSCALLS.get64):
1911         (SYSCALLS.getZero):
1912         (try.___syscall146.printChar):
1913         (___syscall146):
1914         (___syscall54):
1915         (___unlock):
1916         (___syscall6):
1917         (invoke_ii):
1918         (invoke_iiii):
1919         (invoke_v):
1920         (_malloc.Module.string_appeared_here):
1921         (getTempRet0.Module.string_appeared_here):
1922         (_free.Module.string_appeared_here):
1923         (_main.Module.string_appeared_here):
1924         (setTempRet0.Module.string_appeared_here):
1925         (establishStackSpace.Module.string_appeared_here):
1926         (stackSave.Module.string_appeared_here):
1927         (_memset.Module.string_appeared_here):
1928         (_sbrk.Module.string_appeared_here):
1929         (_emscripten_get_global_libc.Module.string_appeared_here):
1930         (_memcpy.Module.string_appeared_here):
1931         (___errno_location.Module.string_appeared_here):
1932         (setThrew.Module.string_appeared_here):
1933         (_fflush.Module.string_appeared_here):
1934         (stackAlloc.Module.string_appeared_here):
1935         (stackRestore.Module.string_appeared_here):
1936         (_llvm_bswap_i32.Module.string_appeared_here):
1937         (runPostSets.Module.string_appeared_here):
1938         (dynCall_ii.Module.string_appeared_here):
1939         (dynCall_iiii.Module.string_appeared_here):
1940         (dynCall_v.Module.string_appeared_here):
1941         (else.applyMemoryInitializer):
1942         (else):
1943         (else.useRequest):
1944         (ExitStatus):
1945         (dependenciesFulfilled):
1946         (Module.string_appeared_here.Module.callMain.callMain.pad):
1947         (Module.string_appeared_here.Module.callMain):
1948         (run.doRun):
1949         (run):
1950         (exit):
1951         * workers/wasm-hashset/many-worker.js: Added.
1952         (console.log):
1953         (console.error):
1954         (console.assert):
1955         (Module.print):
1956         (Module.printErr):
1957         (Module.canvas):
1958         (Module.setStatus):
1959         (Module):
1960         (setValue):
1961         (getValue):
1962         (allocate):
1963         (getMemory):
1964         (Pointer_stringify):
1965         (AsciiToString):
1966         (stringToAscii):
1967         (UTF8ArrayToString):
1968         (UTF8ToString):
1969         (stringToUTF8Array):
1970         (stringToUTF8):
1971         (lengthBytesUTF8):
1972         (demangle):
1973         (demangleAll):
1974         (stackTrace):
1975         (alignUp):
1976         (updateGlobalBuffer):
1977         (updateGlobalBufferViews):
1978         (abortOnCannotGrowMemory):
1979         (enlargeMemory):
1980         (getTotalMemory):
1981         (callRuntimeCallbacks):
1982         (preRun):
1983         (ensureInitRuntime):
1984         (preMain):
1985         (exitRuntime):
1986         (postRun):
1987         (addOnPreRun):
1988         (addOnInit):
1989         (addOnPreMain):
1990         (addOnExit):
1991         (addOnPostRun):
1992         (intArrayFromString):
1993         (intArrayToString):
1994         (writeStringToMemory):
1995         (writeArrayToMemory):
1996         (writeAsciiToMemory):
1997         (Math.string_appeared_here):
1998         (addRunDependency):
1999         (removeRunDependency):
2000         (integrateWasmJS.asm2wasmImports.string_appeared_here):
2001         (integrateWasmJS.lookupImport):
2002         (integrateWasmJS.mergeMemory):
2003         (integrateWasmJS.fixImports):
2004         (integrateWasmJS.getBinary):
2005         (integrateWasmJS.doJustAsm):
2006         (integrateWasmJS.receiveInstance):
2007         (integrateWasmJS.doNativeWasm):
2008         (integrateWasmJS.doWasmPolyfill):
2009         (integrateWasmJS.Module.string_appeared_here):
2010         (integrateWasmJS):
2011         (___setErrNo):
2012         (__ZSt18uncaught_exceptionv):
2013         (EXCEPTIONS.deAdjust):
2014         (EXCEPTIONS.addRef):
2015         (EXCEPTIONS.decRef):
2016         (EXCEPTIONS.clearRef):
2017         (___cxa_find_matching_catch):
2018         (___gxx_personality_v0):
2019         (___lock):
2020         (_emscripten_memcpy_big):
2021         (_gettimeofday):
2022         (_abort):
2023         (SYSCALLS):
2024         (SYSCALLS.get getStr):
2025         (SYSCALLS.get64):
2026         (SYSCALLS.getZero):
2027         (try.___syscall146.printChar):
2028         (___syscall146):
2029         (___syscall54):
2030         (___unlock):
2031         (___syscall6):
2032         (invoke_ii):
2033         (invoke_iiii):
2034         (invoke_v):
2035         (_malloc.Module.string_appeared_here):
2036         (getTempRet0.Module.string_appeared_here):
2037         (_free.Module.string_appeared_here):
2038         (_main.Module.string_appeared_here):
2039         (setTempRet0.Module.string_appeared_here):
2040         (establishStackSpace.Module.string_appeared_here):
2041         (stackSave.Module.string_appeared_here):
2042         (_memset.Module.string_appeared_here):
2043         (_sbrk.Module.string_appeared_here):
2044         (_emscripten_get_global_libc.Module.string_appeared_here):
2045         (_memcpy.Module.string_appeared_here):
2046         (___errno_location.Module.string_appeared_here):
2047         (setThrew.Module.string_appeared_here):
2048         (_fflush.Module.string_appeared_here):
2049         (stackAlloc.Module.string_appeared_here):
2050         (stackRestore.Module.string_appeared_here):
2051         (_llvm_bswap_i32.Module.string_appeared_here):
2052         (runPostSets.Module.string_appeared_here):
2053         (dynCall_ii.Module.string_appeared_here):
2054         (dynCall_iiii.Module.string_appeared_here):
2055         (dynCall_v.Module.string_appeared_here):
2056         (else.applyMemoryInitializer):
2057         (else):
2058         (else.useRequest):
2059         (ExitStatus):
2060         (dependenciesFulfilled):
2061         (Module.string_appeared_here.Module.callMain.callMain.pad):
2062         (Module.string_appeared_here.Module.callMain):
2063         (run.doRun):
2064         (run):
2065         (exit):
2066         * workers/wasm-hashset/test.js: Added.
2067         (reallyDone):
2068         (console.log):
2069         (console.error):
2070         (console.assert):
2071         (Module.print):
2072         (Module.printErr):
2073         (Module.canvas):
2074         (Module.setStatus):
2075         (Module):
2076         (setValue):
2077         (getValue):
2078         (allocate):
2079         (getMemory):
2080         (Pointer_stringify):
2081         (AsciiToString):
2082         (stringToAscii):
2083         (UTF8ArrayToString):
2084         (UTF8ToString):
2085         (stringToUTF8Array):
2086         (stringToUTF8):
2087         (lengthBytesUTF8):
2088         (demangle):
2089         (demangleAll):
2090         (stackTrace):
2091         (alignUp):
2092         (updateGlobalBuffer):
2093         (updateGlobalBufferViews):
2094         (abortOnCannotGrowMemory):
2095         (enlargeMemory):
2096         (getTotalMemory):
2097         (callRuntimeCallbacks):
2098         (preRun):
2099         (ensureInitRuntime):
2100         (preMain):
2101         (exitRuntime):
2102         (postRun):
2103         (addOnPreRun):
2104         (addOnInit):
2105         (addOnPreMain):
2106         (addOnExit):
2107         (addOnPostRun):
2108         (intArrayFromString):
2109         (intArrayToString):
2110         (writeStringToMemory):
2111         (writeArrayToMemory):
2112         (writeAsciiToMemory):
2113         (Math.string_appeared_here):
2114         (addRunDependency):
2115         (removeRunDependency):
2116         (integrateWasmJS.asm2wasmImports.string_appeared_here):
2117         (integrateWasmJS.lookupImport):
2118         (integrateWasmJS.mergeMemory):
2119         (integrateWasmJS.fixImports):
2120         (integrateWasmJS.getBinary):
2121         (integrateWasmJS.doJustAsm):
2122         (integrateWasmJS.receiveInstance):
2123         (integrateWasmJS.doNativeWasm):
2124         (integrateWasmJS.doWasmPolyfill):
2125         (integrateWasmJS.Module.string_appeared_here):
2126         (integrateWasmJS):
2127         (___setErrNo):
2128         (__ZSt18uncaught_exceptionv):
2129         (EXCEPTIONS.deAdjust):
2130         (EXCEPTIONS.addRef):
2131         (EXCEPTIONS.decRef):
2132         (EXCEPTIONS.clearRef):
2133         (___cxa_find_matching_catch):
2134         (___gxx_personality_v0):
2135         (___lock):
2136         (_emscripten_memcpy_big):
2137         (_gettimeofday):
2138         (_abort):
2139         (SYSCALLS):
2140         (SYSCALLS.get getStr):
2141         (SYSCALLS.get64):
2142         (SYSCALLS.getZero):
2143         (try.___syscall146.printChar):
2144         (___syscall146):
2145         (___syscall54):
2146         (___unlock):
2147         (___syscall6):
2148         (invoke_ii):
2149         (invoke_iiii):
2150         (invoke_v):
2151         (_malloc.Module.string_appeared_here):
2152         (getTempRet0.Module.string_appeared_here):
2153         (_free.Module.string_appeared_here):
2154         (_main.Module.string_appeared_here):
2155         (setTempRet0.Module.string_appeared_here):
2156         (establishStackSpace.Module.string_appeared_here):
2157         (stackSave.Module.string_appeared_here):
2158         (_memset.Module.string_appeared_here):
2159         (_sbrk.Module.string_appeared_here):
2160         (_emscripten_get_global_libc.Module.string_appeared_here):
2161         (_memcpy.Module.string_appeared_here):
2162         (___errno_location.Module.string_appeared_here):
2163         (setThrew.Module.string_appeared_here):
2164         (_fflush.Module.string_appeared_here):
2165         (stackAlloc.Module.string_appeared_here):
2166         (stackRestore.Module.string_appeared_here):
2167         (_llvm_bswap_i32.Module.string_appeared_here):
2168         (runPostSets.Module.string_appeared_here):
2169         (dynCall_ii.Module.string_appeared_here):
2170         (dynCall_iiii.Module.string_appeared_here):
2171         (dynCall_v.Module.string_appeared_here):
2172         (else.applyMemoryInitializer):
2173         (else):
2174         (else.useRequest):
2175         (ExitStatus):
2176         (dependenciesFulfilled):
2177         (Module.string_appeared_here.Module.callMain.callMain.pad):
2178         (Module.string_appeared_here.Module.callMain):
2179         (run.doRun):
2180         (run):
2181         (exit):
2182         * workers/wasm-hashset/worker.js: Added.
2183         (console.log):
2184         (console.error):
2185         (console.assert):
2186         (Module.print):
2187         (Module.printErr):
2188         (Module.canvas):
2189         (Module.setStatus):
2190         (Module):
2191         (setValue):
2192         (getValue):
2193         (allocate):
2194         (getMemory):
2195         (Pointer_stringify):
2196         (AsciiToString):
2197         (stringToAscii):
2198         (UTF8ArrayToString):
2199         (UTF8ToString):
2200         (stringToUTF8Array):
2201         (stringToUTF8):
2202         (lengthBytesUTF8):
2203         (demangle):
2204         (demangleAll):
2205         (stackTrace):
2206         (alignUp):
2207         (updateGlobalBuffer):
2208         (updateGlobalBufferViews):
2209         (abortOnCannotGrowMemory):
2210         (enlargeMemory):
2211         (getTotalMemory):
2212         (callRuntimeCallbacks):
2213         (preRun):
2214         (ensureInitRuntime):
2215         (preMain):
2216         (exitRuntime):
2217         (postRun):
2218         (addOnPreRun):
2219         (addOnInit):
2220         (addOnPreMain):
2221         (addOnExit):
2222         (addOnPostRun):
2223         (intArrayFromString):
2224         (intArrayToString):
2225         (writeStringToMemory):
2226         (writeArrayToMemory):
2227         (writeAsciiToMemory):
2228         (Math.string_appeared_here):
2229         (addRunDependency):
2230         (removeRunDependency):
2231         (integrateWasmJS.asm2wasmImports.string_appeared_here):
2232         (integrateWasmJS.lookupImport):
2233         (integrateWasmJS.mergeMemory):
2234         (integrateWasmJS.fixImports):
2235         (integrateWasmJS.getBinary):
2236         (integrateWasmJS.doJustAsm):
2237         (integrateWasmJS.receiveInstance):
2238         (integrateWasmJS.):
2239         (integrateWasmJS.doNativeWasm):
2240         (integrateWasmJS.doWasmPolyfill):
2241         (integrateWasmJS.Module.string_appeared_here):
2242         (integrateWasmJS):
2243         (___setErrNo):
2244         (__ZSt18uncaught_exceptionv):
2245         (EXCEPTIONS.deAdjust):
2246         (EXCEPTIONS.addRef):
2247         (EXCEPTIONS.decRef):
2248         (EXCEPTIONS.clearRef):
2249         (___cxa_find_matching_catch):
2250         (___gxx_personality_v0):
2251         (___lock):
2252         (_emscripten_memcpy_big):
2253         (_gettimeofday):
2254         (_abort):
2255         (SYSCALLS):
2256         (SYSCALLS.get getStr):
2257         (SYSCALLS.get64):
2258         (SYSCALLS.getZero):
2259         (try.___syscall146.printChar):
2260         (___syscall146):
2261         (___syscall54):
2262         (___unlock):
2263         (___syscall6):
2264         (invoke_ii):
2265         (invoke_iiii):
2266         (invoke_v):
2267         (_malloc.Module.string_appeared_here):
2268         (getTempRet0.Module.string_appeared_here):
2269         (_free.Module.string_appeared_here):
2270         (_main.Module.string_appeared_here):
2271         (setTempRet0.Module.string_appeared_here):
2272         (establishStackSpace.Module.string_appeared_here):
2273         (stackSave.Module.string_appeared_here):
2274         (_memset.Module.string_appeared_here):
2275         (_sbrk.Module.string_appeared_here):
2276         (_emscripten_get_global_libc.Module.string_appeared_here):
2277         (_memcpy.Module.string_appeared_here):
2278         (___errno_location.Module.string_appeared_here):
2279         (setThrew.Module.string_appeared_here):
2280         (_fflush.Module.string_appeared_here):
2281         (stackAlloc.Module.string_appeared_here):
2282         (stackRestore.Module.string_appeared_here):
2283         (_llvm_bswap_i32.Module.string_appeared_here):
2284         (runPostSets.Module.string_appeared_here):
2285         (dynCall_ii.Module.string_appeared_here):
2286         (dynCall_iiii.Module.string_appeared_here):
2287         (dynCall_v.Module.string_appeared_here):
2288         (else.applyMemoryInitializer):
2289         (else):
2290         (else.useRequest):
2291         (ExitStatus):
2292         (dependenciesFulfilled):
2293         (Module.string_appeared_here.Module.callMain.callMain.pad):
2294         (Module.string_appeared_here.Module.callMain):
2295         (run.doRun):
2296         (run):
2297         (exit):
2298         * workers/wasm-long-compile-expected.txt: Added.
2299         * workers/wasm-long-compile-many-expected.txt: Added.
2300         * workers/wasm-long-compile-many.html: Added.
2301         * workers/wasm-long-compile.html: Added.
2302         * workers/wasm-resources: Added.
2303         * workers/wasm-resources/long-compile-many.js: Added.
2304         (done):
2305         (i.async.run):
2306         (i.worker.onmessage):
2307         * workers/wasm-resources/long-compile-worker.js: Added.
2308         (const._fail):
2309         (const.isNotA.assert.isNotA):
2310         (const):
2311         (switch.typeof):
2312         (Builder):
2313         (Builder.prototype.setChecked):
2314         (Builder.prototype.setPreamble):
2315         (Builder.prototype._functionIndexSpaceKeyHash):
2316         (Builder.prototype._registerFunctionToIndexSpace):
2317         (Builder.prototype._getFunctionFromIndexSpace):
2318         (Builder.prototype._registerSectionBuilders.const.section.in.WASM.description.section.switch.section.case.string_appeared_here.this.section):
2319         (Builder.prototype._registerSectionBuilders.const.section.in.WASM.description.section.switch.section.const.codeBuilder.End.switch.case.string_appeared_here.e):
2320         (Builder.prototype._registerSectionBuilders.this.Unknown):
2321         * workers/wasm-resources/long-compile.js: Added.
2322         (done):
2323         (async.run):
2324         (worker.onmessage):
2325
2326 2017-04-13  Dean Jackson  <dino@apple.com>
2327
2328         Large negative animation-delays may not work depending on machine uptime
2329         https://bugs.webkit.org/show_bug.cgi?id=166962
2330         <rdar://problem/30091526>
2331
2332         Reviewed by Tim Horton.
2333
2334         * animations/large-negative-delay-expected.txt: Added.
2335         * animations/large-negative-delay.html: Added.
2336
2337 2017-04-13  Andy VanWagoner  <thetalecrafter@gmail.com>
2338
2339         Change Intl prototypes to plain objects
2340         https://bugs.webkit.org/show_bug.cgi?id=168178
2341
2342         Reviewed by JF Bastien.
2343
2344         * js/intl-collator-expected.txt:
2345         * js/intl-datetimeformat-expected.txt:
2346         * js/intl-numberformat-expected.txt:
2347         * js/script-tests/intl-collator.js:
2348         * js/script-tests/intl-datetimeformat.js:
2349         * js/script-tests/intl-numberformat.js:
2350
2351 2017-04-13  Ryan Haddad  <ryanhaddad@apple.com>
2352
2353         Mark fast/mediacapturefromelement/CanvasCaptureMediaStream-request-frame-events.html as flaky on iOS.
2354         https://bugs.webkit.org/show_bug.cgi?id=169719
2355
2356         Unreviewed test gardening.
2357
2358         * platform/ios-wk2/TestExpectations:
2359
2360 2017-04-13  Antti Koivisto  <antti@apple.com>
2361
2362         Don't invalidate composition for style changes in non-composited layers
2363         https://bugs.webkit.org/show_bug.cgi?id=170805
2364         <rdar://problem/31606185>
2365
2366         Reviewed by Simon Fraser.
2367
2368         * compositing/updates/animation-non-composited-expected.txt: Added.
2369         * compositing/updates/animation-non-composited.html: Added.
2370
2371 2017-04-13  Ryan Haddad  <ryanhaddad@apple.com>
2372
2373         Mark webrtc/video-mute.html as flaky.
2374         https://bugs.webkit.org/show_bug.cgi?id=170704
2375
2376         Unreviewed test gardening.
2377
2378         * TestExpectations:
2379
2380 2017-04-13  Ryan Haddad  <ryanhaddad@apple.com>
2381
2382         Mark media/media-controls-timeline-updates-when-hovered.html as flaky.
2383         https://bugs.webkit.org/show_bug.cgi?id=165553
2384
2385         Unreviewed test gardening.
2386
2387         * platform/mac/TestExpectations:
2388
2389 2017-04-13  Ryan Haddad  <ryanhaddad@apple.com>
2390
2391         Mark media/track/track-cue-rendering-rtl.html as flaky.
2392         https://bugs.webkit.org/show_bug.cgi?id=170831
2393
2394         Unreviewed test gardening.
2395
2396         * platform/mac/TestExpectations:
2397
2398 2017-04-13  Ryan Haddad  <ryanhaddad@apple.com>
2399
2400         Mark inspector/sampling-profiler/named-function-expression.html as flaky.
2401         https://bugs.webkit.org/show_bug.cgi?id=170830
2402
2403         Unreviewed test gardening.
2404
2405         * platform/mac-wk1/TestExpectations:
2406
2407 2017-04-13  Ryan Haddad  <ryanhaddad@apple.com>
2408
2409         Add ios-simulator baseline for imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached.html.
2410
2411         Unreviewed test gardening.
2412
2413         * platform/ios-simulator/imported/w3c/web-platform-tests/fetch/api/request/request-cache-only-if-cached-expected.txt: Added.
2414
2415 2017-04-13  Ryan Haddad  <ryanhaddad@apple.com>
2416
2417         Mark http/tests/inspector/network/resource-request-headers.html as flaky.
2418         https://bugs.webkit.org/show_bug.cgi?id=170702
2419
2420         Unreviewed test gardening.
2421
2422         * platform/mac-wk2/TestExpectations:
2423
2424 2017-04-13  Ryan Haddad  <ryanhaddad@apple.com>
2425
2426         Mark media/modern-media-controls/volume-support/volume-support-click.html as flaky.
2427         https://bugs.webkit.org/show_bug.cgi?id=164229
2428
2429         Unreviewed test gardening.
2430
2431         * platform/mac/TestExpectations:
2432
2433 2017-04-13  Chris Dumez  <cdumez@apple.com>
2434
2435         LayoutTest svg/animations/animated-svg-image-outside-viewport-paused.html is a flaky failure
2436         https://bugs.webkit.org/show_bug.cgi?id=170745
2437
2438         Reviewed by Tim Horton.
2439
2440         Test was relying on a setTimeout(30) and was flaky. Now use shouldBecomeEqual() to make the
2441         test more robust.
2442
2443         * svg/animations/animated-svg-image-outside-viewport-paused-expected.txt:
2444         * svg/animations/animated-svg-image-outside-viewport-paused.html:
2445
2446 2017-04-13  Youenn Fablet  <youenn@apple.com>
2447
2448         Remove RTCSignalingState::Closed
2449         https://bugs.webkit.org/show_bug.cgi?id=170811
2450
2451         Reviewed by Eric Carlson.
2452
2453         * webrtc/connection-state.html:
2454
2455 2017-04-13  Jonathan Bedard  <jbedard@apple.com>
2456
2457         Remove compositing/masks/solid-color-masked.html expectation
2458         https://bugs.webkit.org/show_bug.cgi?id=168054
2459
2460         Unreviewed test gardening.
2461
2462         * platform/ios/TestExpectations: Remove compositing/masks/solid-color-masked.html.
2463
2464 2017-04-13  Youenn Fablet  <youenn@apple.com>
2465
2466         Add some more WebRTC tests
2467         https://bugs.webkit.org/show_bug.cgi?id=170796
2468
2469         Reviewed by Eric Carlson.
2470
2471         * webrtc/multi-video-expected.txt: Added.
2472         * webrtc/multi-video.html: Added.
2473         * webrtc/video-with-data-channel-expected.txt: Added.
2474         * webrtc/video-with-data-channel.html: Added.
2475
2476 2017-04-13  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2477
2478         [Readable Streams API] Implement cloneArrayBuffer in WebCore
2479         https://bugs.webkit.org/show_bug.cgi?id=170008
2480
2481         Reviewed by Youenn Fablet.
2482
2483         Added test to check cloneArrayBuffer behaviour. 
2484
2485         * streams/clone-array-buffer-expected.txt: Added.
2486         * streams/clone-array-buffer.html: Added.
2487
2488 2017-04-13  Youenn Fablet  <youenn@apple.com>
2489
2490         onnegotiationneeded should only be called once
2491         https://bugs.webkit.org/show_bug.cgi?id=170785
2492
2493         Reviewed by Alex Christensen.
2494
2495         * webrtc/negotiatedneeded-event-addStream.html:
2496
2497 2017-04-13  Dave Hyatt  <hyatt@apple.com>
2498
2499         Rendering flexbox children across columns
2500         https://bugs.webkit.org/show_bug.cgi?id=164166
2501         <rdar://problem/29055587>
2502
2503         Reviewed by Zalan Bujtas.
2504
2505         * fast/multicol/flexbox-rows-expected.html: Added.
2506         * fast/multicol/flexbox-rows.html: Added.
2507
2508 2017-04-13  Antti Koivisto  <antti@apple.com>
2509
2510         Try to unflake a test.
2511
2512         * http/tests/cache/disk-cache/disk-cache-media-small.html:
2513
2514 2017-04-12  Brady Eidson  <beidson@apple.com>
2515
2516         QuotaExceededError when saving to localStorage in private mode.
2517         https://bugs.webkit.org/show_bug.cgi?id=157010
2518
2519         Reviewed by Alex Christensen.
2520
2521         * platform/mac-wk2/TestExpectations:
2522         * storage/domstorage/localstorage/private-browsing-affects-storage-expected.txt:
2523         * storage/domstorage/localstorage/private-browsing-affects-storage.html:
2524         * storage/domstorage/localstorage/resources/private-browsing-1.html: Added.
2525         * storage/domstorage/localstorage/resources/private-browsing-2.html: Added.
2526         * storage/domstorage/localstorage/resources/private-browsing-3.html: Added.
2527         * storage/domstorage/localstorage/resources/private-browsing-storage-2.html: Added.
2528         * storage/domstorage/sessionstorage/private-browsing-affects-storage-expected.txt: Removed.
2529         * storage/domstorage/sessionstorage/private-browsing-affects-storage.html: Removed.
2530
2531 2017-04-12  Joseph Pecoraro  <pecoraro@apple.com>
2532
2533         test262: test262/test/built-ins/NativeErrors/EvalError/proto.js
2534         https://bugs.webkit.org/show_bug.cgi?id=170668
2535
2536         Reviewed by Keith Miller.
2537
2538         * ietestcenter/Javascript/15.2.3.2-2-12-expected.txt:
2539         * ietestcenter/Javascript/15.2.3.2-2-13-expected.txt:
2540         * ietestcenter/Javascript/15.2.3.2-2-14-expected.txt:
2541         * ietestcenter/Javascript/15.2.3.2-2-15-expected.txt:
2542         * ietestcenter/Javascript/15.2.3.2-2-16-expected.txt:
2543         * ietestcenter/Javascript/15.2.3.2-2-17-expected.txt:
2544         These tests are now out of date.
2545
2546 2017-04-12  Joseph Pecoraro  <pecoraro@apple.com>
2547
2548         test262: test262/test/language/literals/regexp/u-dec-esc.js
2549         https://bugs.webkit.org/show_bug.cgi?id=170687
2550
2551         Reviewed by Michael Saboff.
2552
2553         * js/regexp-unicode-expected.txt:
2554         * js/script-tests/regexp-unicode.js:
2555         Extend test to test invalid backreferences.
2556
2557 2017-04-12  Jonathan Bedard  <jbedard@apple.com>
2558
2559         Move expectation for compositing/iframes/iframe-size-from-zero.htm to top level
2560
2561         Unreviewed test gardening.
2562
2563         * TestExpectations: Marked compositing/iframes/iframe-size-from-zero.html as flaky.
2564         * platform/ios-wk1/TestExpectations: Move test expectation to top level.
2565         * platform/mac-wk1/TestExpectations: Ditto.
2566         * platform/win/TestExpectations: Ditto.
2567         * platform/wk2/TestExpectations: Ditto.
2568
2569 2017-04-11  Dean Jackson  <dino@apple.com>
2570
2571         canvas/2d.gradient.* LayoutTests failing
2572         https://bugs.webkit.org/show_bug.cgi?id=170757
2573         <rdar://problem/31177990>
2574
2575         Reviewed by Antoine Quint.
2576
2577         Add a fudge factor to the gradient tests, since we can
2578         now produce noisy (nicer looking) gradients. There might
2579         be 1 or 2 bits of difference per pixel.
2580
2581         * canvas/philip/tests.js:
2582         (_assertPixelWithGradientNoise):
2583         * canvas/philip/tests/2d.gradient.linear.transform.1.html:
2584         * canvas/philip/tests/2d.gradient.linear.transform.2.html:
2585         * canvas/philip/tests/2d.gradient.linear.transform.3.html:
2586         * canvas/philip/tests/2d.gradient.radial.cone.bottom.html:
2587         * canvas/philip/tests/2d.gradient.radial.cone.cylinder.html:
2588         * canvas/philip/tests/2d.gradient.radial.cone.front.html:
2589         * canvas/philip/tests/2d.gradient.radial.cone.shape1.html:
2590         * canvas/philip/tests/2d.gradient.radial.cone.top.html:
2591         * canvas/philip/tests/2d.gradient.radial.inside1.html:
2592         * canvas/philip/tests/2d.gradient.radial.inside2.html:
2593         * canvas/philip/tests/2d.gradient.radial.inside3.html:
2594         * canvas/philip/tests/2d.gradient.radial.outside1.html:
2595         * canvas/philip/tests/2d.gradient.radial.outside2.html:
2596         * canvas/philip/tests/2d.gradient.radial.outside3.html:
2597         * canvas/philip/tests/2d.gradient.radial.touch2.html:
2598         * fast/canvas/script-tests/canvas-gradient-on-compositing.js:
2599         * fast/canvas/canvas-gradient-on-compositing-expected.html:
2600
2601 2017-04-12  Myles C. Maxfield  <mmaxfield@apple.com>
2602
2603         Well-known variations should clamp to the values listed in the @font-face block
2604         https://bugs.webkit.org/show_bug.cgi?id=169260
2605
2606         Reviewed by Dean Jackson.
2607
2608         * fast/text/variations/font-face-clamp-expected.html: Added.
2609         * fast/text/variations/font-face-clamp.html: Added.
2610
2611 2017-04-12  Jonathan Bedard  <jbedard@apple.com>
2612
2613         Remove two passing canvas tests from ios expectations
2614
2615         Unreviewed test gardening.
2616
2617         * platform/ios/TestExpectations:
2618
2619 2017-04-12  Youenn Fablet  <youenn@apple.com>
2620
2621         REGRESSION: LayoutTest webrtc/negotiatedneeded-event-addStream.html is frequently crashing
2622         https://bugs.webkit.org/show_bug.cgi?id=170754
2623         <rdar://problem/31573169>
2624
2625         Unreviewed.
2626
2627         * TestExpectations: Marking test as crashing.
2628
2629 2017-04-12  Manuel Rego Casasnovas  <rego@igalia.com>
2630
2631         [css-grid] Replaced elements don't properly resolve percentage heights
2632         https://bugs.webkit.org/show_bug.cgi?id=159670
2633
2634         Reviewed by Darin Adler.
2635
2636         The issue was fixed in r213149 (bug #168657), but the Blink test was not imported.
2637         This patch only adds the test to avoid regressions in the future.
2638
2639         * fast/css-grid-layout/grid-item-with-percent-height-replaced-element-expected.txt: Added.
2640         * fast/css-grid-layout/grid-item-with-percent-height-replaced-element.html: Added.
2641
2642 2017-04-10  Antti Koivisto  <antti@apple.com>
2643
2644         Cache small media resources in disk cache
2645         https://bugs.webkit.org/show_bug.cgi?id=170676
2646         <rdar://problem/31532649>
2647
2648         Reviewed by Andreas Kling.
2649
2650         * http/tests/cache/disk-cache/disk-cache-media-small-expected.txt: Added.
2651         * http/tests/cache/disk-cache/disk-cache-media-small.html: Added.
2652
2653 2017-04-12  Per Arne Vollan  <pvollan@apple.com>
2654
2655         Implement stroke-color CSS property.
2656         https://bugs.webkit.org/show_bug.cgi?id=169352
2657
2658         Reviewed by Jon Lee.
2659
2660         * fast/css/stroke-color-expected.html: Added.
2661         * fast/css/stroke-color-fallback-expected.html: Added.
2662         * fast/css/stroke-color-fallback.html: Added.
2663         * fast/css/stroke-color.html: Added.
2664         * fast/css/visited-link-stroke-color-expected.html: Added.
2665         * fast/css/visited-link-stroke-color.html: Added.
2666
2667 2017-04-11  Youenn Fablet  <youenn@apple.com>
2668
2669         LayoutTest webrtc/video-mute.html is a flaky failure
2670         https://bugs.webkit.org/show_bug.cgi?id=170704
2671
2672         Reviewed by Eric Carlson.
2673
2674         * webrtc/video-mute.html: Trying to make it less flaky.
2675
2676 2017-04-11  Youenn Fablet  <youenn@apple.com>
2677
2678         [WK1] Add captureStream test with webrtc
2679         https://bugs.webkit.org/show_bug.cgi?id=170746
2680
2681         Reviewed by Eric Carlson.
2682
2683         * platform/mac-wk1/TestExpectations: Activating this new test in WK1.
2684         * webrtc/captureCanvas-webrtc-expected.txt: Added.
2685         * webrtc/captureCanvas-webrtc.html: Added.
2686
2687 2017-04-11  Youenn Fablet  <youenn@apple.com>
2688
2689         Migrating webrtc tests to latest API
2690         https://bugs.webkit.org/show_bug.cgi?id=170709
2691
2692         Reviewed by Eric Carlson.
2693
2694         * webrtc/audio-peer-connection-webaudio.html:
2695         * webrtc/libwebrtc/descriptionGetters.html:
2696         * webrtc/negotiatedneeded-event-addStream.html:
2697         * webrtc/peer-connection-audio-mute.html:
2698         * webrtc/peer-connection-audio-mute2.html:
2699         * webrtc/peer-connection-remote-audio-mute.html:
2700         * webrtc/peer-connection-remote-audio-mute2.html:
2701         * webrtc/release-after-getting-track.html:
2702         * webrtc/video-disabled-black.html:
2703         * webrtc/video-mute.html:
2704         * webrtc/video-remote-mute.html:
2705         * webrtc/video-with-receiver.html:
2706         * webrtc/video.html:
2707
2708 2017-04-11  Youenn Fablet  <youenn@apple.com>
2709
2710         Activate WebRTC data channel tests for WK1
2711         https://bugs.webkit.org/show_bug.cgi?id=170710
2712
2713         Reviewed by Eric Carlson.
2714
2715         * platform/mac-wk1/TestExpectations:
2716
2717 2017-04-11  Youenn Fablet  <youenn@apple.com>
2718
2719         MediaStream id should be equal to msid
2720         https://bugs.webkit.org/show_bug.cgi?id=170712
2721
2722         Reviewed by Eric Carlson.
2723
2724         Removing no longer needed/Adding needed calls to useMockRTCPeerConnectionFactory.
2725
2726         * fast/mediastream/RTCPeerConnection-inspect-answer.html:
2727         * fast/mediastream/RTCPeerConnection-inspect-offer.html:
2728         * fast/mediastream/RTCPeerConnection-legacy-stream-based-api.html:
2729         * fast/mediastream/RTCPeerConnection-media-setup-single-dialog.html:
2730         * fast/mediastream/RTCPeerConnection-remotely-assigned-transceiver-mid.html:
2731         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer.html:
2732         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer.html:
2733         * webrtc/audio-peer-connection-webaudio.html:
2734         * webrtc/audio-replace-track.html:
2735         * webrtc/connection-state.html:
2736         * webrtc/datachannel/basic.html:
2737         * webrtc/datachannel/bufferedAmountLowThreshold.html:
2738         * webrtc/datachannel/datachannel-gc.html:
2739         * webrtc/datachannel/datachannel-stats.html:
2740         * webrtc/datachannel/filter-ice-candidate.html:
2741         * webrtc/ephemeral-certificates-and-cnames.html:
2742         * webrtc/libwebrtc/descriptionGetters.html:
2743         * webrtc/negotiatedneeded-event-addStream.html:
2744         * webrtc/no-port-zero-in-upd-candidates.html:
2745         * webrtc/peer-connection-audio-mute.html:
2746         * webrtc/peer-connection-audio-mute2.html:
2747         * webrtc/peer-connection-remote-audio-mute.html:
2748         * webrtc/peer-connection-remote-audio-mute2.html:
2749         * webrtc/release-after-getting-track.html:
2750         * webrtc/video-disabled-black.html:
2751         * webrtc/video-getParameters.html:
2752         * webrtc/video-mediastreamtrack-stats.html:
2753         * webrtc/video-mute.html:
2754         * webrtc/video-remote-mute.html:
2755         * webrtc/video-replace-track-to-null.html:
2756         * webrtc/video-replace-track.html:
2757         * webrtc/video-stats.html:
2758         * webrtc/video-with-receiver.html:
2759         * webrtc/video.html:
2760
2761 2017-04-11  Chris Fleizach  <cfleizach@apple.com>
2762
2763         AX: Web article navigation does not work (article rotor for Facebook, Twitter, Messages etc.)
2764         https://bugs.webkit.org/show_bug.cgi?id=170330
2765         <rdar://problem/31366105>
2766
2767         Reviewed by Joanmarie Diggs.
2768
2769         * accessibility/mac/search-predicate-article-expected.txt:
2770         * accessibility/mac/search-predicate-article.html:
2771
2772 2017-04-11  Joseph Pecoraro  <pecoraro@apple.com>
2773
2774         test262: test262/test/annexB/language/comments/multi-line-html-close.js
2775         https://bugs.webkit.org/show_bug.cgi?id=170648
2776
2777         Reviewed by Keith Miller.
2778
2779         * js/parser-xml-close-comment-expected.txt:
2780         * js/script-tests/parser-xml-close-comment.js:
2781         Update test coverage for JavaScript HTML comments.
2782
2783 2017-04-11  Joseph Pecoraro  <pecoraro@apple.com>
2784
2785         test262: test262/test/built-ins/Array/S15.4.3_A2.2.js
2786         https://bugs.webkit.org/show_bug.cgi?id=170652
2787
2788         Reviewed by Michael Saboff.
2789
2790         * ietestcenter/Javascript/15.2.3.3-4-186-expected.txt:
2791         * ietestcenter/Javascript/15.2.3.3-4-191-expected.txt:
2792         * ietestcenter/Javascript/15.2.3.3-4-194-expected.txt:
2793         * ietestcenter/Javascript/15.2.3.3-4-201-expected.txt:
2794         * ietestcenter/Javascript/15.3.3.2-1-expected.txt:
2795         * sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.3/S15.4.3_A2.2-expected.txt:
2796         * sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.5/15.9.5.1_Date.prototype.constructor/S15.9.5.1_A3_T2-expected.txt:
2797         These tests expected the opposite, they are now out of date.
2798
2799 2017-04-11  Yoav Weiss  <yoav@yoav.ws>
2800
2801         [link preload] Double downloads of preloaded content when it's in MemoryCache
2802         https://bugs.webkit.org/show_bug.cgi?id=170122
2803
2804         Reviewed by Antti Koivisto.
2805
2806         * TestExpectations: Removed flakiness label from the header preload charset test.
2807         * fast/loader/cache-encoding-expected.txt: Changed expectation.
2808         * fast/loader/cache-encoding.html: Modified behavior to stick with the first decoded string.
2809         * http/tests/preload/preload-encoding-expected.txt: Changed expectation.
2810         * http/tests/preload/preload-encoding.html: Modified behavior to stick with the first decoded string.
2811         * imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/script-charset-01-expected.txt: This test refers to the same file
2812         twice and expects different decoding for it each time. This is the behavior that we modified, and therefore the test expectation is changed as well.
2813
2814 2017-04-11  Manuel Rego Casasnovas  <rego@igalia.com>
2815
2816         [css-grid] Fix fast/css-grid-layout/grid-simplified-layout-positioned.html
2817         https://bugs.webkit.org/show_bug.cgi?id=167538
2818
2819         Reviewed by Darin Adler.
2820
2821         fast/css-grid-layout/grid-simplified-layout-positioned.html was flacky
2822         as the caret was not always painted in the test runner.
2823         The test was checking for a crash in simplified layout (see bug #163450)
2824         and has nothing to do with the caret or "autofocus" behavior.
2825         "autofocus" was needed to get the crash, so this change modifies
2826         the test to blur the element, so the caret is not painted anymore.
2827
2828         * fast/css-grid-layout/grid-simplified-layout-positioned-expected.html:
2829         Don't focus the input element.
2830         * fast/css-grid-layout/grid-simplified-layout-positioned.html: Blur
2831         the input element to avoid showing the caret.
2832         * platform/mac-wk2/TestExpectations: Remove file from expectations.
2833
2834 2017-04-10  Jiewen Tan  <jiewen_tan@apple.com>
2835
2836         Unreviewed, test expectations update
2837
2838         * platform/wk2/TestExpectations:
2839
2840 2017-04-10  Ryan Haddad  <ryanhaddad@apple.com>
2841
2842         Mark two newly imported web-platform-tests as failing.
2843
2844         Unreviewed test gardening.
2845
2846         * TestExpectations:
2847
2848 2017-04-10  Ryan Haddad  <ryanhaddad@apple.com>
2849
2850         Mark media/modern-media-controls/volume-slider/volume-slider-value.html as flaky.
2851         https://bugs.webkit.org/show_bug.cgi?id=167475
2852
2853         Unreviewed test gardening.
2854
2855         * platform/mac-wk1/TestExpectations:
2856
2857 2017-04-10  Wenson Hsieh  <wenson_hsieh@apple.com>
2858
2859         REGRESSION (r214403): fast/events/drag-to-navigate.html and fast/events/only-valid-drop-targets-receive-file-drop.html failing
2860         https://bugs.webkit.org/show_bug.cgi?id=170677
2861         <rdar://problem/31512633>
2862
2863         Reviewed by Tim Horton.
2864
2865         Turn enableDragDestinationActionLoad on in these two LayoutTests via WKTR options.
2866
2867         * fast/events/drag-to-navigate.html:
2868         * fast/events/only-valid-drop-targets-receive-file-drop.html:
2869
2870 2017-04-10  Ryan Haddad  <ryanhaddad@apple.com>
2871
2872         Mark media/modern-media-controls/volume-up-support/volume-up-support.html as flaky.
2873         https://bugs.webkit.org/show_bug.cgi?id=170682
2874
2875         Unreviewed test gardening.
2876
2877         * platform/mac-wk1/TestExpectations:
2878
2879 2017-04-10  Ryan Haddad  <ryanhaddad@apple.com>
2880
2881         Rebaseline js/dom/global-constructors-attributes.html after r215131.
2882
2883         Unreviewed test gardening.
2884
2885         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
2886         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
2887         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2888
2889 2017-04-10  Andreas Kling  <akling@apple.com>
2890
2891         Don't generate extra scrolling tiles for non-visible pages.
2892         https://bugs.webkit.org/show_bug.cgi?id=167213
2893         <rdar://problem/30105774>
2894
2895         Reviewed by Antti Koivisto.
2896
2897         * TestExpectations:
2898         * compositing/tiling/non-visible-window-tile-coverage-expected.txt: Added.
2899         * compositing/tiling/non-visible-window-tile-coverage.html: Added.
2900         * platform/mac-wk2/TestExpectations:
2901
2902 2017-04-10  Carlos Garcia Campos  <cgarcia@igalia.com>
2903
2904         REGRESSION(r214426): [GTK] Test media/video-click-dblckick-standalone.html started to fail in the bots after r214426
2905         https://bugs.webkit.org/show_bug.cgi?id=170667
2906
2907         Reviewed by Žan Doberšek.
2908
2909         Unskip then test that is passing now.
2910
2911         * platform/gtk/TestExpectations:
2912
2913 2017-04-10  Carlos Garcia Campos  <cgarcia@igalia.com>
2914
2915         Unreviewed GTK+ gardening. Mark several tests as failing/timing out.
2916
2917         * platform/gtk/TestExpectations:
2918
2919 2017-04-10  Miguel Gomez  <magomez@igalia.com>
2920
2921         REGRESSION(r205841): [GTK] Test fast/images/animated-png.html is failing since r205841
2922         https://bugs.webkit.org/show_bug.cgi?id=168425
2923
2924         Reviewed by Said Abou-Hallawa.
2925
2926         Adjusted expectation for fast/images/animated-png.html. It must pass now.
2927
2928         * platform/gtk/TestExpectations:
2929
2930 2017-04-09  Devin Rousso  <webkit@devinrousso.com>
2931
2932         Web Inspector: tabbing in Styles sidebar is broken when additional ":" and ";" are in the property value
2933         https://bugs.webkit.org/show_bug.cgi?id=170184
2934
2935         Reviewed by Matt Baker.
2936
2937         * inspector/unit-tests/text-utilities-expected.txt: Added.
2938         * inspector/unit-tests/text-utilities.html: Added.
2939
2940 2017-04-09  Youenn Fablet  <youenn@apple.com>
2941
2942         Resync WPT tests up to 23cd07d4685d81024b7440e042f8bbdb33e7ddec
2943         https://bugs.webkit.org/show_bug.cgi?id=170647
2944
2945         Reviewed by Sam Weinig.
2946
2947         * TestExpectations:
2948         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/http-cache/304-update-expected.txt: Added.
2949         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/http-cache/cc-request-expected.txt: Added.
2950         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/http-cache/heuristic-expected.txt: Added.
2951         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/http-cache/invalidate-expected.txt: Added.
2952         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/http-cache/status-expected.txt: Added.
2953         * platform/mac-wk1/imported/w3c/web-platform-tests/html/browsers/windows/browsing-context-expected.txt: Added.
2954         * platform/mac/TestExpectations:
2955         * tests-options.json:
2956
2957 2017-04-09  Joseph Pecoraro  <pecoraro@apple.com>
2958
2959         test262: test262/test/annexB/language/literals/regexp/identity-escape.js
2960         https://bugs.webkit.org/show_bug.cgi?id=170651
2961
2962         Reviewed by Saam Barati.
2963
2964         * js/regexp-no-extensions-expected.txt:
2965         * js/script-tests/regexp-no-extensions.js:
2966         Update existing test for these edge cases.
2967
2968 2017-04-08  Myles C. Maxfield  <mmaxfield@apple.com>
2969
2970         [Variation Fonts] Width values of GX fonts are not mapped correctly
2971         https://bugs.webkit.org/show_bug.cgi?id=170367
2972
2973         Reviewed by Simon Fraser.
2974
2975         * fast/text/variations/font-selection-properties-expected.html:
2976         * fast/text/variations/gx-width-expected.html: Added.
2977         * fast/text/variations/gx-width.html: Added.
2978
2979 2017-04-08  Said Abou-Hallawa  <sabouhallawa@apple.com>
2980
2981         A synchronous DecodingOptions should be compatible with any asynchronous sizeForDrawing DecodingOptions
2982         https://bugs.webkit.org/show_bug.cgi?id=170577
2983
2984         Reviewed by Simon Fraser.
2985
2986         * fast/images/async-image-background-image-repeated-expected.html: Added.
2987         * fast/images/async-image-background-image-repeated.html: Added.
2988
2989 2017-04-08  Simon Fraser  <simon.fraser@apple.com>
2990
2991         Unprefix CSS cursor values grab and grabbing
2992         https://bugs.webkit.org/show_bug.cgi?id=170543
2993
2994         Reviewed by Jon Lee.
2995
2996         Enhanced the cursor test to check round-tripping of all values.
2997
2998         * fast/css/cursor-parsing-expected.txt:
2999         * fast/css/cursor-parsing.html:
3000
3001 2017-04-08  Youenn Fablet  <youenn@apple.com>
3002
3003         WebRTC tests gardening
3004         https://bugs.webkit.org/show_bug.cgi?id=170508
3005
3006         Reviewed by Eric Carlson.
3007
3008         * platform/ios-wk1/TestExpectations:
3009         * platform/ios-wk2/TestExpectations:
3010         * platform/ios/TestExpectations:
3011
3012 2017-04-08  Youenn Fablet  <youenn@apple.com>
3013
3014         MediaStreamTrack id should be preserved by PeerConnection
3015         https://bugs.webkit.org/show_bug.cgi?id=170624
3016
3017         Reviewed by Eric Carlson.
3018
3019         * webrtc/video.html:
3020
3021 2017-04-07  Chris Dumez  <cdumez@apple.com>
3022
3023         Unreviewed, update 2 media tests after r215120 so they work on iOS.
3024
3025         Setting the volume is a no-op on iOS so mute the video instead.
3026
3027         * media/video-restricted-invisible-autoplay-allowed-when-visible.html:
3028         * media/video-restricted-invisible-autoplay-not-allowed.html:
3029
3030 2017-04-07  Yuichiro Kikura  <y.kikura@gmail.com>
3031
3032         WebGPU: implement ComputeCommandEncoder and related components    
3033         https://bugs.webkit.org/show_bug.cgi?id=170444
3034
3035         Reviewed by Alex Christensen.
3036
3037         Added a test case to ensure ComputeCommandEncoder is dispatched successfully
3038
3039         * fast/canvas/webgpu/webgpu-dispatch-expected.txt: Added.
3040         * fast/canvas/webgpu/webgpu-dispatch.html: Added.
3041
3042 2017-04-07  Zalan Bujtas  <zalan@apple.com>
3043
3044         Simple line layout: FlowContents::segmentIndexForRunSlow skips empty runs.
3045         https://bugs.webkit.org/show_bug.cgi?id=170552
3046
3047         Reviewed by Antti Koivisto.
3048
3049         * fast/text/simple-line-layout-hover-over-subsequent-linebreaks-expected.txt: Added.
3050         * fast/text/simple-line-layout-hover-over-subsequent-linebreaks.html: Added.
3051
3052 2017-04-07  Ryan Haddad  <ryanhaddad@apple.com>
3053
3054         Mark media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play.html as flaky.
3055         https://bugs.webkit.org/show_bug.cgi?id=168540
3056
3057         Unreviewed test gardening.
3058
3059         * platform/mac/TestExpectations:
3060
3061 2017-04-07  Ryan Haddad  <ryanhaddad@apple.com>
3062
3063         Mark inspector/codemirror/prettyprinting-css.html as a flaky timeout.
3064         https://bugs.webkit.org/show_bug.cgi?id=170615
3065
3066         Unreviewed test gardening.
3067
3068         * platform/mac/TestExpectations:
3069
3070 2017-04-07  Chris Dumez  <cdumez@apple.com>
3071
3072         Audible autoplay videos should not get paused when outside the viewport
3073         https://bugs.webkit.org/show_bug.cgi?id=170610
3074         <rdar://problem/31505984>
3075
3076         Reviewed by Eric Carlson.
3077
3078         Add layout test coverage.
3079
3080         * media/video-restricted-invisible-autoplay-allowed-if-audible-expected.txt: Added.
3081         * media/video-restricted-invisible-autoplay-allowed-if-audible.html: Copied from LayoutTests/media/video-restricted-invisible-autoplay-not-allowed.html.
3082         * media/video-restricted-invisible-autoplay-allowed-when-visible.html:
3083         * media/video-restricted-invisible-autoplay-not-allowed.html:
3084
3085 2017-04-07  Chris Dumez  <cdumez@apple.com>
3086
3087         Throttle / Align DOM Timers in cross-origin iframes to 30fps
3088         https://bugs.webkit.org/show_bug.cgi?id=170613
3089         <rdar://problem/31506444>
3090
3091         Reviewed by Simon Fraser.
3092
3093         Add layout test coverage.
3094
3095         * http/tests/frame-throttling/resources/timer-throttling-frame.html: Added.
3096         * http/tests/frame-throttling/timer-throttle-in-cross-origin-subframe-expected.txt: Added.
3097         * http/tests/frame-throttling/timer-throttle-in-cross-origin-subframe.html: Added.
3098
3099 2017-04-07  Brent Fulgham  <bfulgham@apple.com>
3100
3101         Rebaseline additional tests after r215096.
3102         https://bugs.webkit.org/show_bug.cgi?id=170561
3103         <rdar://problem/7415154>
3104
3105         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-none-block-expected.txt:
3106         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-cross-self-block-expected.txt:
3107         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-same-none-block-expected.txt:
3108         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-cross-in-same-self-block-expected.txt:
3109         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-cross-none-block-expected.txt:
3110         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-cross-self-block-expected.txt:
3111         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-nested-same-in-same-none-block-expected.txt:
3112         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-none-block-expected.txt:
3113         * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-self-block-expected.txt:
3114         * http/tests/security/no-popup-from-sandbox-top-expected.txt:
3115         * http/tests/xmlhttprequest/origin-exact-matching-expected.txt:
3116
3117 2017-04-07  Brent Fulgham  <bfulgham@apple.com>
3118
3119         WebKit should percent encode single quotes in query strings
3120         https://bugs.webkit.org/show_bug.cgi?id=170561
3121         <rdar://problem/7415154>
3122
3123         Reviewed by Alex Christensen.
3124
3125         Rebaseline tests after change.
3126
3127         * fast/events/popup-blocked-from-unique-frame-via-window-open-named-sibling-frame-expected.txt:
3128         * fast/frames/xss-auditor-handles-file-urls-expected.txt:
3129         * http/tests/security/xssAuditor/base-href-control-char-expected.txt:
3130         * http/tests/security/xssAuditor/base-href-expected.txt:
3131         * http/tests/security/xssAuditor/base-href-null-char-expected.txt:
3132         * http/tests/security/xssAuditor/base-href-scheme-relative-expected.txt:
3133         * http/tests/security/xssAuditor/embed-tag-control-char-expected.txt:
3134         * http/tests/security/xssAuditor/embed-tag-expected.txt:
3135         * http/tests/security/xssAuditor/embed-tag-javascript-url-expected.txt:
3136         * http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
3137         * http/tests/security/xssAuditor/form-action-expected.txt:
3138         * http/tests/security/xssAuditor/formaction-on-button-expected.txt:
3139         * http/tests/security/xssAuditor/formaction-on-input-expected.txt:
3140         * http/tests/security/xssAuditor/frameset-injection-expected.txt:
3141         * http/tests/security/xssAuditor/full-block-base-href-expected.txt:
3142         * http/tests/security/xssAuditor/full-block-link-onclick-expected.txt:
3143         * http/tests/security/xssAuditor/full-block-object-tag-expected.txt:
3144         * http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt:
3145         * http/tests/security/xssAuditor/iframe-injection-expected.txt:
3146         * http/tests/security/xssAuditor/iframe-javascript-url-more-encoding-expected.txt:
3147         * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding-expected.txt:
3148         * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-expected.txt:
3149         * http/tests/security/xssAuditor/link-onclick-ampersand-expected.txt:
3150         * http/tests/security/xssAuditor/link-onclick-control-char-expected.txt:
3151         * http/tests/security/xssAuditor/link-onclick-entities-expected.txt:
3152         * http/tests/security/xssAuditor/link-onclick-expected.txt:
3153         * http/tests/security/xssAuditor/link-onclick-null-char-expected.txt:
3154         * http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt:
3155         * http/tests/security/xssAuditor/object-embed-tag-expected.txt:
3156         * http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
3157         * http/tests/security/xssAuditor/object-tag-expected.txt:
3158         * http/tests/security/xssAuditor/object-tag-javascript-url-expected.txt:
3159         * http/tests/security/xssAuditor/script-tag-expression-follows-expected.txt:
3160         * http/tests/security/xssAuditor/script-tag-with-16bit-unicode4-expected.txt:
3161         * http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt:
3162         * http/tests/security/xssAuditor/script-tag-with-comma-01-expected.txt:
3163         * http/tests/security/xssAuditor/script-tag-with-source-control-char-expected.txt:
3164         * http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt:
3165         * http/tests/security/xssAuditor/script-tag-with-source-expected.txt:
3166         * http/tests/security/xssAuditor/script-tag-with-source-null-char-expected.txt:
3167         * http/tests/security/xssAuditor/script-tag-with-source-same-host-with-query-expected.txt:
3168         * http/tests/security/xssAuditor/svg-animate-expected.txt:
3169         * http/tests/security/xssAuditor/svg-script-tag-expected.txt:
3170         * http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt:
3171         * http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt:
3172
3173 2017-04-07  Youenn Fablet  <youenn@apple.com>
3174
3175         Improve some WebRTC flaky tests
3176         https://bugs.webkit.org/show_bug.cgi?id=170584
3177
3178         Reviewed by Alex Christensen.
3179
3180         * webrtc/libwebrtc/descriptionGetters.html:
3181         * webrtc/video-replace-track-to-null.html:
3182
3183 2017-04-07  Zalan Bujtas  <zalan@apple.com>
3184
3185         Text insertion cursor disappears after pressing enter
3186         https://bugs.webkit.org/show_bug.cgi?id=169291
3187         <rdar://problem/30899611>
3188
3189         Reviewed by Tim Horton.
3190
3191         * editing/simple-line-layout-caret-is-gone-expected.txt: Added.
3192         * editing/simple-line-layout-caret-is-gone.html: Added.
3193
3194 2017-04-06  Myles C. Maxfield  <mmaxfield@apple.com>
3195
3196         Make FontWithFeatures test font pass OTS
3197         https://bugs.webkit.org/show_bug.cgi?id=169788
3198
3199         Reviewed by Tim Horton.
3200
3201         Updated font to the one which passes the tests.
3202
3203         * css3/resources/FontWithFeatures.otf:
3204
3205 2017-04-06  Jiewen Tan  <jiewen_tan@apple.com>
3206
3207         LayoutTest crypto/subtle/aes-ctr-encrypt-malformed-parameters.html is a flaky failure
3208         https://bugs.webkit.org/show_bug.cgi?id=170571
3209
3210         Unreviewed.
3211
3212         * crypto/subtle/aes-ctr-encrypt-malformed-parameters-expected.txt:
3213         * crypto/subtle/aes-ctr-encrypt-malformed-parameters.html:
3214
3215 2017-04-06  Wenson Hsieh  <wenson_hsieh@apple.com>
3216
3217         Scroll offset jumps after a programmatic scroll in an overflow container with scroll snapping
3218         https://bugs.webkit.org/show_bug.cgi?id=170560
3219         <rdar://problem/31484693>
3220
3221         Reviewed by Tim Horton.
3222
3223         Add a test verifying that programmatically changing the scroll offset of an overflow container does not cause the
3224         scroll offset to jump back to the last active snap position. See WebCore ChangeLog for more details.
3225
3226         * css3/scroll-snap/scroll-snap-programmatic-overflow-scroll-expected.txt: Added.
3227         * css3/scroll-snap/scroll-snap-programmatic-overflow-scroll.html: Added.
3228
3229 2017-04-05  Simon Fraser  <simon.fraser@apple.com>
3230
3231         Throttle requestAnimationFrame in cross-origin iframes to 30fps
3232         https://bugs.webkit.org/show_bug.cgi?id=170534
3233
3234         Reviewed by Dan Bates.
3235
3236         * http/tests/frame-throttling/raf-throttle-in-cross-origin-subframe-expected.txt: Added.
3237         * http/tests/frame-throttling/raf-throttle-in-cross-origin-subframe.html: Added.
3238         * http/tests/frame-throttling/resources/requestAnimationFrame-frame.html: Added.
3239
3240 2017-04-06  Ryan Haddad  <ryanhaddad@apple.com>
3241
3242         Unreviewed, rolling out r215041.
3243
3244         The LayoutTest for this change is failing on ios-simulator.
3245
3246         Reverted changeset:
3247
3248         "Rendering flexbox children across columns"
3249         https://bugs.webkit.org/show_bug.cgi?id=164166
3250         http://trac.webkit.org/changeset/215041
3251
3252 2017-04-06  Ryan Haddad  <ryanhaddad@apple.com>
3253
3254         Unreviewed, rolling out r215046.
3255
3256         This change broke internal builds.
3257
3258         Reverted changeset:
3259
3260         "WebRTC tests gardening"
3261         https://bugs.webkit.org/show_bug.cgi?id=170508
3262         http://trac.webkit.org/changeset/215046
3263
3264 2017-04-06  Ryan Haddad  <ryanhaddad@apple.com>
3265
3266         Skip a test that was accidentally enabled with r214982.
3267
3268         Unreviewed test gardening.
3269
3270         * platform/ios/TestExpectations:
3271
3272 2017-04-06  Joseph Pecoraro  <pecoraro@apple.com>
3273
3274         Web Inspector: Show all headers in the Request Headers section of the Resource details sidebar
3275         https://bugs.webkit.org/show_bug.cgi?id=16531
3276         <rdar://problem/5712895>
3277
3278         Reviewed by Timothy Hatcher.
3279
3280         * http/tests/inspector/network/resource-request-headers-expected.txt: Added.
3281         * http/tests/inspector/network/resource-request-headers.html: Added.
3282         * http/tests/inspector/network/resources/basic-auth.php: Added.
3283         Test coverage for Cookie and Basic Authentication headers.
3284
3285         * platform/mac/TestExpectations:
3286         * platform/mac-wk1/TestExpectations:
3287         * platform/win/TestExpectations:
3288         Mark the test as expected to fail on WebKit1 CFNetwork based platforms,
3289         and ElCapitan which uses the legacy non-NSURLSession loading path.
3290
3291 2017-04-06  Youenn Fablet  <youenn@apple.com>
3292
3293         LayoutTest fast/mediastream/getUserMedia-webaudio.html is flaky
3294         https://bugs.webkit.org/show_bug.cgi?id=167513
3295
3296         Reviewed by Eric Carlson.
3297
3298         * fast/mediastream/getUserMedia-webaudio.html: Removing unecessary flaky check.
3299
3300 2017-04-06  Zalan Bujtas  <zalan@apple.com>
3301
3302         Simple line layout: Hittest always returns the first renderer in the block.
3303         https://bugs.webkit.org/show_bug.cgi?id=170520
3304         <rdar://problem/30979175>
3305
3306         Reviewed by Antti Koivisto.
3307
3308         * fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point-expected.html: Added.
3309         * fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point.html: Added.
3310
3311 2017-03-31  Jiewen Tan  <jiewen_tan@apple.com>
3312
3313         [WebCrypto] Add support for AES-CTR
3314         https://bugs.webkit.org/show_bug.cgi?id=169761
3315         <rdar://problem/31331321>
3316
3317         Reviewed by Brent Fulgham.
3318
3319         * crypto/subtle/aes-ctr-encrypt-malformed-parameters-expected.txt: Added.
3320         * crypto/subtle/aes-ctr-encrypt-malformed-parameters.html: Added.
3321         * crypto/subtle/aes-ctr-generate-export-key-jwk-length-128-expected.txt: Added.
3322         * crypto/subtle/aes-ctr-generate-export-key-jwk-length-128.html: Added.
3323         * crypto/subtle/aes-ctr-generate-export-key-jwk-length-192-expected.txt: Added.
3324         * crypto/subtle/aes-ctr-generate-export-key-jwk-length-192.html: Added.
3325         * crypto/subtle/aes-ctr-generate-export-key-jwk-length-256-expected.txt: Added.
3326         * crypto/subtle/aes-ctr-generate-export-key-jwk-length-256.html: Added.
3327         * crypto/subtle/aes-ctr-generate-export-raw-key-expected.txt: Added.
3328         * crypto/subtle/aes-ctr-generate-export-raw-key.html: Added.
3329         * crypto/subtle/aes-ctr-generate-key-encrypt-decrypt-expected.txt: Added.
3330         * crypto/subtle/aes-ctr-generate-key-encrypt-decrypt.html: Added.
3331         * crypto/subtle/aes-ctr-generate-key-expected.txt: Added.
3332         * crypto/subtle/aes-ctr-generate-key.html: Added.
3333         * crypto/subtle/aes-ctr-import-jwk-key-length-128-expected.txt: Added.
3334         * crypto/subtle/aes-ctr-import-jwk-key-length-128.html: Added.
3335         * crypto/subtle/aes-ctr-import-jwk-key-length-192-expected.txt: Added.
3336         * crypto/subtle/aes-ctr-import-jwk-key-length-192.html: Added.
3337         * crypto/subtle/aes-ctr-import-jwk-key-length-256-expected.txt: Added.
3338         * crypto/subtle/aes-ctr-import-jwk-key-length-256.html: Added.
3339         * crypto/subtle/aes-ctr-import-key-decrypt-expected.txt: Added.
3340         * crypto/subtle/aes-ctr-import-key-decrypt.html: Added.
3341         * crypto/subtle/aes-ctr-import-key-encrypt-expected.txt: Added.
3342         * crypto/subtle/aes-ctr-import-key-encrypt.html: Added.
3343         * crypto/subtle/aes-ctr-import-key-unwrap-jwk-key-expected.txt: Added.
3344         * crypto/subtle/aes-ctr-import-key-unwrap-jwk-key.html: Added.
3345         * crypto/subtle/aes-ctr-import-key-unwrap-raw-key-expected.txt: Added.
3346         * crypto/subtle/aes-ctr-import-key-unwrap-raw-key.html: Added.
3347         * crypto/subtle/aes-ctr-import-key-wrap-jwk-key-expected.txt: Added.
3348         * crypto/subtle/aes-ctr-import-key-wrap-jwk-key.html: Added.
3349         * crypto/subtle/aes-ctr-import-key-wrap-raw-key-expected.txt: Added.
3350         * crypto/subtle/aes-ctr-import-key-wrap-raw-key.html: Added.
3351         * crypto/subtle/aes-ctr-import-raw-key-expected.txt: Added.
3352         * crypto/subtle/aes-ctr-import-raw-key.html: Added.
3353         * crypto/subtle/aes-generate-key-malformed-parameters-expected.txt:
3354         * crypto/subtle/aes-generate-key-malformed-parameters.html:
3355         * crypto/subtle/aes-import-key-malformed-parameters-expected.txt:
3356         * crypto/subtle/aes-import-key-malformed-parameters.html:
3357         * crypto/workers/subtle/aes-ctr-import-key-decrypt-expected.txt: Added.
3358         * crypto/workers/subtle/aes-ctr-import-key-decrypt.html: Added.
3359         * crypto/workers/subtle/aes-ctr-import-key-encrypt-expected.txt: Added.
3360         * crypto/workers/subtle/aes-ctr-import-key-encrypt.html: Added.
3361         * crypto/workers/subtle/aes-ctr-import-key-unwrap-key-expected.txt: Added.
3362         * crypto/workers/subtle/aes-ctr-import-key-unwrap-key.html: Added.
3363         * crypto/workers/subtle/aes-ctr-import-key-wrap-key-expected.txt: Added.
3364         * crypto/workers/subtle/aes-ctr-import-key-wrap-key.html: Added.
3365         * crypto/workers/subtle/resources/aes-ctr-import-key-decrypt.js: Added.
3366         * crypto/workers/subtle/resources/aes-ctr-import-key-encrypt.js: Added.
3367         * crypto/workers/subtle/resources/aes-ctr-import-key-unwrap-key.js: Added.
3368         * crypto/workers/subtle/resources/aes-ctr-import-key-wrap-key.js: Added.
3369
3370 2017-04-06  Ryan Haddad  <ryanhaddad@apple.com>
3371
3372         Mark inspector/codemirror/prettyprinting-css-rules.html as flaky on release.
3373         https://bugs.webkit.org/show_bug.cgi?id=153460
3374
3375         Unreviewed test gardening.
3376
3377         * platform/mac/TestExpectations:
3378
3379 2017-04-06  Youenn Fablet  <youenn@apple.com>
3380
3381         WebRTC tests gardening
3382         https://bugs.webkit.org/show_bug.cgi?id=170508
3383
3384         Reviewed by Eric Carlson.
3385
3386         * platform/ios-wk1/TestExpectations:
3387         * platform/ios-wk2/TestExpectations:
3388         * platform/ios/TestExpectations:
3389
3390 2017-04-06  Antti Koivisto  <antti@apple.com>
3391
3392         Implement testing mode for disk cache
3393         https://bugs.webkit.org/show_bug.cgi?id=170547
3394
3395         Reviewed by Andreas Kling.
3396
3397         Enable a few disabled tests to see how it goes.
3398
3399         * platform/mac-wk2/TestExpectations:
3400
3401 2017-04-06  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3402
3403         [Readable Streams API] Implement ReadableStreamBYOBRequest respondWithNewView()
3404         https://bugs.webkit.org/show_bug.cgi?id=170339
3405
3406         Reviewed by Youenn Fablet.
3407
3408         Added new tests addressing respondWithNewView() behaviour.
3409
3410         * streams/readable-stream-byob-request-expected.txt: Updated.
3411         * streams/readable-stream-byob-request.js: Added new tests.
3412
3413 2017-04-06  Dave Hyatt  <hyatt@apple.com>
3414
3415         Rendering flexbox children across columns
3416         https://bugs.webkit.org/show_bug.cgi?id=164166
3417         <rdar://problem/29055587>
3418
3419         Reviewed by Zalan Bujtas.
3420
3421         * fast/multicol/flexbox-rows-expected.html: Added.
3422         * fast/multicol/flexbox-rows.html: Added.
3423
3424 2017-04-05  Simon Fraser  <simon.fraser@apple.com>
3425
3426         Set lastHandledUserGestureTimestamp on all ancestor documents, not just the top document
3427         https://bugs.webkit.org/show_bug.cgi?id=170479
3428
3429         Reviewed by Sam Weinig.
3430
3431         * fast/frames/user-gesture-timestamp-propagation-expected.txt: Added.
3432         * fast/frames/user-gesture-timestamp-propagation.html: Added.
3433         * platform/ios/TestExpectations:
3434
3435 2017-04-05  Eric Carlson  <eric.carlson@apple.com>
3436
3437         [MediaStream] Host application should be able to mute and unmute media streams
3438         https://bugs.webkit.org/show_bug.cgi?id=170519
3439         <rdar://problem/31174326>
3440
3441         Reviewed by Youenn Fablet.
3442
3443         * fast/mediastream/MediaStream-page-muted-expected.txt:
3444         * fast/mediastream/MediaStream-page-muted.html:
3445
3446 2017-04-05  Javier Fernandez  <jfernandez@igalia.com>
3447
3448         [css-align] Implement the place-items shorthand
3449         https://bugs.webkit.org/show_bug.cgi?id=168847
3450
3451         Reviewed by David Hyatt.
3452
3453         Regression tests for the new place-content alignment shorthand.
3454
3455         * css3/parse-place-items.html: Added.
3456
3457 2017-04-05  Carlos Alberto Lopez Perez  <clopez@igalia.com>
3458
3459         [WebRTC][OpenWebRTC] Add support for SDP BUNDLE ("a:group:BUNDLE" and "a=bundle-only" lines)
3460         https://bugs.webkit.org/show_bug.cgi?id=170157
3461
3462         Reviewed by Alejandro G. Castro.
3463
3464         The test fast/mediastream/RTCPeerConnection-inspect-offer-bundlePolicy-bundle-only.html
3465         is used to check that we generate the "a=bundle-only" lines on the "m=" sections
3466         according to the bundlePolicy. The 3 possible values of bundlePolicy are tested.
3467         To properly test bundlePolicy:"balanced" we generate 5 extra tracks (6 in total)
3468         for each one of the audio media type and video media type.
3469
3470         * TestExpectations: Set RTCPeerConnection-inspect-offer-bundlePolicy-bundle-only.html
3471         as failing in the general TestExpectations, because the libwebrtc backend currently
3472         doesn't generate the expected a=bundle-only lines.
3473         On the GTK+ port TestExpectations file this is overriden, and the test is marked to pass.
3474         The whole fast/mediastream directory is already overriden to pass.
3475         * fast/mediastream/RTCPeerConnection-inspect-offer-bundlePolicy-bundle-only-expected.txt: Added.
3476         * fast/mediastream/RTCPeerConnection-inspect-offer-bundlePolicy-bundle-only.html: Added.
3477         * fast/mediastream/resources/sdp-utils.js:
3478         (printComparableSessionDescription): Validate the a=group:BUNDLE line to contain the required MID identifiers.
3479         * platform/gtk/fast/mediastream/RTCPeerConnection-inspect-answer-expected.txt: Added. Rebaseline with the expected a=group:BUNDLE line.
3480         * platform/gtk/fast/mediastream/RTCPeerConnection-inspect-offer-expected.txt: Added. Rebaseline with the expected a=group:BUNDLE line.
3481
3482 2017-04-05  Jer Noble  <jer.noble@apple.com>
3483
3484         [MSE] Seeks to currentTime=0 will fail if currentTime is already 0.
3485         https://bugs.webkit.org/show_bug.cgi?id=170510
3486
3487         Reviewed by Eric Carlson.
3488
3489         * media/media-source/media-source-unnecessary-seek-seeked-expected.txt: Added.
3490         * media/media-source/media-source-unnecessary-seek-seeked.html: Added.
3491
3492 2017-04-05  Matt Baker  <mattbaker@apple.com>
3493
3494         Web Inspector: XHR breakpoints should be global
3495         https://bugs.webkit.org/show_bug.cgi?id=170033
3496
3497         Reviewed by Joseph Pecoraro..
3498
3499         * inspector/dom-debugger/xhr-breakpoints.html:
3500         Update for XHRBreakpoint constructor change.
3501
3502 2017-04-05  Chris Dumez  <cdumez@apple.com>
3503
3504         <input type="range"> changing to disabled while active breaks all pointer events
3505         https://bugs.webkit.org/show_bug.cgi?id=170447
3506         <rdar://problem/31442875>
3507
3508         Reviewed by Geoffrey Garen.
3509
3510         Add layout test coverage.
3511
3512         * fast/forms/range/disabled-while-dragging-expected.txt: Added.
3513         * fast/forms/range/disabled-while-dragging.html: Added.
3514
3515 2017-04-05  Jiewen Tan  <jiewen_tan@apple.com>
3516
3517         Unreviewed, rebasing crypto/subtle/rsa-import-key-malformed-parameters.html
3518         <rdar://problem/31322400>
3519
3520         * crypto/subtle/rsa-import-key-malformed-parameters-expected.txt:
3521         * crypto/subtle/rsa-import-key-malformed-parameters.html:
3522
3523 2017-04-05  Youenn Fablet  <youenn@apple.com>
3524
3525         Deprecate and remove URL.createObjectURL(mediastream)
3526         https://bugs.webkit.org/show_bug.cgi?id=167518
3527         <rdar://problem/31149607>
3528
3529         Reviewed by Eric Carlson.
3530
3531         * fast/mediacapturefromelement/CanvasCaptureMediaStream-2d-events.html:
3532         * fast/mediacapturefromelement/CanvasCaptureMediaStream-request-frame-events.html:
3533         * fast/mediacapturefromelement/CanvasCaptureMediaStream-webgl-events.html:
3534         * fast/mediastream/MediaStream-video-element-displays-buffer-expected.txt:
3535         * fast/mediastream/MediaStream-video-element-displays-buffer.html:
3536         * fast/mediastream/MediaStream-video-element-expected.txt:
3537         * fast/mediastream/MediaStream-video-element-track-stop-expected.txt:
3538         * fast/mediastream/MediaStream-video-element-track-stop.html:
3539         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled-expected.txt:
3540         * fast/mediastream/MediaStream-video-element-video-tracks-disabled.html:
3541         * fast/mediastream/MediaStream-video-element.html:
3542         * fast/mediastream/resources/getUserMedia-helper.js:
3543         (setupVideoElementWithStream):
3544
3545 2017-04-05  Javier Fernandez  <jfernandez@igalia.com>
3546
3547         [GTK] Unreviewed tests gardening
3548         https://bugs.webkit.org/show_bug.cgi?id=170497
3549
3550         Unreviewed test gardening. Rebaseline tests after r214712.
3551
3552         * platform/gtk/fast/multicol/table-vertical-align-expected.txt:
3553
3554
3555 2017-04-04  Alexey Proskuryakov  <ap@apple.com>
3556
3557         Mark imported/w3c/web-platform-tests/fetch/api/response/response-trailer.html as flaky
3558         for https://bugs.webkit.org/show_bug.cgi?id=170493
3559
3560         * platform/mac/TestExpectations:
3561
3562 2017-04-04  Youenn Fablet  <youenn@apple.com>
3563
3564         Canvas is tainted when painting a video with MediaStreamTrack
3565         https://bugs.webkit.org/show_bug.cgi?id=170486
3566
3567         Reviewed by Eric Carlson.
3568
3569         * http/tests/media/media-stream/getusermedia-with-canvas-expected.txt: Added.
3570         * http/tests/media/media-stream/getusermedia-with-canvas.html: Added.
3571         * http/tests/media/media-stream/resources/getUserMedia-helper.js: Added.
3572         (reject):
3573         (getUserMedia):
3574         (defaultRejectOrCatch):
3575         (setupVideoElementWithStream):
3576
3577 2017-04-04  Youenn Fablet  <youenn@apple.com>
3578
3579         [Mac] Add back web audio support for getUserMedia MediaStreamTrack
3580         https://bugs.webkit.org/show_bug.cgi?id=170482
3581
3582         Reviewed by Eric Carlson.
3583
3584         * TestExpectations:
3585
3586 2017-04-04  Ryan Haddad  <ryanhaddad@apple.com>
3587
3588         Mark fast/images/slower-animation-than-decoding-image.html as flaky.
3589         https://bugs.webkit.org/show_bug.cgi?id=168390
3590
3591         Unreviewed test gardening.
3592
3593         * platform/mac/TestExpectations:
3594
3595 2017-04-04  Ryan Haddad  <ryanhaddad@apple.com>
3596
3597         Mark fast/images/reset-image-animation.html as flaky.
3598         https://bugs.webkit.org/show_bug.cgi?id=170177
3599
3600         Unreviewed test gardening.
3601
3602         * platform/mac/TestExpectations:
3603
3604 2017-04-04  Ryan Haddad  <ryanhaddad@apple.com>
3605
3606         Mark media/modern-media-controls/airplay-button/airplay-button.html as flaky on mac-wk1 Release.
3607         https://bugs.webkit.org/show_bug.cgi?id=168409
3608
3609         Unreviewed test gardening.
3610
3611         * platform/mac-wk1/TestExpectations:
3612
3613 2017-04-04  Brent Fulgham  <bfulgham@apple.com>
3614
3615         Do not assert when CharacterData representing an Attr fires events
3616         https://bugs.webkit.org/show_bug.cgi?id=170454
3617         <rdar://problem/30979320>
3618
3619         Reviewed by Ryosuke Niwa.
3620
3621         * fast/dom/no-assert-for-malformed-js-url-attribute-expected.txt: Added.
3622         * fast/dom/no-assert-for-malformed-js-url-attribute.html: Added.
3623
3624 2017-04-04  Youenn Fablet  <youenn@apple.com>
3625
3626         LayoutTest webrtc/libwebrtc/descriptionGetters.html is a flaky failure
3627         https://bugs.webkit.org/show_bug.cgi?id=169481
3628
3629         Reviewed by Eric Carlson.
3630
3631         * platform/mac-wk2/TestExpectations: Removing flaky expectation.
3632         * webrtc/datachannel/basic.html:
3633