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