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