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