Enable strict type checking for Window dictionary members
[WebKit-https.git] / LayoutTests / ChangeLog
1 2016-07-30  Chris Dumez  <cdumez@apple.com>
2
3         Enable strict type checking for Window dictionary members
4         https://bugs.webkit.org/show_bug.cgi?id=160356
5
6         Reviewed by Darin Adler.
7
8         Update existing tests to reflect behavior change.
9
10         * fast/events/constructors/composition-event-constructor-expected.txt:
11         * fast/events/constructors/composition-event-constructor.html:
12         * fast/events/constructors/focus-event-constructor-expected.txt:
13         * fast/events/constructors/focus-event-constructor.html:
14         * fast/events/constructors/keyboard-event-constructor-expected.txt:
15         * fast/events/constructors/keyboard-event-constructor.html:
16         * fast/events/constructors/mouse-event-constructor.html:
17         * fast/events/constructors/ui-event-constructor-expected.txt:
18         * fast/events/constructors/ui-event-constructor.html:
19         * fast/events/constructors/wheel-event-constructor.html:
20         * platform/mac/fast/events/constructors/mouse-event-constructor-expected.txt:
21         * platform/mac/fast/events/constructors/wheel-event-constructor-expected.txt:
22
23         * resources/js-test-pre.js:
24         Add a shouldThrowErrorName() utility function that is similar to shouldThrow()
25         but only checks the error name instead of the full error message. Checking
26         only the error name has the benefit of working across browsers and facilitating
27         refactoring of error messages.
28
29 2016-07-30  Chris Dumez  <cdumez@apple.com>
30
31         [WebIDL] Enable strict type checking for nullable attribute setters of wrapper types
32         https://bugs.webkit.org/show_bug.cgi?id=160375
33
34         Reviewed by Darin Adler.
35
36         Rebaseline / update existing tests to reflect behavior change.
37
38         * fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance-expected.txt:
39         * fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance.html:
40         * webaudio/convolver-setBuffer-null-expected.txt:
41         * webaudio/convolver-setBuffer-null.html:
42
43 2016-07-30  Alexey Proskuryakov  <ap@apple.com>
44
45         macOS Sierra test result gardening for media/video-loop.html.
46
47         * platform/mac/TestExpectations:
48
49 2016-07-30  Alexey Proskuryakov  <ap@apple.com>
50
51         macOS Sierra test result gardening.
52
53         * platform/mac-wk1/TestExpectations:
54
55 2016-07-30  Youenn Fablet  <youenn@apple.com>
56
57         Synchronous preflight should check for successful responses
58         https://bugs.webkit.org/show_bug.cgi?id=159350
59
60         Reviewed by Darin Adler.
61
62         * http/tests/xmlhttprequest/access-control-preflight-not-successful-expected.txt: Added.
63         * http/tests/xmlhttprequest/access-control-preflight-not-successful.html: Added, not all tests are passing as CORS checks.
64         for redirections are not well supported for synchronous loading.
65         * http/tests/xmlhttprequest/resources/status-404-without-body.php:
66
67 2016-07-30  Chris Dumez  <cdumez@apple.com>
68
69         [WebIDL] Enable strict type checking for operations' nullable parameters of wrapper types
70         https://bugs.webkit.org/show_bug.cgi?id=160374
71
72         Reviewed by Youenn Fablet.
73
74         Update / rebaseline existing tests to reflect behavior change. Also fix
75         several bugs in tests that became obvious now that we throw.
76
77         * editing/execCommand/indent-pre-expected.txt:
78         * editing/execCommand/indent-pre.html:
79         * editing/selection/4895428-2.html:
80         * editing/selection/move-by-word-visually-null-box.html:
81         * fast/dom/DOMImplementation/detached-doctype.html:
82         * fast/dom/MutationObserver/observe-attributes.html:
83         * fast/dom/Node/contains-method-expected.txt:
84         * fast/dom/Node/script-tests/contains-method.js:
85         * fast/dom/Window/webkitConvertPoint.html:
86         * fast/dom/adopt-node-crash-2.html:
87         * fast/dom/incompatible-operations-expected.txt:
88         * fast/dom/incompatible-operations.html:
89         * fast/events/selectstart-by-arrow-keys.html:
90         * fast/images/image-copy-memory-usage.html:
91         * fast/xsl/xslt-processor-expected.txt:
92         * http/tests/misc/webtiming-cross-origin-and-back1.html:
93         * platform/mac/fast/dom/Window/webkitConvertPoint-expected.txt:
94         * svg/custom/unicode-in-tspan-multi-svg-crash.html:
95
96 2016-07-29  Chris Dumez  <cdumez@apple.com>
97
98         Window's named properties should be exposed on a WindowProperties object in its prototype
99         https://bugs.webkit.org/show_bug.cgi?id=160354
100
101         Reviewed by Gavin Barraclough.
102
103         * fast/dom/Window/es52-globals-expected.txt:
104         Update / Rebaseline test now that named properties are no longer reported as "own"
105         properties on the Window object. I have verified that the test gives the
106         same result in Firefox and Chrome.
107
108         * fast/loader/window-clearing-expected.txt:
109         Rebaseline test that prints one more line because there is one more
110         object in Window's prototype chain.
111
112         * http/tests/security/window-named-proto-expected.txt:
113         * http/tests/security/window-named-valueOf-expected.txt:
114         Rebaseline 2 security tests that give slightly different output. The new
115         output is identical to the one in Firefox and Chrome. The tests are not
116         failing since they are not alert'ing content from the other frame.
117         The reason those tests were logging a security error is because we would
118         previously prevent named property access if the frame name conflicts with
119         a property name in the Window prototype, and we now no longer
120         differentiate this case.
121
122 2016-07-29  Ryan Haddad  <ryanhaddad@apple.com>
123
124         Marking http/tests/xmlhttprequest/workers/methods-async.html as flaky on ios-simulator release WK2
125         https://bugs.webkit.org/show_bug.cgi?id=160368
126
127         Unreviewed test gardening.
128
129         * platform/ios-simulator-wk2/TestExpectations:
130
131 2016-07-29  Ryan Haddad  <ryanhaddad@apple.com>
132
133         Rebaseline fast/block/float/overhanging-tall-block.html for Sierra.
134
135         Unreviewed test gardening.
136
137         * platform/mac-elcapitan/fast/block/float/overhanging-tall-block-expected.png: Renamed from LayoutTests/platform/mac/fast/block/float/overhanging-tall-block-expected.png.
138         * platform/mac-elcapitan/fast/block/float/overhanging-tall-block-expected.txt: Copied from LayoutTests/platform/mac/fast/block/float/overhanging-tall-block-expected.txt.
139         * platform/mac/TestExpectations:
140         * platform/mac/fast/block/float/overhanging-tall-block-expected.txt:
141
142 2016-07-29  Daniel Bates  <dabates@apple.com>
143
144         Crash under HTMLMediaElement::{resolve, reject}PendingPlayPromises() when playback is interrupted
145         https://bugs.webkit.org/show_bug.cgi?id=160366
146         <rdar://problem/27317407>
147
148         Reviewed by Eric Carlson.
149
150         * media/non-existent-video-playback-interrupted-expected.txt: Added.
151         * media/non-existent-video-playback-interrupted.html: Added.
152         * media/video-playback-interrupted-expected.txt: Added.
153         * media/video-playback-interrupted.html: Added.
154
155 2016-07-29  Ryan Haddad  <ryanhaddad@apple.com>
156
157         Land test expectations for rdar://problem/27611932.
158
159         * platform/mac-wk1/TestExpectations:
160
161 2016-07-29  Ryan Haddad  <ryanhaddad@apple.com>
162
163         Test gardening on ios-simualtor after some media tests were unskipped in r203906.
164
165         Unreviewed test gardening.
166
167         * platform/ios-simulator/TestExpectations:
168         * platform/ios-simulator/media/audio-controls-rendering-expected.txt: Added.
169         * platform/ios-simulator/media/audio-repaint-expected.txt: Added.
170         * platform/ios-simulator/media/controls-strict-expected.txt: Added.
171         * platform/ios-simulator/media/controls-styling-strict-expected.txt: Added.
172         * platform/ios-simulator/media/controls-without-preload-expected.txt: Added.
173         * platform/ios-simulator/media/media-controls-clone-expected.txt: Added.
174         * platform/ios-simulator/media/track/track-cue-rendering-horizontal-expected.txt: Added.
175         * platform/ios-simulator/media/track/track-cue-rendering-vertical-expected.txt: Added.
176         * platform/ios-simulator/media/video-aspect-ratio-expected.txt: Added.
177         * platform/ios-simulator/media/video-controls-captions-trackmenu-expected.txt: Added.
178         * platform/ios-simulator/media/video-controls-captions-trackmenu-hide-on-click-expected.txt: Added.
179         * platform/ios-simulator/media/video-controls-captions-trackmenu-localized-expected.txt: Added.
180         * platform/ios-simulator/media/video-controls-captions-trackmenu-sorted-expected.txt: Added.
181         * platform/ios-simulator/media/video-controls-rendering-expected.txt: Added.
182         * platform/ios-simulator/media/video-display-toggle-expected.txt: Added.
183         * platform/ios-simulator/media/video-empty-source-expected.txt: Added.
184         * platform/ios-simulator/media/video-layer-crash-expected.txt: Added.
185         * platform/ios-simulator/media/video-no-audio-expected.txt: Added.
186         * platform/ios-simulator/media/video-transformed-expected.txt: Added.
187         * platform/ios-simulator/media/video-volume-slider-expected.txt: Added.
188         * platform/ios-simulator/media/video-zoom-controls-expected.txt: Added.
189         * platform/ios-simulator/media/video-zoom-expected.txt: Added.
190
191 2016-07-29  Zalan Bujtas  <zalan@apple.com>
192
193         Do not set negative rate on AVSampleBufferRenderSynchronizer.
194         https://bugs.webkit.org/show_bug.cgi?id=160326
195         <rdar://problem/27355214>
196
197         Reviewed by Eric Carlson.
198
199         Negative rate is not supported at the moment.
200
201         * http/tests/media/media-source/mediasource-play-then-seek-back-with-remote-control-expected.txt: Added.
202         * http/tests/media/media-source/mediasource-play-then-seek-back-with-remote-control.html: Added.
203
204 2016-07-29  Myles C. Maxfield  <mmaxfield@apple.com>
205
206         [macOS Sierra] Test gardening after r198859
207         https://bugs.webkit.org/show_bug.cgi?id=160358
208         <rdar://problem/26422274>
209
210         Reviewed by Zalan Bujtas.
211
212         RTL Scrollbars are not enabled on WK1, so this test should be marked in the
213         same way as all the other RTL scrollbars tests.
214
215         * TestExpectations:
216         * platform/mac-wk1/TestExpectations:
217         * platform/mac-wk2/TestExpectations:
218
219 2016-07-29  Alexey Proskuryakov  <ap@apple.com>
220
221         Remove a Sierra specific expectation for http/tests/navigation/forward-and-cancel.html,
222         we already have an identical one in platform/mac.
223
224         * platform/mac-wk1/TestExpectations:
225
226 2016-07-29  Daniel Bates  <dabates@apple.com>
227
228         Skip some media tests that fail on iOS
229
230         * platform/ios-simulator/TestExpectations:
231
232 2016-07-29  Myles C. Maxfield  <mmaxfield@apple.com>
233
234         [macOS Sierra] Unskip new emoji group candidates tests
235         https://bugs.webkit.org/show_bug.cgi?id=160351
236         <rdar://problem/27430381>
237
238         Reviewed by Alexey Proskuryakov.
239
240         * platform/mac/TestExpectations:
241
242 2016-07-29  Myles C. Maxfield  <mmaxfield@apple.com>
243
244         Backspace key removes only the rainbow from the rainbow flag
245         https://bugs.webkit.org/show_bug.cgi?id=160349
246         <rdar://problem/27594995>
247
248         Reviewed by Dean Jackson.
249
250         * platform/mac/editing/deleting/delete-emoji-expected.txt:
251         * platform/mac-yosemite/editing/deleting/delete-emoji-expected.txt:
252         * platform/ios-simulator/editing/deleting/delete-emoji-expected.txt:
253
254 2016-07-29  Nan Wang  <n_wang@apple.com>
255
256         AX: Media controls accessibility improvement
257         https://bugs.webkit.org/show_bug.cgi?id=160223
258         <rdar://problem/27558003>
259
260         Reviewed by Eric Carlson.
261
262         * accessibility/mac/video-volume-slider-accessibility-expected.txt:
263         * accessibility/mac/video-volume-slider-accessibility.html:
264         * accessibility/media-emits-object-replacement-expected.txt:
265         * media/media-controls-accessibility-expected.txt: Added.
266         * media/media-controls-accessibility.html: Added.
267         * platform/efl/accessibility/media-element-expected.txt:
268         * platform/efl/accessibility/media-emits-object-replacement-expected.txt:
269         * platform/gtk/accessibility/media-element-expected.txt:
270         * platform/gtk/accessibility/media-emits-object-replacement-expected.txt:
271         * platform/mac/accessibility/media-element-expected.txt:
272
273 2016-07-29  Daniel Bates  <dabates@apple.com>
274
275         Unskip some media tests on iOS when run in WebKitTestRunner
276
277         As a step towards running the various media tests on iOS, unskip LayoutTests/media
278         when run in WebKitTestRunner in the iOS Simulator. Incorporate the reasons we skip some
279         of the iOS tests from r189372. For now continue to skip LayoutTest/media when run in
280         DumpRenderTree in the iOS Simulator as many tests crash and are otherwise flaky. Further
281         investigation is required.
282
283         * platform/ios-simulator-wk1/TestExpectations:
284         * platform/ios-simulator/TestExpectations:
285
286 2016-07-29  George Ruan  <gruan@apple.com>
287
288         HTMLVideoElement with MediaStream src shows paused image when all video tracks are disabled
289         https://bugs.webkit.org/show_bug.cgi?id=160222
290         <rdar://problem/27557313>
291
292         Reviewed by Eric Carlson.
293
294         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-expected.html: Added.
295         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled-expected.txt: Added.
296         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled.html: Added. Checks
297         that the video frames display captured media if all video tracks were disabled and then a single
298         video track is re-enabled. This test also checks that an initial frame is painted to
299         canvas if the video has not yet been played.
300         * fast/mediastream/MediaStream-video-element-video-tracks-disabled.html: Added. Reference tests the
301         frames of the video to be black, since the canvas is painted black regardless of the state of the video frames
302         if displayMode of MediaPlayerPrivateMediaStreamAVFObjC is PaintItBlack.
303         * platform/mac-wk2/TestExpectations: MediaStream-video-element-video-tracks-disabled.html fails on El
304         Capitan due to incorrect behavior of AVSampleBufferDisplayLayer's API call flushAndRemoveImage.
305
306 2016-07-29  Youenn Fablet  <youenn@apple.com>
307
308         CrossOrigin preflight checker should compute the right Access-Control-Request-Headers value
309         https://bugs.webkit.org/show_bug.cgi?id=160028
310
311         Reviewed by Alex Christensen.
312
313         Rebasing regular tests. Also updating skipped worker tests.
314
315         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight-expected.txt: Added.
316         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight-worker-expected.txt: Added.
317         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-redirect-worker-expected.txt: Added.
318         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight-expected.txt: Added.
319         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight-worker-expected.txt: Added.
320         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-redirect-worker-expected.txt: Added.
321         * platform/mac/TestExpectations:
322
323 2016-07-28  Youenn Fablet  <youennf@gmail.com>
324
325         Binding generator should expose the visible interface name in error messages
326         https://bugs.webkit.org/show_bug.cgi?id=160192
327
328         Reviewed by Darin Adler.
329
330         * editing/selection/extend-expected.txt:
331         * fast/dom/Window/getComputedStyle-missing-parameter-expected.txt:
332         * fast/dom/Window/getComputedStyle-missing-parameter.html:
333         * fetch/fetch-error-messages-expected.txt:
334         * fetch/fetch-error-messages.html: Adding test for Request.
335         * js/dom/toString-and-valueOf-override-expected.txt:
336         * js/getOwnPropertyDescriptor-unforgeable-attributes-expected.txt:
337         * js/getOwnPropertyDescriptor-window-attributes-expected.txt:
338         * media/encrypted-media/encrypted-media-v2-syntax-expected.txt:
339         * media/encrypted-media/encrypted-media-v2-syntax.html:
340         * webaudio/createMediaStreamSource-null-expected.txt:
341         * webaudio/createMediaStreamSource-null.html:
342         * webaudio/decode-audio-data-basic-expected.txt:
343         * webaudio/decode-audio-data-basic.html:
344         * webaudio/mediaelementaudiosourcenode-expected.txt:
345         * webaudio/mediaelementaudiosourcenode.html:
346
347 2016-07-28  Chris Dumez  <cdumez@apple.com>
348
349         Add support for Element.getAttributeNames()
350         https://bugs.webkit.org/show_bug.cgi?id=160327
351
352         Reviewed by Alex Christensen.
353
354         Add layout test coverage. I have verified that this test is passing in
355         Firefox 47.
356
357         * fast/dom/Element/getAttributeNames-expected.txt: Added.
358         * fast/dom/Element/getAttributeNames.html: Added.
359
360 2016-07-28  Chris Dumez  <cdumez@apple.com>
361
362         window.open.length should be 0
363         https://bugs.webkit.org/show_bug.cgi?id=160323
364
365         Reviewed by Darin Adler.
366
367         Update existing test to reflect behavior change.
368
369         * js/dom/function-length-expected.txt:
370         * js/dom/function-length.html:
371
372 2016-07-28  Chris Dumez  <cdumez@apple.com>
373
374         Parameters to Event.initEvent() should be mandatory
375         https://bugs.webkit.org/show_bug.cgi?id=160320
376
377         Reviewed by Darin Adler.
378
379         Update existing tests to make sure they call initEvent() will all 3
380         parameters.
381
382         * fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml:
383         * fast/forms/form-submission-create-crash.xhtml:
384         * js/arity-mismatch-at-vmentry.html:
385
386 2016-07-28  Chris Dumez  <cdumez@apple.com>
387
388         First parameter to canvas.getContext() / probablySupportsContext() should be mandatory
389         https://bugs.webkit.org/show_bug.cgi?id=160312
390
391         Reviewed by Darin Adler.
392
393         Update existing test to reflect behavior change.
394
395         * fast/canvas/webgl/canvas-supports-context-expected.txt:
396         * fast/canvas/webgl/canvas-supports-context.html:
397
398 2016-07-28  Chris Dumez  <cdumez@apple.com>
399
400         Parameter to table.deleteRow() / body.deleteRow() should be mandatory
401         https://bugs.webkit.org/show_bug.cgi?id=160307
402
403         Reviewed by Ryosuke Niwa.
404
405         Update existing test to reflect behavior change.
406
407         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
408         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
409
410 2016-07-28  Commit Queue  <commit-queue@webkit.org>
411
412         Unreviewed, rolling out r203826.
413         https://bugs.webkit.org/show_bug.cgi?id=160314
414
415         The test added with this change fails on El Capitan WK2.
416         (Requested by ryanhaddad on #webkit).
417
418         Reverted changeset:
419
420         "HTMLVideoElement with MediaStream src shows paused image when
421         all video tracks are disabled"
422         https://bugs.webkit.org/show_bug.cgi?id=160222
423         http://trac.webkit.org/changeset/203826
424
425 2016-07-28  Alexey Proskuryakov  <ap@apple.com>
426
427         macOS Sierra test result gardening.
428
429         * platform/mac-wk1/TestExpectations:
430         * platform/mac/TestExpectations:
431
432 2016-07-28  Chris Dumez  <cdumez@apple.com>
433
434         2 first parameters to input.setSelectionRange() should be mandatory
435         https://bugs.webkit.org/show_bug.cgi?id=160310
436
437         Reviewed by Alex Christensen.
438
439         Update existing test to reflect behavior change.
440
441         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
442         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
443
444 2016-07-28  Chris Dumez  <cdumez@apple.com>
445
446         Parameter to tr.deleteCell() should be mandatory
447         https://bugs.webkit.org/show_bug.cgi?id=160308
448
449         Reviewed by Ryosuke Niwa.
450
451         Update existing test to reflect behavior change.
452
453         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
454         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
455
456 2016-07-28  Ryan Haddad  <ryanhaddad@apple.com>
457
458         Marking fast/dom/Window/child-window-focus.html as flaky on mac-wk2
459         https://bugs.webkit.org/show_bug.cgi?id=160309
460
461         Unreviewed test gardening.
462
463         * platform/mac-wk2/TestExpectations:
464
465 2016-07-28  George Ruan  <gruan@apple.com>
466
467         HTMLVideoElement with MediaStream src shows paused image when all video tracks are disabled
468         https://bugs.webkit.org/show_bug.cgi?id=160222
469         <rdar://problem/27557313>
470
471         Reviewed by Eric Carlson.
472
473         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-expected.html: Added.
474         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled-expected.txt: Added.
475         * fast/mediastream/MediaStream-video-element-video-tracks-disabled-then-enabled.html: Added. Checks
476         that the video frames display captured media if all video tracks were disabled and then a single
477         video track is re-enabled. This test also checks that an initial frame is painted to
478         canvas if the video has not yet been played.
479         * fast/mediastream/MediaStream-video-element-video-tracks-disabled.html: Added. Reference tests the
480         frames of the video to be black, since the canvas is painted black regardless of the state of the video frames
481         if displayMode of MediaPlayerPrivateMediaStreamAVFObjC is PaintItBlack.
482
483 2016-07-28  Ryan Haddad  <ryanhaddad@apple.com>
484
485         Unskip some CSS tests that previously timed out on ios-simulator.
486
487         Unreviewed test gardening.
488
489         * platform/ios-simulator-wk2/TestExpectations:
490
491 2016-07-28  Chris Dumez  <cdumez@apple.com>
492
493         First parameter to SVGDocument.createEvent() should be mandatory
494         https://bugs.webkit.org/show_bug.cgi?id=160296
495
496         Reviewed by Alex Christensen.
497
498         Add test coverage.
499
500         * svg/dom/SVGDocument-createEvent-expected.txt: Added.
501         * svg/dom/SVGDocument-createEvent.html: Added.
502
503 2016-07-28  Chris Dumez  <cdumez@apple.com>
504
505         Parameters to CanvasGradient.addColorStop() should be mandatory
506         https://bugs.webkit.org/show_bug.cgi?id=160297
507
508         Reviewed by Alex Christensen.
509
510         Rebaseline existing test due to behavior change.
511
512         * platform/mac/canvas/philip/tests/2d.missingargs-expected.txt:
513
514 2016-07-27  Ryan Haddad  <ryanhaddad@apple.com>
515
516         Unskip some compositing tests on ios-simulator.
517         https://bugs.webkit.org/show_bug.cgi?id=152131
518
519         Unreviewed test gardening.
520
521         * platform/ios-simulator-wk1/TestExpectations:
522         * platform/ios-simulator-wk2/TestExpectations:
523         * platform/ios-simulator/TestExpectations:
524         * platform/ios-simulator/compositing/overflow/overflow-compositing-descendant-expected.txt: Added.
525         * platform/ios-simulator/compositing/overflow/scroll-ancestor-update-expected.txt: Added.
526
527 2016-07-28  Romain Bellessort  <romain.bellessort@crf.canon.fr>
528
529         [Streams API] Replace ReadableStreamController by ReadableStreamDefaultController
530         https://bugs.webkit.org/show_bug.cgi?id=160242
531
532         Reviewed by Youenn Fablet.
533
534         Replaced ReadableStreamController by ReadableStreamDefaultController to align
535         with updated Streams API specification.
536
537         No change in functionality.
538
539         * streams/readable-stream-default-controller-error-expected.txt: Renamed from LayoutTests/streams/readable-stream-controller-error-expected.txt.
540         * streams/readable-stream-default-controller-error.html: Renamed from LayoutTests/streams/readable-stream-controller-error.html.
541         * streams/readable-stream-error-messages-expected.txt:
542         * streams/readable-stream-error-messages.html:
543         * streams/reference-implementation/readable-stream-expected.txt:
544
545 2016-07-28  Youenn Fablet  <youenn@apple.com>
546
547         Compute fetch response type in case of cross-origin requests
548         https://bugs.webkit.org/show_bug.cgi?id=158565
549
550         Reviewed by Alex Christensen.
551
552         Rebasing fetch API tests as filtering is now done.
553         Rebasing XHR tests as console messages are no longer available when trying to access non-exposed headers.
554
555         * http/tests/xmlhttprequest/access-control-basic-whitelist-response-headers-expected.txt:
556         * http/tests/xmlhttprequest/access-control-response-with-expose-headers-expected.txt:
557         * http/tests/xmlhttprequest/get-dangerous-headers-expected.txt:
558         * http/tests/xmlhttprequest/getResponseHeader-expected.txt:
559         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt:
560         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt:
561         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
562         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt:
563         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt:
564         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
565
566 2016-07-27  Ryan Haddad  <ryanhaddad@apple.com>
567
568         Marking http/tests/loading/basic-credentials-sent-automatically.html as flaky on mac and ios-sim wk2
569         https://bugs.webkit.org/show_bug.cgi?id=159427
570
571         Unreivewed test gardening.
572
573         * platform/ios-simulator-wk2/TestExpectations:
574         * platform/mac-wk2/TestExpectations:
575
576 2016-07-27  Chris Dumez  <cdumez@apple.com>
577
578         First parameter to HTMLMediaElement.canPlayType() should be mandatory
579         https://bugs.webkit.org/show_bug.cgi?id=160275
580
581         Reviewed by Ryosuke Niwa.
582
583         Update existing tests to reflect behavior change.
584
585         * media/encrypted-media/encrypted-media-can-play-type.html:
586         * media/media-can-play-type-expected.txt:
587         * media/media-can-play-type.html:
588         * platform/mac/media/encrypted-media/encrypted-media-can-play-type-expected.txt:
589
590 2016-07-27  Chris Dumez  <cdumez@apple.com>
591
592         Parameters to insertAdjacentText() / insertAdjacentHTML() should be mandatory
593         https://bugs.webkit.org/show_bug.cgi?id=160274
594
595         Reviewed by Darin Adler.
596
597         Add test coverage.
598
599         * fast/dom/Element/insertAdjacentText-parameters-expected.txt: Added.
600         * fast/dom/Element/insertAdjacentText-parameters.html: Added.
601
602 2016-07-27  Chris Dumez  <cdumez@apple.com>
603
604         Parameters to DOMParser.parseFromString() should be mandatory
605         https://bugs.webkit.org/show_bug.cgi?id=160268
606
607         Reviewed by Ryosuke Niwa.
608
609         Add test coverage.
610
611         * fast/parser/DOMParser-parameters-expected.txt: Added.
612         * fast/parser/DOMParser-parameters.html: Added.
613
614 2016-07-27  Chris Dumez  <cdumez@apple.com>
615
616         Align MediaList with the CSSOM specification
617         https://bugs.webkit.org/show_bug.cgi?id=160257
618
619         Reviewed by Ryosuke Niwa.
620
621         * fast/css/MediaList-mediaText-null-expected.txt: Added.
622         * fast/css/MediaList-mediaText-null.html: Added.
623         Add test coverage for MediaList.mediaText to make sure it is not nullable
624         and treats null as the empty string. Our IDL did not match the
625         specification here but our behavior was correct. Therefore, this test is
626         passing with and without my change. I just wanted to make sure we had
627         good coverage since I updated our IDL to match the specification.
628
629         * fast/css/MediaList-parameters-expected.txt: Added.
630         * fast/css/MediaList-parameters.html: Added.
631         Add test coverage for mandatory parameters.
632
633         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
634         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
635         Update existing test to reflect behavior change.
636
637 2016-07-27  Ryan Haddad  <ryanhaddad@apple.com>
638
639         Correct the syntax used to skip js/regress/script-tests/bigswitch-indirect-symbol.js
640
641         Unreviewed test gardening.
642
643         * js/regress/script-tests/bigswitch-indirect-symbol.js:
644
645 2016-07-27  Chris Dumez  <cdumez@apple.com>
646
647         First parameter to indexed property getters should be mandatory
648         https://bugs.webkit.org/show_bug.cgi?id=160259
649
650         Reviewed by Ryosuke Niwa.
651
652         Update existing tests to reflect behavior change.
653
654         * fast/css/webkit-keyframes-crash.html:
655         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
656         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
657
658 2016-07-27  Ryan Haddad  <ryanhaddad@apple.com>
659
660         Land test expectations for rdar://problem/27574303.
661
662         Unreviewed test gardening.
663
664         * platform/mac-wk2/TestExpectations:
665
666 2016-07-27  Chris Dumez  <cdumez@apple.com>
667
668         First parameter to Document.execCommand() / queryCommand*() should be mandatory
669         https://bugs.webkit.org/show_bug.cgi?id=160258
670
671         Reviewed by Darin Adler.
672
673         Add layout test coverage.
674
675         * fast/dom/Document/editing-parameters-expected.txt: Added.
676         * fast/dom/Document/editing-parameters.html: Added.
677
678 2016-07-27  Ryan Haddad  <ryanhaddad@apple.com>
679
680         Fix a typo in TestExpectations.
681
682         Unreviewed test gardening.
683
684         * platform/mac-wk1/TestExpectations:
685
686 2016-07-27  Chris Dumez  <cdumez@apple.com>
687
688         Align CSSSupportsRule with the specification
689         https://bugs.webkit.org/show_bug.cgi?id=160256
690
691         Reviewed by Darin Adler.
692
693         * fast/css/CSSSupportsRule-parameters-expected.txt: Added.
694         * fast/css/CSSSupportsRule-parameters.html: Added.
695         Add layout test coverage for mandatory parameters.
696
697         * platform/efl/js/dom/global-constructors-attributes-expected.txt:
698         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
699         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
700         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
701         * platform/win/js/dom/global-constructors-attributes-expected.txt:
702         Rebaseline existing test now that CSSSupportsRule is exposed on the
703         global Window object.
704
705 2016-07-27  Miguel Gomez  <magomez@igalia.com>
706
707         [GTK] Unreviewed gardening: update expectations after r203770
708         https://bugs.webkit.org/show_bug.cgi?id=160253
709
710         Unreviewed gardening.
711
712         * platform/gtk/TestExpectations:
713
714 2016-07-27  Miguel Gomez  <magomez@igalia.com>
715
716         [GTK] Fix some video/canvas tests that should be passing
717         https://bugs.webkit.org/show_bug.cgi?id=160023
718
719         Reviewed by Carlos Garcia Campos.
720
721         Modify the tests to use a tolerance of 6 when running on the GTK or EFL platforms. Also,
722         added new expectations for the tests that need them.
723
724         * fast/canvas/canvas-createPattern-video-loading.html:
725         * fast/canvas/canvas-createPattern-video-modify.html:
726         * media/video-canvas-createPattern.html:
727         * platform/efl/fast/canvas/canvas-createPattern-video-loading-expected.txt: Added.
728         * platform/efl/fast/canvas/canvas-createPattern-video-modify-expected.txt: Added.
729         * platform/gtk/fast/canvas/canvas-createPattern-video-loading-expected.txt: Added.
730         * platform/gtk/fast/canvas/canvas-createPattern-video-modify-expected.txt: Added.
731         * resources/platform-helper.js: Added.
732         (isGtk):
733         (isEfl):
734         (videoCanvasPixelComparisonTolerance):
735
736 2016-07-27  Romain Bellessort  <romain.bellessort@crf.canon.fr>
737
738         [Streams API] Replace ReadableStreamReader by ReadableStreamDefaultReader
739         https://bugs.webkit.org/show_bug.cgi?id=160194
740
741         Reviewed by Youenn Fablet.
742
743         Replaced ReadableStreamReader by ReadableStreamDefaultReader to align
744         with updated Streams API specification.
745
746         No change in functionality.
747
748         * streams/brand-checks.html:
749         * streams/readable-stream-controller-error-expected.txt:
750         * streams/readable-stream-controller-error.html:
751         * streams/readable-stream-default-reader-read-expected.txt: Renamed from LayoutTests/streams/readable-stream-reader-read-expected.txt.
752         * streams/readable-stream-default-reader-read.html: Renamed from LayoutTests/streams/readable-stream-reader-read.html.
753         * streams/readable-stream-error-messages-expected.txt:
754         * streams/readable-stream-error-messages.html:
755         * streams/reference-implementation/readable-stream-reader-expected.txt:
756         * streams/shadowing-Promise-expected.txt:
757         * streams/shadowing-Promise.html:
758
759 2016-07-27  Javier Fernandez  <jfernandez@igalia.com>
760
761         [css-grid] Handle alignment with orthogonal flows
762         https://bugs.webkit.org/show_bug.cgi?id=159295
763
764         Reviewed by Darin Adler.
765
766         Now that grid sizing and positioning issues wrt orthogonal flows have
767         been clarified in the last spec draft, we can adapt now our alignment
768         logic to work with orthogonal flows.
769
770         These tests ensure that alignment works as expected in the cases where
771         grid and its children are orthogonal.
772
773         * fast/css-grid-layout/grid-item-alignment-with-orthogonal-flows-expected.txt: Added.
774         * fast/css-grid-layout/grid-item-alignment-with-orthogonal-flows-vertical-lr-expected.txt: Added.
775         * fast/css-grid-layout/grid-item-alignment-with-orthogonal-flows-vertical-lr.html: Added.
776         * fast/css-grid-layout/grid-item-alignment-with-orthogonal-flows-vertical-rl-expected.txt: Added.
777         * fast/css-grid-layout/grid-item-alignment-with-orthogonal-flows-vertical-rl.html: Added.
778         * fast/css-grid-layout/grid-item-alignment-with-orthogonal-flows.html: Added.
779         * fast/css-grid-layout/resources/grid-alignment.css:
780         (.alignContentSpaceBetween):
781         (.alignContentSpaceAround):
782         (.alignContentSpaceEvenly):
783         (.alignContentStretch):
784         (.selfStart):
785         (.selfEnd):
786         (.selfCenter):
787         (.selfRight):
788         (.selfLeft):
789         (.selfSelfStart):
790         (.selfSelfEnd):
791         (.itemsSelfEnd): Deleted.
792
793 2016-07-26  Youenn Fablet  <youennf@gmail.com>
794
795         JS Built-ins should throw this-error messages consistently with binding generated code
796         https://bugs.webkit.org/show_bug.cgi?id=160191
797
798         Reviewed by Darin Adler.
799
800         * fetch/fetch-error-messages-expected.txt: Added.
801         * fetch/fetch-error-messages.html: Added.
802         * streams/readable-stream-error-messages-expected.txt: Added.
803         * streams/readable-stream-error-messages.html: Added.
804
805 2016-07-26  Myles C. Maxfield  <mmaxfield@apple.com>
806
807         [iOS] SF-Heavy is inaccessible by web content
808         https://bugs.webkit.org/show_bug.cgi?id=160186
809         <rdar://problem/27434423>
810
811         Reviewed by Dean Jackson.
812
813         * platform/ios-simulator/TestExpectations: system-font-weight-italic.html
814         is expected to fail on iOS 9.
815         * fast/text/system-font-weight-italic-expected.txt: Added.
816         * fast/text/system-font-weight-italic.html: Added.
817         * fast/text/system-font-weight-expected.txt: Added.
818         * fast/text/system-font-weight.html: Added.
819
820 2016-07-26  Ryan Haddad  <ryanhaddad@apple.com>
821
822         Skip failing JSC test regress/script-tests/bigswitch-indirect-symbol.js
823         https://bugs.webkit.org/show_bug.cgi?id=160035
824
825         Unreviewed test gardening.
826
827         * js/regress/script-tests/bigswitch-indirect-symbol.js:
828
829 2016-07-26  Chris Dumez  <cdumez@apple.com>
830
831         Second parameter to History.pushState() / replaceState() should be mandatory
832         https://bugs.webkit.org/show_bug.cgi?id=160230
833
834         Reviewed by Sam Weinig.
835
836         * fast/history/state-api-parameters.html: Added.
837         * fast/history/state-api-parameters-expected.txt: Added.
838         Add layout test coverage.
839
840         * fast/history/replacestate-nocrash.html:
841         * fast/loader/stateobjects/popstate-fires-with-page-cache.html:
842         Update existing tests to reflect behavior change.
843
844 2016-07-26  Ryan Haddad  <ryanhaddad@apple.com>
845
846         Marking inspector/memory/tracking.html as flaky on mac-wk1 debug
847         https://bugs.webkit.org/show_bug.cgi?id=160227
848
849         Unreviewed test gardening.
850
851         * platform/mac-wk1/TestExpectations:
852
853 2016-07-26  Chris Dumez  <cdumez@apple.com>
854
855         Align CSSKeyframesRule with the specification
856         https://bugs.webkit.org/show_bug.cgi?id=160219
857
858         Reviewed by Darin Adler.
859
860         Add layout test coverage.
861
862         * animations/CSSKeyframesRule-name-null-expected.txt: Added.
863         * animations/CSSKeyframesRule-name-null.html: Added.
864         * animations/CSSKeyframesRule-parameters-expected.txt: Added.
865         * animations/CSSKeyframesRule-parameters.html: Added.
866
867 2016-07-26  Myles C. Maxfield  <mmaxfield@apple.com>
868
869         [iPhone] Playing a video on tudou.com plays only sound, no video
870         https://bugs.webkit.org/show_bug.cgi?id=160178
871         <rdar://problem/27535468>
872
873         Reviewed by Eric Carlson and Dan Bernstein.
874
875         * media/video-playsinline-expected.txt:
876         * media/video-playsinline.html:
877         * media/video-webkit-playsinline-expected.txt: Added.
878         * media/video-webkit-playsinline.html: Added.
879
880 2016-07-26  Chris Dumez  <cdumez@apple.com>
881
882         Align CSSStyleDeclaration with the specification
883         https://bugs.webkit.org/show_bug.cgi?id=160214
884
885         Reviewed by Darin Adler.
886
887         * fast/css/CSSStyleDeclaration-cssText-null-expected.txt: Added.
888         * fast/css/CSSStyleDeclaration-cssText-null.html: Added.
889         Add layout test coverage for setting cssText to null. This test
890         passes in WebKit, Firefox and Chrome, with or without my change.
891         Our IDL wrongly reported the cssText attribute as nullable but
892         WebKit was already behaving correctly.
893
894         * fast/css/CSSStyleDeclaration-parameters-expected.txt: Added.
895         * fast/css/CSSStyleDeclaration-parameters.html: Added.
896         Add testing for omitting CSSStyleDeclaration API parameters, to
897         make sure they are mandatory. This test passes in Firefox and
898         Chrome.
899
900         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
901         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
902         Update existing test to reflect behavior change.
903
904 2016-07-26  David Kilzer <ddkilzer@apple.com>
905
906         Networking process crash due to missing -[WebCoreAuthenticationClientAsChallengeSender performDefaultHandlingForAuthenticationChallenge:] implementation
907         https://bugs.webkit.org/show_bug.cgi?id=156947
908         <rdar://problem/23325160>
909
910         Reviewed by Alex Christensen.
911
912         * http/tests/xmlhttprequest/auth-reject-protection-space-expected.txt: Added.
913         * http/tests/xmlhttprequest/auth-reject-protection-space.html: Added.
914
915 2016-07-26  Chris Dumez  <cdumez@apple.com>
916
917         Parameters to CSSStyleSheet.insertRule() / deleteRule() should be mandatory
918         https://bugs.webkit.org/show_bug.cgi?id=160210
919
920         Reviewed by Darin Adler.
921
922         * fast/css/stylesheet-parameters-expected.txt: Added.
923         * fast/css/stylesheet-parameters.html: Added.
924         Add layout test coverage.
925
926         * editing/selection/first-letter-selection-crash.html:
927         * fast/css/counters/asterisk-counter-update-after-layout-crash.html:
928         * fast/dom/HTMLElement/dynamic-editability-change.html:
929         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
930         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
931         Update existing tests to reflect the behavior change.
932
933 2016-07-26  George Ruan  <gruan@apple.com>
934
935         HTMLVideoElement frames do not update on iOS when src is a MediaStream blob
936         https://bugs.webkit.org/show_bug.cgi?id=159833
937         <rdar://problem/27379487>
938
939         Reviewed by Eric Carlson.
940
941         * fast/mediastream/MediaStream-video-element-displays-buffer-expected.txt: Added.
942         * fast/mediastream/MediaStream-video-element-displays-buffer.html: Added. Checks that
943         a video element with a mediastream source displays frames that are neither black or transparent.
944         * fast/mediastream/resources/getUserMedia-helper.js:
945         (setupVideoElementWithStream): Sets up video element with global variable mediastream.
946
947 2016-07-26  Ryosuke Niwa  <rniwa@webkit.org>
948
949         Remove the tests for legacy custom elements API
950         https://bugs.webkit.org/show_bug.cgi?id=160209
951
952         Reviewed by Chris Dumez.
953
954         Removed the tests for legacy custom elements v0 API. The tests for the new v1 API is at fast/custom-elements.
955
956         * fast/dom/custom: Removed.
957         * fast/dom/custom/document-register-basic-expected.txt: Removed.
958         * fast/dom/custom/document-register-basic.html: Removed.
959         * fast/dom/custom/document-register-namespace-expected.txt: Removed.
960         * fast/dom/custom/document-register-namespace.html: Removed.
961         * fast/dom/custom/document-register-reentrant-null-constructor-expected.txt: Removed.
962         * fast/dom/custom/document-register-reentrant-null-constructor.html: Removed.
963         * fast/dom/custom/document-register-reentrant-returning-fake-expected.txt: Removed.
964         * fast/dom/custom/document-register-reentrant-returning-fake.html: Removed.
965         * fast/dom/custom/document-register-reentrant-throwing-constructor-expected.txt: Removed.
966         * fast/dom/custom/document-register-reentrant-throwing-constructor.html: Removed.
967         * fast/dom/custom/document-register-type-extensions-expected.txt: Removed.
968         * fast/dom/custom/document-register-type-extensions.html: Removed.
969         * fast/dom/custom/lifecycle-ready-createElement-recursion-expected.txt: Removed.
970         * fast/dom/custom/lifecycle-ready-createElement-recursion.html: Removed.
971         * fast/dom/custom/lifecycle-ready-createElement-reentrancy-expected.txt: Removed.
972         * fast/dom/custom/lifecycle-ready-createElement-reentrancy.html: Removed.
973         * fast/dom/custom/lifecycle-ready-creation-api-expected.txt: Removed.
974         * fast/dom/custom/lifecycle-ready-creation-api.html: Removed.
975         * fast/dom/custom/lifecycle-ready-innerHTML-expected.txt: Removed.
976         * fast/dom/custom/lifecycle-ready-innerHTML.html: Removed.
977         * fast/dom/custom/lifecycle-ready-parser-only-expected.html: Removed.
978         * fast/dom/custom/lifecycle-ready-parser-only.html: Removed.
979         * fast/dom/custom/lifecycle-ready-parser-script-expected.txt: Removed.
980         * fast/dom/custom/lifecycle-ready-parser-script.html: Removed.
981         * fast/dom/custom/lifecycle-ready-paste-expected.txt: Removed.
982         * fast/dom/custom/lifecycle-ready-paste.html: Removed.
983         * fast/dom/custom/resources: Removed.
984         * fast/dom/custom/resources/document-register-fuzz.js: Removed.
985         * platform/efl/TestExpectations:
986         * platform/gtk/TestExpectations:
987         * platform/ios-simulator/TestExpectations:
988         * platform/mac/TestExpectations:
989         * platform/win/TestExpectations:
990
991 2016-07-26  Chris Dumez  <cdumez@apple.com>
992
993         Second parameter to Range.isPointInRange() / comparePoint() should be mandatory
994         https://bugs.webkit.org/show_bug.cgi?id=160202
995
996         Reviewed by Ryosuke Niwa.
997
998         Update existing test to reflect behavior change.
999
1000         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
1001         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
1002
1003 2016-07-26  Youenn Fablet  <youenn@apple.com>
1004
1005         [Fetch API] Add support for fetch mode, in particular cors
1006         https://bugs.webkit.org/show_bug.cgi?id=156753
1007
1008         Reviewed by Darin Adler.
1009
1010         Rebasing specific expectations as Maci/iOS WK2 does not like https tests.
1011
1012         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Added.
1013         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Added.
1014         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt: Added.
1015         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: Added.
1016         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-expected.txt: Added.
1017         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/basic/mode-no-cors-worker-expected.txt: Added.
1018         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt: Added.
1019         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-worker-expected.txt: Added.
1020
1021 2016-07-26  Chris Dumez  <cdumez@apple.com>
1022
1023         Align NamedNodeMap with the specification
1024         https://bugs.webkit.org/show_bug.cgi?id=160204
1025
1026         Reviewed by Darin Adler.
1027
1028         * dom/html/level2/core/hc_namednodemapinvalidtype1-expected.txt: Removed.
1029         * dom/html/level2/core/hc_namednodemapinvalidtype1.html: Removed.
1030         * dom/xhtml/level2/core/hc_namednodemapinvalidtype1-expected.txt: Removed.
1031         * dom/xhtml/level2/core/hc_namednodemapinvalidtype1.xhtml: Removed.
1032         Drop outdated DOM level 2 tests that expect the wrong exception type to
1033         be thrown when passing a non-Attr node in.
1034
1035         * fast/dom/NamedNodeMap-parameters-expected.txt: Added.
1036         * fast/dom/NamedNodeMap-parameters.html: Added.
1037         Add layout test coverage. I have verified that this test is passing in
1038         both Firefox and Chrome.
1039
1040         * fast/dom/NamedNodeMap-setNamedItem-crash-expected.txt:
1041         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
1042         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
1043         Update / rebaseline existing tests to reflect behavior change.
1044
1045 2016-07-26  Said Abou-Hallawa  <sabouhallawa@apple.com>
1046
1047         Infinite Canvas context save() causes WebKit to crash
1048         https://bugs.webkit.org/show_bug.cgi?id=159586
1049         <rdar://problem/26759984>
1050
1051         Reviewed by Simon Fraser.
1052
1053         * fast/canvas/canvas-context-save-limit-expected.txt: Added.
1054         * fast/canvas/canvas-context-save-limit.html: Added.
1055
1056 2016-07-26  Youenn Fablet  <youenn@apple.com>
1057
1058         DOMTokenList should be iterable
1059         https://bugs.webkit.org/show_bug.cgi?id=160183
1060
1061         Reviewed by Chris Dumez.
1062
1063         * fast/dom/domTokenListIterator-expected.txt: Added.
1064         * fast/dom/domTokenListIterator.html: Added.
1065         * fast/dom/iterable-tests.js: Added.
1066         * fast/dom/nodeListIterator-expected.txt:
1067         * fast/dom/nodeListIterator.html: Making use of iterable-tests.js
1068
1069 2016-07-26  John Wilander  <wilander@apple.com>
1070
1071         Stop supporting compressed character sets BOCU-1 and SCSU
1072         https://bugs.webkit.org/show_bug.cgi?id=159581
1073
1074         Reviewed by Brent Fulgham.
1075
1076         WebKit should not support the compressed character sets BOCU-1 and SCSU.
1077         Chrome and Firefox don't and these old formats may pass server-side character
1078         filters while still rendering in WebKit.
1079
1080         The HTML specification says "The above prohibits supporting, for example,
1081         CESU-8, UTF-7, BOCU-1, SCSU, EBCDIC, and UTF-32."
1082         https://html.spec.whatwg.org/#character-encodings
1083
1084         * http/tests/misc/char-encoding-bocu-1-blacklisted-expected.txt: Added.
1085         * http/tests/misc/char-encoding-bocu-1-blacklisted.html: Added.
1086         * http/tests/misc/char-encoding-scsu-blacklisted-expected.txt: Added.
1087         * http/tests/misc/char-encoding-scsu-blacklisted.html: Added.
1088         * http/tests/misc/resources/bocu-1-cyrillic.php: Added.
1089         * http/tests/misc/resources/scsu-cyrillic.php: Added.
1090
1091 2016-07-26  Youenn Fablet  <youenn@apple.com>
1092
1093         Remove ClientCredentialPolicy cross-origin option from ResourceLoaderOptions
1094         https://bugs.webkit.org/show_bug.cgi?id=159413
1095
1096         Reviewed by Alex Christensen.
1097
1098         * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/credentials/authentication-basic-expected.txt: Removed.
1099
1100 2016-07-25  Sergio Villar Senin  <svillar@igalia.com>
1101
1102         [css-grid] repeat() syntax should take a <track-list> argument
1103         https://bugs.webkit.org/show_bug.cgi?id=160162
1104
1105         Reviewed by Darin Adler.
1106
1107         Added new test cases with multiple tracks inside repeat() notation, both for fixed an
1108         automatic (auto-fill & auto-fit) repetitions.
1109
1110         * fast/css-grid-layout/grid-auto-fill-columns-expected.txt:
1111         * fast/css-grid-layout/grid-auto-fill-columns.html:
1112         * fast/css-grid-layout/grid-auto-fill-rows-expected.txt:
1113         * fast/css-grid-layout/grid-auto-fill-rows.html:
1114         * fast/css-grid-layout/grid-auto-fit-columns-expected.txt:
1115         * fast/css-grid-layout/grid-auto-fit-columns.html:
1116         * fast/css-grid-layout/grid-auto-fit-rows-expected.txt:
1117         * fast/css-grid-layout/grid-auto-fit-rows.html:
1118         * fast/css-grid-layout/grid-element-auto-repeat-get-set-expected.txt:
1119         * fast/css-grid-layout/grid-element-auto-repeat-get-set.html:
1120         * fast/css-grid-layout/grid-element-repeat-get-set-expected.txt:
1121         * fast/css-grid-layout/grid-element-repeat-get-set.html:
1122
1123 2016-07-25  Sergio Villar Senin  <svillar@igalia.com>
1124
1125         [css-grid] grid-auto-flow|row should take a <track-size>+
1126         https://bugs.webkit.org/show_bug.cgi?id=160158
1127
1128         Reviewed by Darin Adler.
1129
1130         * fast/css-grid-layout/grid-auto-columns-rows-get-set-expected.txt:
1131         * fast/css-grid-layout/grid-auto-columns-rows-get-set.html:
1132         * fast/css-grid-layout/grid-shorthand-get-set-expected.txt:
1133         * fast/css-grid-layout/grid-shorthand-get-set.html:
1134         * svg/css/getComputedStyle-basic-expected.txt: CSSPrimitiveValue -> CSSValueList.
1135
1136 2016-07-25  Frederic Wang  <fwang@igalia.com>
1137
1138         MathOperator: Add a mapping from combining to non-combining equivalents
1139         https://bugs.webkit.org/show_bug.cgi?id=159513
1140
1141         Reviewed by Darin Adler.
1142
1143         * mathml/presentation/bug159513.html: Added.
1144         * platform/gtk/mathml/presentation/bug159513-expected.png: Added.
1145         * platform/gtk/mathml/presentation/bug159513-expected.txt: Added.
1146         * platform/ios-simulator/TestExpectations: Skip this test on iOS.
1147         * platform/mac/TestExpectations: Skip this test on Mac.
1148
1149 2016-07-25  Chris Dumez  <cdumez@apple.com>
1150
1151         Second parameter to Range.setStart() / setEnd() should be mandatory
1152         https://bugs.webkit.org/show_bug.cgi?id=160184
1153
1154         Reviewed by Ryosuke Niwa.
1155
1156         Update tests to reflect behavior change.
1157
1158         * editing/deleting/delete-uneditable-style.html:
1159         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
1160         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
1161         * fast/regions/simplified-layout-no-regions.html:
1162
1163 2016-07-25  Nan Wang  <n_wang@apple.com>
1164
1165         AX: Expose autoFillButtonType to accessibility
1166         https://bugs.webkit.org/show_bug.cgi?id=160179
1167
1168         Reviewed by Chris Fleizach.
1169
1170         * accessibility/auto-fill-types-expected.txt:
1171         * accessibility/auto-fill-types.html:
1172
1173 2016-07-25  Chris Dumez  <cdumez@apple.com>
1174
1175         Touch properties should be on the prototype
1176         https://bugs.webkit.org/show_bug.cgi?id=160174
1177
1178         Reviewed by Ryosuke Niwa.
1179
1180         Add layout test coverage.
1181
1182         * platform/ios-simulator/ios/touch/Touch-attributes-prototype-expected.txt: Added.
1183         * platform/ios-simulator/ios/touch/Touch-attributes-prototype.html: Added.
1184
1185 2016-07-25  Chris Dumez  <cdumez@apple.com>
1186
1187         ClientRect properties should be on the prototype
1188         https://bugs.webkit.org/show_bug.cgi?id=160165
1189
1190         Reviewed by Geoffrey Garen.
1191
1192         * fast/css/ClientRect-attributes-prototype-expected.txt: Added.
1193         * fast/css/ClientRect-attributes-prototype.html: Added.
1194         Add layout test to check that ClientRect's properties are on the
1195         prototype.
1196
1197         * fast/css/ClientRect-serialization-expected.txt: Added.
1198         * fast/css/ClientRect-serialization.html: Added.
1199         Add layout test to check that ClientRect has a serializer.
1200
1201 2016-07-25  Chris Dumez  <cdumez@apple.com>
1202
1203         Parameters to DOMImplementation.createDocumentType() should be mandatory and non-nullable
1204         https://bugs.webkit.org/show_bug.cgi?id=160167
1205
1206         Reviewed by Ryosuke Niwa.
1207
1208         * editing/selection/script-tests/DOMSelection-DocumentType.js:
1209         * fast/dom/DOMImplementation/createDocumentType-err-expected.txt:
1210         * fast/dom/DOMImplementation/script-tests/createDocumentType-err.js:
1211         Update existing tests to reflect the behavior change.
1212
1213         * fast/dom/DOMImplementation/createDocumentType-parameters-expected.txt: Added.
1214         * fast/dom/DOMImplementation/createDocumentType-parameters.html: Added.
1215         Add layout test coverage. I have verified that this test passes on both
1216         Firefox and Chrome.
1217
1218 2016-07-25  Jiewen Tan  <jiewen_tan@apple.com>
1219
1220         Rename SubtleCrypto to WebKitSubtleCrypto
1221         https://bugs.webkit.org/show_bug.cgi?id=160067
1222         <rdar://problem/27483617>
1223
1224         Reviewed by Brent Fulgham.
1225
1226         Move tests involving crypto.webkitSubtle from crypto/subtle to crypto/webkitSubtle.
1227
1228         * crypto/webkitSubtle/gc-2-expected.txt: Renamed from LayoutTests/crypto/subtle/gc-2-expected.txt.
1229         * crypto/webkitSubtle/gc-2.html: Renamed from LayoutTests/crypto/subtle/gc-2.html.
1230         * crypto/webkitSubtle/gc-3-expected.txt: Renamed from LayoutTests/crypto/subtle/gc-3-expected.txt.
1231         * crypto/webkitSubtle/gc-3.html: Renamed from LayoutTests/crypto/subtle/gc-3.html.
1232         * crypto/webkitSubtle/gc-expected.txt: Renamed from LayoutTests/crypto/subtle/gc-expected.txt.
1233         * crypto/webkitSubtle/gc.html: Renamed from LayoutTests/crypto/subtle/gc.html.
1234         * platform/efl/TestExpectations:
1235         * platform/gtk/TestExpectations:
1236         * platform/ios-simulator-wk1/TestExpectations:
1237         * platform/win/TestExpectations:
1238
1239 2016-07-25  Brady Eidson  <beidson@apple.com>
1240
1241         Allow LocalStorage by default for file URLs.
1242         https://bugs.webkit.org/show_bug.cgi?id=160169
1243
1244         Reviewed by Brent Fulgham.
1245
1246         * storage/domstorage/localstorage/blocked-file-access-expected.txt: Removed.
1247         * storage/domstorage/localstorage/file-can-access-expected.txt: Added.
1248         * storage/domstorage/localstorage/file-can-access.html: Renamed from LayoutTests/storage/domstorage/localstorage/blocked-file-access.html.
1249         * storage/domstorage/localstorage/resources/unblocked-example.html: Renamed from LayoutTests/storage/domstorage/localstorage/resources/blocked-example.html.
1250
1251 2016-07-25  Nan Wang  <n_wang@apple.com>
1252
1253         AX: AccessibilityRenderObject is adding duplicated children when CSS first-letter is being used.
1254         https://bugs.webkit.org/show_bug.cgi?id=160155
1255
1256         Reviewed by Chris Fleizach.
1257
1258         * accessibility/mac/css-first-letter-children-expected.txt: Added.
1259         * accessibility/mac/css-first-letter-children.html: Added.
1260
1261 2016-07-24  Wenson Hsieh  <wenson_hsieh@apple.com>
1262
1263         The web process hangs when computing elements-based snap points for a container with large max scroll offset
1264         https://bugs.webkit.org/show_bug.cgi?id=152605
1265         <rdar://problem/25353661>
1266
1267         Reviewed by Simon Fraser.
1268
1269         Adds a scroll snap offset computation test case that would have previously
1270         caused the web process to hang before this patch.
1271
1272         * css3/scroll-snap/scroll-snap-elements-container-larger-than-children-expected.txt: Added.
1273         * css3/scroll-snap/scroll-snap-elements-container-larger-than-children.html: Added.
1274
1275 2016-07-25  Sergio Villar Senin  <svillar@igalia.com>
1276
1277         [css-grid] Implement repeat(auto-fit)
1278         https://bugs.webkit.org/show_bug.cgi?id=159771
1279
1280         Reviewed by Darin Adler.
1281
1282         Uncommented the auto-fit cases. Split the Mozilla's 005 test in two because it was not
1283         possible to fit all the content in a viewport without scrollbars.
1284
1285         * fast/css-grid-layout/grid-auto-fit-columns-expected.txt: Added.
1286         * fast/css-grid-layout/grid-auto-fit-columns.html: Added.
1287         * fast/css-grid-layout/grid-auto-fit-rows-expected.txt: Added.
1288         * fast/css-grid-layout/grid-auto-fit-rows.html: Added.
1289         * fast/css-grid-layout/grid-element-auto-repeat-get-set-expected.txt:
1290         * fast/css-grid-layout/grid-element-auto-repeat-get-set.html:
1291         * fast/css-grid-layout/grid-only-abspos-item-computed-style-crash-expected.txt:
1292         * fast/css-grid-layout/grid-only-abspos-item-computed-style-crash.html:
1293         * fast/css-grid-layout/grid-positioned-items-padding-expected.txt:
1294         * fast/css-grid-layout/grid-positioned-items-padding.html:
1295         * fast/css-grid-layout/grid-template-columns-rows-computed-style-gaps-content-alignment-expected.txt:
1296         * fast/css-grid-layout/grid-template-columns-rows-computed-style-gaps-content-alignment.html:
1297         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-001-expected.html:
1298         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-001.html:
1299         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-002-expected.html:
1300         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-002.html:
1301         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-003-expected.html:
1302         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-003.html:
1303         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-004-expected.html:
1304         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-004.html:
1305         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-part-1-expected.html: Renamed from LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-expected.html.
1306         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-part-1.html: Copied from LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005.html.
1307         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-part-2-expected.html: Added.
1308         * fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005-part-2.html: Renamed from LayoutTests/fast/css-grid-layout/mozilla/grid-repeat-auto-fill-fit-005.html.
1309
1310 2016-07-24  Nan Wang  <n_wang@apple.com>
1311
1312         AX: Video Controls: Volume cannot be adjusted using VO.
1313         https://bugs.webkit.org/show_bug.cgi?id=160107
1314
1315         Reviewed by Dean Jackson.
1316
1317         * accessibility/mac/video-volume-slider-accessibility-expected.txt: Added.
1318         * accessibility/mac/video-volume-slider-accessibility.html: Added.
1319
1320 2016-07-24  David Kilzer  <ddkilzer@apple.com>
1321
1322         REGRESSION (r203106): Crash in WebCore::MathMLElement::parseMathMLLength()
1323         <https://webkit.org/b/160111>
1324         <rdar://problem/27506489>
1325
1326         Reviewed by Chris Dumez.
1327
1328         * mathml/mpadded-crash-expected.txt: Added.
1329         * mathml/mpadded-crash.html: Added.
1330
1331 2016-07-24  Myles C. Maxfield  <mmaxfield@apple.com>
1332
1333         Test gardening after r203626.
1334         https://bugs.webkit.org/show_bug.cgi?id=160102
1335         <rdar://problem/27453479>
1336
1337         Unreviewed.
1338
1339         * platform/ios-simulator/editing/deleting/delete-emoji-expected.txt:
1340         * platform/mac-yosemite/editing/deleting/delete-emoji-expected.txt:
1341
1342 2016-07-24  Michael Catanzaro  <mcatanzaro@igalia.com>
1343
1344         [GTK] Layout test security/contentSecurityPolicy/plugins-types-allows-quicktime-plugin-replacement.html timing out
1345         https://bugs.webkit.org/show_bug.cgi?id=160128
1346
1347         Unreviewed, skip the tests.
1348
1349         * platform/efl/TestExpectations:
1350         * platform/gtk/TestExpectations:
1351
1352 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1353
1354         Unreviewed GTK test expectations fixups
1355
1356         * platform/gtk/TestExpectations:
1357
1358 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1359
1360         Even more unreviewed flaky GTK test gardening
1361
1362         * TestExpectations:
1363         * platform/gtk/TestExpectations:
1364
1365 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1366
1367         Unreviewed flaky test gardening for GTK
1368
1369         Mostly more fallout from threaded compositor
1370
1371         * TestExpectations:
1372         * platform/gtk/TestExpectations:
1373
1374 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1375
1376         More unreviewed GTK gardening
1377
1378         Update expectations for tests timing out
1379
1380         * platform/gtk/TestExpectations:
1381
1382 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1383
1384         More unreviewed GTK gardening
1385
1386         Mark more flaky crashes after enabling threaded compositor
1387
1388         * platform/gtk/TestExpectations:
1389
1390 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1391
1392         More unreviewed GTK gardening, mark even more new passes after enabling threaded compositor
1393
1394         * platform/gtk/TestExpectations:
1395
1396 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1397
1398         Unreviewed GTK gardening, mark many emoji gender tests passing
1399
1400         * platform/gtk/TestExpectations:
1401
1402 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1403
1404         Unreviewed test gardening
1405
1406         These tests are flaky now on GTK, passing about half the time.
1407
1408         * TestExpectations:
1409         * platform/gtk/TestExpectations:
1410
1411 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1412
1413         Unreviewed GTK gardening new passes after enabling threaded compositor
1414
1415         * platform/gtk/TestExpectations:
1416
1417 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1418
1419         Unreviewed test expectation gardening
1420
1421         Skip layout test editing/deleting/delete-emoji.html 
1422
1423         * platform/gtk/TestExpectations:
1424
1425 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1426
1427         Unreviewed, move some GTK expectations to more appropriate locations
1428
1429         * platform/gtk/TestExpectations:
1430
1431 2016-07-23  Michael Catanzaro  <mcatanzaro@igalia.com>
1432
1433         Unreviewed, add GTK expectations for threaded compositor regressions
1434
1435         * platform/gtk/TestExpectations:
1436
1437 2016-07-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1438
1439         [Coordinated Graphics] Lots of flaky tests
1440         https://bugs.webkit.org/show_bug.cgi?id=160118
1441
1442         Reviewed by Michael Catanzaro.
1443
1444         * fast/fixed-layout/fixed-layout.html: Remove the onresize handler when the test finishes to ensure it can't be
1445         called later affecting other tests.
1446
1447 2016-07-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1448
1449         [Coordinated Graphics] Test imported/blink/svg/custom/svg-image-layers-crash.html crashes
1450         https://bugs.webkit.org/show_bug.cgi?id=160078
1451
1452         Reviewed by Michael Catanzaro.
1453
1454         * platform/efl/TestExpectations: Remove imported/blink/svg/custom/svg-image-layers-crash.html.
1455
1456 2016-07-23  Commit Queue  <commit-queue@webkit.org>
1457
1458         Unreviewed, rolling out r203641.
1459         https://bugs.webkit.org/show_bug.cgi?id=160116
1460
1461         It broke make-based builds (Requested by youenn on #webkit).
1462
1463         Reverted changeset:
1464
1465         "[Fetch API] Request should be created with any HeadersInit
1466         data"
1467         https://bugs.webkit.org/show_bug.cgi?id=159672
1468         http://trac.webkit.org/changeset/203641
1469
1470 2016-07-23  Frederic Wang  <fwang@igalia.com>
1471
1472         Reset font-style on the <math> element
1473         https://bugs.webkit.org/show_bug.cgi?id=160074
1474
1475         Reviewed by Darin Adler.
1476
1477         * mathml/presentation/math-font-style-expected.html: Added.
1478         * mathml/presentation/math-font-style.html: Added.
1479
1480 2016-07-23  Frederic Wang  <fwang@igalia.com>
1481
1482         [MathML] PaintInfo state not properly restored after applyTransform.
1483         https://bugs.webkit.org/show_bug.cgi?id=160077
1484
1485         Reviewed by Simon Fraser.
1486
1487         * mathml/presentation/bug160077-expected-mismatch.html: Added.
1488         * mathml/presentation/bug160077.html: Added.
1489
1490 2016-07-22  Myles C. Maxfield  <mmaxfield@apple.com>
1491
1492         All dancers with bunny ears are female
1493         https://bugs.webkit.org/show_bug.cgi?id=160102
1494         <rdar://problem/27453479>
1495
1496         Reviewed by Simon Fraser.
1497
1498         * editing/deleting/delete-emoji.html:
1499         * platform/mac/editing/deleting/delete-emoji-expected.txt:
1500         * fast/text/emoji-gender-2-9-expected.html:
1501         * fast/text/emoji-gender-2-9.html:
1502         * fast/text/emoji-gender-9-expected.html:
1503         * fast/text/emoji-gender-9.html:
1504         * fast/text/emoji-gender-fe0f-9-expected.html:
1505         * fast/text/emoji-gender-fe0f-9.html:
1506
1507 2016-07-22  Chris Dumez  <cdumez@apple.com>
1508
1509         Parameter to HTMLCollection.item() / namedItem() should be mandatory
1510         https://bugs.webkit.org/show_bug.cgi?id=160099
1511
1512         Reviewed by Sam Weinig.
1513
1514         Update existing test to reflect behavior change.
1515
1516         * fast/dom/non-numeric-values-numeric-parameters-expected.txt:
1517         * fast/dom/script-tests/non-numeric-values-numeric-parameters.js:
1518
1519 2016-07-22  Chris Dumez  <cdumez@apple.com>
1520
1521         First parameter to Window.getComputedStyle() should be mandatory and non-nullable
1522         https://bugs.webkit.org/show_bug.cgi?id=160097
1523
1524         Reviewed by Ryosuke Niwa.
1525
1526         Add test coverage.
1527
1528         * fast/dom/Window/getComputedStyle-missing-parameter-expected.txt: Added.
1529         * fast/dom/Window/getComputedStyle-missing-parameter.html: Added.
1530
1531 2016-07-22  Ryan Haddad  <ryanhaddad@apple.com>
1532
1533         Marking webaudio/audionode-connect-order.html as a flaky crash on mac-wk1 debug
1534         https://bugs.webkit.org/show_bug.cgi?id=105870
1535
1536         Unreviewed test gardening.
1537
1538         * platform/mac-wk1/TestExpectations:
1539
1540 2016-07-22  Ryan Haddad  <ryanhaddad@apple.com>
1541
1542         Marking userscripts/window-onerror-for-isolated-world-3.html as a flaky failure on mac-wk1
1543         https://bugs.webkit.org/show_bug.cgi?id=160101
1544
1545         Unreviewed test gardening.
1546
1547         * platform/mac-wk1/TestExpectations:
1548
1549 2016-07-22  Matt Baker  <mattbaker@apple.com>
1550
1551         Web Inspector: Remove unused code from Debounce layout test
1552         https://bugs.webkit.org/show_bug.cgi?id=160049
1553         <rdar://problem/27479713>
1554
1555         Reviewed by Joseph Pecoraro.
1556
1557         * inspector/unit-tests/debounce-expected.txt:
1558         Updated with new delay times.
1559
1560         * inspector/unit-tests/debounce.html:
1561         Remove unused code that was copy-pasted from other tests, and reduced
1562         delay times from 100ms to 10ms to speed up test.
1563
1564 2016-07-22  Chris Dumez  <cdumez@apple.com>
1565
1566         Fix default parameter values for window.alert() / prompt() / confirm()
1567         https://bugs.webkit.org/show_bug.cgi?id=160085
1568
1569         Reviewed by Ryosuke Niwa.
1570
1571         Update existing test to reflect behavior change.
1572
1573         * fast/dom/Window/alert-undefined-expected.txt:
1574         * fast/dom/Window/alert-undefined.html:
1575
1576 2016-07-22  Daniel Bates  <dabates@apple.com>
1577
1578         CSP: object-src and plugin-types directives are not respected for plugin replacements
1579         https://bugs.webkit.org/show_bug.cgi?id=159761
1580         <rdar://problem/27365724>
1581
1582         Reviewed by Brent Fulgham.
1583
1584         Add layout tests to ensure that we apply the CSP object-src and plugin-types directives to content
1585         that loads with either the QuickTime plugin replacement or YouTube plugin replacement.
1586
1587         * security/contentSecurityPolicy/object-src-none-blocks-quicktime-plugin-replacement-expected.txt: Added.
1588         * security/contentSecurityPolicy/object-src-none-blocks-quicktime-plugin-replacement.html: Added.
1589         * security/contentSecurityPolicy/object-src-none-blocks-youtube-plugin-replacement-expected.txt: Added.
1590         * security/contentSecurityPolicy/object-src-none-blocks-youtube-plugin-replacement.html: Added.
1591         * security/contentSecurityPolicy/plugins-types-allows-quicktime-plugin-replacement-expected.txt: Added.
1592         * security/contentSecurityPolicy/plugins-types-allows-quicktime-plugin-replacement.html: Added.
1593         * security/contentSecurityPolicy/plugins-types-allows-youtube-plugin-replacement-expected.txt: Added.
1594         * security/contentSecurityPolicy/plugins-types-allows-youtube-plugin-replacement.html: Added.
1595         * security/contentSecurityPolicy/plugins-types-blocks-quicktime-plugin-replacement-expected.txt: Added.
1596         * security/contentSecurityPolicy/plugins-types-blocks-quicktime-plugin-replacement-without-mime-type-expected.txt: Added.
1597         * security/contentSecurityPolicy/plugins-types-blocks-quicktime-plugin-replacement-without-mime-type.html: Added.
1598         * security/contentSecurityPolicy/plugins-types-blocks-quicktime-plugin-replacement.html: Added.
1599         * security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement-expected.txt: Added.
1600         * security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement-without-mime-type-expected.txt: Added.
1601         * security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement-without-mime-type.html: Added.
1602         * security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement.html: Added.
1603
1604 2016-07-22  Chris Dumez  <cdumez@apple.com>
1605
1606         Parameters to Node.replaceChild() / insertBefore() should be mandatory
1607         https://bugs.webkit.org/show_bug.cgi?id=160091
1608
1609         Reviewed by Darin Adler.
1610
1611         Update existing tests due to the behavior change.
1612
1613         * fast/block/basic/empty-anonymous-block-remove-crash.html:
1614         * fast/html/details-summary-document-child.html:
1615         * fast/repaint/focus-ring-with-negative-offset-repaint.html:
1616         * svg/animations/mpath-remove-from-dependents-on-delete-crash.html:
1617
1618 2016-07-22  Chris Dumez  <cdumez@apple.com>
1619
1620         First parameter to getElementById() should be mandatory
1621         https://bugs.webkit.org/show_bug.cgi?id=160087
1622
1623         Reviewed by Darin Adler.
1624
1625         Add layout test coverage for SVGSVGElement.getElementById().
1626
1627         * svg/dom/SVGSVGElement-getElementById-expected.txt: Added.
1628         * svg/dom/SVGSVGElement-getElementById.html: Added.
1629
1630 2016-07-22  Ryan Haddad  <ryanhaddad@apple.com>
1631
1632         Correct a TestExpectation by changing it from Failure to ImageOnlyFailure
1633
1634         Unreviewed test gardening.
1635
1636         * platform/mac/TestExpectations:
1637
1638 2016-07-21  Chris Dumez  <cdumez@apple.com>
1639
1640         Make parameters to Element.getElementsBy*() operations mandatory
1641         https://bugs.webkit.org/show_bug.cgi?id=160060
1642
1643         Reviewed by Darin Adler.
1644
1645         Drop cases that were calling the operation without parameter.
1646         
1647         * fast/dom/getElementsByClassName/dumpHTMLCollection-expected.txt:
1648         * fast/dom/getElementsByClassName/dumpHTMLCollection.html:
1649
1650 2016-07-21  Chris Dumez  <cdumez@apple.com>
1651
1652         Make parameters mandatory for attribute-related API on Element
1653         https://bugs.webkit.org/show_bug.cgi?id=160059
1654
1655         Reviewed by Ryosuke Niwa.
1656
1657         Update existing layout tests to reflect the behavior change.
1658
1659         * fast/dom/Element/script-tests/setAttributeNS-namespace-err.js:
1660         * fast/dom/Element/setAttributeNS-namespace-err-expected.txt:
1661         * fast/dom/HTMLHrElement/hr-color-noshade-attribute.html:
1662         * fast/dom/attribute-downcast-right.html:
1663         * fast/images/style-access-during-imageChanged-style-freeze.html:
1664         * fast/selectors/read-only-read-write-input-basics.html:
1665         * fast/selectors/read-only-read-write-textarea-basics.html:
1666         * media/video-playsinline-expected.txt:
1667         * media/video-playsinline.html:
1668
1669 2016-07-21  Dean Jackson  <dino@apple.com>
1670
1671         REGRESSION (r202927): The internal size of the ImageBuffer is scaled twice by the context scaleFactor
1672         https://bugs.webkit.org/show_bug.cgi?id=159981
1673         <rdar://problem/27429465>
1674
1675         Reviewed by Myles Maxfield.
1676
1677         * fast/hidpi/pdf-image-scaled-expected.html: Added.
1678         * fast/hidpi/pdf-image-scaled.html: Added.
1679         * fast/hidpi/resources/circle.pdf: Added.
1680
1681 2016-07-21  John Wilander  <wilander@apple.com>
1682
1683         Block mixed content synchronous XHR
1684         https://bugs.webkit.org/show_bug.cgi?id=105462
1685         <rdar://problem/13666424>
1686
1687         Reviewed by Brent Fulgham.
1688
1689         * http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame-expected.txt: Added.
1690         * http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame.html: Added.
1691         * http/tests/security/mixedContent/resources/insecure-xhr-sync-in-main-frame-window.html: Added.
1692
1693 2016-07-21  Chris Dumez  <cdumez@apple.com>
1694
1695         Make parameters to Document.getElementsBy*() operations mandatory
1696         https://bugs.webkit.org/show_bug.cgi?id=160050
1697
1698         Reviewed by Daniel Bates.
1699
1700         Drop cases that were calling the operation without parameter.
1701
1702         * fast/dom/getElementsByClassName/dumpHTMLCollection-expected.txt:
1703         * fast/dom/getElementsByClassName/dumpHTMLCollection.html:
1704
1705 2016-07-21  Nan Wang  <n_wang@apple.com>
1706
1707         AX: aria-label not being used correctly in accessible name calculation of heading
1708         https://bugs.webkit.org/show_bug.cgi?id=160009
1709
1710         Reviewed by Chris Fleizach.
1711
1712         * accessibility/ios-simulator/heading-with-aria-label-expected.txt: Added.
1713         * accessibility/ios-simulator/heading-with-aria-label.html: Added.
1714
1715 2016-07-21  Ryan Haddad  <ryanhaddad@apple.com>
1716
1717         Move expected.txt file for editing/deleting/delete-emoji.html from mac-elcapitan to mac-yosemite
1718
1719         Unreviewed test gardening.
1720
1721         * platform/mac-yosemite/editing/deleting/delete-emoji-expected.txt: Renamed from LayoutTests/platform/mac-elcapitan/editing/deleting/delete-emoji-expected.txt.
1722
1723 2016-07-21  Chris Dumez  <cdumez@apple.com>
1724
1725         Make parameters mandatory for Document.create*() operations
1726         https://bugs.webkit.org/show_bug.cgi?id=160047
1727
1728         Reviewed by Ryosuke Niwa.
1729
1730         Update existing tests to reflect the behavior change.
1731
1732         * compositing/geometry/assert-marquee-timer.html:
1733         * editing/style/bold-with-dom-changes.html:
1734         * fast/dom/MutationObserver/observe-characterdata.html:
1735         * fast/dom/normalize-attributes-mutation-event-crash.html:
1736         * fast/dom/null-chardata-crash.html:
1737         * fast/dom/wrapper-classes-expected.txt:
1738         * fast/dom/wrapper-classes.html:
1739         * fast/forms/basic-textareas.html:
1740         * fast/inspector-support/uncaught-dom1-exception-expected.txt:
1741         * fast/inspector-support/uncaught-dom1-exception.html:
1742
1743 2016-07-21  Ryan Haddad  <ryanhaddad@apple.com>
1744
1745         Marking imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight.html as flaky on mac
1746         https://bugs.webkit.org/show_bug.cgi?id=160056
1747
1748         Unreviewed test gardening.
1749
1750         * platform/mac/TestExpectations:
1751
1752 2016-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
1753
1754         [macOS] Caret placement occurs in the middle of new emoji group candidates
1755         https://bugs.webkit.org/show_bug.cgi?id=160008
1756         <rdar://problem/27430111>
1757
1758         Reviewed by Simon Fraser.
1759
1760         Update expected results.
1761
1762         The new emoji support is behind the ADDITIONAL_EMOJI_SUPPORT guard, which
1763         means it only occurs on El Capitan and higher. Similarly, these new rules
1764         are not used for iOS.
1765
1766         * editing/deleting/delete-emoji-expected.txt: Deleted.
1767         * platform/mac/editing/deleting/delete-emoji-expected.txt: Added.
1768         * platform/mac-elcapitan/editing/deleting/delete-emoji-expected.txt: Added.
1769         * platform/ios-simulator/editing/deleting/delete-emoji-expected.txt: Added.
1770
1771 2016-07-21  Ryan Haddad  <ryanhaddad@apple.com>
1772
1773         Land test expectations for rdar://problem/27475162.
1774
1775         * platform/mac/TestExpectations:
1776
1777 2016-07-21  Chris Dumez  <cdumez@apple.com>
1778
1779         Fix null handling of SVGAngle/SVGLength.valueAsString attribute
1780         https://bugs.webkit.org/show_bug.cgi?id=160025
1781
1782         Reviewed by Ryosuke Niwa.
1783
1784         Add test coverage.
1785
1786         * svg/dom/svg-element-attribute-js-null-expected.txt:
1787         * svg/dom/svg-element-attribute-js-null.xhtml:
1788         * svg/dom/valueAsString-null-expected.txt: Added.
1789         * svg/dom/valueAsString-null.html: Added.
1790         There are a couple of failures in this test because WebKit ignores
1791         assignments to "" instead of throwing. Firefox passes all the checks.
1792
1793 2016-07-21  Chris Dumez  <cdumez@apple.com>
1794
1795         Fix null handling of HTMLFontElement.color
1796         https://bugs.webkit.org/show_bug.cgi?id=160036
1797
1798         Reviewed by Ryosuke Niwa.
1799
1800         Update existing test to reflect behavior change.
1801
1802         * fast/dom/element-attribute-js-null-expected.txt:
1803         * fast/dom/element-attribute-js-null.html:
1804
1805 2016-07-21  Chris Dumez  <cdumez@apple.com>
1806
1807         Fix null handling for several HTMLTableElement attributes
1808         https://bugs.webkit.org/show_bug.cgi?id=160041
1809
1810         Reviewed by Ryosuke Niwa.
1811
1812         Update existing test to reflect the behavior change.
1813
1814         * fast/dom/element-attribute-js-null-expected.txt:
1815         * fast/dom/element-attribute-js-null.html:
1816
1817 2016-07-21  Chris Dumez  <cdumez@apple.com>
1818
1819         Fix null handling for HTMLObjectElement.border
1820         https://bugs.webkit.org/show_bug.cgi?id=160040
1821
1822         Reviewed by Ryosuke Niwa.
1823
1824         Update existing test to reflect the behavior change.
1825
1826         * fast/dom/element-attribute-js-null-expected.txt:
1827         * fast/dom/element-attribute-js-null.html:
1828
1829 2016-07-21  Chris Dumez  <cdumez@apple.com>
1830
1831         Fix null handling for td.bgColor / tr.bgColor
1832         https://bugs.webkit.org/show_bug.cgi?id=160043
1833
1834         Reviewed by Ryosuke Niwa.
1835
1836         Update existing test to reflect the behavior change.
1837
1838         * fast/dom/element-attribute-js-null-expected.txt:
1839         * fast/dom/element-attribute-js-null.html:
1840
1841 2016-07-21  Daniel Bates  <dabates@apple.com>
1842
1843         Test platform/ios-simulator/ios/plugin/youtube-flash-plugin-iframe.html is flaky
1844         https://bugs.webkit.org/show_bug.cgi?id=160002
1845
1846         Reviewed by Alexey Proskuryakov.
1847
1848         The file platform/ios-simulator/ios/plugin/youtube-flash-plugin-iframe.html tests loading
1849         plugin content from the main frame and from a subframe. Depending on timing the plugin
1850         content loaded in the subframe may complete before plugin content loaded in the main frame.
1851         We should test loading plugin content in a subframe after perform all main frame sub-tests
1852         so as to ensure a well-defined sub-test order.
1853
1854         Add logic to ensure that an embedded YouTube flash video loaded in a subframe actually creates
1855         a shadow DOM. Additionally, simplify the test logic by making use window.jsTestIsAsync/finishJSTest()
1856         to mark the test as asynchronous and notify test completion instead of calling
1857         window.testRunner.{waitUntilDone, notifyDone}(), remove the call to
1858         testRunner.dumpAsText() (js-test-pre.js calls this for us), remove all of the DOM elements
1859         used in the test to avoid noise in the expected results, and fix some style nits.
1860
1861         * platform/ios-simulator/ios/plugin/youtube-flash-plugin-iframe-expected.txt:
1862         * platform/ios-simulator/ios/plugin/youtube-flash-plugin-iframe.html:
1863
1864 2016-07-21  Chris Dumez  <cdumez@apple.com>
1865
1866         Fix null handling for several HTMLBodyElement attributes
1867         https://bugs.webkit.org/show_bug.cgi?id=160044
1868
1869         Reviewed by Ryosuke Niwa.
1870
1871         Update existing test to reflect the behavior change.
1872
1873         * fast/dom/element-attribute-js-null-expected.txt:
1874         * fast/dom/element-attribute-js-null.html:
1875
1876 2016-07-21  Chris Dumez  <cdumez@apple.com>
1877
1878         Fix null handling for HTMLIFrameElement.marginWidth / marginHeight
1879         https://bugs.webkit.org/show_bug.cgi?id=160037
1880
1881         Reviewed by Ryosuke Niwa.
1882
1883         Update existing test to reflect the behavior change.
1884
1885         * fast/dom/element-attribute-js-null-expected.txt:
1886         * fast/dom/element-attribute-js-null.html:
1887
1888 2016-07-21  Chris Dumez  <cdumez@apple.com>
1889
1890         Fix null handling for HTMLImageElement.border
1891         https://bugs.webkit.org/show_bug.cgi?id=160039
1892
1893         Reviewed by Ryosuke Niwa.
1894
1895         Update existing test to reflect the behavior change.
1896
1897         * fast/dom/element-attribute-js-null-expected.txt:
1898         * fast/dom/element-attribute-js-null.html:
1899
1900 2016-07-21  Daniel Bates  <dabates@apple.com>
1901
1902         REGRESSION: Plugin replaced YouTube Flash videos always have the same width
1903         https://bugs.webkit.org/show_bug.cgi?id=159998
1904         <rdar://problem/27462285>
1905
1906         Reviewed by Simon Fraser.
1907
1908         Unskip existing iOS layout tests, update tests and expected results.
1909
1910         * platform/ios-simulator/TestExpectations:
1911         * platform/ios-simulator/ios/plugin/youtube-flash-plugin-iframe-expected.txt: Updated expected result based on the
1912         changes to test youtube-flash-plugin-iframe.html.
1913         * platform/ios-simulator/ios/plugin/youtube-flash-plugin-iframe-no-height-or-width-expected.txt: Updated expected result
1914         based on the changes to test youtube-flash-plugin-iframe-no-height-or-width.html.
1915         * platform/ios-simulator/ios/plugin/youtube-flash-plugin-iframe-no-height-or-width.html: Modified to check the
1916         width of each embedded YouTube video to ensure that we respect it (if specified).
1917         * platform/ios-simulator/ios/plugin/youtube-flash-plugin-iframe.html: Substitute pseudo id -webkit-plugin-replacement
1918         for -apple-youtube-shadow-iframe as the later was renamed to the former in <https://trac.webkit.org/changeset/168442>.
1919         Fix misspelling of the word "embed" in a comment.
1920
1921 2016-07-21  Ryan Haddad  <ryanhaddad@apple.com>
1922
1923         Marking inspector/codemirror/prettyprinting-javascript.html as a flaky timeout on mac debug.
1924         https://bugs.webkit.org/show_bug.cgi?id=160048
1925
1926         Unreviewed test gardening.
1927
1928         Added TestExpectation and reordered alphabetically.
1929
1930         * platform/mac/TestExpectations:
1931
1932 2016-07-21  Myles C. Maxfield  <mmaxfield@apple.com>
1933
1934         [iPhone] Playing a video on tudou.com plays only sound, no video
1935         https://bugs.webkit.org/show_bug.cgi?id=159967
1936         <rdar://problem/26964090>
1937
1938         Reviewed by Jon Lee, Jeremy Jones, and Anders Carlsson.
1939
1940         * media/video-playsinline.html: Updated.
1941         * media/video-webkit-playsinline-expected.txt: Removed.
1942         * media/video-webkit-playsinline.html: Removed.
1943
1944 2016-07-21  Ryan Haddad  <ryanhaddad@apple.com>
1945
1946         Marking accessibility/mac/value-change/value-change-user-info-contenteditable.html as flaky on El Capitan WK2
1947         https://bugs.webkit.org/show_bug.cgi?id=160042
1948
1949         Unreviewed test gardening.
1950
1951         * platform/mac-wk2/TestExpectations:
1952
1953 2016-07-21  Chris Dumez  <cdumez@apple.com>
1954
1955         The 2 first parameters to DOMImplementation.createDocument() should be mandatory
1956         https://bugs.webkit.org/show_bug.cgi?id=160030
1957
1958         Reviewed by Sam Weinig.
1959
1960         Rebaseline / update existing test to reflect the behavior change.
1961
1962         * fast/css/zoom-on-unattached.html:
1963         * fast/dom/DOMImplementation/createDocument-namespace-err-expected.txt:
1964         * fast/dom/DOMImplementation/script-tests/createDocument-namespace-err.js:
1965         * fast/dom/HTMLLinkElement/prefetch-detached.html:
1966         * fast/dom/node-move-to-new-document-crash-main.html:
1967         * fast/forms/change-form-element-document-crash.html:
1968
1969 2016-07-21  Csaba Osztrogon√°c  <ossy@webkit.org>
1970
1971         Clarify testing mode names in run-jsc-stress-tests
1972         https://bugs.webkit.org/show_bug.cgi?id=160021
1973
1974         Reviewed by Mark Lam.
1975
1976         Default should mean really default, not default with disabled FTL, renamed
1977         - runMozillaTestDefault to runMozillaTestNoFTL
1978         - runMozillaTestDefaultFTL to runMozillaTestDefault
1979         - runDefault to runNoFTL
1980         - runDefaultFTL to runDefault
1981         - runLayoutTestDefault to runLayoutTestNoFTL
1982         - runLayoutTestDefaultFTL to runLayoutTestDefault
1983         - runNoisyTestDefault to runNoisyTestNoFTL
1984         - runNoisyTestDefaultFTL to runNoisyTestDefault
1985
1986         * js/regress/script-tests/DataView-custom-properties.js:
1987         * js/regress/script-tests/HashMap-put-get-iterate-keys.js:
1988         * js/regress/script-tests/HashMap-put-get-iterate.js:
1989         * js/regress/script-tests/HashMap-string-put-get-iterate.js:
1990         * js/regress/script-tests/array-nonarray-polymorhpic-access.js:
1991         * js/regress/script-tests/basic-set.js:
1992         * js/regress/script-tests/bug-153431.js:
1993         * js/regress/script-tests/destructuring-arguments.js:
1994         * js/regress/script-tests/destructuring-swap.js:
1995         * js/regress/script-tests/inline-arguments-local-escape.js:
1996         * js/regress/script-tests/method-on-number.js:
1997         * js/regress/script-tests/new-array-buffer-push.js:
1998         * js/regress/script-tests/new-array-push.js:
1999         * js/regress/script-tests/poly-stricteq.js:
2000         * js/regress/script-tests/polymorphic-array-call.js:
2001         * js/regress/script-tests/regexp-prototype-is-not-instance.js:
2002         * js/regress/script-tests/regexp-prototype-search-observable-side-effects.js:
2003         * js/regress/script-tests/regexp-prototype-search-observable-side-effects2.js:
2004         * js/regress/script-tests/regexp-prototype-split-observable-side-effects.js:
2005         * js/regress/script-tests/regexp-prototype-split-observable-side-effects2.js:
2006         * js/regress/script-tests/regexp-prototype-split-observable-side-effects3-flags.js:
2007         * js/regress/script-tests/regexp-prototype-split-observable-side-effects3-global.js:
2008         * js/regress/script-tests/regexp-prototype-split-observable-side-effects3-ignoreCase.js:
2009         * js/regress/script-tests/regexp-prototype-split-observable-side-effects3-multiline.js:
2010         * js/regress/script-tests/regexp-prototype-split-observable-side-effects3-sticky.js:
2011         * js/regress/script-tests/regexp-prototype-split-observable-side-effects3-unicode.js:
2012         * js/regress/script-tests/regexp-prototype-split-observable-side-effects4.js:
2013         * js/regress/script-tests/regexp-prototype-test-observable-side-effects.js:
2014         * js/regress/script-tests/regexp-prototype-test-observable-side-effects2.js:
2015         * js/regress/script-tests/string-equality.js:
2016         * js/regress/script-tests/string-prototype-search-observable-side-effects.js:
2017         * js/regress/script-tests/string-prototype-search-observable-side-effects2.js:
2018         * js/regress/script-tests/string-prototype-search-observable-side-effects3.js:
2019         * js/regress/script-tests/string-prototype-search-observable-side-effects4.js:
2020         * js/regress/script-tests/string-prototype-split-observable-side-effects.js:
2021         * js/regress/script-tests/string-prototype-split-observable-side-effects2.js:
2022         * js/regress/script-tests/string-prototype-split-observable-side-effects3-flags.js:
2023         * js/regress/script-tests/string-prototype-split-observable-side-effects3-global.js:
2024         * js/regress/script-tests/string-prototype-split-observable-side-effects3-ignoreCase.js:
2025         * js/regress/script-tests/string-prototype-split-observable-side-effects3-multiline.js:
2026         * js/regress/script-tests/string-prototype-split-observable-side-effects3-sticky.js:
2027         * js/regress/script-tests/string-prototype-split-observable-side-effects3-unicode.js:
2028         * js/regress/script-tests/string-prototype-split-observable-side-effects4.js:
2029         * js/regress/script-tests/string-repeat-arith.js:
2030         * js/regress/script-tests/string-sub.js:
2031         * js/slow-stress/script-tests/destructuring-arguments-length.js:
2032
2033 2016-07-21  Chris Dumez  <cdumez@apple.com>
2034
2035         playsInline IDL attribute has the wrong casing
2036         https://bugs.webkit.org/show_bug.cgi?id=160029
2037         <rdar://problem/27474031>
2038
2039         Reviewed by Jon Lee.
2040
2041         Update test to use the correct case.
2042
2043         * media/video-playsinline-expected.txt:
2044         * media/video-playsinline.html:
2045
2046 2016-07-21  Chris Dumez  <cdumez@apple.com>
2047
2048         Drop [TreatNullAs=EmptyString] from CanvasRenderingContext2D.globalCompositeOperation
2049         https://bugs.webkit.org/show_bug.cgi?id=160026
2050
2051         Reviewed by Sam Weinig.
2052
2053         Add test coverage.
2054
2055         * fast/canvas/context-globalCompositeOperation-null-expected.txt: Added.
2056         * fast/canvas/context-globalCompositeOperation-null.html: Added.
2057
2058 2016-07-21  Carlos Alberto Lopez Perez  <clopez@igalia.com>
2059
2060         [GTK] Gardening: Layout tests expectations updates and test rebaselines.
2061
2062         Unreviewed.
2063
2064         * TestExpectations: js/regress-139548.html is ~10x slower since r203142.
2065         * fast/mediastream/RTCPeerConnection-add-removeTrack-expected.txt: Rebaseline after r203333.
2066         * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt: Rebaseline after r203333.
2067         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer-expected.txt: Rebaseline after r203333.
2068         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer-expected.txt: Rebaseline after r203333.
2069         * platform/efl/TestExpectations: workers/bomb.html is slow.
2070         * platform/gtk/TestExpectations: workers/bomb.html is slow, media/media-source/media-source-small-gap.html timeouts
2071           and new failure on platform/gtk/scrollbars/main-frame-scrollbar-horizontal-wheel-scroll.html.
2072
2073 2016-07-21  Ryan Haddad  <ryanhaddad@apple.com>
2074
2075         Update test expectations for rdar://problem/27353750.
2076
2077         * platform/mac/TestExpectations:
2078
2079 2016-07-21  Javier Fernandez  <jfernandez@igalia.com>
2080
2081         [css-grid] Handle min-content/max-content with orthogonal flows
2082         https://bugs.webkit.org/show_bug.cgi?id=159294
2083
2084         Reviewed by Darin Adler.
2085
2086         New layout tests to evaluate basic positioning and sizing using orthogonal flows.
2087
2088         * fast/css-grid-layout/grid-item-positioning-with-orthogonal-flows-expected.txt: Added.
2089         * fast/css-grid-layout/grid-item-positioning-with-orthogonal-flows.html: Added.
2090         * fast/css-grid-layout/grid-item-sizing-with-orthogonal-flows-expected.txt: Added.
2091         * fast/css-grid-layout/grid-item-sizing-with-orthogonal-flows.html: Added.
2092         * fast/css-grid-layout/grid-item-spanning-and-orthogonal-flows-expected.txt: Added.
2093         * fast/css-grid-layout/grid-item-spanning-and-orthogonal-flows.html: Added.
2094         * fast/css-grid-layout/grid-track-sizing-with-orthogonal-flows-expected.txt: Added.
2095         * fast/css-grid-layout/grid-track-sizing-with-orthogonal-flows.html: Added.
2096         * fast/css-grid-layout/grid-track-sizing-with-percentages-and-orthogonal-flows-expected.txt: Added.
2097         * fast/css-grid-layout/grid-track-sizing-with-percentages-and-orthogonal-flows.html: Added.
2098
2099 2016-07-20  Youenn Fablet  <youenn@apple.com>
2100
2101         [XHR] Cache response JS object in case of arraybuffer and blob response types
2102         https://bugs.webkit.org/show_bug.cgi?id=128903
2103
2104         Reviewed by Alex Christensen.
2105
2106         * http/tests/xmlhttprequest/onabort-response-getters-expected.txt:
2107         * http/tests/xmlhttprequest/onabort-response-getters.html:
2108
2109 2016-07-19  Filip Pizlo  <fpizlo@apple.com>
2110
2111         Switching on symbols should be fast
2112         https://bugs.webkit.org/show_bug.cgi?id=158892
2113
2114         Reviewed by Keith Miller.
2115
2116         * js/regress/bigswitch-indirect-expected.txt: Added.
2117         * js/regress/bigswitch-indirect-symbol-expected.txt: Added.
2118         * js/regress/bigswitch-indirect-symbol-or-undefined-expected.txt: Added.
2119         * js/regress/bigswitch-indirect-symbol-or-undefined.html: Added.
2120         * js/regress/bigswitch-indirect-symbol.html: Added.
2121         * js/regress/bigswitch-indirect.html: Added.
2122         * js/regress/implicit-bigswitch-indirect-symbol-expected.txt: Added.
2123         * js/regress/implicit-bigswitch-indirect-symbol.html: Added.
2124         * js/regress/script-tests/bigswitch-indirect-symbol-or-undefined.js: Added.
2125         (foo):
2126         * js/regress/script-tests/bigswitch-indirect-symbol.js: Added.
2127         (foo):
2128         * js/regress/script-tests/bigswitch-indirect.js: Added.
2129         (foo):
2130         * js/regress/script-tests/implicit-bigswitch-indirect-symbol.js: Added.
2131         (foo):
2132
2133 2016-07-20  Chris Dumez  <cdumez@apple.com>
2134
2135         Fix null handling of several Document attributes
2136         https://bugs.webkit.org/show_bug.cgi?id=159997
2137
2138         Reviewed by Ryosuke Niwa.
2139
2140         Add test coverage.
2141
2142         * http/tests/dom/document-attributes-null-handling-expected.txt: Added.
2143         * http/tests/dom/document-attributes-null-handling.html: Added.
2144         * fast/dom/document-attribute-js-null-expected.txt:
2145         * fast/dom/document-attribute-js-null.html:
2146
2147 2016-07-20  Commit Queue  <commit-queue@webkit.org>
2148
2149         Unreviewed, rolling out r203471.
2150         https://bugs.webkit.org/show_bug.cgi?id=160003
2151
2152         many iOS-simulator tests are failing (Requested by litherum on
2153         #webkit).
2154
2155         Reverted changeset:
2156
2157         "[iPhone] Playing a video on tudou.com plays only sound, no
2158         video"
2159         https://bugs.webkit.org/show_bug.cgi?id=159967
2160         http://trac.webkit.org/changeset/203471
2161
2162 2016-07-20  Jiewen Tan  <jiewen_tan@apple.com>
2163
2164         Fix timeout of imported/w3c/WebCryptoAPI/idlharness.html
2165         https://bugs.webkit.org/show_bug.cgi?id=159979
2166
2167         Reviewed by Alex Christensen.
2168
2169         * TestExpectations:
2170         Remove the skip tuple of the test.
2171
2172 2016-07-20  Chris Dumez  <cdumez@apple.com>
2173
2174         Stop using valueToStringWithNullCheck() in JSCSSStyleDeclaration::putDelegate()
2175         https://bugs.webkit.org/show_bug.cgi?id=159982
2176
2177         Reviewed by Ryosuke Niwa.
2178
2179         Add layout test coverage for JSCSSStyleDeclaration::putDelegate(),
2180         covering cases like setting to null or the empty String, to make
2181         sure we behave according to specification.
2182
2183         * fast/css/CSSStyleDeclaration-property-setter-expected.txt: Added.
2184         * fast/css/CSSStyleDeclaration-property-setter.html: Added.
2185
2186 2016-07-20  Chris Dumez  <cdumez@apple.com>
2187
2188         Fix null handling of HTMLFrameElement.marginWidth / marginHeight
2189         https://bugs.webkit.org/show_bug.cgi?id=159987
2190
2191         Reviewed by Ryosuke Niwa.
2192
2193         Update existing test to reflect the expected behavior change.
2194
2195         * fast/dom/element-attribute-js-null-expected.txt:
2196         * fast/dom/element-attribute-js-null.html:
2197
2198 2016-07-20  Myles C. Maxfield  <mmaxfield@apple.com>
2199
2200         [iPhone] Playing a video on tudou.com plays only sound, no video
2201         https://bugs.webkit.org/show_bug.cgi?id=159967
2202         <rdar://problem/26964090>
2203
2204         Reviewed by Jon Lee.
2205
2206         * media/video-playsinline.html: Updated.
2207         * media/video-webkit-playsinline-expected.txt: Removed.
2208         * media/video-webkit-playsinline.html: Removed.
2209
2210 2016-07-20  Chris Dumez  <cdumez@apple.com>
2211
2212         CSSStyleDeclaration.setProperty() should be able to unset "important" on a property
2213         https://bugs.webkit.org/show_bug.cgi?id=159959
2214
2215         Reviewed by Alexey Proskuryakov.
2216
2217         * fast/css/CSSStyleDeclaration-setProperty-unset-important-expected.txt: Added.
2218         * fast/css/CSSStyleDeclaration-setProperty-unset-important.html: Added.
2219         Add layout test coverage.
2220
2221         * fast/css/important-js-override.html:
2222         The test covered our 'wrong' behavior and was failing in Firefox / Chrome.
2223         I updated the test to match the behavior in the specification. The test
2224         now passed in Chrome and Firefox.
2225
2226 2016-07-20  Commit Queue  <commit-queue@webkit.org>
2227
2228         Unreviewed, rolling out r203423.
2229         https://bugs.webkit.org/show_bug.cgi?id=159977
2230
2231         The test for this change is failing on Mac Release WK2
2232         (Requested by ryanhaddad on #webkit).
2233
2234         Reverted changeset:
2235
2236         "HTMLVideoElement frames do not update on iOS when src is a
2237         MediaStream blob"
2238         https://bugs.webkit.org/show_bug.cgi?id=159833
2239         http://trac.webkit.org/changeset/203423
2240
2241 2016-07-20  Ryan Haddad  <ryanhaddad@apple.com>
2242
2243         Land test expectations for rdar://problem/27434307.
2244
2245         * platform/mac/TestExpectations:
2246
2247 2016-07-20  Chris Dumez  <cdumez@apple.com>
2248
2249         Fix null handling of HTMLSelectElement.value attribute
2250         https://bugs.webkit.org/show_bug.cgi?id=159925
2251
2252         Reviewed by Benjamin Poulain.
2253
2254         Add layout test coverage. I have verified that this test is passing in
2255         both Firefox and Chrome.
2256
2257         * fast/dom/HTMLSelectElement/value-null-handling-expected.txt: Added.
2258         * fast/dom/HTMLSelectElement/value-null-handling.html: Added.
2259
2260 2016-07-20  Ryan Haddad  <ryanhaddad@apple.com>
2261
2262         Consolidating duplicate TestExpectations for fast/images/animated-png.html.
2263
2264         Unreviewed test gardening.
2265
2266         * platform/mac/TestExpectations:
2267
2268 2016-07-19  Chris Dumez  <cdumez@apple.com>
2269
2270         Fix null handling of SVGScriptElement.type attribute
2271         https://bugs.webkit.org/show_bug.cgi?id=159927
2272
2273         Reviewed by Benjamin Poulain.
2274
2275         Rebaseline existing test to reflect the behavior change.
2276
2277         * svg/dom/svg-element-attribute-js-null-expected.txt:
2278         * svg/dom/svg-element-attribute-js-null.xhtml:
2279
2280 2016-07-19  Chris Dumez  <cdumez@apple.com>
2281
2282         Fix null handling of several HTMLDocument attributes
2283         https://bugs.webkit.org/show_bug.cgi?id=159923
2284
2285         Reviewed by Benjamin Poulain.
2286
2287         Add layout test coverage. I have verified that this test is passing in
2288         both Firefox and Chrome.
2289
2290         * fast/dom/HTMLDocument/null-handling-expected.txt: Added.
2291         * fast/dom/HTMLDocument/null-handling.html: Added.
2292
2293 2016-07-19  Chris Dumez  <cdumez@apple.com>
2294
2295         Document.createElementNS() / createAttributeNS() parameters should be mandatory
2296         https://bugs.webkit.org/show_bug.cgi?id=159938
2297
2298         Reviewed by Benjamin Poulain.
2299
2300         Update / rebaseline existing tests to reflect the behavior change.
2301
2302         * fast/dom/Document/createAttributeNS-namespace-err-expected.txt:
2303         * fast/dom/Document/createElementNS-namespace-err-expected.txt:
2304         * fast/dom/Document/script-tests/createAttributeNS-namespace-err.js:
2305         * fast/dom/Document/script-tests/createElementNS-namespace-err.js:
2306         * fast/dom/attribute-downcast-right.html:
2307
2308 2016-07-19  Benjamin Poulain  <bpoulain@apple.com>
2309
2310         Use getElementById for attribute matching if the attribute name is html's id
2311         https://bugs.webkit.org/show_bug.cgi?id=159960
2312
2313         Reviewed by Chris Dumez.
2314
2315         * fast/selectors/id-attribute-querySelector-used-as-id-selector-expected.txt: Added.
2316         * fast/selectors/id-attribute-querySelector-used-as-id-selector-quirks-expected.txt: Added.
2317         * fast/selectors/id-attribute-querySelector-used-as-id-selector-quirks.html: Added.
2318         * fast/selectors/id-attribute-querySelector-used-as-id-selector.html: Added.
2319
2320 2016-07-19  Chris Dumez  <cdumez@apple.com>
2321
2322         Drop SVGElement.xmlbase attribute
2323         https://bugs.webkit.org/show_bug.cgi?id=159926
2324
2325         Reviewed by Benjamin Poulain.
2326
2327         * svg/dom/SVGElement-xmlbase-expected.txt: Added.
2328         * svg/dom/SVGElement-xmlbase.html: Added.
2329         Check that SVGElement.xmlbase does not exist.
2330
2331         * svg/dom/svg-element-attribute-js-null-expected.txt:
2332         * svg/dom/svg-element-attribute-js-null.xhtml:
2333         Drop obsolete testing for SVGElement.xmlbase.
2334
2335 2016-07-19  Chris Dumez  <cdumez@apple.com>
2336
2337         Align CSSStyleDeclaration.setProperty() with the specification
2338         https://bugs.webkit.org/show_bug.cgi?id=159955
2339
2340         Reviewed by Benjamin Poulain.
2341
2342         Add layout test coverage.
2343
2344         * fast/css/CSSStyleDeclaration-setProperty-expected.txt: Added.
2345         * fast/css/CSSStyleDeclaration-setProperty.html: Added.
2346         * fast/css/shorthand-priority.html:
2347
2348 2016-07-19  Daniel Bates  <dabates@apple.com>
2349
2350         CSP: Improve support for multiple policies to more closely conform to the CSP Level 2 spec.
2351         https://bugs.webkit.org/show_bug.cgi?id=159841
2352         <rdar://problem/27381684>
2353
2354         Reviewed by Brent Fulgham.
2355
2356         * http/tests/security/contentSecurityPolicy/1.1/resources/scripthash-in-enforced-policy-and-not-in-report-only.php: Added.
2357         * http/tests/security/contentSecurityPolicy/1.1/resources/scripthash-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy.php: Added.
2358         * http/tests/security/contentSecurityPolicy/1.1/resources/scriptnonce-in-enforced-policy-and-not-in-report-only.php: Added.
2359         * http/tests/security/contentSecurityPolicy/1.1/resources/scriptnonce-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy.php: Added.
2360         * http/tests/security/contentSecurityPolicy/1.1/script-blocked-sends-multiple-reports-expected.txt: Added.
2361         * http/tests/security/contentSecurityPolicy/1.1/script-blocked-sends-multiple-reports.php: Added.
2362         * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-enforced-policy-and-blocked-by-report-policy-expected.txt: Added.
2363         * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-enforced-policy-and-blocked-by-report-policy.php: Added.
2364         * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-enforced-policy-and-blocked-by-report-policy2-expected.txt: Added.
2365         * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-enforced-policy-and-blocked-by-report-policy2.php: Added.
2366         * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy-expected.txt: Added.
2367         * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.php: Added.
2368         * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy2-expected.txt: Added.
2369         * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy2.php: Added.
2370         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-enforced-policy-and-allowed-by-report-policy-expected.txt: Added.
2371         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-enforced-policy-and-allowed-by-report-policy.php: Added.
2372         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-enforced-policy-and-allowed-by-report-policy2-expected.txt: Added.
2373         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-enforced-policy-and-allowed-by-report-policy2.php: Added.
2374         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-allowed-by-report-policy-expected.txt: Added.
2375         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-allowed-by-report-policy.php: Added.
2376         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-allowed-by-report-policy2-expected.txt: Added.
2377         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-allowed-by-report-policy2.php: Added.
2378         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy-expected.txt: Added.
2379         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.php: Added.
2380         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy2-expected.txt: Added.
2381         * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy2.php: Added.
2382         * http/tests/security/contentSecurityPolicy/1.1/scripthash-in-enforced-policy-and-not-in-report-only-expected.txt: Added.
2383         * http/tests/security/contentSecurityPolicy/1.1/scripthash-in-enforced-policy-and-not-in-report-only.html: Added.
2384         * http/tests/security/contentSecurityPolicy/1.1/scripthash-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy-expected.txt: Added.
2385         * http/tests/security/contentSecurityPolicy/1.1/scripthash-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy.html: Added.
2386         * http/tests/security/contentSecurityPolicy/1.1/scripthash-multiple-policies-expected.txt: Update expected result to reflect additional console
2387         messages. We will remove these extraneous console messages as part of the fix for <https://bugs.webkit.org/show_bug.cgi?id=159832>.
2388         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed-by-enforced-policy-and-blocked-by-report-policy-expected.txt: Added.
2389         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed-by-enforced-policy-and-blocked-by-report-policy.php: Added.
2390         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed-by-enforced-policy-and-blocked-by-report-policy2-expected.txt: Added.
2391         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed-by-enforced-policy-and-blocked-by-report-policy2.php: Added.
2392         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy-expected.txt: Added.
2393         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.php: Added.
2394         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy2-expected.txt: Added.
2395         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy2.php: Added.
2396         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-enforced-policy-and-allowed-by-report-policy-expected.txt: Added.
2397         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-enforced-policy-and-allowed-by-report-policy.php: Added.
2398         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-enforced-policy-and-allowed-by-report-policy2-expected.txt: Added.
2399         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-enforced-policy-and-allowed-by-report-policy2.php: Added.
2400         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-legacy-enforced-policy-and-allowed-by-report-policy-expected.txt: Added.
2401         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-legacy-enforced-policy-and-allowed-by-report-policy.php: Added.
2402         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-legacy-enforced-policy-and-allowed-by-report-policy2-expected.txt: Added.
2403         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-legacy-enforced-policy-and-allowed-by-report-policy2.php: Added.
2404         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy-expected.txt: Added.
2405         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.php: Added.
2406         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy2-expected.txt: Added.
2407         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy2.php: Added.
2408         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-in-enforced-policy-and-not-in-report-only-expected.txt: Added.
2409         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-in-enforced-policy-and-not-in-report-only.html: Added.
2410         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy-expected.txt: Added.
2411         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy.html: Added.
2412         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-multiple-policies-expected.txt: Added.
2413         * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-multiple-policies.html: Added.
2414
2415 2016-07-19  Chris Dumez  <cdumez@apple.com>
2416
2417         autocapitalize attribute should not use [TreatNullAs=LegacyNullString]
2418         https://bugs.webkit.org/show_bug.cgi?id=159934
2419
2420         Reviewed by Benjamin Poulain.
2421
2422         Add layout test coverage.
2423
2424         * platform/ios-simulator/ios/fast/forms/autocapitalize-null-expected.txt: Added.
2425         * platform/ios-simulator/ios/fast/forms/autocapitalize-null.html: Added.
2426
2427 2016-07-19  George Ruan  <gruan@apple.com>
2428
2429         HTMLVideoElement frames do not update on iOS when src is a MediaStream blob
2430         https://bugs.webkit.org/show_bug.cgi?id=159833
2431         <rdar://problem/27379487>
2432
2433         Reviewed by Eric Carlson.
2434
2435         * fast/mediastream/MediaStream-video-element-displays-buffer-expected.txt: Added.
2436         * fast/mediastream/MediaStream-video-element-displays-buffer.html: Added. Checks that
2437         a video element with a mediastream source displays frames that are neither black or transparent.
2438         * fast/mediastream/resources/getUserMedia-helper.js:
2439         (setupVideoElementWithStream): Sets up video element with global variable mediastream.
2440
2441 2016-07-19  Ryan Haddad  <ryanhaddad@apple.com>
2442
2443         Land test expectations for rdar://problem/27356144.
2444
2445         * platform/mac/TestExpectations:
2446
2447 2016-07-19  Zalan Bujtas  <zalan@apple.com>
2448
2449         theguardian.co.uk crossword puzzles are sometimes not displaying text
2450         https://bugs.webkit.org/show_bug.cgi?id=159924
2451         <rdar://problem/27409483>
2452
2453         Reviewed by Simon Fraser.
2454
2455         * fast/misc/subtree-layouts-expected.html: Added.
2456         * fast/misc/subtree-layouts.html: Added.
2457
2458 2016-07-19  Nan Wang  <n_wang@apple.com>
2459
2460         AX: Incorrect behavior for word related text marker functions when there's collapsed whitespace
2461         https://bugs.webkit.org/show_bug.cgi?id=159910
2462
2463         Reviewed by Chris Fleizach.
2464
2465         * accessibility/mac/text-marker-word-nav-collapsed-whitespace-expected.txt: Added.
2466         * accessibility/mac/text-marker-word-nav-collapsed-whitespace.html: Added.
2467
2468 2016-07-19  Youenn Fablet  <youenn@apple.com>
2469
2470         [Streams API] ReadableStreamController methods should throw if its stream is not readable
2471         https://bugs.webkit.org/show_bug.cgi?id=159871
2472
2473         Reviewed by Xabier Rodriguez-Calvar.
2474
2475         * streams/reference-implementation/pipe-to-options.html: Updated test case according whatwg original test.
2476         * streams/reference-implementation/readable-stream-templated.html: Ditto.
2477
2478 2016-07-19  Simon Fraser  <simon.fraser@apple.com>
2479
2480         Bubbles appear split for a brief moment in Messages
2481         https://bugs.webkit.org/show_bug.cgi?id=159915
2482         rdar://problem/27182267
2483
2484         Reviewed by David Hyatt.
2485
2486         * fast/repaint/scrolled-view-full-repaint-expected.txt: Added.
2487         * fast/repaint/scrolled-view-full-repaint.html: Added.
2488         * platform/ios-simulator-wk1/fast/repaint/scrolled-view-full-repaint-expected.txt: Added.
2489         * platform/mac-wk1/fast/repaint/scrolled-view-full-repaint-expected.txt: Added.
2490
2491 2016-07-19  Youenn Fablet  <youenn@apple.com>
2492
2493         [Release WK2] LayoutTest imported/w3c/web-platform-tests/XMLHttpRequest/send-redirect-post-upload.htm failing
2494         https://bugs.webkit.org/show_bug.cgi?id=159724
2495
2496         Unreviewed.
2497
2498         * TestExpectations: Marking test as failure,passs,crash.
2499         * platform/ios-simulator-wk2/TestExpectations: Removing specific expectation.
2500         * platform/mac-wk2/TestExpectations: Ditto.
2501
2502 2016-07-19  Chris Dumez  <cdumez@apple.com>
2503
2504         form.enctype / encoding / method should treat null as "null" string
2505         https://bugs.webkit.org/show_bug.cgi?id=159916
2506
2507         Reviewed by Ryosuke Niwa.
2508
2509         Add layout test coverage.
2510
2511         * fast/dom/HTMLFormElement/null-handling-expected.txt: Added.
2512         * fast/dom/HTMLFormElement/null-handling.html: Added.
2513
2514 2016-07-19  Youenn Fablet  <youenn@apple.com>
2515
2516         Add new aliases to http test server
2517         https://bugs.webkit.org/show_bug.cgi?id=159878
2518
2519         Reviewed by Darin Adler.
2520
2521         * http/tests/xmlhttprequest/set-bad-headervalue.html: Updating testharness.js and testharnessreport.js links to
2522         ensure these new links are working on test servers.
2523
2524 2016-07-18  Chris Dumez  <cdumez@apple.com>
2525
2526         input.formEnctype / formMethod and button.formEnctype / formMethod / type should treat null as "null"
2527         https://bugs.webkit.org/show_bug.cgi?id=159908
2528
2529         Reviewed by Alex Christensen.
2530
2531         Add layout test coverage.
2532
2533         * fast/dom/HTMLButtonElement/change-type-expected.txt:
2534         * fast/dom/HTMLButtonElement/change-type.html:
2535         * fast/dom/HTMLButtonElement/null-handling-expected.txt: Added.
2536         * fast/dom/HTMLButtonElement/null-handling.html: Added.
2537         * fast/dom/HTMLInputElement/null-handling-expected.txt: Added.
2538         * fast/dom/HTMLInputElement/null-handling.html: Added.
2539         * fast/forms/submit-form-attributes-expected.txt:
2540         * fast/forms/submit-form-attributes.html:
2541
2542 2016-07-18  Joseph Pecoraro  <pecoraro@apple.com>
2543
2544         Make builtin TypeErrors consistent
2545         https://bugs.webkit.org/show_bug.cgi?id=159899
2546
2547         Reviewed by Keith Miller.
2548
2549         * js/array-find-expected.txt:
2550         * js/array-findIndex-expected.txt:
2551         * js/array-includes-expected.txt:
2552         * js/dom/array-prototype-properties-expected.txt:
2553         * js/dom/script-tests/string-prototype-properties.js:
2554         * js/dom/string-prototype-properties-expected.txt:
2555         * js/script-tests/array-find.js:
2556         * js/script-tests/array-findIndex.js:
2557         * js/script-tests/string-localeCompare.js:
2558         * js/string-localeCompare-expected.txt:
2559         * sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.10_String.prototype.match/S15.5.4.10_A1_T3-expected.txt:
2560         * sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.11_String.prototype.replace/S15.5.4.11_A1_T3-expected.txt:
2561         * sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.12_String.prototype.search/S15.5.4.12_A1_T3-expected.txt:
2562         * sputnik/Conformance/15_Native_Objects/15.5_String/15.5.4/15.5.4.14_String.prototype.split/S15.5.4.14_A1_T3-expected.txt:
2563
2564 2016-07-18  Chris Dumez  <cdumez@apple.com>
2565
2566         EventTarget.dispatchEvent() parameter should not be nullable
2567         https://bugs.webkit.org/show_bug.cgi?id=159897
2568
2569         Reviewed by Benjamin Poulain.
2570
2571         Update layout tests as the message of the TypeError exception being
2572         thrown when calling dispatchEvent(null) is now more helpful.
2573
2574         * fast/dom/Window/dispatchEvent-expected.txt:
2575         * fast/events/dispatchEvent-crash-expected.txt:
2576
2577 2016-07-17  Filip Pizlo  <fpizlo@apple.com>
2578
2579         Implement table-based switches in B3/Air
2580         https://bugs.webkit.org/show_bug.cgi?id=151141
2581
2582         Reviewed by Benjamin Poulain.
2583
2584         * js/regress/bigswitch-expected.txt: Added.
2585         * js/regress/bigswitch.html: Added.
2586         * js/regress/script-tests/bigswitch.js: Added.
2587         (foo):
2588
2589 2016-07-18  Chris Dumez  <cdumez@apple.com>
2590
2591         DocType's publicId / systemId should not be nullable
2592         https://bugs.webkit.org/show_bug.cgi?id=159901
2593
2594         Reviewed by Benjamin Poulain.
2595
2596         Add test coverage for comparison of DocumentType nodes
2597         using isEqualNode(). This tests used to fail and now passes.
2598         The test passes in Firefox and Chrome as well.
2599
2600         * fast/dom/DocumentType/isEqualNode-expected.txt: Added.
2601         * fast/dom/DocumentType/isEqualNode.html: Added.
2602
2603 2016-07-18  Jeremy Jones  <jeremyj@apple.com>
2604
2605         If previous media session interruptions were prevented, still allow subsequent interruptions to try.
2606         https://bugs.webkit.org/show_bug.cgi?id=157553
2607         rdar://problem/25740804
2608
2609         Reviewed by Eric Carlson.
2610
2611         When suspending under lock on iOS, there is first a resign active event, then a
2612         suspend under lock. PiP prevents resign active from interrupting playback. But it should allow the
2613         suspend under lock to interrupt playback.
2614
2615         Currently if there are nested interruptions only the first one is acted upon.
2616
2617         This change allows subsequent, nested interruptions to have a chance to interrupt playback if the
2618         previous interruptions were ignored.
2619
2620         This test is for iPad only, so it must be run manually.
2621
2622         * platform/ios-simulator/TestExpectations:
2623         * platform/ios-simulator/media/video-interruption-suspendunderlock-expcted.txt: Added.
2624         * platform/ios-simulator/media/video-interruption-suspendunderlock.html: Added.
2625
2626 2016-07-18  Brent Fulgham  <bfulgham@apple.com>
2627
2628         Don't associate form-associated elements with forms in other trees.
2629         https://bugs.webkit.org/show_bug.cgi?id=119451
2630         <rdar://problem/27382946>
2631
2632         Change is based on the Blink change (patch by <adamk@chromium.org>):
2633         <https://chromium.googlesource.com/chromium/blink/+/0b33128be67e7845d495d5219614c02ccfe7a414>
2634
2635         Reviewed by Chris Dumez.
2636
2637         * fast/forms/image-disconnected-during-parse-expected.txt: Added.
2638         * fast/forms/image-disconnected-during-parse.html: Added.
2639         * fast/forms/input-disconnected-during-parse-expected.txt: Added.
2640         * fast/forms/input-disconnected-during-parse.html: Added.
2641
2642 2016-07-18  Dean Jackson  <dino@apple.com>
2643
2644         REGRESSION (r202950): Image zoom animations are broken at medium.com (159861)
2645         https://bugs.webkit.org/show_bug.cgi?id=159906
2646         <rdar://problem/27391725>
2647
2648         Reviewed by Simon Fraser.
2649
2650         The fix for webkit.org/b/157569 in r200769 broke AMP pages.
2651         The followup fix for webkit.org/b/159450 in r202950 broke Medium pages.
2652
2653         Revert them both until we have better testing.
2654
2655         * animations/fill-mode-forwards-zero-duration.html:
2656         * animations/play-state-start-paused.html:
2657         * animations/script-tests/spring-parsing.js:
2658         (testSpring):
2659         * animations/spring-parsing-expected.txt:
2660         * animations/unprefixed-properties-expected.txt:
2661         * animations/unprefixed-properties.html:
2662         * fast/css/prefixed-unprefixed-variant-style-declaration-expected.txt:
2663         * fast/css/shorthand-omitted-initial-value-overrides-shorthand-expected.txt:
2664
2665 2016-07-18  Andreas Kling  <akling@apple.com>
2666
2667         There should be a way to simulate memory pressure in layout tests
2668         <https://webkit.org/b/159743>
2669
2670         Reviewed by Simon Fraser.
2671
2672         Add a basic test for the new APIs.
2673
2674         * memory/memory-pressure-simulation-expected.txt: Added.
2675         * memory/memory-pressure-simulation.html: Added.
2676
2677 2016-07-18  Said Abou-Hallawa  <sabouhallawa@apple.com>
2678
2679         [iOS] PDFDocumentImage should cache only a sub image of the PDF when caching the whole image is expensive
2680         https://bugs.webkit.org/show_bug.cgi?id=158715
2681
2682         Reviewed by Dean Jackson.
2683         
2684         Make sure the PDF image will be displayed at the correct position if caching
2685         the PDF image is disabled.
2686
2687         * fast/images/displaced-non-cached-pdf-expected.html: Added.
2688         * fast/images/displaced-non-cached-pdf.html: Added.
2689
2690 2016-07-18  Chris Dumez  <cdumez@apple.com>
2691
2692         The 2 first parameters to addEventListener() / removeEventListener() should be mandatory
2693         https://bugs.webkit.org/show_bug.cgi?id=158008
2694
2695         Reviewed by Darin Adler.
2696
2697         * fast/dom/Window/window-legacy-event-listener-expected.txt: Removed.
2698         * fast/dom/Window/window-legacy-event-listener.html: Removed.
2699         * fast/dom/XMLHttpRequest-legacy-event-listener-expected.txt: Removed.
2700         * fast/dom/XMLHttpRequest-legacy-event-listener.html: Removed.
2701         * fast/dom/node-legacy-event-listener-expected.txt: Removed.
2702         * fast/dom/node-legacy-event-listener.html: Removed.
2703         Drop legacy tests that expect the addEventListener() / removeEventListener()
2704         parameters to be optional.
2705
2706         * fast/dom/eventtarget-api-parameters-expected.txt: Added.
2707         * fast/dom/eventtarget-api-parameters.html: Added.
2708         Add layout test to check that the 2 first parameters of addEventListener()
2709         and removeEventListener() are now mandatory. It also checks that the
2710         second parameter is nullable.
2711
2712         * media/video-remote-control-playpause.html:
2713         Drop useless call to addEventListener() without a listener as it now throws.
2714
2715 2016-07-18  Brent Fulgham  <bfulgham@apple.com>
2716
2717         Unreviewed, rolling out r203373.
2718
2719         Unaddressed
2720
2721         Reverted changeset:
2722
2723         "Don't associate form-associated elements with forms in other
2724         trees."
2725         https://bugs.webkit.org/show_bug.cgi?id=119451
2726         http://trac.webkit.org/changeset/203373
2727
2728 2016-07-18  Brent Fulgham  <bfulgham@apple.com>
2729
2730         Don't associate form-associated elements with forms in other trees.
2731         https://bugs.webkit.org/show_bug.cgi?id=119451
2732         <rdar://problem/27382946>
2733
2734         Change is based on the Blink change (patch by <adamk@chromium.org>):
2735         <https://chromium.googlesource.com/chromium/blink/+/0b33128be67e7845d495d5219614c02ccfe7a414>
2736
2737         Reviewed by Zalan Bujtas.
2738
2739         * fast/forms/image-disconnected-during-parse-expected.txt: Added.
2740         * fast/forms/image-disconnected-during-parse.html: Added.
2741         * fast/forms/input-disconnected-during-parse-expected.txt: Added.
2742         * fast/forms/input-disconnected-during-parse.html: Added.
2743
2744 2016-07-18  Ryan Haddad  <ryanhaddad@apple.com>
2745
2746         Marking storage/indexeddb/modern/handle-user-delete.html as flaky on mac-wk2
2747         https://bugs.webkit.org/show_bug.cgi?id=159896
2748
2749         Unreviewed test gardening.
2750
2751         * platform/mac-wk2/TestExpectations:
2752         * platform/mac/TestExpectations:
2753
2754 2016-07-18  Filip Pizlo  <fpizlo@apple.com>
2755
2756         Repeatedly creating and destroying workers that enqueue DFG plans can outpace the DFG worklist, which then causes VM shutdown to stall, which then causes a memory growth
2757         https://bugs.webkit.org/show_bug.cgi?id=159754
2758
2759         Reviewed by Geoffrey Garen.
2760         
2761         Adds two tests that create a lot of workers that do sophisticated things. These are
2762         long-running tests so we may want to skip them. It's OK if we end up only running them
2763         manually occasionally.
2764
2765         * workers: Added.
2766         * workers/bomb.html: Added.
2767         * workers/bomb-expected.txt: Added.
2768         * workers/bomb-with-v8.html: Added.
2769         * workers/tests: Added.
2770         * workers/tests/3d-cube.js: Added.
2771         * workers/tests/3d-morph.js: Added.
2772         * workers/tests/3d-raytrace.js: Added.
2773         * workers/tests/access-binary-trees.js: Added.
2774         * workers/tests/access-fannkuch.js: Added.
2775         * workers/tests/access-nbody.js: Added.
2776         * workers/tests/access-nsieve.js: Added.
2777         * workers/tests/bitops-3bit-bits-in-byte.js: Added.
2778         * workers/tests/bitops-bits-in-byte.js: Added.
2779         * workers/tests/bitops-bitwise-and.js: Added.
2780         * workers/tests/bitops-nsieve-bits.js: Added.
2781         * workers/tests/controlflow-recursive.js: Added.
2782         * workers/tests/crypto-aes.js: Added.
2783         * workers/tests/crypto-md5.js: Added.
2784         * workers/tests/crypto-sha1.js: Added.
2785         * workers/tests/date-format-tofte.js: Added.
2786         * workers/tests/date-format-xparb.js: Added.
2787         * workers/tests/math-cordic.js: Added.
2788         * workers/tests/math-partial-sums.js: Added.
2789         * workers/tests/math-spectral-norm.js: Added.
2790         * workers/tests/regexp-dna.js: Added.
2791         * workers/tests/string-base64.js: Added.
2792         * workers/tests/string-fasta.js: Added.
2793         * workers/tests/string-tagcloud.js: Added.
2794         * workers/tests/string-unpack-code.js: Added.
2795         * workers/tests/string-validate-input.js: Added.
2796         * workers/tests/v8-crypto.js: Added.
2797         * workers/tests/v8-deltablue.js: Added.
2798         * workers/tests/v8-earley-boyer.js: Added.
2799         * workers/tests/v8-raytrace.js: Added.
2800         * workers/tests/v8-regexp.js: Added.
2801         * workers/tests/v8-richards.js: Added.
2802         * workers/tests/v8-splay.js: Added.
2803
2804 2016-07-18  Ryan Haddad  <ryanhaddad@apple.com>
2805
2806         Marking storage/indexeddb/modern/abort-requests-cancelled.html as flaky on mac-wk1
2807         https://bugs.webkit.org/show_bug.cgi?id=156070
2808
2809         Unreviewed test gardening.
2810
2811         * platform/mac-wk1/TestExpectations:
2812
2813 2016-07-17  Filip Pizlo  <fpizlo@apple.com>
2814
2815         Object.preventExtensions/seal/freeze makes code much slower
2816         https://bugs.webkit.org/show_bug.cgi?id=143247
2817
2818         Reviewed by Michael Saboff.
2819         
2820         These tests now run ~25x faster.
2821
2822         * js/regress/freeze-and-do-work-expected.txt: Added.
2823         * js/regress/freeze-and-do-work.html: Added.
2824         * js/regress/prevent-extensions-and-do-work-expected.txt: Added.
2825         * js/regress/prevent-extensions-and-do-work.html: Added.
2826         * js/regress/script-tests/freeze-and-do-work.js: Added.
2827         (Foo):
2828         * js/regress/script-tests/prevent-extensions-and-do-work.js: Added.
2829         (Foo):
2830         * js/regress/script-tests/seal-and-do-work.js: Added.
2831         (Foo):
2832         * js/regress/seal-and-do-work-expected.txt: Added.
2833         * js/regress/seal-and-do-work.html: Added.
2834
2835 2016-07-18  Ryan Haddad  <ryanhaddad@apple.com>
2836
2837         Marking imported/w3c/web-platform-tests/XMLHttpRequest/event-readystatechange-loaded.htm as flaky on mac-debug WK1
2838         https://bugs.webkit.org/show_bug.cgi?id=159893
2839
2840         Unreviewed test gardening.
2841
2842         * platform/mac-wk1/TestExpectations:
2843
2844 2016-07-18  Ryan Haddad  <ryanhaddad@apple.com>
2845
2846         Marking media/video-load-preload-metadata.html as flaky on Mac.
2847         https://bugs.webkit.org/show_bug.cgi?id=128312
2848
2849         Unreviewed test gardening.
2850
2851         * platform/mac/TestExpectations:
2852
2853 2016-07-15  Filip Pizlo  <fpizlo@apple.com>
2854
2855         DFG and FTL should support op_call_eval
2856         https://bugs.webkit.org/show_bug.cgi?id=159786
2857
2858         Reviewed by Saam Barati.
2859
2860         * js/regress/eval-compute-expected.txt: Added.
2861         * js/regress/eval-compute.html: Added.
2862         * js/regress/eval-not-eval-compute-args-expected.txt: Added.
2863         * js/regress/eval-not-eval-compute-args.html: Added.
2864         * js/regress/eval-not-eval-compute-expected.txt: Added.
2865         * js/regress/eval-not-eval-compute.html: Added.
2866         * js/regress/script-tests/eval-compute.js: Added.
2867         (foo):
2868         * js/regress/script-tests/eval-not-eval-compute-args.js: Added.
2869         (foo):
2870         (i.result.foo):
2871         * js/regress/script-tests/eval-not-eval-compute.js: Added.
2872         (foo):
2873         (i.result.foo):
2874
2875 2016-07-12  Filip Pizlo  <fpizlo@apple.com>
2876
2877         DFG should really support jneq_ptr
2878         https://bugs.webkit.org/show_bug.cgi?id=159700
2879
2880         Reviewed by Keith Miller.
2881         
2882         These tests now run super fast.
2883
2884         * js/regress/apply-not-apply-expected.txt: Added.
2885         * js/regress/apply-not-apply.html: Added.
2886         * js/regress/call-or-not-call-expected.txt: Added.
2887         * js/regress/call-or-not-call.html: Added.
2888         * js/regress/script-tests/apply-not-apply.js: Added.
2889         (let.o.apply):
2890         (foo):
2891         * js/regress/script-tests/call-or-not-call.js: Added.
2892         (let.o.call):
2893         (foo):
2894
2895 2016-07-18  Ryan Haddad  <ryanhaddad@apple.com>
2896
2897         Marking fast/shapes/shape-outside-floats/shape-outside-big-box-border-radius-002.html as flaky on ios-sim
2898         https://bugs.webkit.org/show_bug.cgi?id=159881
2899
2900         Unreviewed test gardening.
2901
2902         * platform/ios-simulator-wk2/TestExpectations:
2903
2904 2016-07-18  Ryan Haddad  <ryanhaddad@apple.com>
2905
2906         Marking http/tests/loading/basic-auth-resend-wrong-credentials.html as flaky on Mac and iOS WK2
2907         https://bugs.webkit.org/show_bug.cgi?id=159884
2908
2909         Unreviewed test gardening.
2910
2911         * platform/ios-simulator-wk2/TestExpectations:
2912         * platform/mac-wk2/TestExpectations:
2913
2914 2016-07-12  Filip Pizlo  <fpizlo@apple.com>
2915
2916         OSR entry into DFG has problems with lexical scoping
2917         https://bugs.webkit.org/show_bug.cgi?id=159687
2918
2919         Reviewed by Saam Barati.
2920
2921         * js/regress/script-tests/strict-osr-entry.js: Added.
2922         (let.o.apply_):
2923         * js/regress/strict-osr-entry-expected.txt: Added.
2924         * js/regress/strict-osr-entry.html: Added.
2925
2926 2016-07-18  Youenn Fablet  <youenn@apple.com>
2927
2928         [Streams API] ReadableStream should throw a RangeError in case of NaN highWaterMark
2929         https://bugs.webkit.org/show_bug.cgi?id=159870
2930
2931         Reviewed by Xabier Rodriguez-Calvar.
2932
2933         * streams/reference-implementation/bad-strategies.html: Reflecting isNaN change in WritableStream test.
2934
2935 2016-07-17  Frederic Wang  <fwang@igalia.com>
2936
2937         Rebaseline Windows and EFL MathML pixel tests after r203289.
2938         https://bugs.webkit.org/show_bug.cgi?id=158866
2939
2940         Unreviewed test gardening.
2941
2942         * platform/efl/mathml/opentype/vertical-expected.txt:
2943         * platform/efl/mathml/presentation/mo-stretch-expected.txt:
2944         * platform/win/mathml/opentype/opentype-stretchy-expected.txt:
2945         * platform/win/mathml/opentype/vertical-expected.txt:
2946         * platform/win/mathml/presentation/mo-stretch-expected.txt:
2947
2948 2016-07-17  Brady Eidson  <beidson@apple.com>
2949
2950         Update DOMCoreException to use the description in toString().
2951         https://bugs.webkit.org/show_bug.cgi?id=159857
2952
2953         Reviewed by Darin Adler.
2954
2955         * canvas/philip/tests/2d.missingargs.html:
2956         * crypto/crypto-random-values-limits-expected.txt:
2957         * crypto/crypto-random-values-types-expected.txt:
2958         * crypto/subtle/aes-cbc-wrong-key-class-expected.txt:
2959         * crypto/subtle/aes-kw-key-manipulation-expected.txt:
2960         * crypto/subtle/argument-conversion-expected.txt:
2961         * crypto/subtle/hmac-check-algorithm-expected.txt:
2962         * crypto/subtle/hmac-generate-key-expected.txt:
2963         * crypto/subtle/rsa-oaep-key-manipulation-expected.txt:
2964         * crypto/subtle/sha-1-expected.txt:
2965         * crypto/subtle/unwrapKey-check-usage-expected.txt:
2966         * crypto/subtle/wrapKey-check-usage-expected.txt:
2967         * css3/supports-cssom-expected.txt:
2968         * editing/pasteboard/data-transfer-items-expected.txt:
2969         * editing/selection/extend-expected.txt:
2970         * fast/canvas/canvas-createImageData-expected.txt:
2971         * fast/canvas/canvas-ellipse-negative-radius-expected.txt:
2972         * fast/canvas/canvas-getImageData-invalid-expected.txt:
2973         * fast/canvas/canvas-getImageData-invalid-result-buffer-crash-expected.txt:
2974         * fast/canvas/canvas-gradient-addStop-error-expected.txt:
2975         * fast/canvas/canvas-imageData-expected.txt:
2976         * fast/canvas/canvas-overloads-drawImage-expected.txt:
2977         * fast/canvas/canvas-pattern-behaviour-expected.txt:
2978         * fast/canvas/gradient-addColorStop-with-invalid-color-expected.txt:
2979         * fast/canvas/script-tests/canvas-createImageData.js:
2980         * fast/canvas/script-tests/canvas-getImageData-invalid.js:
2981         * fast/canvas/script-tests/canvas-imageData.js:
2982         * fast/canvas/script-tests/canvas-overloads-drawImage.js:
2983         * fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js:
2984         * fast/css/CSSPrimitiveValue-exceptions-expected.txt:
2985         * fast/css/css3-nth-tokens-script-expected.txt:
2986         * fast/css/css3-nth-tokens-script.html:
2987         * fast/css/getFloatValueForUnit-expected.txt:
2988         * fast/css/getFloatValueForUnit.html:
2989         * fast/css/insert-rule-overflow-rule-data-expected.txt:
2990         * fast/css/parsing-css-attribute-case-insensitive-value-1-expected.txt:
2991         * fast/css/parsing-css-attribute-case-insensitive-value-2-expected.txt:
2992         * fast/css/parsing-css-attribute-case-insensitive-value-3-expected.txt:
2993         * fast/css/parsing-css-attribute-case-insensitive-value-3.html:
2994         * fast/css/parsing-css-descendant-combinator-doubled-child-syntax-expected.txt:
2995         * fast/css/parsing-css-descendant-combinator-doubled-child-syntax.html:
2996         * fast/css/parsing-css-matches-5-expected.txt:
2997         * fast/css/parsing-css-matches-5.html:
2998         * fast/css/parsing-css-matches-6-expected.txt:
2999         * fast/css/parsing-css-matches-6.html:
3000         * fast/css/parsing-css-matches-7-expected.txt:
3001         * fast/css/parsing-css-matches-7.html:
3002         * fast/css/parsing-css-matches-8-expected.txt:
3003         * fast/css/parsing-css-matches-8.html:
3004         * fast/css/parsing-css-not-5-expected.txt:
3005         * fast/css/parsing-css-not-5.html:
3006         * fast/css/parsing-css-not-6-expected.txt:
3007         * fast/css/parsing-css-not-6.html:
3008         * fast/css/parsing-css-not-7-expected.txt:
3009         * fast/css/parsing-css-not-7.html:
3010         * fast/css/parsing-css-not-8-expected.txt:
3011         * fast/css/parsing-css-not-8.html:
3012         * fast/css/parsing-css-not-9-expected.txt:
3013         * fast/css/parsing-css-not-9.html:
3014         * fast/css/parsing-css-nth-child-of-3-expected.txt:
3015         * fast/css/parsing-css-nth-child-of-3.html:
3016         * fast/css/parsing-css-nth-child-of-4-expected.txt:
3017         * fast/css/parsing-css-nth-child-of-4.html:
3018         * fast/css/parsing-css-nth-last-child-of-3-expected.txt:
3019         * fast/css/parsing-css-nth-last-child-of-3.html:
3020         * fast/css/parsing-css-nth-last-child-of-4-expected.txt:
3021         * fast/css/parsing-css-nth-last-child-of-4.html:
3022         * fast/css/resources/CSSPrimitiveValue-exceptions.js:
3023         * fast/dom/DOMException/prototype-object-expected.txt:
3024         * fast/dom/DOMException/prototype-object.html:
3025         * fast/dom/DOMException/stack-trace-expected.txt:
3026         * fast/dom/DOMException/stack-trace.html:
3027         * fast/dom/Document/createElement-invalid-names-expected.txt:
3028         * fast/dom/Document/createElement-invalid-names.html:
3029         * fast/dom/Document/invalid-domain-change-throws-exception-expected.txt:
3030         * fast/dom/Document/replace-child-expected.txt:
3031         * fast/dom/Document/script-tests/invalid-domain-change-throws-exception.js:
3032         * fast/dom/Element/class-list-toggle-expected.txt:
3033         * fast/dom/Element/class-list-toggle.html:
3034         * fast/dom/Element/prefix-setter-exception-expected.txt:
3035         * fast/dom/Geolocation/argument-types-expected.txt:
3036         * fast/dom/Geolocation/not-enough-arguments-expected.txt:
3037         * fast/dom/Geolocation/script-tests/argument-types.js:
3038         (test):
3039         * fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt:
3040         * fast/dom/HTMLElement/script-tests/insertAdjacentHTML-errors.js:
3041         * fast/dom/HTMLElement/set-invalid-value-expected.txt:
3042         * fast/dom/HTMLElement/set-invalid-value.html:
3043         * fast/dom/HTMLInputElement/input-size-attribute-expected.txt:
3044         * fast/dom/HTMLInputElement/input-size-attribute.html:
3045         * fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js:
3046         * fast/dom/HTMLMeterElement/set-meter-properties-expected.txt:
3047         * fast/dom/HTMLProgressElement/script-tests/set-progress-properties.js:
3048         * fast/dom/HTMLProgressElement/set-progress-properties-expected.txt:
3049         * fast/dom/HTMLSelectElement/options-collection-add-expected.txt:
3050         * fast/dom/HTMLSelectElement/select-add-optgroup-expected.txt:
3051         * fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt:
3052         * fast/dom/HTMLSelectElement/select-selectedIndex-multiple-expected.txt:
3053         * fast/dom/HTMLTableElement/nullable-attributes-expected.txt:
3054         * fast/dom/HTMLTableElement/nullable-attributes.html:
3055         * fast/dom/HTMLTemplateElement/cycles-expected.txt:
3056         * fast/dom/HTMLTemplateElement/cycles-in-shadow-expected.txt:
3057         * fast/dom/Node/initial-values-expected.txt:
3058         * fast/dom/ParentNode-append-expected.txt:
3059         * fast/dom/ParentNode-prepend-expected.txt:
3060         * fast/dom/Range/31684-expected.txt:
3061         * fast/dom/Range/clone-contents-document-type-expected.txt:
3062         * fast/dom/Range/clone-contents-document-type.html:
3063         * fast/dom/Range/compareBoundaryPoints-1.html:
3064         * fast/dom/Range/compareBoundaryPoints-compareHow-exception-expected.txt:
3065         * fast/dom/Range/compareBoundaryPoints-compareHow-exception.html:
3066         * fast/dom/Range/extract-contents-document-type-expected.txt:
3067         * fast/dom/Range/extract-contents-document-type.html:
3068         * fast/dom/Range/range-comparePoint-detached-nodes-expected.txt:
3069         * fast/dom/Range/range-comparePoint-detached-nodes.html:
3070         * fast/dom/Range/range-exceptions-expected.txt:
3071         * fast/dom/Range/range-intersectsNode-expected.txt:
3072         * fast/dom/Range/script-tests/31684.js:
3073         * fast/dom/Range/script-tests/range-exceptions.js:
3074         * fast/dom/Range/surroundContents-1.html:
3075         * fast/dom/Selection/collapseToX-empty-selection-expected.txt:
3076         * fast/dom/Selection/script-tests/collapseToX-empty-selection.js:
3077         * fast/dom/SelectorAPI/dumpNodeList-almost-strict-expected.txt:
3078         * fast/dom/SelectorAPI/dumpNodeList-expected.txt:
3079         * fast/dom/SelectorAPI/not-supported-namespace-in-selector-expected.txt:
3080         * fast/dom/Text/splitText-expected.txt:
3081         * fast/dom/Text/splitText.html:
3082         * fast/dom/Window/anonymous-slot-with-changes-expected.txt:
3083         * fast/dom/Window/atob-btoa-expected.txt:
3084         * fast/dom/Window/custom-constructors-expected.txt:
3085         * fast/dom/Window/dispatchEvent-expected.txt:
3086         * fast/dom/Window/invalid-protocol-expected.txt:
3087         * fast/dom/Window/window-postmessage-clone-expected.txt:
3088         * fast/dom/computed-style-set-property-expected.txt:
3089         * fast/dom/createElementNS-namespace-errors-expected.txt:
3090         * fast/dom/createElementNS-namespace-errors.html:
3091         * fast/dom/css-mediarule-functions-expected.txt:
3092         * fast/dom/css-mediarule-functions.html:
3093         * fast/dom/custom/document-register-basic-expected.txt:
3094         * fast/dom/custom/document-register-basic.html:
3095         * fast/dom/custom/document-register-type-extensions-expected.txt:
3096         * fast/dom/custom/document-register-type-extensions.html:
3097         * fast/dom/dataset-expected.txt:
3098         * fast/dom/dataset-xhtml-expected.txt:
3099         * fast/dom/document-set-body-null-expected.txt:
3100         * fast/dom/document-set-body-null.html:
3101         * fast/dom/element-attribute-js-null-expected.txt:
3102         * fast/dom/insertAdjacentHTML-DocumentFragment-crash-expected.txt:
3103         * fast/dom/node-prefix-setter-namespace-exception-expected.txt:
3104         * fast/dom/outerText-no-element-expected.txt:
3105         * fast/dom/processing-instruction-appendChild-exceptions-expected.txt:
3106         * fast/dom/processing-instruction-appendChild-exceptions.xhtml:
3107         * fast/dom/rel-list-expected.txt:
3108         * fast/dom/script-tests/dataset-xhtml.js:
3109         * fast/dom/script-tests/dataset.js:
3110         * fast/dom/setAttributeNS-namespace-errors-expected.txt:
3111         * fast/dom/setAttributeNS-namespace-errors.html:
3112         * fast/dom/setPrimitiveValue-exceptions-expected.txt:
3113         * fast/dom/setPrimitiveValue-expected.txt:
3114         * fast/dynamic/insertAdjacentElement-expected.txt:
3115         * fast/dynamic/insertAdjacentHTML-expected.txt:
3116         * fast/dynamic/insertAdjacentText-expected.txt:
3117         * fast/dynamic/outerHTML-no-element-expected.txt:
3118         * fast/events/dispatch-event-being-dispatched-expected.txt:
3119         * fast/events/dispatch-event-being-dispatched.html:
3120         * fast/events/message-port-clone-expected.txt:
3121         * fast/events/message-port-multi-expected.txt:
3122         * fast/events/mutation-during-append-child-expected.txt:
3123         * fast/events/mutation-during-append-child.html:
3124         * fast/events/mutation-during-insert-before-expected.txt:
3125         * fast/events/mutation-during-insert-before.html:
3126         * fast/events/mutation-during-replace-child-2-expected.txt:
3127         * fast/events/mutation-during-replace-child-2.html:
3128         * fast/events/mutation-during-replace-child-expected.txt:
3129         * fast/events/mutation-during-replace-child.html:
3130         * fast/eventsource/eventsource-constructor-expected.txt:
3131         * fast/forms/color/color-setrangetext-expected.txt:
3132         * fast/forms/date/date-setrangetext-expected.txt:
3133         * fast/forms/date/date-stepup-stepdown-expected.txt:
3134         * fast/forms/date/date-stepup-stepdown.html:
3135         * fast/forms/date/input-valueasnumber-date-expected.txt:
3136         * fast/forms/date/input-valueasnumber-date.html:
3137         * fast/forms/datetime/datetime-setrangetext-expected.txt:
3138         * fast/forms/datetime/datetime-stepup-stepdown-expected.txt:
3139         * fast/forms/datetime/datetime-stepup-stepdown.html:
3140         * fast/forms/datetime/input-valueasnumber-datetime-expected.txt:
3141         * fast/forms/datetime/input-valueasnumber-datetime.html:
3142         * fast/forms/datetimelocal/datetimelocal-setrangetext-expected.txt:
3143         * fast/forms/datetimelocal/datetimelocal-stepup-stepdown-expected.txt:
3144         * fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html:
3145         * fast/forms/datetimelocal/input-valueasnumber-datetimelocal-expected.txt:
3146         * fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html:
3147         * fast/forms/file/file-setrangetext-expected.txt:
3148         * fast/forms/file/input-file-value-expected.txt:
3149         * fast/forms/hidden/hidden-setrangetext-expected.txt:
3150         * fast/forms/image/image-setrangetext-expected.txt:
3151         * fast/forms/input-maxlength-expected.txt:
3152         * fast/forms/input-maxlength.html:
3153         * fast/forms/input-stepup-stepdown-expected.txt:
3154         * fast/forms/input-stepup-stepdown.html:
3155         * fast/forms/input-valueasnumber-unsupported-expected.txt:
3156         * fast/forms/input-valueasnumber-unsupported.html:
3157         * fast/forms/month/input-valueasdate-expected.txt:
3158         * fast/forms/month/input-valueasdate.html:
3159         * fast/forms/month/input-valueasnumber-month-expected.txt:
3160         * fast/forms/month/input-valueasnumber-month.html:
3161         * fast/forms/month/month-setrangetext-expected.txt:
3162         * fast/forms/month/month-stepup-stepdown-expected.txt:
3163         * fast/forms/month/month-stepup-stepdown.html:
3164         * fast/forms/number/number-setrangetext-expected.txt:
3165         * fast/forms/number/number-size-expected.txt:
3166         * fast/forms/number/number-size.html:
3167         * fast/forms/number/number-stepup-stepdown-expected.txt:
3168         * fast/forms/number/number-stepup-stepdown-from-renderer.html:
3169         * fast/forms/number/number-stepup-stepdown.html:
3170         * fast/forms/number/number-valueasnumber-expected.txt:
3171         * fast/forms/number/number-valueasnumber.html:
3172         * fast/forms/range/input-valueasnumber-range-expected.txt:
3173         * fast/forms/range/input-valueasnumber-range.html:
3174         * fast/forms/range/range-setrangetext-expected.txt:
3175         * fast/forms/range/range-stepup-stepdown-expected.txt:
3176         * fast/forms/range/range-stepup-stepdown-from-renderer.html:
3177         * fast/forms/range/range-stepup-stepdown.html:
3178         * fast/forms/search/search-setrangetext-expected.txt:
3179         * fast/forms/setrangetext-expected.txt:
3180         * fast/forms/textarea-maxlength-expected.txt:
3181         * fast/forms/textarea-maxlength.html:
3182         * fast/forms/textarea/textarea-setrangetext-expected.txt:
3183         * fast/forms/time/time-setrangetext-expected.txt:
3184         * fast/forms/time/time-stepup-stepdown-expected.txt:
3185         * fast/forms/time/time-stepup-stepdown.html:
3186         * fast/forms/time/time-valueasnumber-expected.txt:
3187         * fast/forms/time/time-valueasnumber.html:
3188         * fast/forms/week/input-valueasnumber-week-expected.txt:
3189         * fast/forms/week/input-valueasnumber-week.html:
3190         * fast/forms/week/week-setrangetext-expected.txt:
3191         * fast/forms/week/week-stepup-stepdown-expected.txt:
3192         * fast/forms/week/week-stepup-stepdown.html:
3193         * fast/frames/adopt-iframe-into-itself-expected.txt:
3194         * fast/frames/adopt-object-into-itself-expected.txt:
3195         * fast/frames/resources/sandboxed-iframe-storage-disallowed.html:
3196         * fast/frames/sandboxed-iframe-storage-expected.txt:
3197         * fast/html/marquee-element-expected.txt:
3198         * fast/innerHTML/innerHTML-changing-document-properties-expected.txt:
3199         * fast/inspector-support/uncaught-dom1-exception-expected.txt:
3200         * fast/inspector-support/uncaught-dom3-exception-expected.txt:
3201         * fast/inspector-support/uncaught-dom8-exception-expected.txt:
3202         * fast/loader/stateobjects/pushstate-frequency-expected.txt:
3203         * fast/loader/stateobjects/pushstate-frequency-iframe-expected.txt:
3204         * fast/loader/stateobjects/replacestate-frequency-expected.txt:
3205         * fast/loader/stateobjects/replacestate-frequency-iframe-expected.txt:
3206         * fast/media/mq-js-media-except-01-expected.html:
3207         * fast/media/mq-js-media-except-02-expected.html:
3208         * fast/media/mq-js-media-except-03-expected.html:
3209         * fast/mediastream/MediaDevices-getUserMedia-expected.txt:
3210         * fast/mediastream/RTCPeerConnection-addIceCandidate-expected.txt:
3211         * fast/mediastream/RTCPeerConnection-closed-state-expected.txt:
3212         * fast/mediastream/RTCPeerConnection-createAnswer-expected.txt:
3213         * fast/mediastream/RTCPeerConnection-createOffer-expected.txt:
3214         * fast/mediastream/RTCPeerConnection-datachannel-expected.txt:
3215         * fast/mediastream/RTCPeerConnection-dtmf-expected.txt:
3216         * fast/mediastream/RTCPeerConnection-have-local-offer-expected.txt:
3217         * fast/mediastream/RTCPeerConnection-have-remote-offer-expected.txt:
3218         * fast/mediastream/RTCPeerConnection-setLocalDescription-offer-expected.txt:
3219         * fast/mediastream/RTCPeerConnection-setRemoteDescription-offer-expected.txt:
3220         * fast/mediastream/RTCPeerConnection-stable-expected.txt:
3221         * fast/mediastream/RTCRtpSender-replaceTrack-expected.txt:
3222         * fast/notifications/notifications-document-close-crash-expected.txt:
3223         * fast/regions/selection/crash-deselect-expected.txt:
3224         * fast/selectors/closest-general-expected.txt:
3225         * fast/selectors/invalid-functional-pseudo-class-expected.txt:
3226         * fast/selectors/lang-empty-expected.txt:
3227         * fast/selectors/lang-extended-filtering-expected.txt:
3228         * fast/selectors/lang-extended-filtering-with-string-arguments-expected.txt:
3229         * fast/selectors/lang-invalid-expected.txt:
3230         * fast/selectors/lang-multiple-expected.txt:
3231         * fast/selectors/querySelector-pseudo-element-inside-functional-pseudo-class-not-expected.txt:
3232         * fast/text/font-face-empty-string-expected.txt:
3233         * fast/text/font-face-javascript-expected.txt:
3234         * fast/text/font-face-set-javascript-expected.txt:
3235         * fast/text/text-combine-crash-expected.txt:
3236         * fast/workers/atob-btoa-expected.txt:
3237         * fast/workers/worker-constructor-expected.txt:
3238         * fast/workers/worker-context-multi-port-expected.txt:
3239         * fast/workers/worker-multi-port-expected.txt:
3240         * fast/xmlhttprequest/xmlhttprequest-responseXML-xml-text-responsetype-expected.txt:
3241         * fast/xmlhttprequest/xmlhttprequest-responsetype-arraybuffer-expected.txt:
3242         * fast/xmlhttprequest/xmlhttprequest-responsetype-before-open-sync-request-expected.txt:
3243         * fast/xmlhttprequest/xmlhttprequest-responsetype-document-expected.txt:
3244         * fast/xmlhttprequest/xmlhttprequest-responsetype-set-at-headers-received-expected.txt:
3245         * fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt:
3246         * fast/xmlhttprequest/xmlhttprequest-responsetype-text-expected.txt:
3247         * fast/xmlhttprequest/xmlhttprequest-sync-disabled-expected.txt:
3248         * fast/xpath/attr-namespace-expected.txt:
3249         * fast/xpath/detached-subtree-invalidate-iterator-expected.txt:
3250         * fast/xpath/py-dom-xpath/nodetests-expected.txt:
3251         * http/tests/contentextensions/sync-xhr-blocked-expected.txt:
3252         * http/tests/loading/state-object-security-exception-expected.txt:
3253         * http/tests/local/fileapi/send-sliced-dragged-file-expected.txt:
3254         * http/tests/notifications/legacy/show-expected.txt:
3255         * http/tests/security/canvas-remote-read-data-url-image-redirect-expected.txt:
3256         * http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin-expected.txt:
3257         * http/tests/security/canvas-remote-read-remote-image-expected.txt:
3258         * http/tests/security/canvas-remote-read-remote-image-redirect-expected.txt:
3259         * http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin-expected.txt:
3260         * http/tests/security/canvas-remote-read-remote-video-localhost-expected.txt:
3261         * http/tests/security/canvas-remote-read-remote-video-redirect-expected.txt:
3262         * http/tests/security/contentSecurityPolicy/1.1/child-src/worker-blocked-expected.txt:
3263         * http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-blocked-expected.txt:
3264         * http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-blocked.html:
3265         * http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp-importScripts-block-aborts-all-subsequent-imports-expected.txt:
3266         * http/tests/security/contentSecurityPolicy/worker-blob-inherits-csp-importScripts-redirect-cross-origin-blocked-expected.txt:
3267         * http/tests/security/contentSecurityPolicy/worker-csp-blocks-xhr-redirect-cross-origin-expected.txt:
3268         * http/tests/security/contentSecurityPolicy/worker-csp-importScripts-redirect-cross-origin-blocked-expected.txt:
3269         * http/tests/security/contentSecurityPolicy/worker-importscripts-blocked-expected.txt:
3270         * http/tests/security/contentSecurityPolicy/worker-importscripts-blocked.html:
3271         * http/tests/security/history-username-password-expected.txt:
3272         * http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt:
3273         * http/tests/security/postMessage/target-origin-expected.txt:
3274         * http/tests/security/resources/canvas-video-crossorigin.js:
3275         (testDataRetrievalAllowed):
3276         (testDataRetrievalForbidden):
3277         * http/tests/security/setDomainRelaxationForbiddenForURLScheme-expected.txt:
3278         * http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt:
3279         * http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt:
3280         * http/tests/websocket/tests/hybi/bad-sub-protocol-empty-expected.txt:
3281         * http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt:
3282         * http/tests/websocket/tests/hybi/binary-type-expected.txt:
3283         * http/tests/websocket/tests/hybi/binary-type.html:
3284         * http/tests/websocket/tests/hybi/invalid-subprotocol-characters-expected.txt:
3285         * http/tests/websocket/tests/hybi/invalid-subprotocol-characters.html:
3286         * http/tests/websocket/tests/hybi/invalid-subprotocols-expected.txt:
3287         * http/tests/websocket/tests/hybi/invalid-subprotocols.html:
3288         * http/tests/websocket/tests/hybi/url-parsing-expected.txt:
3289         * http/tests/workers/worker-importScripts-expected.txt:
3290         * http/tests/workers/worker-redirect-expected.txt:
3291         * http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt:
3292         * http/tests/xmlhttprequest/XMLHttpRequestException.html:
3293         * http/tests/xmlhttprequest/access-control-and-redirects-expected.txt:
3294         * http/tests/xmlhttprequest/access-control-basic-denied-expected.txt:
3295         * http/tests/xmlhttprequest/access-control-basic-get-fail-non-simple-expected.txt:
3296         * http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached-expected.txt:
3297         * http/tests/xmlhttprequest/access-control-basic-post-fail-non-simple-content-type-expected.txt:
3298         * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-expected.txt:
3299         * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard-expected.txt:
3300         * http/tests/xmlhttprequest/connection-error-sync-expected.txt:
3301         * http/tests/xmlhttprequest/cross-origin-no-authorization-expected.txt:
3302         * http/tests/xmlhttprequest/exceptions-expected.txt:
3303         * http/tests/xmlhttprequest/inject-header-expected.txt:
3304         * http/tests/xmlhttprequest/origin-exact-matching-expected.txt:
3305         * http/tests/xmlhttprequest/origin-whitelisting-https-expected.txt:
3306         * http/tests/xmlhttprequest/origin-whitelisting-ip-addresses-with-subdomains-expected.txt:
3307         * http/tests/xmlhttprequest/origin-whitelisting-removal-expected.txt:
3308         * http/tests/xmlhttprequest/workers/access-control-basic-get-fail-non-simple-expected.txt:
3309         * http/tests/xmlhttprequest/xmlhttprequest-open-empty-method-expected.txt:
3310         * http/tests/xmlhttprequest/xmlhttprequest-overridemimetype-invalidstaterror-expected.txt:
3311         * http/tests/xmlhttprequest/xmlhttprequest-setrequestheader-no-name-expected.txt:
3312         * http/tests/xmlhttprequest/xmlhttprequest-sync-no-progress-events-expected.txt:
3313         * http/tests/xmlhttprequest/xmlhttprequest-unsafe-redirect-expected.txt:
3314         * inspector/debugger/command-line-api-exception-expected.txt:
3315         * inspector/debugger/regress-133182-expected.txt:
3316         * inspector/debugger/resources/exceptions.js:
3317         (triggerUncaughtDOMException):
3318         * inspector/debugger/setPauseOnExceptions-all-expected.txt:
3319         * inspector/debugger/setPauseOnExceptions-none-expected.txt:
3320         * inspector/debugger/setPauseOnExceptions-uncaught-expected.txt:
3321         * inspector/model/remote-object-expected.txt:
3322         * js/dom/dfg-custom-getter-throw-expected.txt:
3323         * js/dom/reflect-set-onto-dom-expected.txt:
3324         * js/dom/script-tests/dfg-custom-getter-throw-inlined.js:
3325         (i.dfgIncrement):
3326         * js/dom/script-tests/dfg-custom-getter-throw.js:
3327         * loader/stateobjects/pushstate-size-expected.txt:
3328         * loader/stateobjects/pushstate-size-iframe-expected.txt:
3329         * loader/stateobjects/replacestate-size-expected.txt:
3330         * loader/stateobjects/replacestate-size-iframe-expected.txt:
3331         * media/track/regions-webvtt/vtt-region-constructor-expected.txt:
3332         * media/track/regions-webvtt/vtt-region-list-expected.txt:
3333         * platform/efl/fast/dynamic/015-expected.txt:
3334         * platform/gtk/fast/dynamic/015-expected.txt:
3335         * platform/ios-simulator-wk2/editing/selection/caret-ltr-2-expected.txt:
3336         * platform/ios-simulator-wk2/editing/selection/caret-ltr-2-left-expected.txt:
3337         * platform/ios-simulator-wk2/editing/selection/caret-ltr-expected.txt:
3338         * platform/ios-simulator-wk2/editing/selection/caret-ltr-right-expected.txt:
3339         * platform/ios-simulator-wk2/editing/selection/caret-rtl-2-expected.txt:
3340         * platform/ios-simulator-wk2/editing/selection/caret-rtl-2-left-expected.txt:
3341         * platform/ios-simulator-wk2/editing/selection/caret-rtl-expected.txt:
3342         * platform/ios-simulator-wk2/editing/selection/caret-rtl-right-expected.txt:
3343         * platform/ios-simulator/fast/attachment/attachment-select-on-click-expected.txt:
3344         * platform/ios-simulator/fast/dynamic/015-expected.txt:
3345         * platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/interfaces-expected.txt:
3346         * platform/ios-simulator/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/time-expected.txt:
3347         * platform/ios-simulator/imported/w3c/web-platform-tests/html/semantics/interfaces-expected.txt:
3348         * platform/ios-simulator/webaudio/analyser-exception-expected.txt:
3349         * platform/ios-simulator/webaudio/audiobuffersource-exception-expected.txt:
3350         * platform/ios-simulator/webaudio/delaynode-maxdelaylimit-expected.txt:
3351         * platform/mac/TestExpectations:
3352         * platform/mac/canvas/philip/tests/2d.missingargs-expected.txt:
3353         * platform/mac/fast/dynamic/015-expected.txt:
3354         * platform/mac/inspector/model/remote-object-expected.txt:
3355         * platform/win/fast/dynamic/015-expected.txt:
3356         * security/contentSecurityPolicy/worker-inherits-blocks-xhr-expected.txt:
3357         * storage/domstorage/localstorage/blocked-file-access-expected.txt:
3358         * storage/domstorage/localstorage/private-browsing-affects-storage-expected.txt:
3359         * storage/domstorage/sessionstorage/private-browsing-affects-storage-expected.txt:
3360         * storage/indexeddb/removed-expected.txt:
3361         * storage/indexeddb/removed-private-expected.txt:
3362         * storage/websql/open-database-set-empty-version-expected.txt:
3363         * svg/animations/animate-gradient-transform-expected.txt:
3364         * svg/as-image/svg-canvas-pattern-with-link-tainted-expected.txt:
3365         * svg/as-image/svg-canvas-svg-with-feimage-with-link-tainted-expected.txt:
3366         * svg/as-image/svg-canvas-svg-with-image-with-link-tainted-expected.txt:
3367         * svg/as-image/svg-canvas-xhtml-tainted-expected.txt:
3368         * svg/custom/acid3-test-77-expected.txt:
3369         * svg/custom/baseval-animval-equality-expected.txt:
3370         * svg/custom/getSubStringLength-expected.txt:
3371         * svg/custom/selectSubString-expected.txt:
3372         * svg/dom/SVGAngle-expected.txt:
3373         * svg/dom/SVGColor-expected.txt:
3374         * svg/dom/SVGLength-expected.txt:
3375         * svg/dom/SVGLength-px-expected.txt:
3376         * svg/dom/SVGLengthList-appendItem-expected.txt:
3377         * svg/dom/SVGLengthList-basics-expected.txt:
3378         * svg/dom/SVGLengthList-getItem-expected.txt:
3379         * svg/dom/SVGLengthList-initialize-expected.txt:
3380         * svg/dom/SVGLengthList-insertItemBefore-expected.txt:
3381         * svg/dom/SVGLengthList-removeItem-expected.txt:
3382         * svg/dom/SVGLengthList-replaceItem-expected.txt:
3383         * svg/dom/SVGNumberList-basics-expected.txt:
3384         * svg/dom/SVGPaint-expected.txt:
3385         * svg/dom/SVGPathSegList-clear-and-initialize-expected.txt:
3386         * svg/dom/SVGPointList-basics-expected.txt:
3387         * svg/dom/SVGPreserveAspectRatio-expected.txt:
3388         * svg/dom/SVGStringList-basics-expected.txt:
3389         * svg/dom/SVGTransformList-basics-expected.txt:
3390         * svg/dom/SVGTransformList-expected.txt:
3391         * svg/dom/SVGViewSpec-defaults-expected.txt:
3392         * svg/dom/altGlyph-dom-expected.txt:
3393         * svg/dom/svglist-exception-on-out-bounds-error-expected.txt:
3394         * transforms/cssmatrix-2d-interface-expected.txt:
3395         * transforms/cssmatrix-3d-interface-expected.txt:
3396         * webaudio/analyser-exception-expected.txt:
3397         * webaudio/analyser-exception.html:
3398         * webaudio/audiobuffersource-channels-expected.txt:
3399         * webaudio/audiobuffersource-exception-expected.txt:
3400         * webaudio/audiobuffersource-exception.html:
3401         * webaudio/convolver-channels-expected.txt:
3402         * webaudio/convolver-channels.html:
3403         * webaudio/convolver-setBuffer-different-samplerate-expected.txt:
3404         * webaudio/convolver-setBuffer-different-samplerate.html:
3405         * webaudio/delaynode-maxdelaylimit-expected.txt:
3406         * webaudio/offlineaudiocontext-constructor-expected.txt:
3407
3408 2016-07-17  Myles C. Maxfield  <mmaxfield@apple.com>
3409
3410         Support new emoji group candidates
3411         https://bugs.webkit.org/show_bug.cgi?id=159755
3412         <rdar://problem/27325521>
3413
3414         Reviewed by Dean Jackson.
3415
3416         Because this patch doesn't update the rules for our cursor movement
3417         iterator, the new expected result for editing/deleting/delete-emoji.html
3418         expects incorrect results. In the patch where we update these rules,
3419         the expected result should also be updated.
3420
3421         Because these new emoji require system support, TestExpectations has
3422         been updated to mark the tests as failing until the system support has
3423         been added.
3424
3425         * TestExpectations:
3426         * editing/deleting/delete-emoji-expected.txt:
3427         * fast/text/emoji-gender-2-3-expected.html: Added.
3428         * fast/text/emoji-gender-2-3.html: Added.
3429         * fast/text/emoji-gender-2-4-expected.html: Added.
3430         * fast/text/emoji-gender-2-4.html: Added.
3431         * fast/text/emoji-gender-2-5-expected.html: Added.
3432         * fast/text/emoji-gender-2-5.html: Added.
3433         * fast/text/emoji-gender-2-6-expected.html: Added.
3434         * fast/text/emoji-gender-2-6.html: Added.
3435         * fast/text/emoji-gender-2-7-expected.html: Added.
3436         * fast/text/emoji-gender-2-7.html: Added.
3437         * fast/text/emoji-gender-2-8-expected.html: Added.
3438         * fast/text/emoji-gender-2-8.html: Added.
3439         * fast/text/emoji-gender-2-9-expected.html: Added.
3440         * fast/text/emoji-gender-2-9.html: Added.
3441         * fast/text/emoji-gender-2-expected-mismatch.html: Added.
3442         * fast/text/emoji-gender-2.html: Added.
3443         * fast/text/emoji-gender-3-expected.html: Added.
3444         * fast/text/emoji-gender-3.html: Added.
3445         * fast/text/emoji-gender-4-expected.html: Added.
3446         * fast/text/emoji-gender-4.html: Added.
3447         * fast/text/emoji-gender-5-expected.html: Added.
3448         * fast/text/emoji-gender-5.html: Added.
3449         * fast/text/emoji-gender-6-expected.html: Added.
3450         * fast/text/emoji-gender-6.html: Added.
3451         * fast/text/emoji-gender-7-expected.html: Added.
3452         * fast/text/emoji-gender-7.html: Added.
3453         * fast/text/emoji-gender-8-expected.html: Added.
3454         * fast/text/emoji-gender-8.html: Added.
3455         * fast/text/emoji-gender-9-expected.html: Added.
3456         * fast/text/emoji-gender-9.html: Added.
3457         * fast/text/emoji-gender-expected-mismatch.html: Added.
3458         * fast/text/emoji-gender-fe0f-3-expected.html: Added.
3459         * fast/text/emoji-gender-fe0f-3.html: Added.
3460         * fast/text/emoji-gender-fe0f-4-expected.html: Added.
3461         * fast/text/emoji-gender-fe0f-4.html: Added.
3462         * fast/text/emoji-gender-fe0f-5-expected.html: Added.
3463         * fast/text/emoji-gender-fe0f-5.html: Added.
3464         * fast/text/emoji-gender-fe0f-6-expected.html: Added.
3465         * fast/text/emoji-gender-fe0f-6.html: Added.
3466         * fast/text/emoji-gender-fe0f-7-expected.html: Added.
3467         * fast/text/emoji-gender-fe0f-7.html: Added.
3468         * fast/text/emoji-gender-fe0f-8-expected.html: Added.
3469         * fast/text/emoji-gender-fe0f-8.html: Added.
3470         * fast/text/emoji-gender-fe0f-9-expected.html: Added.
3471         * fast/text/emoji-gender-fe0f-9.html: Added.
3472         * fast/text/emoji-gender.html: Added.
3473         * fast/text/emoji-num-glyphs-expected.txt: Added.
3474         * fast/text/emoji-num-glyphs.html: Added.
3475         * fast/text/emoji-single-parent-family-2-expected-mismatch.html: Added.
3476         * fast/text/emoji-single-parent-family-2.html: Added.
3477         * fast/text/emoji-single-parent-family-expected-mismatch.html: Added.
3478         * fast/text/emoji-single-parent-family.html: Added.
3479
3480 2016-07-16  Brady Eidson  <beidson@apple.com>
3481
3482         Update SVGException to use the description in toString().
3483         https://bugs.webkit.org/show_bug.cgi?id=159847
3484
3485         Reviewed by Darin Adler.
3486
3487         * svg/animations/animate-marker-orient-from-angle-to-autostartreverse-expected.txt:
3488         * svg/custom/SVGException-expected.txt:
3489         * svg/custom/polyline-points-crash-expected.txt:
3490         * svg/custom/script-tests/SVGException.js:
3491         * svg/dom/SVGAnimatedEnumeration-SVGClipPathElement-expected.txt:
3492         * svg/dom/SVGAnimatedEnumeration-SVGComponentTransferFunctionElement-expected.txt:
3493         * svg/dom/SVGAnimatedEnumeration-SVGFEBlendElement-expected.txt:
3494         * svg/dom/SVGAnimatedEnumeration-SVGFEColorMatrixElement-expected.txt:
3495         * svg/dom/SVGAnimatedEnumeration-SVGFECompositeElement-expected.txt:
3496         * svg/dom/SVGAnimatedEnumeration-SVGFEConvolveMatrixElement-expected.txt:
3497         * svg/dom/SVGAnimatedEnumeration-SVGFEDisplacementMapElement-expected.txt:
3498         * svg/dom/SVGAnimatedEnumeration-SVGFEMorphologyElement-expected.txt:
3499         * svg/dom/SVGAnimatedEnumeration-SVGFETurbulenceElement-expected.txt:
3500         * svg/dom/SVGAnimatedEnumeration-SVGFilterElement-expected.txt:
3501         * svg/dom/SVGAnimatedEnumeration-SVGGradientElement-expected.txt:
3502         * svg/dom/SVGAnimatedEnumeration-SVGMarkerElement-expected.txt:
3503         * svg/dom/SVGAnimatedEnumeration-SVGMaskElement-expected.txt:
3504         * svg/dom/SVGAnimatedEnumeration-SVGPatternElement-expected.txt:
3505         * svg/dom/SVGAnimatedEnumeration-SVGTextContentElement-expected.txt:
3506         * svg/dom/SVGAnimatedEnumeration-SVGTextPathElement-expected.txt:
3507         * svg/dom/SVGAnimatedEnumeration-expected.txt:
3508         * svg/dom/SVGLengthList-basics-expected.txt:
3509         * svg/dom/SVGMatrix-interface-expected.txt:
3510         * svg/dom/SVGNumberList-basics-expected.txt:
3511         * svg/dom/SVGPointList-basics-expected.txt:
3512         * svg/dom/SVGTransformList-basics-expected.txt:
3513         * svg/dom/svglist-exception-on-out-bounds-error-expected.txt:
3514         * svg/filters/feBlend-invalid-mode-expected.txt:
3515         * svg/filters/feComponentTransfer-style-crash-expected.txt:
3516         * svg/filters/feDisplacementMap-crash-test-expected.txt:
3517
3518 2016-07-15  Benjamin Poulain  <benjamin@webkit.org>
3519
3520         [mac] LayoutTest fast/css/ancestor-of-hovered-element-detached.html is flaky
3521         https://bugs.webkit.org/show_bug.cgi?id=159173
3522
3523         Reviewed by Alexey Proskuryakov.
3524
3525         The test ancestor-of-hovered-element-detached.html is not reliably
3526         covering r202324.
3527
3528         In the case of that test, the first style update is done with
3529         the flag TeardownType::KeepHoverAndActive. This keeps the ":hover" state
3530         set despite the subtree losing their renderer.
3531         This looks like a serious issue that should be tested separately.
3532
3533         * fast/css/ancestor-of-hovered-element-removed.html:
3534         The :hover update timer is actually a zero timer.
3535         It is reasonable to expect a full update after one frame update.
3536
3537         * fast/css/ancestor-of-hovered-element-detached-expected.txt: Removed.
3538         * fast/css/ancestor-of-hovered-element-detached.html: Removed.
3539         * platform/ios-simulator/TestExpectations:
3540         * platform/mac/TestExpectations:
3541
3542 2016-07-15  Myles C. Maxfield  <mmaxfield@apple.com>
3543
3544         Test gardening after r203314
3545         https://bugs.webkit.org/show_bug.cgi?id=159842
3546
3547         Unreviewed.
3548
3549         * TestExpectations:
3550
3551 2016-07-15  Myles C. Maxfield  <mmaxfield@apple.com>
3552
3553         [macOS] Work around crash in [NSAttributedString nextWordFromIndex:forward:]
3554         https://bugs.webkit.org/show_bug.cgi?id=159842
3555
3556         Reviewed by Jon Lee.
3557
3558         * editing/deleting/delete-emoji-expected.txt:
3559         * editing/deleting/delete-emoji.html:
3560
3561 2016-07-15  Brady Eidson  <beidson@apple.com>
3562
3563         Update XPathException to use the description in toString().
3564         https://bugs.webkit.org/show_bug.cgi?id=159848
3565
3566         Reviewed by Alex Christensen.
3567
3568         * fast/dom/DOMException/XPathException-expected.txt:
3569         * fast/dom/DOMException/resources/XPathException.js:
3570         * fast/xpath/4XPath/Core/test_parser-expected.txt:
3571         * fast/xpath/invalid-functions-expected.txt:
3572         * fast/xpath/py-dom-xpath/expressions-expected.txt:
3573
3574 2016-07-15  Brady Eidson  <beidson@apple.com>
3575
3576         Change toString() behavior for exceptions constructed with "createWithDescriptionAsMessage".
3577         https://bugs.webkit.org/show_bug.cgi?id=159839
3578
3579         Reviewed by Alex Christensen.
3580
3581         * storage/indexeddb/modern/createobjectstore-failures-expected.txt:
3582         * storage/indexeddb/modern/createobjectstore-failures-private-expected.txt:
3583         * storage/indexeddb/modern/double-abort-expected.txt:
3584         * storage/indexeddb/modern/double-abort-private-expected.txt:
3585         * storage/indexeddb/modern/idbdatabase-deleteobjectstore-failures-expected.txt:
3586         * storage/indexeddb/modern/idbdatabase-deleteobjectstore-failures-private-expected.txt:
3587         * storage/indexeddb/modern/idbdatabase-transaction-failures-expected.txt:
3588         * storage/indexeddb/modern/idbdatabase-transaction-failures-private-expected.txt:
3589
3590 2016-07-15  Brent Fulgham  <bfulgham@apple.com>
3591
3592         Merge background parser Blink test case
3593         https://bugs.webkit.org/show_bug.cgi?id=116503
3594
3595         Test case is from the Blink change (patch by <apavlov@chromium.org>):
3596         <https://chromium.googlesource.com/chromium/blink/+/3044d8c22b6ab5653fe572aad656ae1325725dc9>
3597
3598         * fast/css/background-parser-crash-expected.txt: Added.
3599         * fast/css/background-parser-crash.html: Added.
3600         * inspector/styles: Added.
3601         * inspector/styles/background-parsing-crash-expected.txt: Added.
3602         * inspector/styles/background-parsing-crash.html: Added.
3603
3604 2016-07-15  Brent Fulgham  <bfulgham@apple.com>
3605
3606         Merge First-letter Blink test case
3607         https://bugs.webkit.org/show_bug.cgi?id=123961
3608
3609         Test case is from the Blink change (patch by <leviw@chromium.org>):
3610         <https://chromium.googlesource.com/chromium/blink/+/c8ff8df9fc2ad81580526d53304c281df5d93e97%5E%21/#F1>
3611
3612         * fast/css-generated-content/empty-first-letter-with-columns-crash-expected.txt: Added.
3613         * fast/css-generated-content/empty-first-letter-with-columns-crash.html: Added.
3614
3615 2016-07-15  Ryan Haddad  <ryanhaddad@apple.com>
3616
3617         Marking http/tests/cache/disk-cache/disk-cache-request-max-stale.html as a flaky timeout on ios-simulator WK2 Release
3618         https://bugs.webkit.org/show_bug.cgi?id=159840
3619
3620         Unreviewed test gardening.
3621
3622         * platform/ios-simulator-wk2/TestExpectations:
3623
3624 2016-07-15  Brent Fulgham  <bfulgham@apple.com>
3625
3626         Block insecure script running in a data: frame when the top-level page is HTTPS
3627         https://bugs.webkit.org/show_bug.cgi?id=125806
3628         <rdar://problem/27331825>
3629
3630         Reviewed by Brady Eidson.
3631
3632         Fix based on a Blink change (patch by <tsepez@chromium.org>):
3633         <https://chromium.googlesource.com/chromium/blink/+/33e553bd96e040151c1472289a0d80803bfca3a5>
3634
3635         * http/tests/security/mixedContent/insecure-script-in-data-iframe-in-main-frame-blocked-expected.txt: Added.
3636         * http/tests/security/mixedContent/insecure-script-in-data-iframe-in-main-frame-blocked.html: Added.
3637         * http/tests/security/mixedContent/resources/frame-with-data-url-frame-with-script.html: Added.
3638
3639 2016-07-15  Ryan Haddad  <ryanhaddad@apple.com>
3640
3641         Skipping test from r203288 on ios-simulator due to reliance upon mouse events.
3642         https://bugs.webkit.org/show_bug.cgi?id=159818
3643
3644         Unreviewed test gardening.
3645
3646         * platform/ios-simulator/TestExpectations:
3647
3648 2016-07-15  Frederic Wang  <fwang@igalia.com>
3649
3650         MathOperator: Improve alignment for vertical size variant
3651         https://bugs.webkit.org/show_bug.cgi?id=158866
3652
3653         Reviewed by Brent Fulgham.
3654
3655         We import the latest version of mo-axis-height-1.html and update the expectation now that we
3656         pass the two cases (size variant and glyph assembly). We also rebaseline some pixel tests.
3657
3658         * imported/mathml-in-html5/fonts/math/axisheight5000-verticalarrow14000.woff: Updated.
3659         * imported/mathml-in-html5/mathml/presentation-markup/operators/mo-axis-height-1-expected.txt: Updated to expect PASS.
3660         * imported/mathml-in-html5/mathml/presentation-markup/operators/mo-axis-height-1.html: Updated to include the two tests.
3661         * platform/gtk/mathml/opentype/vertical-expected.png: Rebaseline to take into account better alignment of size variant.
3662         * platform/gtk/mathml/opentype/vertical-expected.txt: Ditto.
3663         * platform/gtk/mathml/presentation/mo-stretch-expected.png: Ditto.
3664         * platform/gtk/mathml/presentation/mo-stretch-expected.txt: Ditto.
3665         * platform/ios-simulator/mathml/opentype/opentype-stretchy-expected.txt: Ditto.
3666         * platform/ios-simulator/mathml/presentation/mo-stretch-expected.txt: Ditto.
3667         * platform/mac/mathml/opentype/opentype-stretchy-expected.txt: Ditto.
3668         * platform/mac/mathml/presentation/mo-stretch-expected.txt: Ditto.
3669
3670 2016-07-15  Brady Eidson  <beidson@apple.com>
3671
3672         WebKit should prevent push/replace state with username in URL.
3673         <rdar://problem/27361737> and https://bugs.webkit.org/show_bug.cgi?id=159818
3674
3675         Reviewed by Brent Fulgham.
3676
3677         * http/tests/security/history-username-password-expected.txt: Added.
3678         * http/tests/security/history-username-password.html: Added.
3679
3680 2016-07-15  Ryan Haddad  <ryanhaddad@apple.com>
3681
3682         Unreviewed, rolling out r203266.
3683
3684         This change caused editing/deleting/delete-emoji.html to time
3685         out on El Capitan, crash under GuardMalloc
3686
3687         Reverted changeset:
3688
3689         "Support new emoji group candidates"
3690         https://bugs.webkit.org/show_bug.cgi?id=159755
3691         http://trac.webkit.org/changeset/203266
3692
3693 2016-07-15  Frederic Wang  <fwang@igalia.com>
3694
3695         Move parsing of mfrac attributes into a MathMLFractionElementClass
3696         https://bugs.webkit.org/show_bug.cgi?id=159624
3697
3698         Reviewed by Brent Fulgham.
3699
3700         We update the expectation for negative linethickness. As indicated in the MathML
3701         recommendation, it should be rounded up to the nearest valid value, which is 0.
3702
3703         * mathml/presentation/mfrac-linethickness2.html: Update the comment to reflect the new behavior.
3704         * mathml/presentation/mfrac-linethickness2-expected.html: Use 0px as the reference for negative values.
3705
3706 2016-07-15  Brent Fulgham  <bfulgham@apple.com>
3707
3708         Merge InlineBidiResolver end-of-line Blink test case
3709         https://bugs.webkit.org/show_bug.cgi?id=126201
3710         <rdar://problem/27331789>
3711
3712         Test case is from the Blink change (patch by <igor.o@chromium.org>):
3713         <https://chromium.googlesource.com/chromium/blink/+/d34ca9bbbdf71905d61aa45def30063311508a64>
3714
3715         * fast/text/international/bidi-crash-reached-end-of-line-expected.txt: Added.
3716         * fast/text/international/bidi-crash-reached-end-of-line.html: Added.
3717
3718 2016-07-15  Brent Fulgham  <bfulgham@apple.com>
3719
3720         Merge Blink test case
3721         https://bugs.webkit.org/show_bug.cgi?id=123870
3722
3723         Patch is from the Blink change (patch by <morritaw@chromium.org>):
3724         <https://chromium.googlesource.com/chromium/blink/+/2abd63ccea97b1fcf25b337c76f12e6ad1bfc025>
3725
3726         * fast/dom/mutation-details-focus-expected.txt: Added.
3727         * fast/dom/mutation-details-focus.html: Added.
3728
3729 2016-07-15  Ryan Haddad  <ryanhaddad@apple.com>
3730
3731         Updating TestExpectations after r203267
3732         https://bugs.webkit.org/show_bug.cgi?id=159817
3733
3734         Unreviewed test gardening.
3735
3736         * TestExpectations:
3737
3738 2016-07-15  Frederic Wang  <fwang@igalia.com>
3739
3740         Import more tests from the MathML in HTML5 test suite
3741         https://bugs.webkit.org/show_bug.cgi?id=159715
3742
3743         Reviewed by Brent Fulgham.
3744
3745         * imported/mathml-in-html5/fonts/math/lineheight5000-typolineheight2300.woff: Added.
3746         * imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-5-expected.txt: Added.
3747         * imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-5.html: Added.
3748         * imported/mathml-in-html5/mathml/presentation-markup/spaces/space-1-expected.txt: Added.
3749         * imported/mathml-in-html5/mathml/presentation-markup/spaces/space-1.html: Added.
3750         * imported/mathml-in-html5/mathml/presentation-markup/spaces/space-2-expected.html: Added.
3751         * imported/mathml-in-html5/mathml/presentation-markup/spaces/space-2.html: Added.
3752         * imported/mathml-in-html5/mathml/relations/css-styling/color-1-expected.html: Added.
3753         * imported/mathml-in-html5/mathml/relations/css-styling/color-1.html: Added.
3754         * imported/mathml-in-html5/mathml/relations/css-styling/visibility-1-expected.html: Added.
3755         * imported/mathml-in-html5/mathml/relations/css-styling/visibility-1.html: Added.
3756         * imported/mathml-in-html5/mathml/relations/html5-tree/class-1-expected.html: Added.
3757         * imported/mathml-in-html5/mathml/relations/html5-tree/class-1.html: Added.
3758         * imported/mathml-in-html5/mathml/relations/html5-tree/class-2-expected.txt: Added.
3759         * imported/mathml-in-html5/mathml/relations/html5-tree/class-2.html: Added.
3760         * imported/mathml-in-html5/mathml/relations/html5-tree/color-attributes-1-expected.html: Added.
3761         * imported/mathml-in-html5/mathml/relations/html5-tree/color-attributes-1.html: Added.
3762         * imported/mathml-in-html5/mathml/relations/html5-tree/display-1-expected.txt: Added.
3763         * imported/mathml-in-html5/mathml/relations/html5-tree/display-1.html: Added.
3764         * imported/mathml-in-html5/mathml/relations/html5-tree/dynamic-1-expected.html: Added.
3765         * imported/mathml-in-html5/mathml/relations/html5-tree/dynamic-1.html: Added.
3766         * imported/mathml-in-html5/mathml/relations/html5-tree/integration-point-1-expected.html: Added.
3767         * imported/mathml-in-html5/mathml/relations/html5-tree/integration-point-1.html: Added.
3768         * imported/mathml-in-html5/mathml/relations/html5-tree/integration-point-2-expected.html: Added.
3769         * imported/mathml-in-html5/mathml/relations/html5-tree/integration-point-2.html: Added.
3770         * imported/mathml-in-html5/mathml/relations/html5-tree/integration-point-3-expected.html: Added.
3771         * imported/mathml-in-html5/mathml/relations/html5-tree/integration-point-3.html: Added.
3772         * imported/mathml-in-html5/mathml/relations/html5-tree/namespace-1-expected.txt: Added.
3773         * imported/mathml-in-html5/mathml/relations/html5-tree/namespace-1.html: Added.
3774         * imported/mathml-in-html5/mathml/relations/html5-tree/required-extensions-1-expected.txt: Added.
3775         * imported/mathml-in-html5/mathml/relations/html5-tree/required-extensions-1.html: Added.
3776         * imported/mathml-in-html5/mathml/relations/html5-tree/required-extensions-2-expected.html: Added.
3777         * imported/mathml-in-html5/mathml/relations/html5-tree/required-extensions-2.html: Added.
3778         * imported/mathml-in-html5/mathml/relations/html5-tree/unique-identifier-2-expected.txt: Added.
3779         * imported/mathml-in-html5/mathml/relations/html5-tree/unique-identifier-2.html: Added.
3780         * imported/mathml-in-html5/mathml/relations/html5-tree/unique-identifier-3-expected.html: Added.
3781         * imported/mathml-in-html5/mathml/relations/html5-tree/unique-identifier-3.html: Added.
3782         * imported/mathml-in-html5/mathml/relations/text-and-math/use-typo-metrics-1-expected.html: Added.
3783         * imported/mathml-in-html5/mathml/relations/text-and-math/use-typo-metrics-1.html: Added.
3784         * platform/ios-simulator/TestExpectations: Mark use-typo-metrics-1.html as failing.
3785         * platform/mac/TestExpectations: Ditto.
3786
3787 2016-07-15  Eric Carlson  <eric.carlson@apple.com>
3788
3789         [MSE] Increase the SourceBuffer "fudge factor"
3790         https://bugs.webkit.org/show_bug.cgi?id=159813
3791         <rdar://problem/27372033>
3792
3793         Reviewed by Jon Lee.
3794
3795         * media/media-source/media-source-small-gap-expected.txt:
3796         * media/media-source/media-source-small-gap.html:
3797
3798 2016-07-14  Yoav Weiss  <yoav@yoav.ws>
3799
3800         Change CSSParser::sourceSize returning Optional<CSSParser::SourceSize>
3801         https://bugs.webkit.org/show_bug.cgi?id=159666
3802
3803         Reviewed by Michael Catanzaro.
3804
3805         Added a test to make sure that an invalid source-size value is skipped, but the next one is properly picked.
3806
3807         * fast/dom/HTMLImageElement/sizes/image-sizes-invalids-expected.txt:
3808         * fast/dom/HTMLImageElement/sizes/image-sizes-invalids.html:
3809
3810 2016-07-14  Antonio Gomes  <tonikitoo@igalia.com>
3811
3812         [RTL Scrollbars] Frame scrollbars don't move to the right when text direction changes to RTL
3813         https://bugs.webkit.org/show_bug.cgi?id=158252
3814
3815         Reviewed by Myles C. Maxfield.
3816
3817         * fast/scrolling/rtl-scrollbars-alternate-body-dir-attr-does-not-update-scrollbar-placement.html: Added.
3818         * fast/scrolling/rtl-scrollbars-alternate-body-dir-attr-does-not-update-scrollbar-placement-expected.txt: Added.
3819         * fast/scrolling/rtl-scrollbars-alternate-body-dir-attr-does-not-update-scrollbar-placement-2.html: Added.
3820         * fast/scrolling/rtl-scrollbars-alternate-body-dir-attr-does-not-update-scrollbar-placement-2-expected.html: Added.
3821         * fast/scrolling/rtl-scrollbars-alternate-iframe-body-dir-attr-does-not-update-scrollbar-placement.html: Added.
3822         * fast/scrolling/rtl-scrollbars-alternate-iframe-body-dir-attr-does-not-update-scrollbar-placement-expected.txt: Added.
3823
3824 2016-07-14  Myles C. Maxfield  <mmaxfield@apple.com>
3825
3826         Support new emoji group candidates
3827         https://bugs.webkit.org/show_bug.cgi?id=159755
3828         <rdar://problem/27325521>
3829
3830         Reviewed by Dean Jackson.
3831
3832         Because this patch doesn't update the rules for our cursor movement
3833         iterator, the new expected result for editing/deleting/delete-emoji.html
3834         expects incorrect results. In the patch where we update these rules,
3835         the expected result should also be updated.
3836
3837         Because these new emoji require system support, TestExpectations has
3838         been updated to mark the tests as failing until the system support has
3839         been added.
3840
3841         * TestExpectations:
3842         * editing/deleting/delete-emoji-expected.txt:
3843         * editing/deleting/delete-emoji.html:
3844         * fast/text/emoji-gender-2-3-expected.html: Added.
3845         * fast/text/emoji-gender-2-3.html: Added.
3846         * fast/text/emoji-gender-2-4-expected.html: Added.
3847         * fast/text/emoji-gender-2-4.html: Added.
3848         * fast/text/emoji-gender-2-5-expected.html: Added.
3849         * fast/text/emoji-gender-2-5.html: Added.
3850         * fast/text/emoji-gender-2-6-expected.html: Added.
3851         * fast/text/emoji-gender-2-6.html: Added.
3852         * fast/text/emoji-gender-2-7-expected.html: Added.
3853         * fast/text/emoji-gender-2-7.html: Added.
3854         * fast/text/emoji-gender-2-8-expected.html: Added.
3855         * fast/text/emoji-gender-2-8.html: Added.
3856         * fast/text/emoji-gender-2-9-expected.html: Added.
3857         * fast/text/emoji-gender-2-9.html: Added.
3858         * fast/text/emoji-gender-2-expected-mismatch.html: Added.
3859         * fast/text/emoji-gender-2.html: Added.
3860         * fast/text/emoji-gender-3-expected.html: Added.
3861         * fast/text/emoji-gender-3.html: Added.
3862         * fast/text/emoji-gender-4-expected.html: Added.
3863         * fast/text/emoji-gender-4.html: Added.
3864         * fast/text/emoji-gender-5-expected.html: Added.
3865         * fast/text/emoji-gender-5.html: Added.
3866         * fast/text/emoji-gender-6-expected.html: Added.
3867         * fast/text/emoji-gender-6.html: Added.
3868         * fast/text/emoji-gender-7-expected.html: Added.
3869         * fast/text/emoji-gender-7.html: Added.
3870         * fast/text/emoji-gender-8-expected.html: Added.
3871         * fast/text/emoji-gender-8.html: Added.
3872         * fast/text/emoji-gender-9-expected.html: Added.
3873         * fast/text/emoji-gender-9.html: Added.
3874         * fast/text/emoji-gender-expected-mismatch.html: Added.
3875         * fast/text/emoji-gender-fe0f-3-expected.html: Added.
3876         * fast/text/emoji-gender-fe0f-3.html: Added.
3877         * fast/text/emoji-gender-fe0f-4-expected.html: Added.
3878         * fast/text/emoji-gender-fe0f-4.html: Added.
3879         * fast/text/emoji-gender-fe0f-5-expected.html: Added.
3880         * fast/text/emoji-gender-fe0f-5.html: Added.
3881         * fast/text/emoji-gender-fe0f-6-expected.html: Added.
3882         * fast/text/emoji-gender-fe0f-6.html: Added.
3883         * fast/text/emoji-gender-fe0f-7-expected.html: Added.
3884         * fast/text/emoji-gender-fe0f-7.html: Added.
3885         * fast/text/emoji-gender-fe0f-8-expected.html: Added.
3886         * fast/text/emoji-gender-fe0f-8.html: Added.
3887         * fast/text/emoji-gender-fe0f-9-expected.html: Added.
3888         * fast/text/emoji-gender-fe0f-9.html: Added.
3889         * fast/text/emoji-gender.html: Added.
3890         * fast/text/emoji-num-glyphs-expected.txt: Added.
3891         * fast/text/emoji-num-glyphs.html: Added.
3892         * fast/text/emoji-single-parent-family-2-expected-mismatch.html: Added.
3893         * fast/text/emoji-single-parent-family-2.html: Added.
3894         * fast/text/emoji-single-parent-family-expected-mismatch.html: Added.
3895         * fast/text/emoji-single-parent-family.html: Added.
3896
3897 2016-07-14  Saam Barati  <sbarati@apple.com>
3898
3899         It should be a syntax error to have a 'use strict' directive inside a function that has a non-simple parameter list
3900         https://bugs.webkit.org/show_bug.cgi?id=159790
3901         <rdar://problem/27171636>
3902
3903         Reviewed by Geoffrey Garen.
3904
3905         * js/parser-syntax-check-expected.txt:
3906         * js/script-tests/parser-syntax-check.js:
3907
3908 2016-07-14  Simon Fraser  <simon.fraser@apple.com>
3909
3910         [iOS WK2] When scrolling apple.com/music on iPad Pro in landscape, left-hand tiles appear first
3911         https://bugs.webkit.org/show_bug.cgi?id=159798
3912         rdar://problem/27362717
3913
3914         Reviewed by Tim Horton.
3915         
3916         Test with an offscreen tiled layer.
3917
3918         * compositing/tiling/offscreen-tiled-layer-expected.txt: Added.
3919         * compositing/tiling/offscreen-tiled-layer.html: Added.
3920         * platform/ios-simulator-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt: Added.
3921         * platform/ios-simulator-wk2/compositing/tiling/offscreen-tiled-layer-expected.txt: Added.
3922         * platform/mac-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt: Added.
3923
3924 2016-07-14  Ryan Haddad  <ryanhaddad@apple.com>
3925
3926         Skipping editing/spelling/copy-paste-crash.html on ios-simulator.
3927         https://bugs.webkit.org/show_bug.cgi?id=142969
3928
3929         Unreviewed test gardening.
3930
3931         * platform/ios-simulator/TestExpectations:
3932
3933 2016-07-14  Brent Fulgham  <bfulgham@apple.com>
3934
3935         Merge Blink test case
3936         https://bugs.webkit.org/show_bug.cgi?id=117422
3937
3938         Patch is from a set of Blink changes (patches by <leviw@chromium.org>):
3939         <https://chromium.googlesource.com/chromium/blink/+/507e1576555bd2ce6688206f28339c25761893b1>
3940         <https://chromium.googlesource.com/chromium/blink/+/4c95872f52340cf0cf9a2a7078bb63a94f38d302>
3941
3942         * fast/list/list-style-position-inside-expected.txt: Added.
3943         * fast/list/list-style-position-inside.html: Added.
3944         * fast/sub-pixel/float-list-inside-expected.txt: Added.
3945         * fast/sub-pixel/float-list-inside.html: Added.
3946
3947 2016-07-14  John Wilander  <wilander@apple.com>
3948
3949         Remove credentials in URL when accessed through location.href
3950         https://bugs.webkit.org/show_bug.cgi?id=139562
3951         <rdar://problem/27331164>
3952
3953         Reviewed by Brent Fulgham.
3954
3955         The reason for this change is to not allow scripts on the page to
3956         exfiltrate username and password from the URL.
3957
3958         * http/tests/security/location-href-clears-username-password-expected.txt: Added.
3959         * http/tests/security/location-href-clears-username-password.html: Added.
3960             Test case adapted from https://src.chromium.org/viewvc/blink?revision=189367&view=revision.
3961
3962 2016-07-14  Brent Fulgham  <bfulgham@apple.com>
3963
3964         Merge Blink test case
3965         https://bugs.webkit.org/show_bug.cgi?id=116507
3966
3967         Patch is from a Blink change (patch by <ojan@chromium.org>):
3968         <https://chromium.googlesource.com/chromium/blink/+/6598fc75a7260643ecfc42856ef24bcf96380443>
3969
3970         * compositing/iframes/crash-mouse-event-expected.txt: Added.
3971         * compositing/iframes/crash-mouse-event.html: Added.
3972
3973 2016-07-14  Brent Fulgham  <bfulgham@apple.com>
3974
3975         editing/spelling/spellcheck-async.html sometimes crashes with GuardMalloc 
3976         https://bugs.webkit.org/show_bug.cgi?id=142969
3977         <rdar://problem/27331095>
3978
3979         Reviewed by Alex Christensen.
3980
3981         Fix based on a Blink change (patch by <rouslan@chromium.org>):
3982         <https://chromium.googlesource.com/chromium/blink/+/c713736b122c2224804b2db72f1f711cb47ee260%5E%21/#F1>
3983
3984         * editing/spelling/copy-paste-crash-expected.txt: Added.
3985         * editing/spelling/copy-paste-crash.html: Added.
3986         * platform/platform/mac-wk2/TestExpectations: Skip test on mac-wk2 since all Spelling tests are
3987         currently broken (see <https://webkit.org/b/105616>).
3988
3989 2016-07-14  Ryan Haddad  <ryanhaddad@apple.com>
3990
3991         Remove duplicate TestExpectations entry.
3992
3993         Unreviewed test gardening.
3994
3995         * platform/mac/TestExpectations:
3996
3997 2016-07-14  Brent Fulgham  <bfulgham@apple.com>
3998
3999         Add test to confirm we do not crash in media destruction
4000         https://bugs.webkit.org/show_bug.cgi?id=122816
4001
4002         Test based on a Blink change (patch by <igor.o@sisa.samsung.com>):
4003         <https://chromium.googlesource.com/chromium/blink/+/7a2b2dcefbc013003487d5055eeda7a57daafa93%5E%21/#F0>
4004
4005         We do not seem to have the bug that prompted the Chromium source change. Adding
4006         test case to ensure we do not introduce this problem in the future.
4007
4008         * editing/undo/audio-in-undo-stack-crash-expected.txt: Added.
4009         * editing/undo/audio-in-undo-stack-crash.html: Added.
4010
4011 2016-07-14  Youenn Fablet  <youenn@apple.com>
4012
4013         Remove support for value iterators from JSDOMIterator
4014         https://bugs.webkit.org/show_bug.cgi?id=159293
4015
4016         Reviewed by Chris Dumez.
4017
4018         * fast/text/font-face-set-javascript-expected.txt:
4019         * fast/text/font-face-set-javascript.html:
4020
4021 2016-07-14  Ryan Haddad  <ryanhaddad@apple.com>
4022
4023         Land test expectations for rdar://problem/27353750.
4024
4025         * platform/mac/TestExpectations:
4026
4027 2016-07-14  Mark Lam  <mark.lam@apple.com>
4028
4029         JSONObject Walker::walk must save array length before processing array elements.
4030         https://bugs.webkit.org/show_bug.cgi?id=153485
4031
4032         Reviewed by Darin Adler and Michael Saboff.
4033
4034         * js/JSON-parse-reviver-expected.txt:
4035         * js/script-tests/JSON-parse-reviver.js:
4036         - Fixed a bug in arrayReviver() where it was setting the array length to 3,
4037           but was immediately returning a value from the reviver for index 3.  This
4038           effectively forces array.length to 4.  As a result, case 4 always failed
4039           silently, and case 5 never executed.
4040         - Added tracking of cases visited by the revivers so that they can be verified.
4041
4042 2016-07-14  Youenn Fablet  <youenn@apple.com>
4043
4044         DOM value iterable interfaces should use Array prototype methods
4045         https://bugs.webkit.org/show_bug.cgi?id=159296
4046
4047         Reviewed by Chris Dumez and Mark Lam.
4048
4049         * fast/dom/nodeListIterator-expected.txt:
4050         * fast/dom/nodeListIterator.html:
4051         * fast/dom/NodeList/nodelist-iterable-expected.txt: Added.
4052         * fast/dom/NodeList/nodelist-iterable.html: Added.
4053
4054 2016-07-14  Youenn Fablet  <youenn@apple.com>
4055
4056         [Fetch API] Request and Response url getter should use URL serialization
4057         https://bugs.webkit.org/show_bug.cgi?id=159705
4058
4059         Reviewed by Alex Christensen.
4060
4061         * fetch/fetch-url-serialization-expected.txt: Added.
4062         * fetch/fetch-url-serialization.html: Added.
4063         * fetch/fetch-urls.json: Added.
4064
4065 2016-07-14  Jer Noble  <jer.noble@apple.com>
4066
4067         REGRESSION (r202918): LayoutTest media/video-main-content-allow-then-deny.html is flaky, failing almost every time on El Capitan
4068         https://bugs.webkit.org/show_bug.cgi?id=159533
4069
4070         Reviewed by Eric Carlson.
4071
4072         * platform/mac/TestExpectations:
4073
4074 2016-07-14  Alex Christensen  <achristensen@webkit.org>
4075
4076         Rebaseline test after r203204 and r203207.
4077
4078         * js/typed-array-mutated-during-set-expected.txt:
4079
4080 2016-07-13  Frederic Wang  <fwang@igalia.com>
4081
4082         Rebaseline EFL and Windows MathML tests after r203171
4083
4084         Unreviewed test gardening.
4085
4086         * platform/efl/mathml/opentype/horizontal-expected.txt:
4087         * platform/efl/mathml/opentype/horizontal-munderover-expected.txt:
4088         * platform/efl/mathml/opentype/large-operators-expected.txt:
4089         * platform/efl/mathml/opentype/opentype-stretchy-expected.txt:
4090         * platform/efl/mathml/opentype/opentype-stretchy-horizontal-expected.txt:
4091         * platform/efl/mathml/opentype/vertical-expected.txt:
4092         * platform/efl/mathml/presentation/menclose-notation-default-longdiv-expected.txt:
4093         * platform/efl/mathml/presentation/menclose-notation-values-expected.txt:
4094         * platform/efl/mathml/presentation/mo-stretch-expected.txt:
4095         * platform/efl/mathml/presentation/mspace-children-expected.txt:
4096         * platform/efl/mathml/presentation/roots-expected.txt:
4097         * platform/efl/mathml/radical-fallback-expected.txt:
4098         * platform/win/mathml/mathml-in-dashboard-expected.txt:
4099         * platform/win/mathml/opentype/horizontal-expected.txt:
4100         * platform/win/mathml/opentype/horizontal-munderover-expected.txt:
4101         * platform/win/mathml/opentype/large-operators-expected.txt:
4102         * platform/win/mathml/opentype/opentype-stretchy-expected.txt:
4103         * platform/win/mathml/opentype/opentype-stretchy-horizontal-expected.txt:
4104         * platform/win/mathml/opentype/vertical-expected.txt:
4105         * platform/win/mathml/presentation/menclose-notation-default-longdiv-expected.txt:
4106  &n