CrashTracer: [USER] com.apple.WebKit.WebContent at com.apple.WebCore: WebCore::Extens...
[WebKit-https.git] / LayoutTests / ChangeLog
1 2016-11-22  Antti Koivisto  <antti@apple.com>
2
3         CrashTracer: [USER] com.apple.WebKit.WebContent at com.apple.WebCore: WebCore::ExtensionStyleSheets::pageUserSheet + 14
4         https://bugs.webkit.org/show_bug.cgi?id=165030
5
6         Reviewed by Darin Adler.
7
8         * fast/shadow-dom/shadow-host-move-to-different-document-expected.html: Added.
9         * fast/shadow-dom/shadow-host-move-to-different-document.html: Added.
10
11 2016-11-20  Megan Gardner  <megan_gardner@apple.com>
12
13         Add iOS text selection tests - long press clear and multi line selection tests
14         https://bugs.webkit.org/show_bug.cgi?id=164899
15
16         Reviewed by Darin Adler.
17
18         Test for clearing a selection after a long press.
19         Test for checking multi-line select, both increasing and decreasing, using the left selection.
20         Test for checking multi-line select, both increasing and decreasing, using the right selection.
21
22         * fast/events/touch/ios/long-press-then-drag-down-to-change-selected-text-expected.txt: Added.
23         * fast/events/touch/ios/long-press-then-drag-down-to-change-selected-text.html: Added.
24         * fast/events/touch/ios/long-press-then-drag-up-to-change-selected-text-expected.txt: Added.
25         * fast/events/touch/ios/long-press-then-drag-up-to-change-selected-text.html: Added.
26         * fast/events/touch/ios/long-press-to-select-and-tap-to-clear-expected.txt: Added.
27         * fast/events/touch/ios/long-press-to-select-and-tap-to-clear.html: Added.
28
29 2016-11-19  Chris Dumez  <cdumez@apple.com>
30
31         Update HTML form validation messages
32         https://bugs.webkit.org/show_bug.cgi?id=164957
33         <rdar://problem/29338669>
34
35         Reviewed by Darin Adler.
36
37         Rebaseline existing tests.
38
39         * fast/forms/number/number-validation-message-expected.txt:
40         * fast/forms/number/number-validation-message.html:
41         * fast/forms/validation-custom-message-expected.txt:
42         * fast/forms/validation-custom-message.html:
43         * fast/forms/validation-messages-expected.txt:
44         * fast/forms/validation-messages.html:
45         * fast/forms/validationMessage-expected.txt:
46
47 2016-11-19  Joanmarie Diggs  <jdiggs@igalia.com>
48
49         AX: [ATK] Implement selection interface and states for elements supporting aria-selected and for menu roles
50         https://bugs.webkit.org/show_bug.cgi?id=164865
51
52         Reviewed by Chris Fleizach.
53
54         New tests for the added support. In addition, update the expectations for
55         aria-combobox.html to reflect the corrected ATK mapping of ListBoxRole for
56         combobox descendants.
57
58         * accessibility/aria-combobox-expected.txt: Updated.
59         * accessibility/aria-combobox-hierarchy.html: Added.
60         * accessibility/aria-selected-menu-items.html: Added.
61         * accessibility/aria-selected.html: Added.
62         * platform/gtk/accessibility/aria-combobox-hierarchy-expected.txt: Added.
63         * platform/gtk/accessibility/aria-selected-expected.txt: Added.
64         * platform/gtk/accessibility/aria-selected-menu-items-expected.txt: Added.
65         * platform/mac/accessibility/aria-combobox-hierarchy-expected.txt: Added.
66         * platform/mac/accessibility/aria-selected-expected.txt: Added.
67         * platform/mac/accessibility/aria-selected-menu-items-expected.txt: Added.
68
69 2016-11-18  Simon Fraser  <simon.fraser@apple.com>
70
71         Make it possible to test non-stable-state scrolling on iOS
72         https://bugs.webkit.org/show_bug.cgi?id=164905
73
74         Reviewed by Dan Bernstein.
75
76         * scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt: Added.
77         * scrollingcoordinator/ios/non-stable-viewport-scroll.html: Added.
78
79 2016-11-19  Joanmarie Diggs  <jdiggs@igalia.com>
80
81         AX: [ATK] Expose aria-busy via ATK_STATE_BUSY
82         https://bugs.webkit.org/show_bug.cgi?id=164909
83
84         Reviewed by Chris Fleizach.
85
86         * accessibility/aria-busy-expected.txt: Added.
87         * accessibility/aria-busy.html: Added.
88
89 2016-11-19  Ryosuke Niwa  <rniwa@webkit.org>
90
91         REGRESSION(r200964): Tab focus navigation is broken on results.en.voyages-sncf.com
92         https://bugs.webkit.org/show_bug.cgi?id=164888
93
94         Reviewed by Antti Koivisto.
95
96         Add regression tests for moving the focus across a shadow tree and a SVG use element
97         and the one that moves out of a slot element.
98
99         * fast/shadow-dom/focus-navigation-out-of-slot-expected.txt: Added.
100         * fast/shadow-dom/focus-navigation-out-of-slot.html: Added.
101         * fast/shadow-dom/focus-navigation-passes-shadow-host-expected.txt: Added.
102         * fast/shadow-dom/focus-navigation-passes-shadow-host.html: Added.
103         * fast/shadow-dom/focus-navigation-passes-svg-use-element-expected.txt: Added.
104         * fast/shadow-dom/focus-navigation-passes-svg-use-element.html: Added.
105         * platform/ios-simulator/TestExpectations: Skip the newly added tests on iOS.
106
107 2016-11-18  Simon Fraser  <simon.fraser@apple.com>
108
109         [iOS WK2] Eliminate a source of flakiness in layout tests by forcing WebPage into "responsive" mode for all tests, with an internals override
110         https://bugs.webkit.org/show_bug.cgi?id=164980
111
112         Reviewed by Chris Dumez.
113
114         * fast/scrolling/ios/scroll-events-default-expected.txt: Added.
115         * fast/scrolling/ios/scroll-events-default.html: Added.
116         * fast/scrolling/ios/scroll-events-responsive-expected.txt: Added.
117         * fast/scrolling/ios/scroll-events-responsive.html: Added.
118         * fast/scrolling/ios/scroll-events-unresponsive-expected.txt: Added.
119         * fast/scrolling/ios/scroll-events-unresponsive.html: Added.
120
121 2016-11-18  Jiewen Tan  <jiewen_tan@apple.com>
122
123         Update SubtleCrypto::decrypt to match the latest spec
124         https://bugs.webkit.org/show_bug.cgi?id=164739
125         <rdar://problem/29257848>
126
127         Reviewed by Brent Fulgham.
128
129         * crypto/subtle/aes-cbc-decrypt-malformed-parameters-expected.txt: Added.
130         * crypto/subtle/aes-cbc-decrypt-malformed-parameters.html: Added.
131         * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt-expected.txt: Added.
132         * crypto/subtle/aes-cbc-generate-key-encrypt-decrypt.html: Added.
133         * crypto/subtle/aes-cbc-import-key-decrypt-expected.txt: Added.
134         * crypto/subtle/aes-cbc-import-key-decrypt.html: Added.
135         * crypto/subtle/decrypt-malformed-parameters-expected.txt: Added.
136         * crypto/subtle/decrypt-malformed-parameters.html: Added.
137         * crypto/subtle/rsa-oaep-decrypt-malformed-parameters-expected.txt: Added.
138         * crypto/subtle/rsa-oaep-decrypt-malformed-parameters.html: Added.
139         * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-expected.txt: Added.
140         * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label-expected.txt: Added.
141         * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt-label.html: Added.
142         * crypto/subtle/rsa-oaep-generate-key-encrypt-decrypt.html: Added.
143         * crypto/subtle/rsa-oaep-import-key-decrypt-expected.txt: Added.
144         * crypto/subtle/rsa-oaep-import-key-decrypt-label-expected.txt: Added.
145         * crypto/subtle/rsa-oaep-import-key-decrypt-label.html: Added.
146         * crypto/subtle/rsa-oaep-import-key-decrypt.html: Added.
147         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt-expected.txt: Added.
148         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-encrypt-decrypt.html: Added.
149         * crypto/subtle/rsaes-pkcs1-v1_5-import-key-decrypt-expected.txt: Added.
150         * crypto/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html: Added.
151         * crypto/workers/subtle/aes-cbc-import-key-decrypt-expected.txt: Added.
152         * crypto/workers/subtle/aes-cbc-import-key-decrypt.html: Added.
153         * crypto/workers/subtle/resources/aes-cbc-import-key-decrypt.js: Added.
154         * crypto/workers/subtle/resources/rsa-oaep-import-key-decrypt.js: Added.
155         * crypto/workers/subtle/resources/rsaes-pkcs1-v1_5-import-key-decrypt.js: Added.
156         * crypto/workers/subtle/rsa-oaep-import-key-decrypt-expected.txt: Added.
157         * crypto/workers/subtle/rsa-oaep-import-key-decrypt.html: Added.
158         * crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-decrypt-expected.txt: Added.
159         * crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-decrypt.html: Added.
160
161 2016-11-18  Chris Dumez  <cdumez@apple.com>
162
163         Unreviewed, rolling out r208837.
164
165         The bots did not show a progression
166
167         Reverted changeset:
168
169         "REGRESSION(r208082): 1% Speedometer regression on iOS"
170         https://bugs.webkit.org/show_bug.cgi?id=164852
171         http://trac.webkit.org/changeset/208837
172
173 2016-11-18  Dean Jackson  <dino@apple.com>
174
175         AX: "(inverted-colors)" media query only matches on page reload; should match on change
176         https://bugs.webkit.org/show_bug.cgi?id=163564
177         <rdar://problem/28807350>
178
179         Reviewed by Simon Fraser.
180
181         * fast/media/mq-inverted-colors-live-update-in-subframes-expected.html: Added.
182         * fast/media/mq-inverted-colors-live-update-in-subframes.html: Added.
183         * fast/media/mq-inverted-colors-live-update-expected.html: Added.
184         * fast/media/mq-inverted-colors-live-update.html: Added.
185         * fast/media/mq-monochrome-live-update-expected.html: Added.
186         * fast/media/mq-monochrome-live-update.html: Added.
187         * fast/media/mq-prefers-reduced-motion-live-update-expected.html: Added.
188         * fast/media/mq-prefers-reduced-motion-live-update.html: Added.
189
190 2016-11-18  Myles C. Maxfield  <mmaxfield@apple.com>
191
192         [WebGL2] Implement texStorage2D()
193         https://bugs.webkit.org/show_bug.cgi?id=164493
194
195         Reviewed by Dean Jackson.
196
197         * fast/canvas/webgl/webgl2-texStorage-expected.txt: Added.
198         * fast/canvas/webgl/webgl2-texStorage.html: Added.
199
200 2016-11-17  Alex Christensen  <achristensen@webkit.org>
201
202         Support IDN2008 with UTS #46 instead of IDN2003
203         https://bugs.webkit.org/show_bug.cgi?id=144194
204
205         Reviewed by Darin Adler.
206
207         * fast/encoding/idn-security.html:
208         Move some characters with changed IDN encodings to inside the check for old ICU.
209         * fast/url/idna2003-expected.txt:
210         * fast/url/idna2008-expected.txt:
211         Update expected results.  We are now more compliant with IDN2008.
212
213 2016-11-18  Ryan Haddad  <ryanhaddad@apple.com>
214
215         Marking two js/dom/domjit-function-get-element-by-id-* tests as flaky.
216         https://bugs.webkit.org/show_bug.cgi?id=164797
217
218         Unreviewed test gardening.
219
220         * TestExpectations:
221
222 2016-11-18  Dean Jackson  <dino@apple.com>
223
224         Better testing for accessibility media queries
225         https://bugs.webkit.org/show_bug.cgi?id=164954
226         <rdar://problem/29338292>
227
228         Reviewed by Myles Maxfield.
229
230         * fast/media/mq-inverted-colors-forced-value-expected.html: Added.
231         * fast/media/mq-inverted-colors-forced-value.html: Copied from LayoutTests/fast/media/mq-prefers-reduced-motion-forced-value.html.
232         * fast/media/mq-monochrome-forced-value-expected.html: Added.
233         * fast/media/mq-monochrome-forced-value.html: Added.
234         * fast/media/mq-prefers-reduced-motion-forced-value.html:
235
236 2016-11-18  Ryan Haddad  <ryanhaddad@apple.com>
237
238         Marking http/tests/misc/link-rel-icon-beforeload.html as failing on mac-wk1.
239         https://bugs.webkit.org/show_bug.cgi?id=164933
240
241         Unreviewed test gardening.
242
243         * platform/mac-wk1/TestExpectations:
244
245 2016-11-18  Myles C. Maxfield  <mmaxfield@apple.com>
246
247         Unsupported emoji are invisible
248         https://bugs.webkit.org/show_bug.cgi?id=164944
249         <rdar://problem/28591608>
250
251         Reviewed by Dean Jackson.
252
253         * fast/text/emoji-draws-expected-mismatch.html: Added.
254         * fast/text/emoji-draws.html: Added.
255
256 2016-11-18  Sam Weinig  <sam@webkit.org>
257
258         [WebIDL] Add support for record types
259         https://bugs.webkit.org/show_bug.cgi?id=164935
260
261         Reviewed by Tim Horton.
262
263         * js/dom/webidl-type-mapping-expected.txt:
264         * js/dom/webidl-type-mapping.html:
265         Add tests for WebIDL record types.
266
267 2016-11-17  Jiewen Tan  <jiewen_tan@apple.com>
268
269         Update SubtleCrypto::encrypt to match the latest spec
270         https://bugs.webkit.org/show_bug.cgi?id=164738
271         <rdar://problem/29257812>
272
273         Reviewed by Brent Fulgham.
274
275         * TestExpectations:
276         * crypto/subtle/aes-cbc-encrypt-malformed-parameters-expected.txt: Added.
277         * crypto/subtle/aes-cbc-encrypt-malformed-parameters.html: Added.
278         * crypto/subtle/aes-cbc-import-key-encrypt-expected.txt: Added.
279         * crypto/subtle/aes-cbc-import-key-encrypt.html: Added.
280         * crypto/subtle/encrypt-malformed-parameters-expected.txt: Added.
281         * crypto/subtle/encrypt-malformed-parameters.html: Added.
282         * crypto/subtle/rsa-oaep-encrypt-malformed-parameters-expected.txt: Added.
283         * crypto/subtle/rsa-oaep-encrypt-malformed-parameters.html: Added.
284         * crypto/subtle/rsa-oaep-import-key-encrypt-expected.txt: Added.
285         * crypto/subtle/rsa-oaep-import-key-encrypt-label-expected.txt: Added.
286         * crypto/subtle/rsa-oaep-import-key-encrypt-label.html: Added.
287         * crypto/subtle/rsa-oaep-import-key-encrypt.html: Added.
288         * crypto/subtle/rsaes-pkcs1-v1_5-import-key-encrypt-expected.txt: Added.
289         * crypto/subtle/rsaes-pkcs1-v1_5-import-key-encrypt.html: Added.
290         * crypto/workers/subtle/aes-cbc-import-key-encrypt-expected.txt: Added.
291         * crypto/workers/subtle/aes-cbc-import-key-encrypt.html: Added.
292         * crypto/workers/subtle/resources/aes-cbc-import-key-encrypt.js: Added.
293         * crypto/workers/subtle/resources/rsa-oaep-import-key-encrypt.js: Added.
294         * crypto/workers/subtle/resources/rsaes-pkcs1-v1_5-import-key-encrypt.js: Added.
295         * crypto/workers/subtle/rsa-oaep-import-key-encrypt-expected.txt: Added.
296         * crypto/workers/subtle/rsa-oaep-import-key-encrypt.html: Added.
297         * crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-encrypt-expected.txt: Added.
298         * crypto/workers/subtle/rsaes-pkcs1-v1_5-import-key-encrypt.html: Added.
299
300 2016-11-18  Myles C. Maxfield  <mmaxfield@apple.com>
301
302         [CSS Font Loading] FontFaceSet.load() promises don't always fire
303         https://bugs.webkit.org/show_bug.cgi?id=164902
304
305         Reviewed by David Hyatt.
306
307         * fast/text/fontfaceset-rebuild-during-loading-expected.txt: Added.
308         * fast/text/fontfaceset-rebuild-during-loading.html: Added.
309
310 2016-11-18  Myles C. Maxfield  <mmaxfield@apple.com>
311
312         [SVG -> OTF Font Converter] Fonts advances are not internally consistent inside the generated font file
313         https://bugs.webkit.org/show_bug.cgi?id=164846
314         <rdar://problem/29031509>
315
316         Reviewed by Darin Adler.
317
318         * platform/ios-simulator/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
319         * platform/ios-simulator/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
320         * platform/ios-simulator/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
321         * platform/ios-simulator/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
322         * platform/ios-simulator/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt:
323         * platform/ios-simulator/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt:
324         * platform/ios-simulator/svg/W3C-SVG-1.1/text-intro-02-b-expected.txt:
325         * platform/ios-simulator/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt:
326         * platform/ios-simulator/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt:
327         * platform/ios-simulator/svg/batik/text/textEffect-expected.txt:
328         * platform/ios-simulator/svg/batik/text/textEffect3-expected.txt:
329         * platform/ios-simulator/svg/batik/text/textPosition2-expected.txt:
330         * platform/mac/svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
331         * platform/mac/svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
332         * platform/mac/svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
333         * platform/mac/svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
334         * platform/mac/svg/W3C-SVG-1.1/fonts-elem-07-b-expected.txt:
335         * platform/mac/svg/W3C-SVG-1.1/text-intro-01-t-expected.txt:
336         * platform/mac/svg/W3C-SVG-1.1/text-intro-02-b-expected.txt:
337         * platform/mac/svg/W3C-SVG-1.1/text-intro-03-b-expected.txt:
338         * platform/mac/svg/W3C-SVG-1.1/text-intro-04-t-expected.txt:
339         * platform/mac/svg/batik/text/textEffect3-expected.txt:
340         * platform/mac/svg/batik/text/textPosition2-expected.txt:
341         * platform/mac/svg/custom/svg-fonts-fallback-expected.txt:
342         * platform/mac/svg/wicd/test-rightsizing-b-expected.txt:
343         * svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
344
345 2016-11-18  Joseph Pecoraro  <pecoraro@apple.com>
346
347         Web Inspector: Generator functions should have a displayable name when shown in stack traces
348         https://bugs.webkit.org/show_bug.cgi?id=164844
349         <rdar://problem/29300697>
350
351         Reviewed by Yusuke Suzuki.
352
353         * inspector/debugger/js-stacktrace-expected.txt:
354         * inspector/debugger/js-stacktrace.html:
355         Add a test case for console.trace() / Error stack inside of generators.
356         Modernize the test to reduce redundency and get nicer output.
357
358 2016-11-17  Sam Weinig  <sam@webkit.org>
359
360         [WebIDL] Add support for ByteString
361         https://bugs.webkit.org/show_bug.cgi?id=164901
362
363         Reviewed by Darin Adler.
364
365         * js/dom/webidl-type-mapping-expected.txt:
366         * js/dom/webidl-type-mapping.html:
367         Add tests for ByteString using the new TypeConversions.testByteString attribute.
368
369 2016-11-17  Alex Christensen  <achristensen@webkit.org>
370
371         Implement TextDecoder and TextEncoder
372         https://bugs.webkit.org/show_bug.cgi?id=163771
373
374         Reviewed by Sam Weinig.
375
376         * fast/encoding/utf-8-non-ascii-expected.txt: Added.
377         * fast/encoding/utf-8-non-ascii.html: Added.
378         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
379         * platform/efl/js/dom/global-constructors-attributes-expected.txt:
380         * platform/gtk/js/dom/global-constructors-attributes-expected.txt:
381         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
382         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
383         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
384         * platform/win/js/dom/global-constructors-attributes-expected.txt:
385
386 2016-11-17  Ryan Haddad  <ryanhaddad@apple.com>
387
388         Rebaseline fast/html/keygen.html for Sierra.
389
390         Unreviewed test gardening.
391
392         * platform/mac/fast/html/keygen-expected.txt:
393
394 2016-11-17  Yusuke Suzuki  <utatane.tea@gmail.com>
395
396         [JSC] Drop arguments.caller
397         https://bugs.webkit.org/show_bug.cgi?id=164859
398
399         Reviewed by Saam Barati.
400
401         * js/basic-strict-mode-expected.txt:
402         * js/script-tests/basic-strict-mode.js:
403         * js/script-tests/strict-throw-type-error.js:
404         * js/script-tests/throw-type-error-is-unique.js:
405         (test):
406         * js/strict-throw-type-error-expected.txt:
407
408 2016-11-17  Ryan Haddad  <ryanhaddad@apple.com>
409
410         Update TestExpectations for media/modern-media-controls/pip-support/pip-support-enabled.html.
411         https://bugs.webkit.org/show_bug.cgi?id=164336
412
413         Unreviewed test gardening.
414
415         * platform/mac-wk1/TestExpectations:
416
417 2016-11-17  Ryan Haddad  <ryanhaddad@apple.com>
418
419         Correct a typo in a TestExpectations file.
420
421         Unreviewed test gardening.
422
423         * platform/mac-wk2/TestExpectations:
424
425 2016-11-17  Zalan Bujtas  <zalan@apple.com>
426
427         Render tree should be all clean by the end of FrameView::layout().
428         https://bugs.webkit.org/show_bug.cgi?id=162834
429
430         Reviewed by Simon Fraser.
431
432         * TestExpectations:
433
434 2016-11-17  Brent Fulgham  <bfulgham@apple.com>
435
436         keygen element should not support < 2048 RSA key lengths
437         https://bugs.webkit.org/show_bug.cgi?id=164874
438         <rdar://problem/22618141>
439
440         Reviewed by Dean Jackson.
441
442         * platform/mac/fast/html/keygen-expected.txt:
443         * platform/mac-elcapitan/fast/html/keygen-expected.txt:
444
445 2016-11-17  Devin Rousso  <dcrousso+webkit@gmail.com>
446
447         Web Inspector: Shift clicking on named color value only shows its hex form
448         https://bugs.webkit.org/show_bug.cgi?id=162758
449
450         Reviewed by Timothy Hatcher.
451
452         * inspector/model/color.html:
453         Updated the WebInspector.Color.prototype.nextFormat test for the new nextFormat logic.
454
455 2016-11-17  Ryan Haddad  <ryanhaddad@apple.com>
456
457         Marking http/tests/media/modern-media-controls/skip-back-support/skip-back-support-button-click.html as flaky.
458         https://bugs.webkit.org/show_bug.cgi?id=164616
459
460         Unreviewed test gardening.
461
462         * platform/mac/TestExpectations:
463
464 2016-11-17  Ryan Haddad  <ryanhaddad@apple.com>
465
466         Marking inspector/worker/debugger-multiple-targets-pause.html as flaky.
467         https://bugs.webkit.org/show_bug.cgi?id=164872
468
469         Unreviewed test gardening.
470
471         * platform/mac/TestExpectations:
472
473 2016-11-17  Ryan Haddad  <ryanhaddad@apple.com>
474
475         Marking imported/w3c/web-platform-tests/IndexedDB/idbcursor_iterating.htm as flaky on mac-wk2 debug.
476         https://bugs.webkit.org/show_bug.cgi?id=164870
477
478         Unreviewed test gardening.
479
480         * platform/mac-wk2/TestExpectations:
481
482 2016-11-16  Dave Hyatt  <hyatt@apple.com>
483
484         [CSS Parser] Add @supports, @keyframe and media query parsing options
485         https://bugs.webkit.org/show_bug.cgi?id=164821
486
487         Reviewed by Sam Weinig and Zalan Bujtas.
488
489         Delete the fallback descriptor tests, since that feature has been
490         removed. Update some of the other tests based off some parsing changes
491         from using the new parser always.
492
493         * fast/media/media-descriptor-syntax-01-expected.html: Removed.
494         * fast/media/media-descriptor-syntax-01.html: Removed.
495         * fast/media/media-descriptor-syntax-02-expected.html: Removed.
496         * fast/media/media-descriptor-syntax-02.html: Removed.
497         * fast/media/media-descriptor-syntax-03-expected.html: Removed.
498         * fast/media/media-descriptor-syntax-03.html: Removed.
499         * fast/media/media-descriptor-syntax-04-expected.html: Removed.
500         * fast/media/media-descriptor-syntax-04.html: Removed.
501         * fast/media/media-descriptor-syntax-06-expected.html: Removed.
502         * fast/media/media-descriptor-syntax-06.html: Removed.
503         * fast/media/media-query-list-02-expected.txt:
504         * fast/media/media-query-list-03-expected.txt:
505         * fast/media/media-query-list-04-expected.txt:
506         * fast/media/media-query-list-05-expected.txt:
507         * fast/media/media-query-list-06-expected.txt:
508         * fast/media/mq-pointer-expected.txt:
509         * fast/media/w3c/test_media_queries-expected.txt:
510
511 2016-11-17  Ryan Haddad  <ryanhaddad@apple.com>
512
513         Remove pass expectation for custom-elements tests on ios-sim because CEReactions were disabled in r208837.
514         https://bugs.webkit.org/show_bug.cgi?id=164852
515
516         Unreviewed test gardening.
517
518         * platform/ios-simulator/TestExpectations:
519
520 2016-11-16  Yusuke Suzuki  <utatane.tea@gmail.com>
521
522         [WebCore] Clean up script loading code in XML
523         https://bugs.webkit.org/show_bug.cgi?id=161651
524
525         Reviewed by Ryosuke Niwa.
526
527         Add tests that ensure modules are not executed in XHTML documents.
528
529         * js/dom/modules/module-inline-dynamic-in-xhtml-expected.txt: Added.
530         * js/dom/modules/module-inline-dynamic-in-xhtml.xhtml: Added.
531         * js/dom/modules/module-inline-simple-in-xhtml-expected.txt: Added.
532         * js/dom/modules/module-inline-simple-in-xhtml.xhtml: Added.
533         * js/dom/modules/module-src-dynamic-in-xhtml-expected.txt: Added.
534         * js/dom/modules/module-src-dynamic-in-xhtml.xhtml: Added.
535         * js/dom/modules/module-src-simple-in-xhtml-expected.txt: Added.
536         * js/dom/modules/module-src-simple-in-xhtml.xhtml: Added.
537
538 2016-11-16  Ryosuke Niwa  <rniwa@webkit.org>
539
540         REGRESSION(r208082): 1% Speedometer regression on iOS
541         https://bugs.webkit.org/show_bug.cgi?id=164852
542
543         Reviewed by Chris Dumez.
544
545         Add failing test expectations for various custom elements now that CEReactions is not working.
546
547         * TestExpectations:
548
549 2016-11-16  Alexey Proskuryakov  <ap@apple.com>
550
551         REGRESSION (r208455): LayoutTests swipe/pushState-cached-back-swipe.html and swipe/main-frame-pinning-requirement.html are failing
552         https://bugs.webkit.org/show_bug.cgi?id=164572
553
554         Reviewed by Tim Horton.
555
556         * platform/mac-wk2/TestExpectations: Remove flakiness expectations.
557
558 2016-11-16  Brent Fulgham  <bfulgham@apple.com>
559
560         Clear track client when removing a track
561         https://bugs.webkit.org/show_bug.cgi?id=164842
562         <rdar://problem/29213621>
563
564         Reviewed by Eric Carlson.
565
566         * media/track/audio-track-add-remove-expected.txt: Added.
567         * media/track/audio-track-add-remove.html: Added.
568         * media/track/video-track-add-remove-expected.txt: Added.
569         * media/track/video-track-add-remove.html: Added.
570
571 2016-11-16  Yusuke Suzuki  <utatane.tea@gmail.com>
572
573         [ES6][WebCore] Change ES6_MODULES compile time flag to runtime flag
574         https://bugs.webkit.org/show_bug.cgi?id=164827
575
576         Reviewed by Ryosuke Niwa.
577
578         * TestExpectations:
579
580 2016-11-16  Ryan Haddad  <ryanhaddad@apple.com>
581
582         Marking inspector/worker/debugger-pause.html as flaky.
583         https://bugs.webkit.org/show_bug.cgi?id=164833
584
585         Unreviewed test gardening.
586
587         * platform/mac/TestExpectations:
588
589 2016-11-16  Ryosuke Niwa  <rniwa@webkit.org>
590
591         slotchange event should bubble and dispatched once
592         https://bugs.webkit.org/show_bug.cgi?id=164770
593
594         Reviewed by Antti Koivisto.
595
596         * fast/shadow-dom/slotchange-event-bubbling-expected.txt: Added.
597         * fast/shadow-dom/slotchange-event-bubbling.html: Added.
598
599 2016-11-16  Simon Fraser  <simon.fraser@apple.com>
600
601         UIScriptController: script with no async tasks fails if an earlier script registered a callback
602         https://bugs.webkit.org/show_bug.cgi?id=164762
603
604         Reviewed by Wenson Hsieh.
605         
606         Move the tests that use runUIScript into their own directory for easier TestExpectations management,
607         and fix TestExpectations to match.
608
609         * TestExpectations:
610         * fast/harness/uiscriptcontroller/concurrent-ui-side-scripts-expected.txt: Renamed from LayoutTests/fast/harness/concurrent-ui-side-scripts-expected.txt.
611         * fast/harness/uiscriptcontroller/concurrent-ui-side-scripts.html: Renamed from LayoutTests/fast/harness/concurrent-ui-side-scripts.html.
612         * fast/harness/uiscriptcontroller/ui-side-script-unregister-callback-expected.txt: Copied from LayoutTests/fast/harness/ui-side-script-unregister-callback-expected.txt.
613         * fast/harness/uiscriptcontroller/ui-side-script-unregister-callback.html: Copied from LayoutTests/fast/harness/ui-side-script-unregister-callback.html.
614         * fast/harness/uiscriptcontroller/ui-side-script-with-callback-expected.txt: Renamed from LayoutTests/fast/harness/ui-side-script-unregister-callback-expected.txt.
615         * fast/harness/uiscriptcontroller/ui-side-script-with-callback.html: Renamed from LayoutTests/fast/harness/ui-side-script-unregister-callback.html.
616         * fast/harness/uiscriptcontroller/ui-side-scripts-expected.txt: Renamed from LayoutTests/fast/harness/ui-side-scripts-expected.txt.
617         * fast/harness/uiscriptcontroller/ui-side-scripts.html: Renamed from LayoutTests/fast/harness/ui-side-scripts.html.
618         * platform/mac/TestExpectations:
619
620 2016-11-16  Alex Christensen  <achristensen@webkit.org>
621
622         REGRESSION (r207162): [debug] loader/stateobjects LayoutTests timing out
623         https://bugs.webkit.org/show_bug.cgi?id=163307
624
625         Reviewed by Alexey Proskuryakov.
626
627         * platform/ios-simulator/TestExpectations:
628         * platform/mac/TestExpectations:
629
630 2016-11-16  Alex Christensen  <achristensen@webkit.org>
631
632         Unreviewed gardening.
633         https://bugs.webkit.org/show_bug.cgi?id=163127
634
635         * platform/ios-simulator/TestExpectations:
636         Unskip passing tests.
637
638 2016-11-16  Joseph Pecoraro  <pecoraro@apple.com>
639
640         Fix typo in LayoutTest.
641
642         Unreviewed follow-up comment.
643
644         * inspector/page/setEmulatedMedia-expected.txt:
645         * inspector/page/setEmulatedMedia.html:
646
647 2016-11-16  Yusuke Suzuki  <utatane.tea@gmail.com>
648
649         js/dom/domjit-function-get-element-by-id-licm.html and js/dom/domjit-function-get-element-by-id-changed.html are flaky timeouts
650         https://bugs.webkit.org/show_bug.cgi?id=164797
651
652         Reviewed by Saam Barati.
653
654         The performance of the both tests rely on PureGetById.
655         However, PureGetById is rolled out temporary[1], these tests become timed out.
656         This patch makes the both tests [ PASS TIMEOUT ] until PureGetById patch[1] is
657         relanded or impure object optimization patch[2] is landed.
658
659         [1]: https://bugs.webkit.org/show_bug.cgi?id=163305
660         [2]: https://bugs.webkit.org/show_bug.cgi?id=164175
661
662         * TestExpectations:
663
664 2016-11-16  Jiewen Tan  <jiewen_tan@apple.com>
665
666         Add more tests for SubtleCrypto::importKey and SubtleCrypto::exportKey
667         https://bugs.webkit.org/show_bug.cgi?id=164815
668         <rdar://problem/29281660>
669
670         Reviewed by Brent Fulgham.
671
672         * crypto/subtle/aes-import-jwk-key-export-jwk-key.html: Added.
673         * crypto/subtle/aes-import-jwk-key-export-raw-key.html: Added.
674         * crypto/subtle/aes-import-raw-key-export-jwk-key.html: Added.
675         * crypto/subtle/aes-import-raw-key-export-raw-key.html: Added.
676         * crypto/subtle/hmac-import-jwk-key-export-jwk-key.html: Added.
677         * crypto/subtle/hmac-import-jwk-key-export-raw-key.html: Added.
678         * crypto/subtle/hmac-import-raw-key-export-jwk-key.html: Added.
679         * crypto/subtle/hmac-import-raw-key-export-raw-key.html: Added.
680         * crypto/subtle/rsa-import-jwk-key-export-jwk-key-private.html: Added.
681         * crypto/subtle/rsa-import-jwk-key-export-jwk-key-public.html: Added.
682
683 2016-11-16  Ryan Haddad  <ryanhaddad@apple.com>
684
685         Updating TestExpectations for two http/tests/security/module-crossorigin tests.
686         https://bugs.webkit.org/show_bug.cgi?id=164539
687
688         Unreviewed test gardening.
689
690         * TestExpectations:
691
692 2016-11-16  Daniel Bates  <dabates@apple.com>
693
694         Make test sandbox-should-not-persist-on-navigation.html more representative of real-world scenario
695         https://bugs.webkit.org/show_bug.cgi?id=164752
696
697         Reviewed by Brent Fulgham.
698
699         Modify the test http-0.9/sandbox-should-not-persist-on-navigation.html so that it loads
700         a document on a default port using HTTP 0.9 to trigger the HTTP 0.9 sandbox as this
701         is more representative of a real-world scenario where we want a sandbox to be applied
702         and is the scenario that is currently covered by our HTTP 0.9 sandbox machinery.
703
704         Currently this test makes use of the pre r208549 behavior where the HTTP 0.9 sandbox
705         was applied to a document if one of its subresources loaded on a non-default port
706         using HTTP 0.9 in addition to the behavior where the sandbox is applied to a document
707         that loads on a default port using HTTP 0.9. Following r208549 we no longer apply the
708         sandbox to the document for the former case as this did not improve security much, if
709         any. The latter case is more representative of a real-world scenario where we want to
710         apply the sandbox policy and reflects our behavior following r208549.
711
712         * http/tests/security/http-0.9/resources/nph-sandbox-should-not-persist-on-navigation.pl: Added.
713         * http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation-expected.txt:
714         * http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html:
715         * platform/wk2/TestExpectations: Skip the HTTP-0.9 tests in WebKit2 as it uses internals.registerDefaultPortForProtocol().
716
717 2016-11-16  Ryan Haddad  <ryanhaddad@apple.com>
718
719         Unreviewed, rolling out r208770.
720
721         The test added with this change is timing out on mac-wk1.
722
723         Reverted changeset:
724
725         "UIScriptController: script with no async tasks fails if an
726         earlier script registered a callback"
727         https://bugs.webkit.org/show_bug.cgi?id=164762
728         http://trac.webkit.org/changeset/208770
729
730 2016-11-16  Simon Fraser  <simon.fraser@apple.com>
731
732         Fix typo in bug url.
733
734         * platform/mac/TestExpectations:
735
736 2016-11-16  Romain Bellessort  <romain.bellessort@crf.canon.fr>
737
738         [Readable Streams API] Implement ReadableByteStreamController close()
739         https://bugs.webkit.org/show_bug.cgi?id=164413
740
741         Reviewed by Darin Adler.
742
743         Updated test expectations for close() tests and added tests
744         to ensure errors are thrown in various cases defined by spec.
745
746         * streams/readable-byte-stream-controller.js: Updated.
747
748 2016-11-16  Yusuke Suzuki  <utatane.tea@gmail.com>
749
750         [ES6] Integrate ES6 Modules into WebCore
751         https://bugs.webkit.org/show_bug.cgi?id=148897
752
753         Reviewed by Ryosuke Niwa.
754
755         * TestExpectations:
756         * http/tests/misc/module-absolute-url-expected.txt: Added.
757         * http/tests/misc/module-absolute-url.html: Added.
758         * http/tests/misc/module-script-async-expected.txt: Added.
759         * http/tests/misc/module-script-async.html: Added.
760         * http/tests/misc/resources/module-absolute-url.js: Added.
761         * http/tests/misc/resources/module-absolute-url2.js: Added.
762         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-allowed-expected.txt: Added.
763         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-allowed.html: Added.
764         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-and-scripthash-expected.txt: Added.
765         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-and-scripthash.html: Added.
766         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-basic-blocked-expected.txt: Added.
767         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-basic-blocked.html: Added.
768         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-blocked-expected.txt: Added.
769         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-blocked.html: Added.
770         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-ignore-unsafeinline-expected.txt: Added.
771         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-ignore-unsafeinline.html: Added.
772         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-in-enforced-policy-and-not-in-report-only-expected.txt: Added.
773         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-in-enforced-policy-and-not-in-report-only.html: Added.
774         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy-expected.txt: Added.
775         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy.html: Added.
776         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-invalidnonce-expected.txt: Added.
777         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-invalidnonce.html: Added.
778         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-multiple-policies-expected.txt: Added.
779         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-multiple-policies.html: Added.
780         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect-expected.txt: Added.
781         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect-same-origin-expected.txt: Added.
782         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect-same-origin.html: Added.
783         * http/tests/security/contentSecurityPolicy/1.1/module-scriptnonce-redirect.html: Added.
784         * http/tests/security/contentSecurityPolicy/1.1/resources/module-scriptnonce-in-enforced-policy-and-not-in-report-only.php: Added.
785         * http/tests/security/contentSecurityPolicy/1.1/resources/module-scriptnonce-in-one-enforced-policy-neither-in-another-enforced-policy-nor-report-policy.php: Added.
786         * http/tests/security/contentSecurityPolicy/module-eval-blocked-expected.txt: Added.
787         * http/tests/security/contentSecurityPolicy/module-eval-blocked-in-external-script-expected.txt: Added.
788         * http/tests/security/contentSecurityPolicy/module-eval-blocked-in-external-script.html: Added.
789         * http/tests/security/contentSecurityPolicy/module-eval-blocked.html: Added.
790         * http/tests/security/contentSecurityPolicy/resources/echo-module-script-src.pl: Added.
791         * http/tests/security/contentSecurityPolicy/resources/multiple-iframe-module-test.js: Added.
792         (testPreescapedPolicy):
793         (testExperimentalPolicy):
794         (test):
795         (iframe.onload):
796         (testImpl):
797         (finishTesting):
798         * http/tests/security/module-correct-mime-types-expected.txt: Added.
799         * http/tests/security/module-correct-mime-types.html: Added.
800         * http/tests/security/module-crossorigin-error-event-information-expected.txt: Added.
801         * http/tests/security/module-crossorigin-error-event-information.html: Added.
802         * http/tests/security/module-crossorigin-loads-correctly-credentials-expected.txt: Added.
803         * http/tests/security/module-crossorigin-loads-correctly-credentials.html: Added.
804         * http/tests/security/module-crossorigin-loads-omit-expected.txt: Added.
805         * http/tests/security/module-crossorigin-loads-omit.html: Added.
806         * http/tests/security/module-crossorigin-loads-same-origin-expected.txt: Added.
807         * http/tests/security/module-crossorigin-loads-same-origin.html: Added.
808         * http/tests/security/module-crossorigin-onerror-information-expected.txt: Added.
809         * http/tests/security/module-crossorigin-onerror-information.html: Added.
810         * http/tests/security/module-incorrect-mime-types-expected.txt: Added.
811         * http/tests/security/module-incorrect-mime-types.html: Added.
812         * http/tests/security/module-no-mime-type-expected.txt: Added.
813         * http/tests/security/module-no-mime-type.html: Added.
814         * http/tests/security/resources/cors-script.php:
815         * http/tests/security/resources/module-local-script.js: Added.
816         * js/dom/modules/module-and-dom-content-loaded-expected.txt: Added.
817         * js/dom/modules/module-and-dom-content-loaded.html: Added.
818         * js/dom/modules/module-and-window-load-expected.txt: Added.
819         * js/dom/modules/module-and-window-load.html: Added.
820         * js/dom/modules/module-async-and-window-load-expected.txt: Added.
821         * js/dom/modules/module-async-and-window-load.html: Added.
822         * js/dom/modules/module-document-write-expected.txt: Added.
823         * js/dom/modules/module-document-write-src-expected.txt: Added.
824         * js/dom/modules/module-document-write-src.html: Added.
825         * js/dom/modules/module-document-write.html: Added.
826         * js/dom/modules/module-execution-error-inside-dependent-module-should-be-propagated-to-onerror-expected.txt: Added.
827         * js/dom/modules/module-execution-error-inside-dependent-module-should-be-propagated-to-onerror.html: Added.
828         * js/dom/modules/module-execution-error-should-be-propagated-to-onerror-expected.txt: Added.
829         * js/dom/modules/module-execution-error-should-be-propagated-to-onerror.html: Added.
830         * js/dom/modules/module-execution-order-inline-expected.txt: Added.
831         * js/dom/modules/module-execution-order-inline.html: Added.
832         * js/dom/modules/module-execution-order-mixed-expected.txt: Added.
833         * js/dom/modules/module-execution-order-mixed-with-classic-scripts-expected.txt: Added.
834         * js/dom/modules/module-execution-order-mixed-with-classic-scripts.html: Added.
835         * js/dom/modules/module-execution-order-mixed.html: Added.
836         * js/dom/modules/module-incorrect-relative-specifier-expected.txt: Added.
837         * js/dom/modules/module-incorrect-relative-specifier.html: Added.
838         * js/dom/modules/module-incorrect-tag-expected.txt: Added.
839         * js/dom/modules/module-incorrect-tag.html: Added.
840         * js/dom/modules/module-inline-current-script-expected.txt: Added.
841         * js/dom/modules/module-inline-current-script.html: Added.
842         * js/dom/modules/module-inline-dynamic-expected.txt: Added.
843         * js/dom/modules/module-inline-dynamic.html: Added.
844         * js/dom/modules/module-inline-simple-expected.txt: Added.
845         * js/dom/modules/module-inline-simple.html: Added.
846         * js/dom/modules/module-load-event-expected.txt: Added.
847         * js/dom/modules/module-load-event-with-src-expected.txt: Added.
848         * js/dom/modules/module-load-event-with-src.html: Added.
849         * js/dom/modules/module-load-event.html: Added.
850         * js/dom/modules/module-load-same-module-from-different-entry-point-dynamic-expected.txt: Added.
851         * js/dom/modules/module-load-same-module-from-different-entry-point-dynamic.html: Added.
852         * js/dom/modules/module-load-same-module-from-different-entry-point-expected.txt: Added.
853         * js/dom/modules/module-load-same-module-from-different-entry-point.html: Added.
854         * js/dom/modules/module-not-found-error-event-expected.txt: Added.
855         * js/dom/modules/module-not-found-error-event-with-src-and-import-expected.txt: Added.
856         * js/dom/modules/module-not-found-error-event-with-src-and-import.html: Added.
857         * js/dom/modules/module-not-found-error-event-with-src-expected.txt: Added.
858         * js/dom/modules/module-not-found-error-event-with-src.html: Added.
859         * js/dom/modules/module-not-found-error-event.html: Added.
860         * js/dom/modules/module-src-current-script-expected.txt: Added.
861         * js/dom/modules/module-src-current-script.html: Added.
862         * js/dom/modules/module-src-dynamic-expected.txt: Added.
863         * js/dom/modules/module-src-dynamic.html: Added.
864         * js/dom/modules/module-src-simple-expected.txt: Added.
865         * js/dom/modules/module-src-simple.html: Added.
866         * js/dom/modules/module-type-case-insensitive-expected.txt: Added.
867         * js/dom/modules/module-type-case-insensitive.html: Added.
868         * js/dom/modules/module-will-fire-beforeload-expected.txt: Added.
869         * js/dom/modules/module-will-fire-beforeload.html: Added.
870         * js/dom/modules/script-tests/module-document-write-src.js: Added.
871         * js/dom/modules/script-tests/module-execution-error-inside-dependent-module-should-be-propagated-to-onerror-throw.js: Added.
872         * js/dom/modules/script-tests/module-execution-error-inside-dependent-module-should-be-propagated-to-onerror.js: Added.
873         * js/dom/modules/script-tests/module-execution-order-mixed-2.js: Added.
874         * js/dom/modules/script-tests/module-execution-order-mixed-cappuccino.js: Added.
875         * js/dom/modules/script-tests/module-execution-order-mixed-cocoa.js: Added.
876         * js/dom/modules/script-tests/module-execution-order-mixed-matcha.js: Added.
877         * js/dom/modules/script-tests/module-execution-order-mixed-with-classic-scripts-2.js: Added.
878         * js/dom/modules/script-tests/module-execution-order-mixed-with-classic-scripts-cappuccino.js: Added.
879         * js/dom/modules/script-tests/module-execution-order-mixed-with-classic-scripts-cocoa.js: Added.
880         * js/dom/modules/script-tests/module-execution-order-mixed-with-classic-scripts-matcha.js: Added.
881         * js/dom/modules/script-tests/module-execution-order-mixed-with-classic-scripts.js: Added.
882         * js/dom/modules/script-tests/module-execution-order-mixed.js: Added.
883         * js/dom/modules/script-tests/module-inline-dynamic.js: Added.
884         (export.default.Cocoa.prototype.taste):
885         (export.default.Cocoa):
886         * js/dom/modules/script-tests/module-inline-simple.js: Added.
887         (export.default.Cocoa.prototype.taste):
888         (export.default.Cocoa):
889         * js/dom/modules/script-tests/module-load-event-with-src.js: Added.
890         * js/dom/modules/script-tests/module-load-same-module-from-different-entry-point.js: Added.
891         * js/dom/modules/script-tests/module-not-found-error-event-with-src-and-import.js: Added.
892         * js/dom/modules/script-tests/module-src-current-script.js: Added.
893         * js/dom/modules/script-tests/module-src-dynamic-cocoa.js: Added.
894         (Cocoa.prototype.taste):
895         (Cocoa):
896         * js/dom/modules/script-tests/module-src-dynamic.js: Added.
897         * js/dom/modules/script-tests/module-src-simple-cocoa.js: Added.
898         (Cocoa.prototype.taste):
899         (Cocoa):
900         * js/dom/modules/script-tests/module-src-simple.js: Added.
901         * js/dom/modules/script-tests/module-will-fire-beforeload.js: Added.
902
903 2016-11-15  Joseph Pecoraro  <pecoraro@apple.com>
904
905         Web Inspector: Preview other CSS @media in browser window (print)
906         https://bugs.webkit.org/show_bug.cgi?id=13530
907         <rdar://problem/5712928>
908
909         Reviewed by Timothy Hatcher.
910
911         * inspector/page/media-query-list-listener-exception-expected.txt: Copied from LayoutTests/inspector/page/setEmulatedMedia-expected.txt.
912         * inspector/page/media-query-list-listener-exception.html: Copied from LayoutTests/inspector/page/setEmulatedMedia.html.
913         Rename this test which is about swallowing exceptions and happened to use inspector code.
914
915         * inspector/page/setEmulatedMedia-expected.txt:
916         * inspector/page/setEmulatedMedia.html:
917         Test for Page.setEmulatedMedia command.
918
919 2016-11-15  Jon Lee  <jonlee@apple.com>
920
921         Report active video and audio capture devices separately
922         https://bugs.webkit.org/show_bug.cgi?id=164769
923
924         Reviewed by Eric Carlson.
925
926         * fast/mediastream/MediaStream-page-muted-expected.txt: Update test.
927         * fast/mediastream/MediaStream-page-muted.html:
928
929 2016-11-15  Ryan Haddad  <ryanhaddad@apple.com>
930
931         Marking js/regress-141098.html as flaky on ios-simulator.
932         https://bugs.webkit.org/show_bug.cgi?id=163046
933
934         Unreviewed test gardening.
935
936         * platform/ios-simulator/TestExpectations:
937
938 2016-11-15  Brady Eidson  <beidson@apple.com>
939
940         IndexedDB 2.0: Key collation during SQLite lookups is insanely slow.
941         https://bugs.webkit.org/show_bug.cgi?id=164754
942
943         Reviewed by Alex Christensen.
944
945         * TestExpectations: Unskip a test that passes even in debug builds, and re-classify
946           a test that used to be too-slow everywhere to be too-slow only in debug builds.
947
948 2016-11-15  Simon Fraser  <simon.fraser@apple.com>
949
950         UIScriptController: script with no async tasks fails if an earlier script registered a callback
951         https://bugs.webkit.org/show_bug.cgi?id=164762
952
953         Reviewed by Wenson Hsieh.
954
955         * fast/harness/ui-side-script-with-callback-expected.txt: Added.
956         * fast/harness/ui-side-script-with-callback.html: Added.
957
958 2016-11-15  Simon Fraser  <simon.fraser@apple.com>
959
960         UIScriptController: setting a callback to undefined should unregister it
961         https://bugs.webkit.org/show_bug.cgi?id=164796
962
963         Reviewed by Dean Jackson.
964
965         * fast/harness/ui-side-script-unregister-callback-expected.txt: Added.
966         * fast/harness/ui-side-script-unregister-callback.html: Added.
967
968 2016-11-15  Ryan Haddad  <ryanhaddad@apple.com>
969
970         Marking http/tests/cache/disk-cache/disk-cache-remove-several-pending-writes.html as flaky.
971         https://bugs.webkit.org/show_bug.cgi?id=161650
972
973         Unreviewed test gardening.
974
975         * platform/mac/TestExpectations:
976
977 2016-11-15  Ryan Haddad  <ryanhaddad@apple.com>
978
979         Skip fast/forms/search-cancel-button-change-input.html on ios-simulator since the test relies upon mouse events.
980
981         Unreviewed test gardening.
982
983         * platform/ios-simulator/TestExpectations:
984
985 2016-11-15  Filip Pizlo  <fpizlo@apple.com>
986
987         [mac-wk1 debug] ASSERTION FAILED: thisObject->m_propertyTableUnsafe
988         https://bugs.webkit.org/show_bug.cgi?id=162986
989
990         Reviewed by Saam Barati.
991         
992         This test should not crash anymore.
993
994         * platform/mac-wk1/TestExpectations:
995
996 2016-11-15  Jiewen Tan  <jiewen_tan@apple.com>
997
998         js-test-pre.js::shouldReject doesn't need _rejectCallback and _resolveCallback
999         https://bugs.webkit.org/show_bug.cgi?id=164758
1000
1001         Reviewed by Youenn Fablet.
1002
1003         Since the function returns a promise, it doesn't need _rejectCallback and _resolveCallback.
1004
1005         * crypto/subtle/generate-key-malformed-parameters.html:
1006         * crypto/subtle/rsa-generate-key-malformed-parameters.html:
1007         * crypto/workers/subtle/resources/rsa-generate-key.js:
1008         * crypto/workers/subtle/rsa-generate-key-expected.txt:
1009         * resources/js-test-pre.js:
1010
1011 2016-11-15  Joseph Pecoraro  <pecoraro@apple.com>
1012
1013         Web Inspector: inspector/worker/debugger-pause.html fails on WebKit1
1014         https://bugs.webkit.org/show_bug.cgi?id=164787
1015
1016         Reviewed by Timothy Hatcher.
1017
1018         * inspector/worker/debugger-pause.html:
1019         Make this test work for WebKit1 where the VM is shared between the
1020         page and inspector page. We need to be able to stop the Inspector's
1021         evaluation, so that we can evaluate and pause on the page, and then
1022         come back to the inspector afterwards.
1023
1024 2016-11-15  Simon Fraser  <simon.fraser@apple.com>
1025
1026         [iOS WK2] Implement support for visual viewports
1027         https://bugs.webkit.org/show_bug.cgi?id=164765
1028
1029         Reviewed by Tim Horton.
1030
1031         Adopt the visual viewport scrolling model in iOS WK2.
1032         
1033         These tests don't correctly test iOS WK2's async scrolling behavior (webkit.org/b/164779)
1034         so rebaseline.
1035
1036         * platform/ios-simulator-wk2/fast/visual-viewport/nonzoomed-rects-expected.txt: Added.
1037         * platform/ios-simulator-wk2/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt: Added.
1038         * platform/ios-simulator-wk2/fast/visual-viewport/rtl-zoomed-rects-expected.txt: Added.
1039         * platform/ios-simulator-wk2/fast/visual-viewport/zoomed-fixed-expected.txt: Added.
1040         * platform/ios-simulator-wk2/fast/visual-viewport/zoomed-fixed-scroll-down-then-up-expected.txt: Added.
1041         * platform/ios-simulator-wk2/fast/visual-viewport/zoomed-rects-expected.txt: Added.
1042
1043 2016-11-14  Brent Fulgham  <bfulgham@apple.com>
1044
1045         Correct handling of changing input type
1046         https://bugs.webkit.org/show_bug.cgi?id=164759
1047         <rdar://problem/29211174>
1048
1049         Reviewed by Darin Adler.
1050
1051         * fast/forms/search-cancel-button-change-input-expected.txt: Added.
1052         * fast/forms/search-cancel-button-change-input.html: Added.
1053
1054 2016-11-15  Antti Koivisto  <antti@apple.com>
1055
1056         slot doesn't work as a flex container
1057         https://bugs.webkit.org/show_bug.cgi?id=160740
1058         <rdar://problem/28605080>
1059
1060         Reviewed by Ryosuke Niwa.
1061
1062         * fast/shadow-dom/css-scoping-slot-flex-expected.html: Added.
1063         * fast/shadow-dom/css-scoping-slot-flex.html: Added.
1064         * fast/shadow-dom/slot-crash-expected.txt:
1065
1066 2016-11-15  Joanmarie Diggs  <jdiggs@igalia.com>
1067
1068         AX: Need to update implicit/default values for aria-valuemin, aria-valuenow, and aria-valuemax
1069         https://bugs.webkit.org/show_bug.cgi?id=164773
1070
1071         Reviewed by Chris Fleizach.
1072
1073         * accessibility/progressbar-expected.txt: Updated to reflect new behavior.
1074         * accessibility/progressbar.html: Updated to reflect new behavior.
1075         * accessibility/spinbutton-implicit-values-expected.txt: Added.
1076         * accessibility/spinbutton-implicit-values.html: Added.
1077
1078 2016-11-14  Jiewen Tan  <jiewen_tan@apple.com>
1079
1080         Update SubtleCrypto::exportKey to match the latest spec
1081         https://bugs.webkit.org/show_bug.cgi?id=164722
1082         <rdar://problem/29251740>
1083
1084         Reviewed by Brent Fulgham.
1085
1086         Besides adding test cases for SubtleCrypto::exportKey, this patch also corrects a typo:
1087         hmac-import-malformed-parameters* => hmac-import-key-malformed-parameters*.
1088
1089         * crypto/subtle/aes-cbc-generate-export-key-jwk-length-128-expected.txt: Added.
1090         * crypto/subtle/aes-cbc-generate-export-key-jwk-length-128.html: Added.
1091         * crypto/subtle/aes-cbc-generate-export-key-jwk-length-192-expected.txt: Added.
1092         * crypto/subtle/aes-cbc-generate-export-key-jwk-length-192.html: Added.
1093         * crypto/subtle/aes-cbc-generate-export-key-jwk-length-256-expected.txt: Added.
1094         * crypto/subtle/aes-cbc-generate-export-key-jwk-length-256.html: Added.
1095         * crypto/subtle/aes-cbc-generate-export-key-raw-expected.txt: Added.
1096         * crypto/subtle/aes-cbc-generate-export-key-raw.html: Added.
1097         * crypto/subtle/aes-export-key-malformed-parameters-expected.txt: Added.
1098         * crypto/subtle/aes-export-key-malformed-parameters.html: Added.
1099         * crypto/subtle/aes-kw-generate-export-key-jwk-length-128-expected.txt: Added.
1100         * crypto/subtle/aes-kw-generate-export-key-jwk-length-128.html: Added.
1101         * crypto/subtle/aes-kw-generate-export-key-jwk-length-192-expected.txt: Added.
1102         * crypto/subtle/aes-kw-generate-export-key-jwk-length-192.html: Added.
1103         * crypto/subtle/aes-kw-generate-export-key-jwk-length-256-expected.txt: Added.
1104         * crypto/subtle/aes-kw-generate-export-key-jwk-length-256.html: Added.
1105         * crypto/subtle/aes-kw-generate-export-raw-key-expected.txt: Added.
1106         * crypto/subtle/aes-kw-generate-export-raw-key.html: Added.
1107         * crypto/subtle/export-key-malformed-parameters-expected.txt: Added.
1108         * crypto/subtle/export-key-malformed-parameters.html: Added.
1109         * crypto/subtle/hmac-export-key-malformed-parameters-expected.txt: Added.
1110         * crypto/subtle/hmac-export-key-malformed-parameters.html: Added.
1111         * crypto/subtle/hmac-generate-export-key-jwk-sha1-expected.txt: Added.
1112         * crypto/subtle/hmac-generate-export-key-jwk-sha1.html: Added.
1113         * crypto/subtle/hmac-generate-export-key-jwk-sha224-expected.txt: Added.
1114         * crypto/subtle/hmac-generate-export-key-jwk-sha224.html: Added.
1115         * crypto/subtle/hmac-generate-export-key-jwk-sha256-expected.txt: Added.
1116         * crypto/subtle/hmac-generate-export-key-jwk-sha256.html: Added.
1117         * crypto/subtle/hmac-generate-export-key-jwk-sha384-expected.txt: Added.
1118         * crypto/subtle/hmac-generate-export-key-jwk-sha384.html: Added.
1119         * crypto/subtle/hmac-generate-export-key-jwk-sha512-expected.txt: Added.
1120         * crypto/subtle/hmac-generate-export-key-jwk-sha512.html: Added.
1121         * crypto/subtle/hmac-generate-export-raw-key-expected.txt: Added.
1122         * crypto/subtle/hmac-generate-export-raw-key.html: Added.
1123         * crypto/subtle/hmac-import-key-malformed-parameters-expected.txt: Renamed from LayoutTests/crypto/subtle/hmac-import-malformed-parameters-expected.txt.
1124         * crypto/subtle/hmac-import-key-malformed-parameters.html: Renamed from LayoutTests/crypto/subtle/hmac-import-malformed-parameters.html.
1125         * crypto/subtle/rsa-export-key-malformed-parameters-expected.txt: Added.
1126         * crypto/subtle/rsa-export-key-malformed-parameters.html: Added.
1127         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha1-expected.txt: Added.
1128         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha1.html: Added.
1129         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha224-expected.txt: Added.
1130         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha224.html: Added.
1131         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha256-expected.txt: Added.
1132         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha256.html: Added.
1133         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha384-expected.txt: Added.
1134         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha384.html: Added.
1135         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha512-expected.txt: Added.
1136         * crypto/subtle/rsa-oaep-generate-export-key-jwk-sha512.html: Added.
1137         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-jwk-expected.txt: Added.
1138         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-jwk.html: Added.
1139         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha1-expected.txt: Added.
1140         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha1.html: Added.
1141         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha224-expected.txt: Added.
1142         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha224.html: Added.
1143         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha256-expected.txt: Added.
1144         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha256.html: Added.
1145         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha384-expected.txt: Added.
1146         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha384.html: Added.
1147         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha512-expected.txt: Added.
1148         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-jwk-sha512.html: Added.
1149         * crypto/workers/subtle/aes-generate-export-key-jwk-expected.txt: Added.
1150         * crypto/workers/subtle/aes-generate-export-key-jwk.html: Added.
1151         * crypto/workers/subtle/aes-generate-export-key-raw-expected.txt: Added.
1152         * crypto/workers/subtle/aes-generate-export-key-raw.html: Added.
1153         * crypto/workers/subtle/hmac-generate-export-key-jwk-expected.txt: Added.
1154         * crypto/workers/subtle/hmac-generate-export-key-jwk.html: Added.
1155         * crypto/workers/subtle/hmac-generate-export-key-raw-expected.txt: Added.
1156         * crypto/workers/subtle/hmac-generate-export-key-raw.html: Added.
1157         * crypto/workers/subtle/resources/aes-generate-export-key-jwk.js: Added.
1158         * crypto/workers/subtle/resources/aes-generate-export-key-raw.js: Added.
1159         * crypto/workers/subtle/resources/hmac-generate-export-key-jwk.js: Added.
1160         * crypto/workers/subtle/resources/hmac-generate-export-key-raw.js: Added.
1161         * crypto/workers/subtle/resources/rsa-generate-export-key-jwk.js: Added.
1162         * crypto/workers/subtle/rsa-generate-export-key-jwk-expected.txt: Added.
1163         * crypto/workers/subtle/rsa-generate-export-key-jwk.html: Added.
1164
1165 2016-11-15  Jon Lee  <jonlee@apple.com>
1166
1167         Remove HasMediaCaptureDevice
1168         https://bugs.webkit.org/show_bug.cgi?id=164767
1169         <rdar://problem/29263696>
1170
1171         Reviewed by Eric Carlson.
1172
1173         * fast/mediastream/MediaStream-page-muted-expected.txt: Remove check for HasMediaCaptureDevice.
1174         * fast/mediastream/MediaStream-page-muted.html:
1175
1176 2016-11-14  Dave Hyatt  <hyatt@apple.com>
1177
1178         [CSS Parser] Fix font-synthesis and text-decoration-skip parsing
1179         https://bugs.webkit.org/show_bug.cgi?id=164736
1180
1181         Reviewed by Dean Jackson.
1182
1183         * fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-roundtrip-expected.txt:
1184         * fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-roundtrip.html:
1185         * fast/css3-text/font-synthesis-parse-expected.txt:
1186         * fast/css3-text/font-synthesis-parse.html:
1187
1188 2016-11-15  Daniel Bates  <dabates@apple.com>
1189
1190         Disallow loads using HTTP 0.9 at the ResourceHandle/NetworkDataTask level
1191         https://bugs.webkit.org/show_bug.cgi?id=164662
1192         <rdar://problem/29268514>
1193
1194         Reviewed by Reviewed by Alex Christensen and Brady Eidson.
1195
1196         Add a test to ensure that we block a synchronous XHR load using HTTP 0.9.
1197         Renamed test image-default-port-blocked.html to image-default-port-allowed.html
1198         as we now allow a subresource load using HTTP 0.9 on a default port regardless
1199         of the HTTP version the embedding page used.
1200
1201         Update test expectations as DRT/WTR do not emit a localized description for the
1202         error associated with a load failure. Note that a message is emitted to
1203         Web Inspector console.
1204
1205         * http/tests/security/http-0.9/iframe-blocked-expected.txt:
1206         * http/tests/security/http-0.9/iframe-blocked.html: Dump frame load callbacks
1207         to see that load was cancelled as there is no other unique visible indication
1208         of success.
1209         * http/tests/security/http-0.9/image-blocked-expected.txt: Update expected result.
1210         * http/tests/security/http-0.9/image-default-port-allowed-expected.txt: Renamed from LayoutTests/http/tests/security/http-0.9/image-default-port-blocked-expected.txt.
1211         * http/tests/security/http-0.9/image-default-port-allowed.html: Renamed from LayoutTests/http/tests/security/http-0.9/image-default-port-blocked.html.
1212         * http/tests/security/http-0.9/image-on-HTTP-0.9-page-blocked-expected.txt: Update expected result.
1213         * http/tests/security/http-0.9/image-on-HTTP-0.9-page-blocked.html: Ditto.
1214         * http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation-expected.txt: Ditto.
1215         * http/tests/security/http-0.9/worker-connect-src-blocked-expected.txt: Ditto.
1216         * http/tests/security/http-0.9/worker-importScripts-blocked-expected.txt: Ditto.
1217         * http/tests/security/http-0.9/xhr-asynchronous-blocked-expected.txt: Ditto.
1218         * http/tests/security/http-0.9/xhr-blocked-expected.txt: Added.
1219         * http/tests/security/http-0.9/xhr-blocked.html: Added.
1220         * platform/wk2/TestExpectations: Skip the HTTP-0.9 tests in WebKit2 that use internals.registerDefaultPortForProtocol().
1221         The function internals.registerDefaultPortForProtocol only updates the default-port-to-protocol map in the WebContent
1222         process. However network loads in WebKit2 occur in the NetworkProcess. Further investigation is needed to determine
1223         the best way to support testing with default ports. Ideally, we would run an HTTP server on port 80 for testing and
1224         remove the need for internals.registerDefaultPortForProtocol().
1225
1226 2016-11-15  Zalan Bujtas  <zalan@apple.com>
1227
1228         [MultiCol] Render tree should be all clean by the end of FrameView::layout().
1229         https://bugs.webkit.org/show_bug.cgi?id=162833
1230
1231         Reviewed by Simon Fraser.
1232
1233         This patch actually fixes the renderering of the closing quotation mark. Currently, it is
1234         not rendered at all.
1235
1236         * fast/inline/out-of-flow-quotation-text-with-multicolumn-expected.html: Added.
1237         * fast/inline/out-of-flow-quotation-text-with-multicolumn.html: Added.
1238
1239 2016-11-15  Alejandro G. Castro  <alex@igalia.com>
1240
1241         WebRTC: update MediaStream-MediaElement-srcObject.html test and unskip it
1242         https://bugs.webkit.org/show_bug.cgi?id=159343
1243
1244         Reviewed by Philippe Normand.
1245
1246         Update the test to use the getUserMedia API and unskip it.
1247
1248         * fast/mediastream/MediaStream-MediaElement-srcObject-expected.txt:
1249         Update the result of using the getUserMedia API.
1250         * fast/mediastream/MediaStream-MediaElement-srcObject.html: Use
1251         the getUserMedia API from the helper.
1252         * platform/gtk/TestExpectations: Unskip the test.
1253         * platform/mac/TestExpectations: Unskip the test.
1254
1255 2016-11-14  Joseph Pecoraro  <pecoraro@apple.com>
1256
1257         Web Inspector: Worker debugging should pause all targets and view call frames in all targets
1258         https://bugs.webkit.org/show_bug.cgi?id=164305
1259         <rdar://problem/29056192>
1260
1261         Reviewed by Timothy Hatcher.
1262
1263         * inspector/debugger/continueUntilNextRunLoop-expected.txt: Added.
1264         * inspector/debugger/continueUntilNextRunLoop.html: Added.
1265         New test for new Debugger.continueUntilNextRunLoop protocol method.
1266
1267         * inspector/worker/debugger-multiple-targets-pause-expected.txt: Added.
1268         * inspector/worker/debugger-multiple-targets-pause.html: Added.
1269         * inspector/worker/resources/worker-debugger-thread-1.js: Added.
1270         * inspector/worker/resources/worker-debugger-thread-2.js: Added.
1271         This tests uses a 250ms timeout because we have to have the worker thread
1272         evaluate some work and trigger a pause on other threads before their work
1273         starts. On debug builds, shorter times, like 100ms, would not be enough.
1274
1275         * inspector/worker/debugger-pause-expected.txt:
1276         * inspector/worker/debugger-pause.html:
1277         Now that all threads pause, the first InspectorTest.log evaluates JavaScript on
1278         the page and causes a pause. So make the first log empty to keep the test unchanged.
1279
1280         * inspector/worker/runtime-basic-expected.txt:
1281         * inspector/unit-tests/target-manager-expected.txt:
1282         Updated display name of the mainTarget.
1283
1284 2016-11-14  Myles C. Maxfield  <mmaxfield@apple.com>
1285
1286         [WebGL2] Teach WebGLRenderingContextBase about new texture internal formats
1287         https://bugs.webkit.org/show_bug.cgi?id=164525
1288
1289         Reviewed by Dean Jackson.
1290
1291         Test texture types without drawing. Instead, attach a texture to a framebuffer and
1292         use readPixels() to make sure the texture retains its data.
1293
1294         * fast/canvas/webgl/webgl2-texture-upload-enums-expected.txt: Added.
1295         * fast/canvas/webgl/webgl2-texture-upload-enums.html: Added.
1296
1297 2016-11-14  Ryosuke Niwa  <rniwa@webkit.org>
1298
1299         document.createElementNS doesn't construct a custom element
1300         https://bugs.webkit.org/show_bug.cgi?id=164700
1301
1302         Reviewed by Darin Adler.
1303
1304         Added W3C style testharness.js tests for createElementNS and DOMImplementation's createDocument.
1305
1306         * fast/custom-elements/DOMImplementation-createDocument-expected.txt: Added.
1307         * fast/custom-elements/DOMImplementation-createDocument.html: Added.
1308         * fast/custom-elements/document-createElementNS-expected.txt: Added.
1309         * fast/custom-elements/document-createElementNS.html: Added.
1310
1311 2016-11-14  Dean Jackson  <dino@apple.com>
1312
1313         Handle filter() image type in new CSS Parser
1314         https://bugs.webkit.org/show_bug.cgi?id=164673
1315         <rdar://problems/29231376>
1316
1317         Reviewed by Darin Adler.
1318
1319         Remove the test that allows a string value for the
1320         image source rather than a url().
1321
1322         * fast/filter-image/filter-image-animation-expected.txt:
1323         * fast/filter-image/filter-image-animation.html:
1324
1325 2016-11-14  Joanmarie Diggs  <jdiggs@igalia.com>
1326
1327         AX: In ARIA 1.1, the implicit value for aria-level on headings is 2
1328         https://bugs.webkit.org/show_bug.cgi?id=164714
1329
1330         Reviewed by Chris Fleizach.
1331
1332         Added new test case to existing test and updated expectations.
1333
1334         * accessibility/gtk/xml-roles-exposed-expected.txt: Updated.
1335         * accessibility/heading-level-expected.txt: Updated.
1336         * accessibility/heading-level.html: New test case added.
1337
1338 2016-11-14  Dave Hyatt  <hyatt@apple.com>
1339
1340         [CSS Parser] Remove incorrect cursor result
1341         https://bugs.webkit.org/show_bug.cgi?id=164717
1342
1343         Reviewed by Dean Jackson.
1344
1345         * fast/css/cursor-parsing-expected.txt:
1346         * fast/css/cursor-parsing.html:
1347
1348 2016-11-14  Youenn Fablet  <youenn@apple.com>
1349
1350         Refresh RTCDataChannel abstract infrastructure
1351         https://bugs.webkit.org/show_bug.cgi?id=164680
1352
1353         Reviewed by Darin Adler.
1354
1355         * fast/mediastream/RTCPeerConnection-datachannel-expected.txt:
1356         * fast/mediastream/RTCPeerConnection-datachannel.html:
1357         * platform/mac/TestExpectations:
1358
1359 2016-11-14  David Kilzer  <ddkilzer@apple.com>
1360
1361         REGRESSION (r83521): Fix malformed <canvas> tag in fast/canvas/DrawImageSinglePixelStretch.html
1362
1363         Unreviewed.
1364
1365         Before: <canvas id="c"</canvas>
1366         Parsed: <canvas id="c" <="" canvas="" width="200" height="50"></canvas>
1367
1368         After:  <canvas id="c"></canvas>
1369         Parsed: <canvas id="c" width="200" height="50"></canvas>
1370
1371         * fast/canvas/DrawImageSinglePixelStretch.html: Close <canvas>
1372         tag.  This does not affect test results, but the HTML5 parser
1373         was covering for this mistake.
1374
1375 2016-11-14  David Kilzer  <ddkilzer@apple.com>
1376
1377         Bug 164702: WebContent crash due to checked unsigned overflow in WebCore: WebCore::RenderLayerCompositor::requiresCompositingLayer const + 1104
1378         <https://webkit.org/b/164702>
1379         <rdar://problem/29236368>
1380
1381         Reviewed by Darin Adler.
1382
1383         * inspector/layers/layers-compositing-reasons-expected.txt:
1384         Update results.
1385         * inspector/layers/layers-compositing-reasons.html: Update to
1386         reproduce the crash.  This does not reproduce the original crash
1387         stack, but does exercise the same crashing code.
1388
1389 2016-11-14  Joanmarie Diggs  <jdiggs@igalia.com>
1390
1391         AX: [ATK] Expose STATE_SINGLE_LINE and STATE_MULTI_LINE for ARIA searchbox role
1392         https://bugs.webkit.org/show_bug.cgi?id=164712
1393
1394         Reviewed by Chris Fleizach.
1395
1396         * accessibility/gtk/singleline-and-multiline-expected.txt: Added.
1397         * accessibility/gtk/singleline-and-multiline.html: Added.
1398
1399 2016-11-13  Fujii Hironori  <Hironori.Fujii@sony.com>
1400
1401         [HarfBuzz] HarfBuzzShaper should not assume numGlyphs is greater than 0
1402         https://bugs.webkit.org/show_bug.cgi?id=164500
1403
1404         Reviewed by Myles C. Maxfield.
1405
1406         * fast/text/international/harfbuzz-runs-with-no-glyph-expected.txt: Added.
1407         * fast/text/international/harfbuzz-runs-with-no-glyph.html: Added.
1408         * fast/text/international/resources/ignorables.woff: Added.
1409
1410 2016-11-13  Chris Dumez  <cdumez@apple.com>
1411
1412         REGRESSION (204441): newsplex.com map does not load
1413         https://bugs.webkit.org/show_bug.cgi?id=164705
1414         <rdar://problem/28753438>
1415
1416         Reviewed by Darin Adler.
1417
1418         * fast/dom/getElementsByTagName-HTMLElement-prefix-expected.txt: Added.
1419         * fast/dom/getElementsByTagName-HTMLElement-prefix.html: Added.
1420
1421 2016-11-12  Simon Fraser  <simon.fraser@apple.com>
1422
1423         Add a way to get the UI-side scrolling tree as text via UIScriptController
1424         https://bugs.webkit.org/show_bug.cgi?id=164697
1425
1426         Reviewed by Zalan Bujtas.
1427
1428         Add a test that dumps the scrolling state tree with a fixed element.
1429
1430         * scrollingcoordinator/ios/ui-scrolling-tree-expected.txt: Added.
1431         * scrollingcoordinator/ios/ui-scrolling-tree.html: Added.
1432
1433 2016-11-12  Simon Fraser  <simon.fraser@apple.com>
1434
1435         [iOS WK2] Share some code with Mac for post-async-scroll state reconciliation
1436         https://bugs.webkit.org/show_bug.cgi?id=164694
1437
1438         Reviewed by Zalan Bujtas.
1439
1440         Test that pans the page, and dumps GraphicsLayers before letting go.
1441
1442         * TestExpectations:
1443         * platform/ios-simulator-wk2/TestExpectations:
1444         * scrollingcoordinator/ios/sync-layer-positions-after-scroll-expected.txt: Added.
1445         * scrollingcoordinator/ios/sync-layer-positions-after-scroll.html: Added.
1446
1447 2016-11-12  Frederic Wang  <fwang@igalia.com>
1448
1449         Ensure MathML render tree are clean by the end of FrameView::layout().
1450         https://bugs.webkit.org/show_bug.cgi?id=162824
1451
1452         Reviewed by Darin Adler.
1453
1454         * mathml/invalid-markup-expected.txt: Added.
1455         * mathml/invalid-markup.html: Added.
1456         * mathml/mn-as-list-item-assert-expected.txt: Update text expectation now that invalid
1457         subtree appears in the output.
1458         * mathml/msubsup-fuzz-expected.txt: Ditto.
1459         * accessibility/mac/mathml-multiscript.txt: Ditto.
1460
1461 2016-11-11  Ryosuke Niwa  <rniwa@webkit.org>
1462
1463         event.composedPath() does not include window
1464         https://bugs.webkit.org/show_bug.cgi?id=164609
1465         <rdar://problem/29210383>
1466
1467         Reviewed by Antti Koivisto.
1468
1469         Added a W3C style testharness.js test for dispatching an inside a shadow tree connected to a document.
1470
1471         * fast/shadow-dom/event-path-with-window-expected.txt: Added.
1472         * fast/shadow-dom/event-path-with-window.html: Added.
1473         * fast/shadow-dom/resources/event-path-test-helpers.js:
1474         (dispatchEventWithLog): Traverse from document to window. Also include the event object in the log.
1475
1476 2016-11-11  Joseph Pecoraro  <pecoraro@apple.com>
1477
1478         test262: DataView get methods should allow for missing offset, set methods should allow for missing value
1479         https://bugs.webkit.org/show_bug.cgi?id=164451
1480
1481         Reviewed by Darin Adler.
1482
1483         * fast/canvas/webgl/data-view-test-expected.txt:
1484         * fast/canvas/webgl/data-view-test.html:
1485         Create a DataView large enough so that the get/set operations don't fail
1486         due to out of bounds access, and assert that they do not throw, because
1487         the undefined offset and value parameters get converted to 0.
1488
1489         * webgl/1.0.2/conformance/typedarrays/data-view-test-expected.txt:
1490         This test is wrong. Leave the test alone but update our copy.
1491
1492 2016-11-11  Ryan Haddad  <ryanhaddad@apple.com>
1493
1494         Skip editing/input/focus-change-with-marked-text.html everywhere except ios-simulator-wk1.
1495         https://bugs.webkit.org/show_bug.cgi?id=164666
1496
1497         Unreviewed test gardening.
1498
1499         * TestExpectations:
1500         * platform/ios-simulator-wk1/TestExpectations:
1501         * platform/ios-simulator-wk2/TestExpectations:
1502         * platform/mac/TestExpectations:
1503
1504 2016-11-11  Ryosuke Niwa  <rniwa@webkit.org>
1505
1506         Hovering over a slotted Text node clears hover state
1507         https://bugs.webkit.org/show_bug.cgi?id=164002
1508         <rdar://problem/29040471>
1509
1510         Reviewed by Simon Fraser.
1511
1512         Added two reference tests for activating and hovering over a Text node.
1513         The text node should activate :hover and :activate rules in the shadow tree respectively.
1514
1515         * fast/shadow-dom/activate-over-slotted-content-expected.html: Added.
1516         * fast/shadow-dom/activate-over-slotted-content.html: Added.
1517         * fast/shadow-dom/hover-over-slotted-content-expected.html: Added.
1518         * fast/shadow-dom/hover-over-slotted-content.html: Added.
1519         * platform/ios-simulator/TestExpectations: Skip the newly added tests since iOS doesn't
1520         support :hover or :activate via mouse down.
1521
1522 2016-11-11  Brent Fulgham  <bfulgham@apple.com>
1523
1524         Neutered ArrayBuffers are not properly serialized
1525         https://bugs.webkit.org/show_bug.cgi?id=164647
1526         <rdar://problem/29213490>
1527
1528         Reviewed by David Kilzer.
1529
1530         * fast/canvas/neutered-imagedata-expected.txt: Added.
1531         * fast/canvas/neutered-imagedata.html: Added.
1532
1533 2016-11-11  Wenson Hsieh  <wenson_hsieh@apple.com>
1534
1535         [WK2] autocorrect and autocapitalize attributes do not work in contenteditable elements
1536         https://bugs.webkit.org/show_bug.cgi?id=164538
1537         <rdar://problem/8418711>
1538
1539         Reviewed by Ryosuke Niwa.
1540
1541         Adds new layout tests verifying that `autocorrect` and `autocapitalize` attributes can be used to opt out of
1542         autocapitalization and autocorrection in a contenteditable area in WK2. Additionally, tests that autocorrection
1543         and autocapitalization attributes may be changed by setting `element.autocorrect` and `element.autocapitalize`,
1544         respectively.
1545
1546         * fast/events/ios/contenteditable-autocapitalize-none-expected.txt: Added.
1547         * fast/events/ios/contenteditable-autocapitalize-none.html: Added.
1548         * fast/events/ios/contenteditable-autocorrect-off-expected.txt: Added.
1549         * fast/events/ios/contenteditable-autocorrect-off.html: Added.
1550
1551 2016-11-11  Antti Koivisto  <antti@apple.com>
1552
1553         Updating class name doesn't update the slotted content's style
1554         https://bugs.webkit.org/show_bug.cgi?id=164577
1555         <rdar://problem/29205873>
1556
1557         Reviewed by Ryosuke Niwa.
1558
1559         * fast/shadow-dom/css-scoping-slotted-invalidation-expected.html: Added.
1560         * fast/shadow-dom/css-scoping-slotted-invalidation.html: Added.
1561
1562 2016-11-11  Chris Dumez  <cdumez@apple.com>
1563
1564         WorkerGlobalScope's indexedDB property should be on the prototype, not the instance
1565         https://bugs.webkit.org/show_bug.cgi?id=164644
1566
1567         Reviewed by Brady Eidson.
1568
1569         Extend layout test coverage to check that:
1570         - WorkerGlobalScope.indexedDB is on the prototype.
1571         - WorkerGlobalScope.IDBDatabase constructor is on the instance
1572
1573         Both are enabled at runtime properties.
1574
1575         * fast/workers/WorkerGlobalScope-properties-prototype-expected.txt:
1576         * fast/workers/WorkerGlobalScope-properties-prototype.html:
1577         * fast/workers/self-hasOwnProperty-expected.txt:
1578         * fast/workers/self-hasOwnProperty.html:
1579
1580 2016-11-11  Antti Koivisto  <antti@apple.com>
1581
1582         Shadow DOM: Toggling class in `.class ::slotted(*)` does not trigger style recalc
1583         https://bugs.webkit.org/show_bug.cgi?id=160864
1584
1585         Reviewed by Ryosuke Niwa.
1586
1587         * fast/shadow-dom/css-scoping-host-and-slotted-context-invalidation-expected.html: Added.
1588         * fast/shadow-dom/css-scoping-host-and-slotted-context-invalidation.html: Added.
1589
1590 2016-11-11  Eric Carlson  <eric.carlson@apple.com>
1591
1592         [MediaStream] defer resolution of getUserMedia promise made in a background tab
1593         https://bugs.webkit.org/show_bug.cgi?id=164643
1594         <rdar://problem/29048317>
1595
1596         Reviewed by Brady Eidson.
1597
1598         * fast/mediastream/get-user-media-background-tab-expected.txt: Added.
1599         * fast/mediastream/get-user-media-background-tab.html: Added.
1600
1601 2016-11-10  Jiewen Tan  <jiewen_tan@apple.com>
1602
1603         Rename CryptoKeyUsage to CryptoKeyUsageBitmap and CryptoKey::Usage to CryptoKeyUsage
1604         https://bugs.webkit.org/show_bug.cgi?id=164624
1605         <rdar://problem/29210140>
1606
1607         Reviewed by Brent Fulgham.
1608
1609         * crypto/subtle/generate-key-malformed-parameters-expected.txt:
1610         * crypto/subtle/import-key-malformed-parameters-expected.txt:
1611
1612 2016-11-11  Ryan Haddad  <ryanhaddad@apple.com>
1613
1614         Add ios-simulator baseline for compositing/tiling/visiblerect-accumulated-offset.html.
1615
1616         Unreviewed test gardening.
1617
1618         * platform/ios-simulator/compositing/tiling/visiblerect-accumulated-offset-expected.txt: Added.
1619
1620 2016-11-10  Wenson Hsieh  <wenson_hsieh@apple.com>
1621
1622         Composition state should be cleared when changing focus to a non-editable element
1623         https://bugs.webkit.org/show_bug.cgi?id=164595
1624         <rdar://problem/26412551>
1625
1626         Reviewed by Enrica Casucci.
1627
1628         Adds a new layout test to ensure that when changing focus from an element with pending composition text to
1629         another element, the composition is committed and there should not still be a pending composition.
1630
1631         * editing/input/focus-change-with-marked-text-expected.txt: Added.
1632         * editing/input/focus-change-with-marked-text.html: Added.
1633         * platform/ios-simulator-wk2/TestExpectations:
1634         * platform/mac/TestExpectations:
1635
1636 2016-11-11  Manuel Rego Casasnovas  <rego@igalia.com>
1637
1638         [css-grid] ASSERTION FAILED: !m_gridIsDirty in WebCore::RenderGrid::gridRowCount
1639         https://bugs.webkit.org/show_bug.cgi?id=163450
1640
1641         Reviewed by Darin Adler.
1642
1643         The tests shouldn't crash in debug to verify that the bug is fixed.
1644         On top of that the positioned grid items should appear in the right position too.
1645
1646         * fast/css-grid-layout/grid-positioned-item-dynamic-change-expected.html: Added.
1647         * fast/css-grid-layout/grid-positioned-item-dynamic-change.html: Added.
1648         * fast/css-grid-layout/grid-simplified-layout-positioned-expected.html: Added.
1649         * fast/css-grid-layout/grid-simplified-layout-positioned.html: Added.
1650
1651 2016-11-11  Antoine Quint  <graouts@apple.com>
1652
1653         [Modern Media Controls] Media Controller: media tracks control support
1654         https://bugs.webkit.org/show_bug.cgi?id=164618
1655         <rdar://problem/27989483>
1656
1657         Reviewed by Dean Jackson.
1658
1659         Adding new tests to check that we enable the media tracks button when we have text tracks
1660         or multiple audio tracks, and that it's disabled otherwise.
1661
1662         * media/modern-media-controls/tracks-support/tracks-support-audio-tracks-expected.txt: Added.
1663         * media/modern-media-controls/tracks-support/tracks-support-audio-tracks.html: Added.
1664         * media/modern-media-controls/tracks-support/tracks-support-no-tracks-expected.txt: Added.
1665         * media/modern-media-controls/tracks-support/tracks-support-no-tracks.html: Added.
1666         * media/modern-media-controls/tracks-support/tracks-support-text-tracks-expected.txt: Added.
1667         * media/modern-media-controls/tracks-support/tracks-support-text-tracks.html: Added.
1668
1669 2016-11-10  Yusuke Suzuki  <utatane.tea@gmail.com>
1670
1671         [DOMJIT] Document#body should have DOMJIT patchpoint
1672         https://bugs.webkit.org/show_bug.cgi?id=164627
1673
1674         Reviewed by Darin Adler.
1675
1676         * js/dom/domjit-accessor-document-body-expected.txt: Added.
1677         * js/dom/domjit-accessor-document-body.html: Added.
1678
1679 2016-11-10  John Wilander  <wilander@apple.com>
1680
1681         Add link information to data transfer pasteboard for drag and drop links
1682         https://bugs.webkit.org/show_bug.cgi?id=163468
1683         <rdar://problem/20634630>
1684
1685         Reviewed by Brent Fulgham.
1686
1687         * editing/pasteboard/drag-link-with-data-transfer-adds-trusted-link-to-pasteboard-expected.txt: Added.
1688         * editing/pasteboard/drag-link-with-data-transfer-adds-trusted-link-to-pasteboard.html: Added.
1689             This test ensures data transfer is not deleted or overwritten for the types 'text' and 'url'.
1690         * platform/ios-simulator/TestExpectations:
1691             Drag & drop is not supported on iOS.
1692
1693 2016-11-10  Chris Dumez  <cdumez@apple.com>
1694
1695         REGRESSION (r208522): LayoutTest fast/loader/reload-zero-byte-plugin.html is a flaky failure
1696         https://bugs.webkit.org/show_bug.cgi?id=164570
1697
1698         Reviewed by Simon Fraser.
1699
1700         Unskip test which should no longer be flaky.
1701
1702         * platform/mac/TestExpectations:
1703
1704 2016-11-10  Brady Eidson  <beidson@apple.com>
1705
1706         IndexedDB 2.0 Support the IDBDatabase.onclose event.
1707         https://bugs.webkit.org/show_bug.cgi?id=164602
1708
1709         Reviewed by Alex Christensen.
1710
1711         * TestExpectations:
1712         * storage/indexeddb/modern/handle-user-delete-expected.txt:
1713         * storage/indexeddb/modern/resources/handle-user-delete.js:
1714
1715 2016-11-10  Ryan Haddad  <ryanhaddad@apple.com>
1716
1717         Marking swipe/pushState-cached-back-swipe.html and swipe/main-frame-pinning-requirement.html as failing.
1718         https://bugs.webkit.org/show_bug.cgi?id=164572
1719
1720         Unreviewed test gardening.
1721
1722         * platform/mac-wk2/TestExpectations:
1723
1724 2016-11-10  Ryosuke Niwa  <rniwa@webkit.org>
1725
1726         Copied text would contain text inside CDATA sections and comments
1727         https://bugs.webkit.org/show_bug.cgi?id=164578
1728
1729         Reviewed by Darin Adler.
1730
1731         Added a regression test for creating an attributed string from different kinds of Text nodes.
1732         Comment and CDataSection should not be included in the attributed string.
1733
1734         * editing/mac/attributed-string/comment-cdata-section-expected.txt: Added.
1735         * editing/mac/attributed-string/comment-cdata-section.html: Added.
1736         * platform/mac-yosemite/editing/mac/attributed-string/comment-cdata-section-expected.txt: Added.
1737
1738 2016-11-10  Joseph Pecoraro  <pecoraro@apple.com>
1739
1740         test262: DataView / TypedArray methods should throw RangeErrors for negative numbers (ToIndex)
1741         https://bugs.webkit.org/show_bug.cgi?id=164450
1742
1743         Reviewed by Darin Adler.
1744
1745         * fast/canvas/webgl/data-view-crash-expected.txt:
1746         * fast/canvas/webgl/data-view-test-expected.txt:
1747         Better error message.
1748
1749 2016-11-10  Eric Carlson  <eric.carlson@apple.com>
1750
1751         [MediaStream] apply constraints passed to getUserMedia()
1752         https://bugs.webkit.org/show_bug.cgi?id=164561
1753
1754         Reviewed by Youenn Fablet.
1755         <rdar://problem/29191384>
1756
1757         * fast/mediastream/MediaDevices-getUserMedia.html:
1758         * fast/mediastream/MediaStream-video-element-expected.txt:
1759         * fast/mediastream/MediaStream-video-element-track-stop-expected.txt:
1760         * fast/mediastream/MediaStreamTrack-getCapabilities-expected.txt:
1761         * fast/mediastream/MediaStreamTrack-getSettings-expected.txt:
1762
1763 2016-11-10  Ryan Haddad  <ryanhaddad@apple.com>
1764
1765         Marking inspector/sampling-profiler tests as flaky timeouts.
1766         https://bugs.webkit.org/show_bug.cgi?id=164388
1767
1768         Unreviewed test gardening.
1769
1770         * platform/mac/TestExpectations:
1771
1772 2016-11-10  Ryan Haddad  <ryanhaddad@apple.com>
1773
1774         Marking http/tests/cache/disk-cache/disk-cache-request-headers.html as flaky on ios-simulator.
1775         https://bugs.webkit.org/show_bug.cgi?id=164594
1776
1777         Unreviewed test gardening.
1778
1779         * platform/ios-simulator/TestExpectations:
1780
1781 2016-11-10  Ryan Haddad  <ryanhaddad@apple.com>
1782
1783         Marking fast/loader/reload-zero-byte-plugin.html as flaky.
1784         https://bugs.webkit.org/show_bug.cgi?id=164570
1785
1786         Unreviewed test gardening.
1787
1788         * platform/mac/TestExpectations:
1789
1790 2016-11-10  Brent Fulgham  <bfulgham@apple.com>
1791
1792         Unmarking storage/domstorage/sessionstorage/blocked-file-access.html.
1793         https://bugs.webkit.org/show_bug.cgi?id=164592
1794
1795         Unreviewed test gardening after r208550.
1796
1797         * TestExpectations:
1798
1799 2016-11-10  Daniel Bates  <dabates@apple.com>
1800
1801         Add test that image load over default port using HTTP 0.9 protocol is blocked when page is
1802         served with a different HTTP version
1803         https://bugs.webkit.org/show_bug.cgi?id=164552
1804
1805         Reviewed by Brent Fulgham.
1806
1807         * http/tests/security/http-0.9/image-default-port-blocked-expected.txt: Added.
1808         * http/tests/security/http-0.9/image-default-port-blocked.html: Added.
1809
1810 2016-11-10  Daniel Bates  <dabates@apple.com>
1811
1812         REGRESSION (r195004): Scripts and plugins blocked for subsequent loads in same WebContent
1813         process after receiving HTTP 0.9 response
1814         https://bugs.webkit.org/show_bug.cgi?id=164387
1815         <rdar://problem/28987537>
1816
1817         Reviewed by Brent Fulgham.
1818
1819         Add a new test to ensure that the HTTP 0.9 sandbox policy does not persist across navigations.
1820
1821         Unskip HTTP 0.9 tests and update expected results for existing tests as needed.
1822
1823         * TestExpectations: Unskip the HTTP 0.9 tests.
1824         * http/tests/security/http-0.9/default-port-plugin-blocked-expected.txt: Remove duplicate console
1825         messages now that we emit the console message exactly once per document.
1826         * http/tests/security/http-0.9/default-port-script-blocked-expected.txt: Ditto.
1827         * http/tests/security/http-0.9/iframe-blocked-expected.txt: Update expected result now that we
1828         no longer emit a console message for a blocked load.
1829         * http/tests/security/http-0.9/image-blocked-expected.txt: Ditto.
1830         * http/tests/security/http-0.9/image-on-HTTP-0.9-default-port-page-allowed-expected.txt: Remove
1831         duplicate console messages now that we emit the console message exactly once per document.
1832         * http/tests/security/http-0.9/image-on-HTTP-0.9-page-blocked-expected.txt: Ditto.
1833         * http/tests/security/http-0.9/resources/sandbox-should-not-persist-on-navigation.html: Added.
1834         * http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation-expected.txt: Added.
1835         * http/tests/security/http-0.9/sandbox-should-not-persist-on-navigation.html: Added.
1836         * http/tests/security/http-0.9/worker-connect-src-blocked-expected.txt: Update expected result
1837         now that we no longer apply a sandbox policy to the main resource if a subresource had an HTTP 0.9
1838         response.
1839         * http/tests/security/http-0.9/worker-importScripts-blocked-expected.txt: Ditto.
1840         * http/tests/security/http-0.9/xhr-asynchronous-blocked-expected.txt: Ditto.
1841
1842 2016-11-04  Jiewen Tan  <jiewen_tan@apple.com>
1843
1844         Update SubtleCrypto::importKey to match the latest spec
1845         https://bugs.webkit.org/show_bug.cgi?id=164446
1846         <rdar://problem/29123621>
1847
1848         Reviewed by Brent Fulgham.
1849
1850         Besides adding test cases for SubtleCrypto::importKey. This patch also corrects a typo:
1851         generate-key-malformed-paramters*.
1852
1853         * crypto/subtle/aes-cbc-import-jwk-key-length-128-expected.txt: Added.
1854         * crypto/subtle/aes-cbc-import-jwk-key-length-128.html: Added.
1855         * crypto/subtle/aes-cbc-import-jwk-key-length-192-expected.txt: Added.
1856         * crypto/subtle/aes-cbc-import-jwk-key-length-192.html: Added.
1857         * crypto/subtle/aes-cbc-import-jwk-key-length-256-expected.txt: Added.
1858         * crypto/subtle/aes-cbc-import-jwk-key-length-256.html: Added.
1859         * crypto/subtle/aes-cbc-import-jwk-key-minimum-expected.txt: Added.
1860         * crypto/subtle/aes-cbc-import-jwk-key-minimum.html: Added.
1861         * crypto/subtle/aes-cbc-import-jwk-key-non-extractable-expected.txt: Added.
1862         * crypto/subtle/aes-cbc-import-jwk-key-non-extractable.html: Added.
1863         * crypto/subtle/aes-cbc-import-raw-key-length-128-expected.txt: Added.
1864         * crypto/subtle/aes-cbc-import-raw-key-length-128.html: Added.
1865         * crypto/subtle/aes-cbc-import-raw-key-length-192-expected.txt: Added.
1866         * crypto/subtle/aes-cbc-import-raw-key-length-192.html: Added.
1867         * crypto/subtle/aes-cbc-import-raw-key-length-256-expected.txt: Added.
1868         * crypto/subtle/aes-cbc-import-raw-key-length-256.html: Added.
1869         * crypto/subtle/aes-import-key-malformed-parameters-expected.txt: Added.
1870         * crypto/subtle/aes-import-key-malformed-parameters.html: Added.
1871         * crypto/subtle/aes-kw-import-jwk-key-length-128-expected.txt: Added.
1872         * crypto/subtle/aes-kw-import-jwk-key-length-128.html: Added.
1873         * crypto/subtle/aes-kw-import-jwk-key-length-192-expected.txt: Added.
1874         * crypto/subtle/aes-kw-import-jwk-key-length-192.html: Added.
1875         * crypto/subtle/aes-kw-import-jwk-key-length-256-expected.txt: Added.
1876         * crypto/subtle/aes-kw-import-jwk-key-length-256.html: Added.
1877         * crypto/subtle/aes-kw-import-raw-key-expected.txt: Added.
1878         * crypto/subtle/aes-kw-import-raw-key.html: Added.
1879         * crypto/subtle/generate-key-malformed-parameters-expected.txt: Renamed from LayoutTests/crypto/subtle/generate-key-malformed-paramters-expected.txt.
1880         * crypto/subtle/generate-key-malformed-parameters.html: Renamed from LayoutTests/crypto/subtle/generate-key-malformed-paramters.html.
1881         * crypto/subtle/hmac-generate-key-customized-length-expected.txt:
1882         * crypto/subtle/hmac-generate-key-customized-length.html:
1883         * crypto/subtle/hmac-generate-key-malformed-parameters-expected.txt:
1884         * crypto/subtle/hmac-generate-key-malformed-parameters.html:
1885         * crypto/subtle/hmac-import-raw-key-customized-length-expected.txt:
1886         * crypto/subtle/hmac-import-raw-key-customized-length.html:
1887         * crypto/subtle/hmac-import-jwk-key-minimum-expected.txt: Added.
1888         * crypto/subtle/hmac-import-jwk-key-minimum.html: Added.
1889         * crypto/subtle/hmac-import-jwk-key-non-extractable-expected.txt: Added.
1890         * crypto/subtle/hmac-import-jwk-key-non-extractable.html: Added.
1891         * crypto/subtle/hmac-import-jwk-key-sha1-expected.txt: Added.
1892         * crypto/subtle/hmac-import-jwk-key-sha1.html: Added.
1893         * crypto/subtle/hmac-import-jwk-key-sha224-expected.txt: Added.
1894         * crypto/subtle/hmac-import-jwk-key-sha224.html: Added.
1895         * crypto/subtle/hmac-import-jwk-key-sha256-expected.txt: Added.
1896         * crypto/subtle/hmac-import-jwk-key-sha256.html: Added.
1897         * crypto/subtle/hmac-import-jwk-key-sha384-expected.txt: Added.
1898         * crypto/subtle/hmac-import-jwk-key-sha384.html: Added.
1899         * crypto/subtle/hmac-import-jwk-key-sha512-expected.txt: Added.
1900         * crypto/subtle/hmac-import-jwk-key-sha512.html: Added.
1901         * crypto/subtle/hmac-import-malformed-parameters-expected.txt: Added.
1902         * crypto/subtle/hmac-import-malformed-parameters.html: Added.
1903         * crypto/subtle/hmac-import-raw-key-customized-length-expected.txt: Added.
1904         * crypto/subtle/hmac-import-raw-key-customized-length.html: Added.
1905         * crypto/subtle/hmac-import-raw-key-expected.txt: Added.
1906         * crypto/subtle/hmac-import-raw-key.html: Added.
1907         * crypto/subtle/import-key-malformed-parameters-expected.txt: Added.
1908         * crypto/subtle/import-key-malformed-parameters.html: Added.
1909         * crypto/subtle/rsa-import-key-malformed-parameters-expected.txt: Added.
1910         * crypto/subtle/rsa-import-key-malformed-parameters.html: Added.
1911         * crypto/subtle/rsa-oaep-import-jwk-private-key-expected.txt: Added.
1912         * crypto/subtle/rsa-oaep-import-jwk-private-key.html: Added.
1913         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha1-expected.txt: Added.
1914         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha1.html: Added.
1915         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha224-expected.txt: Added.
1916         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha224.html: Added.
1917         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha256-expected.txt: Added.
1918         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha256.html: Added.
1919         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha384-expected.txt: Added.
1920         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha384.html: Added.
1921         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha512-expected.txt: Added.
1922         * crypto/subtle/rsa-oaep-import-jwk-public-key-sha512.html: Added.
1923         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-private-key-expected.txt: Added.
1924         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-private-key.html: Added.
1925         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-expected.txt: Added.
1926         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-leading-zero-expected.txt: Added.
1927         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-leading-zero.html: Added.
1928         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-minimum-expected.txt: Added.
1929         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-minimum.html: Added.
1930         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-non-extractable-expected.txt: Added.
1931         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-non-extractable.html: Added.
1932         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key.html: Added.
1933         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-private-key-expected.txt: Added.
1934         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-private-key.html: Added.
1935         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha1-expected.txt: Added.
1936         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha1.html: Added.
1937         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha224-expected.txt: Added.
1938         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha224.html: Added.
1939         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha256-expected.txt: Added.
1940         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha256.html: Added.
1941         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha384-expected.txt: Added.
1942         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha384.html: Added.
1943         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha512-expected.txt: Added.
1944         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-sha512.html: Added.
1945         * crypto/webkitSubtle/hmac-generate-key-expected.txt:
1946         * crypto/webkitSubtle/hmac-generate-key.html:
1947         * crypto/webkitSubtle/hmac-import-jwk-expected.txt:
1948         * crypto/webkitSubtle/hmac-import-jwk.html:
1949         * crypto/webkitSubtle/hmac-postMessage-expected.txt:
1950         * crypto/webkitSubtle/hmac-postMessage.html:
1951         * crypto/webkitSubtle/hmac-sign-verify-expected.txt:
1952         * crypto/webkitSubtle/hmac-sign-verify.html:
1953         * crypto/workers/subtle/aes-import-jwk-key-expected.txt: Added.
1954         * crypto/workers/subtle/aes-import-jwk-key.html: Added.
1955         * crypto/workers/subtle/aes-import-raw-key-expected.txt: Added.
1956         * crypto/workers/subtle/aes-import-raw-key.html: Added.
1957         * crypto/workers/subtle/hmac-import-jwk-key-expected.txt: Added.
1958         * crypto/workers/subtle/hmac-import-jwk-key.html: Added.
1959         * crypto/workers/subtle/hmac-import-raw-key-expected.txt: Added.
1960         * crypto/workers/subtle/hmac-import-raw-key.html: Added.
1961         * crypto/workers/subtle/hmac-postMessage-worker-expected.txt:
1962         * crypto/workers/subtle/hmac-postMessage-worker.html:
1963         * crypto/workers/subtle/resources/aes-import-jwk-key.js: Added.
1964         * crypto/workers/subtle/resources/aes-import-raw-key.js: Added.
1965         * crypto/workers/subtle/resources/hmac-import-jwk-key.js: Added.
1966         * crypto/workers/subtle/resources/hmac-import-raw-key.js: Added.
1967         * crypto/workers/subtle/resources/hmac-postMessage-worker.js:
1968         * crypto/workers/subtle/resources/rsa-import-jwk-private-key.js: Added.
1969         * crypto/workers/subtle/resources/rsa-import-jwk-public-key.js: Added.
1970         * crypto/workers/subtle/rsa-import-jwk-private-key-expected.txt: Added.
1971         * crypto/workers/subtle/rsa-import-jwk-private-key.html: Added.
1972         * crypto/workers/subtle/rsa-import-jwk-public-key-expected.txt: Added.
1973         * crypto/workers/subtle/rsa-import-jwk-public-key.html: Added.
1974
1975 2016-11-10  Ryan Haddad  <ryanhaddad@apple.com>
1976
1977         Marking media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-buttons-styles.html as flaky.
1978         https://bugs.webkit.org/show_bug.cgi?id=164598
1979
1980         Unreviewed test gardening.
1981
1982         * platform/mac/TestExpectations:
1983
1984 2016-11-10  Ryan Haddad  <ryanhaddad@apple.com>
1985
1986         Temporarily marking storage/domstorage/sessionstorage/blocked-file-access.html as failing.
1987         https://bugs.webkit.org/show_bug.cgi?id=164592
1988
1989         Unreviewed test gardening.
1990
1991         * TestExpectations:
1992
1993 2016-11-10  Aaron Chu  <aaron_chu@apple.com>
1994
1995         Web Inspector: AXI: clarify button roles (e.g. toggle or popup button)
1996         https://bugs.webkit.org/show_bug.cgi?id=130726
1997         <rdar://problem/16420420>
1998
1999         Reviewed by Brian Burg.
2000
2001         Updated related test cases.
2002
2003         * accessibility/roles-computedRoleString-expected.txt:
2004         * accessibility/roles-computedRoleString.html:
2005         * inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
2006         * inspector/dom/getAccessibilityPropertiesForNode.html:
2007         * platform/mac/accessibility/roles-computedRoleString-expected.txt:
2008
2009 2016-11-10  Antoine Quint  <graouts@apple.com>
2010
2011         [Modern Media Controls] Media Controller: update controls based on fullscreen playback on macOS
2012         https://bugs.webkit.org/show_bug.cgi?id=164554
2013         <rdar://problem/29183439>
2014
2015         Reviewed by Dean Jackson.
2016
2017         Adding a new test to check that we use fullscreen controls on macOS once we've entered fullscreen.
2018
2019         * media/modern-media-controls/media-controller/media-controller-fullscreen-change-expected.txt: Added.
2020         * media/modern-media-controls/media-controller/media-controller-fullscreen-change.html: Added.
2021         * platform/ios-simulator/TestExpectations:
2022
2023 2016-11-08  Sergio Villar Senin  <svillar@igalia.com>
2024
2025         [css-grid] Fix fr tracks sizing under min|max-size constraints
2026         https://bugs.webkit.org/show_bug.cgi?id=150674
2027
2028         Reviewed by Darin Adler.
2029
2030         * fast/css-grid-layout/flex-sizing-columns-min-max-width-expected.txt: Added.
2031         * fast/css-grid-layout/flex-sizing-columns-min-max-width.html: Added.
2032         * fast/css-grid-layout/flex-sizing-rows-min-max-height-expected.txt: Added.
2033         * fast/css-grid-layout/flex-sizing-rows-min-max-height.html: Added.
2034
2035 2016-11-09  Ryosuke Niwa  <rniwa@webkit.org>
2036
2037         WebHTMLView's _attributeStringFromDOMRange should use HTMLConverter instead of NSAttributedString's _initWithDOMRange
2038         https://bugs.webkit.org/show_bug.cgi?id=164501
2039         <rdar://problem/29152282>
2040
2041         Reviewed by Sam Weinig.
2042
2043         Prior to this patch, attributed-string tests were inadvertently testing NSAttributedString's _initWithDOMRange
2044         instead of HTMLConverter as intended because _attributeStringFromDOMRange was using _initWithDOMRange.
2045
2046         This patch aliens [WebHTMLView attributedString] to what we use on copy & paste by using HTMLConverter instead.
2047         The rebaselined done below highlights the existing behavior difference between AppKit's converter and HTMLConverter.
2048
2049         I've manually confirmed that these test results didn't change across the large refactoring as seen in:
2050         https://trac.webkit.org/log/trunk/Source/WebCore/platform/mac/HTMLConverter.mm?rev=166145
2051
2052         * editing/mac/attributed-string/anchor-element-expected.txt:
2053         * editing/mac/attributed-string/basic-expected.txt:
2054         * editing/mac/attributed-string/font-size-expected.txt:
2055         * editing/mac/attributed-string/font-style-variant-effect-expected.txt:
2056         * editing/mac/attributed-string/font-weight-expected.txt:
2057         * editing/mac/attributed-string/letter-spacing-expected.txt:
2058         * editing/mac/attributed-string/text-decorations-expected.txt:
2059         * editing/mac/attributed-string/vertical-align-expected.txt:
2060         * platform/mac-elcapitan/editing/mac/attributed-string/font-style-variant-effect-expected.txt:
2061         * platform/mac-yosemite/editing/mac/attributed-string/anchor-element-expected.txt:
2062         * platform/mac-yosemite/editing/mac/attributed-string/basic-expected.txt:
2063         * platform/mac-yosemite/editing/mac/attributed-string/font-size-expected.txt:
2064         * platform/mac-yosemite/editing/mac/attributed-string/font-style-variant-effect-expected.txt:
2065         * platform/mac-yosemite/editing/mac/attributed-string/font-weight-expected.txt:
2066         * platform/mac-yosemite/editing/mac/attributed-string/letter-spacing-expected.txt:
2067         * platform/mac-yosemite/editing/mac/attributed-string/text-decorations-expected.txt:
2068         * platform/mac-yosemite/editing/mac/attributed-string/vertical-align-expected.txt:
2069
2070 2016-11-09  Chris Dumez  <cdumez@apple.com>
2071
2072         [WK2][!NETWORK_SESSION] Add support for downloading file backed blobs
2073         https://bugs.webkit.org/show_bug.cgi?id=164522
2074
2075         Reviewed by Alex Christensen.
2076
2077         Unskip corresponding tests now that they pass on Yosemite and El Capitan.
2078
2079         * platform/mac-wk2/TestExpectations:
2080
2081 2016-11-09  Joseph Pecoraro  <pecoraro@apple.com>
2082
2083         Web Inspector: DebuggerManager.Event.Resumed introduces test flakiness
2084         https://bugs.webkit.org/show_bug.cgi?id=161951
2085         <rdar://problem/28295767>
2086
2087         Reviewed by Brian Burg.
2088
2089         Rewrite tests to be more deterministic. For tests that
2090         relied on a Resumed event to happen after a short amount
2091         of time, instead have the test dispatch an event when it is
2092         appropriate to continue. Take this opportunity to rewrite
2093         some tests using new style and best practices.
2094
2095         * inspector/debugger/break-in-constructor-before-super.html:
2096         * inspector/debugger/break-on-exception-throw-in-promise.html:
2097         * inspector/debugger/break-on-exception.html:
2098         * inspector/debugger/break-on-uncaught-exception-throw-in-promise.html:
2099         * inspector/debugger/break-on-uncaught-exception.html:
2100         * inspector/debugger/breakpoint-syntax-error-top-level.html:
2101         * inspector/debugger/command-line-api-exception-expected.txt:
2102         * inspector/debugger/command-line-api-exception-nested-catch.html:
2103         * inspector/debugger/command-line-api-exception.html:
2104         * inspector/debugger/csp-exceptions.html:
2105         * inspector/debugger/didSampleProbe-multiple-probes.html:
2106         * inspector/debugger/evaluateOnCallFrame-CommandLineAPI.html:
2107         * inspector/debugger/evaluateOnCallFrame-errors.html:
2108         * inspector/debugger/pause-reason-expected.txt:
2109         * inspector/debugger/pause-reason.html:
2110         * inspector/debugger/paused-scopes-expected.txt:
2111         * inspector/debugger/paused-scopes.html:
2112         * inspector/debugger/resources/exceptions.js:
2113         * inspector/debugger/scriptParsed.html:
2114         * inspector/debugger/sourceURL-repeated-identical-executions.html:
2115         * inspector/debugger/sourceURLs.html:
2116         * inspector/debugger/stepping/stepping-pause-in-inner-step-to-parent.html:
2117
2118 2016-11-09  Chris Dumez  <cdumez@apple.com>
2119
2120         [WK2][NETWORK_SESSION] Add support for downloading file backed blobs
2121         https://bugs.webkit.org/show_bug.cgi?id=164458
2122         <rdar://problem/28905514>
2123
2124         Reviewed by Darin Adler.
2125
2126         Add layout test coverage for downloading blobs, both via <a download> or
2127         because a load is later converted into a download.
2128
2129         * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download-expected.txt: Added.
2130         * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download.html: Added.
2131         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-expected.txt: Added.
2132         * fast/dom/HTMLAnchorElement/anchor-file-blob-download.html: Added.
2133         * platform/ios-simulator-wk1/TestExpectations:
2134         * platform/ios-simulator-wk2/TestExpectations:
2135         * platform/mac-wk1/TestExpectations:
2136         * platform/win/TestExpectations:
2137
2138 2016-11-09  Joseph Pecoraro  <pecoraro@apple.com>
2139
2140         Web Inspector: Associate Worker Resources with the Worker and not the Page
2141         https://bugs.webkit.org/show_bug.cgi?id=164342
2142         <rdar://problem/29075775>
2143
2144         Reviewed by Timothy Hatcher.
2145
2146         * inspector/worker/resources-in-worker-expected.txt: Added.
2147         * inspector/worker/resources-in-worker.html: Added.
2148         * inspector/worker/resources/dataFetch.json: Added.
2149         * inspector/worker/resources/dataXHR.json: Added.
2150         * inspector/worker/resources/resource-utilities.js: Added.
2151         (loadResourceXHR):
2152         (loadResourceFetch):
2153         * inspector/worker/resources/worker-resources.js: Added.
2154         (importScript):
2155         (onmessage):
2156
2157 2016-11-09  Brent Fulgham  <bfulgham@apple.com>
2158
2159         Windows localStorage tests will fail until Bug 155185 is fixed.
2160         https://bugs.webkit.org/show_bug.cgi?id=155185
2161
2162         * platform/win/TestExpectations: Mark localStorage tests as expected
2163         to fail for now.
2164
2165 2016-11-09  Ryan Haddad  <ryanhaddad@apple.com>
2166
2167         Marking media/modern-media-controls/pip-support/pip-support-enabled.html as flaky.
2168         https://bugs.webkit.org/show_bug.cgi?id=164336
2169
2170         Unreviewed test gardening.
2171
2172         * platform/mac-wk1/TestExpectations:
2173
2174 2016-11-09  Alex Christensen  <achristensen@webkit.org>
2175
2176         Unreviewed, rolling out r208438.
2177
2178         crashes
2179
2180         Reverted changeset:
2181
2182         "[WK2][NETWORK_SESSION] Add support for downloading file
2183         backed blobs"
2184         https://bugs.webkit.org/show_bug.cgi?id=164458
2185         http://trac.webkit.org/changeset/208438
2186
2187 2016-11-09  Ryan Haddad  <ryanhaddad@apple.com>
2188
2189         Marking two media/modern-media-controls tests as flaky.
2190
2191         Unreviewed test gardening.
2192
2193         * TestExpectations:
2194         * platform/mac/TestExpectations:
2195
2196 2016-11-09  Said Abou-Hallawa  <sabouhallawa@apple.com>
2197
2198         Change the decoding for some animated images to be asynchronous
2199         https://bugs.webkit.org/show_bug.cgi?id=161566
2200
2201         Reviewed by Simon Fraser.
2202
2203         * fast/images/slower-animation-than-decoding-image-expected.txt: Added.
2204         * fast/images/slower-animation-than-decoding-image.html: Added.
2205         * fast/images/slower-decoding-than-animation-image-expected.txt: Added.
2206         * fast/images/slower-decoding-than-animation-image.html: Added.
2207         In these tests, CanvasRenderingContext2D.drawImage() is used to better
2208         control advancing the animation of an animated image. A setTimeout() is
2209         used instead of the frame duration to schedule when the drawing happens.
2210         The first test ensures that faster decoding does not overrule the frame
2211         duration; the setTimeout interval in this case. The second test ensures
2212         the animation is not advanced unless decoding the next frame has finished.
2213
2214         * fast/images/stopped-animation-deleted-image-expected.txt: Added.
2215         * fast/images/stopped-animation-deleted-image.html: Added.
2216         This test ensures that if an animated image is removed from the document,
2217         its draw() method won't be called even if the animation timer fires or the
2218         decoding new frame availability notification is received.
2219
2220 2016-11-04  Brent Fulgham  <bfulgham@apple.com>
2221
2222         Local HTML should be blocked from localStorage access unless "Disable Local File Restrictions" is checked
2223         https://bugs.webkit.org/show_bug.cgi?id=155185
2224         <rdar://problem/11101440>
2225
2226         Reviewed by Brady Eidson.
2227
2228         * storage/domstorage/localstorage/blocked-file-access-expected.txt: Added.
2229         * storage/domstorage/localstorage/blocked-file-access-permitted-by-quirk-expected.txt: Added.
2230         * storage/domstorage/localstorage/blocked-file-access-permitted-by-quirk.html: Added.
2231         * storage/domstorage/localstorage/blocked-file-access.html: Added.
2232         * storage/domstorage/localstorage/resources/allowed-example.html: Added.
2233         * storage/domstorage/localstorage/resources/blocked-example.html: Added.
2234
2235 2016-11-09  Alex Christensen  <achristensen@webkit.org>
2236
2237         URLParser should not consider path of URLs with no host to start at the first slash after the colon
2238         https://bugs.webkit.org/show_bug.cgi?id=164555
2239
2240         Reviewed by Tim Horton.
2241
2242         * fast/url/segments-expected.txt:
2243         * fast/url/segments-from-data-url-expected.txt:
2244         * fast/loader/url-parse-1-expected.txt:
2245         * fetch/fetch-url-serialization-expected.txt:
2246
2247 2016-11-09  Simon Fraser  <simon.fraser@apple.com>
2248
2249         Implement visual-viewport based position:fixed handling for Mac async scrolling
2250         https://bugs.webkit.org/show_bug.cgi?id=164495
2251
2252         Reviewed by Tim Horton.
2253
2254         Tests that dump the scrolling state tree, and the layer tree.
2255
2256         * TestExpectations:
2257         * compositing/tiling/visiblerect-accumulated-offset.html: Added.
2258         * fast/visual-viewport/tiled-drawing/zoomed-fixed-scrolled-down-expected.txt: Added.
2259         * fast/visual-viewport/tiled-drawing/zoomed-fixed-scrolled-down-then-up-expected.txt: Added.
2260         * fast/visual-viewport/tiled-drawing/zoomed-fixed-scrolled-down-then-up.html: Added.
2261         * fast/visual-viewport/tiled-drawing/zoomed-fixed-scrolled-down.html: Added.
2262         * fast/visual-viewport/tiled-drawing/zoomed-fixed-scrolling-layers-state-expected.txt: Added.
2263         * fast/visual-viewport/tiled-drawing/zoomed-fixed-scrolling-layers-state.html: Added.
2264         * platform/mac-wk2/TestExpectations:
2265         * platform/mac/compositing/tiling/visiblerect-accumulated-offset-expected.txt: Added.
2266
2267 2016-11-09  Brady Eidson  <beidson@apple.com>
2268
2269         IndexedDB 2.0: Implement new IDBCursor.continuePrimaryKey function.
2270         https://bugs.webkit.org/show_bug.cgi?id=164404
2271
2272         Reviewed by Alex Christensen.
2273
2274         * storage/indexeddb/cursor-basics-expected.txt:
2275         * storage/indexeddb/cursor-basics-private-expected.txt:
2276         * storage/indexeddb/modern/idbcursor-continue-primary-key-1-expected.txt: Added.
2277         * storage/indexeddb/modern/idbcursor-continue-primary-key-1-private-expected.txt: Added.
2278         * storage/indexeddb/modern/idbcursor-continue-primary-key-1-private.html: Added.
2279         * storage/indexeddb/modern/idbcursor-continue-primary-key-1.html: Added.
2280         * storage/indexeddb/modern/resources/idbcursor-continue-primary-key-1.js: Added.
2281
2282 2016-11-09  Antoine Quint  <graouts@apple.com>
2283
2284         [Modern Media Controls] Media Controller: set status label according to media state
2285         https://bugs.webkit.org/show_bug.cgi?id=164557
2286         <rdar://problem/29184097>
2287
2288         Reviewed by Dean Jackson.
2289
2290         Add new tests to check that we display the expected StatusLabel text when the media is in the
2291         "Loading", "Error" and "Live Broadcast" states.
2292
2293         * http/tests/media/modern-media-controls/status-support/status-support-live-broadcast-expected.txt: Added.
2294         * http/tests/media/modern-media-controls/status-support/status-support-live-broadcast.html: Added.
2295         * http/tests/media/modern-media-controls/status-support/status-support-loading-expected.txt: Added.
2296         * http/tests/media/modern-media-controls/status-support/status-support-loading.html: Added.
2297         * media/modern-media-controls/status-support/status-support-error-expected.txt: Added.
2298         * media/modern-media-controls/status-support/status-support-error.html: Added.
2299
2300 2016-11-09  Yusuke Suzuki  <utatane.tea@gmail.com>
2301
2302         [DOMJIT] Implement Node::ownerDocument
2303         https://bugs.webkit.org/show_bug.cgi?id=164004
2304
2305         Reviewed by Darin Adler.
2306
2307         * js/dom/domjit-accessor-owner-document-expected.txt: Added.
2308         * js/dom/domjit-accessor-owner-document.html: Added.
2309
2310 2016-11-09  Dave Hyatt  <hyatt@apple.com>
2311
2312         [CSS Parser] Fix grid layout parsing
2313         https://bugs.webkit.org/show_bug.cgi?id=164489
2314
2315         Reviewed by Dean Jackson.
2316
2317         * fast/css-grid-layout/grid-auto-columns-rows-auto-flow-resolution.html:
2318
2319 2016-11-09  Ryan Haddad  <ryanhaddad@apple.com>
2320
2321         Correct a typo in the name of a flaky test.
2322         https://bugs.webkit.org/show_bug.cgi?id=164388
2323
2324         Unreviewed test gardening.
2325
2326         * platform/mac/TestExpectations:
2327
2328 2016-11-09  Daniel Bates  <dabates@apple.com>
2329
2330         Add test infrastructure and tests for existing HTTP 0.9 sandbox machinery
2331         https://bugs.webkit.org/show_bug.cgi?id=164389
2332         <rdar://problem/29101072>
2333
2334         Reviewed by Alex Christensen.
2335
2336         Add tests for the existing HTTP 0.9 sandbox machinery. Until we fix <https://bugs.webkit.org/show_bug.cgi?id=164387>,
2337         these tests can only be run singly (i.e. pass --run-singly to run-webkit-tests). So, we skip
2338         these tests to avoid test failures when run-webkit-tests runs in parallel mode (the default
2339         mode and the mode used on the buildbots).
2340
2341         * TestExpectations:
2342         * http/tests/security/http-0.9/default-port-plugin-blocked-expected.txt: Added.
2343         * http/tests/security/http-0.9/default-port-plugin-blocked.html: Added.
2344         * http/tests/security/http-0.9/default-port-script-blocked-expected.txt: Added.
2345         * http/tests/security/http-0.9/default-port-script-blocked.html: Added.
2346         * http/tests/security/http-0.9/iframe-blocked-expected.txt: Added.
2347         * http/tests/security/http-0.9/iframe-blocked.html: Added.
2348         * http/tests/security/http-0.9/image-blocked-expected.txt: Added.
2349         * http/tests/security/http-0.9/image-blocked.html: Added.
2350         * http/tests/security/http-0.9/image-on-HTTP-0.9-default-port-page-allowed-expected.txt: Added.
2351         * http/tests/security/http-0.9/image-on-HTTP-0.9-default-port-page-allowed-ref-test-expected.html: Added.
2352         * http/tests/security/http-0.9/image-on-HTTP-0.9-default-port-page-allowed-ref-test.html: Added.
2353         * http/tests/security/http-0.9/image-on-HTTP-0.9-default-port-page-allowed.html: Added.
2354         * http/tests/security/http-0.9/image-on-HTTP-0.9-page-blocked-expected.txt: Added.
2355         * http/tests/security/http-0.9/image-on-HTTP-0.9-page-blocked.html: Added.
2356         * http/tests/security/http-0.9/resources/blue-square.png: Added.
2357         * http/tests/security/http-0.9/resources/nph-alert-fail.pl: Added.
2358         * http/tests/security/http-0.9/resources/nph-fail.pl: Added.
2359         * http/tests/security/http-0.9/resources/nph-image-on-HTTP-0.9-default-port-page-allowed.pl: Added.
2360         * http/tests/security/http-0.9/resources/nph-image-on-HTTP-0.9-page-blocked.pl: Added.
2361         * http/tests/security/http-0.9/resources/nph-image.pl: Added.
2362         * http/tests/security/http-0.9/resources/nph-load-plugin-fail.pl: Added.
2363         * http/tests/security/http-0.9/resources/nph-worker-fail.pl: Added.
2364         * http/tests/security/http-0.9/worker-connect-src-blocked-expected.txt: Added.
2365         * http/tests/security/http-0.9/worker-connect-src-blocked.html: Added.
2366         * http/tests/security/http-0.9/worker-importScripts-blocked-expected.txt: Added.
2367         * http/tests/security/http-0.9/worker-importScripts-blocked.html: Added.
2368         * http/tests/security/http-0.9/xhr-asynchronous-blocked-expected.txt: Added.
2369         * http/tests/security/http-0.9/xhr-asynchronous-blocked.html: Added.
2370
2371 2016-11-09  Wenson Hsieh  <wenson_hsieh@apple.com>
2372
2373         When editing IME, `compositionend` events should fire after input events
2374         https://bugs.webkit.org/show_bug.cgi?id=164324
2375         <rdar://problem/29050438>
2376
2377         Reviewed by Darin Adler.
2378
2379         Augments fast/events/input-events-ime-recomposition.html and fast/events/input-events-ime-composition.html to
2380         verify that compositionend events are fired after input events. Also rebaselines
2381         fast/events/ime-composition-events-001.html.
2382
2383         * fast/events/ime-composition-events-001-expected.txt:
2384         * fast/events/input-events-ime-composition-expected.txt:
2385         * fast/events/input-events-ime-composition.html:
2386         * fast/events/input-events-ime-recomposition-expected.txt:
2387         * fast/events/input-events-ime-recomposition.html:
2388
2389 2016-11-09  Wenson Hsieh  <wenson_hsieh@apple.com>
2390
2391         Setting foreground color when text is selected should fire an input event with color data
2392         https://bugs.webkit.org/show_bug.cgi?id=164241
2393         <rdar://problem/29032759>
2394
2395         Reviewed by Darin Adler.
2396
2397         Adds a new layout test verifying that selecting text and setting its foreground color will fire input events
2398         with the correct RGB values in the data attribute.
2399
2400         * fast/events/input-events-selection-forecolor-data-expected.txt: Added.
2401         * fast/events/input-events-selection-forecolor-data.html: Added.
2402         * platform/ios-simulator/TestExpectations:
2403
2404 2016-11-08  Dean Jackson  <dino@apple.com>
2405
2406         Rendering support for ExtendedColors
2407         https://bugs.webkit.org/show_bug.cgi?id=164443
2408         <rdar://problems/29123243>
2409
2410         Reviewed by Simon Fraser and Darin Adler.
2411
2412         Tests that use the new color() syntax.
2413
2414         * css3/color/backgrounds-and-borders-expected.html: Added.
2415         * css3/color/backgrounds-and-borders.html: Added.
2416         * css3/color/box-shadows-expected.html: Added.
2417         * css3/color/box-shadows.html: Added.
2418         * css3/color/canvas-expected.html: Added.
2419         * css3/color/canvas.html: Added.
2420         * css3/color/composited-solid-backgrounds-expected.html: Added.
2421         * css3/color/composited-solid-backgrounds.html: Added.
2422         * css3/color/text-expected.html: Added.
2423         * css3/color/text.html: Added.
2424         * editing/mac/attributed-string/anchor-element-expected.txt: Updated.
2425         * editing/mac/attributed-string/basic-expected.txt:
2426
2427 2016-11-09  Antoine Quint  <graouts@apple.com>
2428
2429         [Modern Media Controls] UI Library: StatusLabel
2430         https://bugs.webkit.org/show_bug.cgi?id=164544
2431         <rdar://problem/29179541>
2432
2433         Reviewed by Dean Jackson.
2434
2435         Adding new tests for the core properties of the new StatusLabel class, as well as adding a test
2436         to check we use the correct layout when the StatusLabel has its text set and the time controls
2437         needs to be replaced with it. We also make a few existing tests use the script loader so that
2438         they continue to pass with the addition of a new JS class.
2439
2440         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-buttons-styles.html:
2441         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor.html:
2442         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-controls-bar-styles.html:
2443         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-layout.html:
2444         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label-expected.txt: Added.
2445         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-status-label.html: Added.
2446         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-time-control-styles.html:
2447         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-slider-visibility.html:
2448         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles.html:
2449         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-dropping-controls.html:
2450         * media/modern-media-controls/macos-media-controls/macos-media-controls.html:
2451         * media/modern-media-controls/media-controls/media-controls-constructor-expected.txt:
2452         * media/modern-media-controls/media-controls/media-controls-constructor.html:
2453         * media/modern-media-controls/media-controls/media-controls-placard.html:
2454         * media/modern-media-controls/media-controls/media-controls-start-button.html:
2455         * media/modern-media-controls/resources/media-controls-loader.js:
2456         * media/modern-media-controls/status-label/status-label-expected.txt: Added.
2457         * media/modern-media-controls/status-label/status-label.html: Added.
2458
2459 2016-11-08  Antoine Quint  <graouts@apple.com>
2460
2461         [Modern Media Controls] UI Library: iOS inline controls
2462         https://bugs.webkit.org/show_bug.cgi?id=164513
2463         <rdar://problem/27989475>
2464
2465         Reviewed by Dean Jackson.
2466
2467         Adding new tests for the IOSInlineMediaControls class.
2468
2469         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-buttons-styles-expected.txt: Added.
2470         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-buttons-styles.html: Added.
2471         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-constructor-expected.txt: Added.
2472         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-constructor.html: Added.
2473         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-controls-bar-styles-expected.txt: Added.
2474         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-controls-bar-styles.html: Added.
2475         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-layout-expected.txt: Added.
2476         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-layout.html: Added.
2477         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-time-control-styles-expected.txt: Added.
2478         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-time-control-styles.html: Added.
2479         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-dropping-controls-expected.txt: Added.
2480         * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-dropping-controls.html: Added.
2481         * media/modern-media-controls/resources/media-controls-loader.js:
2482
2483 2016-11-09  Simon Fraser  <simon.fraser@apple.com>
2484
2485         LayoutTest fast/visual-viewport/rtl-zoomed-rects.html failing
2486         https://bugs.webkit.org/show_bug.cgi?id=164491
2487
2488         Mark fast/visual-viewport/rtl-zoomed-rects.html as failing on Yosemite and El Capitan
2489         in WK1.
2490
2491         * platform/mac-wk1/TestExpectations:
2492
2493 2016-11-09  Chris Dumez  <cdumez@apple.com>
2494
2495         Use Blob URL instead of webkit-fake-url when pasting an image
2496         https://bugs.webkit.org/show_bug.cgi?id=49141
2497
2498         Reviewed by Darin Adler.
2499
2500         Add layout test coverage checking that the image shows as expected and that the
2501         resulting URL is indeed a Blob URL.
2502
2503         * editing/pasteboard/paste-image-as-blob-url-expected.txt: Added.
2504         * editing/pasteboard/paste-image-as-blob-url.html: Added.
2505         * editing/pasteboard/paste-image-using-image-data-expected.html: Added.
2506         * editing/pasteboard/paste-image-using-image-data.html: Added.
2507
2508 2016-11-07  Yusuke Suzuki  <utatane.tea@gmail.com>
2509
2510         [JSC] The implementation of 8 bit operation in MacroAssembler should care about uint8_t / int8_t
2511         https://bugs.webkit.org/show_bug.cgi?id=164432
2512
2513         Reviewed by Michael Saboff.
2514
2515         Use ownerDocument. Once DOMJIT for ownerDocument is landed, this will use branch8.
2516
2517         * js/dom/domjit-accessor-owner-document-type-check-expected.txt: Added.
2518         * js/dom/domjit-accessor-owner-document-type-check.html: Added.
2519
2520 2016-11-08  Antoine Quint  <graouts@apple.com>
2521
2522         [Modern Media Controls] UI Library: macOS fullscreen controls
2523         https://bugs.webkit.org/show_bug.cgi?id=164414
2524         <rdar://problem/27989474>
2525
2526         Reviewed by Dean Jackson.
2527
2528         Adding new tests for the MacOSFullscreenMediaControls class as well as making other tests
2529         adopt the media-controls-loader.js utility.
2530
2531         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt: Added.
2532         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html: Added.
2533         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt: Added.
2534         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html: Added.
2535         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor-expected.txt: Added.
2536         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor.html: Added.
2537         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles-expected.txt: Added.
2538         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles.html: Added.
2539         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin-expected.txt: Added.
2540         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin.html: Added.
2541         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-time-control-styles-expected.txt: Added.
2542         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-time-control-styles.html: Added.
2543         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-volume-styles-expected.txt: Added.
2544         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-volume-styles.html: Added.
2545         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-buttons-styles.html:
2546         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor.html:
2547         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-controls-bar-styles.html:
2548         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-layout.html:
2549         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-time-control-styles.html:
2550         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-slider-visibility.html:
2551         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles.html:
2552         * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-dropping-controls.html:
2553         * media/modern-media-controls/macos-media-controls/macos-media-controls.html:
2554         * media/modern-media-controls/media-controls/media-controls-constructor.html:
2555         * media/modern-media-controls/media-controls/media-controls-placard.html:
2556         * media/modern-media-controls/media-controls/media-controls-start-button.html:
2557         * media/modern-media-controls/resources/media-controls-loader.js:
2558
2559 2016-11-09  Chris Dumez  <cdumez@apple.com>
2560
2561         Add test coverage for radiusX / radiusY in WebPlatformTouchPoint.
2562         https://bugs.webkit.org/show_bug.cgi?id=162801
2563         <rdar://problem/28807455>
2564
2565         Reviewed by Darin Adler.
2566
2567         Add test coverage for radiusX / radiusY in WebPlatformTouchPoint.
2568
2569         * fast/events/touch/ios/touch-event-radius-expected.txt: Added.
2570         * fast/events/touch/ios/touch-event-radius.html: Added.
2571
2572 2016-11-09  Youenn Fablet  <youenn@apple.com>
2573
2574         [WebRTC] Introduce asynchronous backend for other RTCPeerConnection API
2575         https://bugs.webkit.org/show_bug.cgi?id=164409
2576
2577         Reviewed by Eric Carlson.
2578
2579         Rebasing test as patch changes the order in which error cases are checked in case of setRemoteDescription/setLocalDescription.
2580         New order tries to follow more closely https://www.w3.org/TR/webrtc/#set-description.
2581
2582         * fast/mediastream/RTCPeerConnection-stable-expected.txt:
2583
2584 2016-11-09  Joanmarie Diggs  <jdiggs@igalia.com>
2585
2586         AX: [ATK] Wrong selected element at a given index in a list box (redux)
2587         https://bugs.webkit.org/show_bug.cgi?id=164430
2588
2589         Reviewed by Darin Adler.
2590
2591         Add tests to ensure listboxes with no selected children do not report
2592         a selected child. Modify select-element-at-index.html to reflect the
2593         corrected behavior for ATK. Move the Mac port's expectations to the
2594         shared expectations.
2595
2596         * accessibility/aria-listbox-no-selection-expected.txt: Added.
2597         * accessibility/aria-listbox-no-selection.html: Added.
2598         * accessibility/native-listbox-no-selection-expected.txt: Added.
2599         * accessibility/native-listbox-no-selection.html: Added.
2600         * accessibility/select-element-at-index-expected.txt: Modified.
2601         * accessibility/select-element-at-index.html: Modified.
2602         * platform/mac/accessibility/select-element-at-index-expected.txt: Removed.
2603
2604 2016-11-09  Chris Dumez  <cdumez@apple.com>
2605
2606         [WK2][NETWORK_SESSION] Add support for downloading file backed blobs
2607         https://bugs.webkit.org/show_bug.cgi?id=164458
2608         <rdar://problem/28905514>
2609
2610         Reviewed by Darin Adler.
2611
2612         Add layout test coverage for downloading blobs, both via <a download> or
2613         because a load is later converted into a download.
2614
2615         * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download-expected.txt: Added.
2616         * fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download.html: Added.
2617         * fast/dom/HTMLAnchorElement/anchor-file-blob-download-expected.txt: Added.
2618         * fast/dom/HTMLAnchorElement/anchor-file-blob-download.html: Added.
2619         * platform/ios-simulator-wk1/TestExpectations:
2620         * platform/ios-simulator-wk2/TestExpectations:
2621         * platform/mac-wk1/TestExpectations:
2622         * platform/win/TestExpectations:
2623
2624 2016-11-09  Chris Dumez  <cdumez@apple.com>
2625
2626         [WK2] Network cache speculative revalidation can cause loads to hang
2627         https://bugs.webkit.org/show_bug.cgi?id=164532
2628         <rdar://problem/28519331>
2629
2630         Reviewed by Alex Christensen.
2631
2632         Add layout test coverage. The test hangs without the fix.
2633
2634         * http/tests/cache/disk-cache/speculative-validation/http-auth-expected.txt: Added.
2635         * http/tests/cache/disk-cache/speculative-validation/http-auth.html: Added.
2636         * http/tests/cache/disk-cache/speculative-validation/resources/frame-with-authenticated-resource.php: Added.
2637         * http/tests/cache/disk-cache/speculative-validation/resources/resource-with-auth.php: Added.
2638
2639 2016-11-09  Ryan Haddad  <ryanhaddad@apple.com>
2640
2641         Unreviewed, rolling out r208422.
2642
2643         Roll r208382 back in since it was not responsible for the API
2644         test failures seen on macOS.
2645
2646         Reverted changeset:
2647
2648         "Unreviewed, rolling out r208382."
2649         https://bugs.webkit.org/show_bug.cgi?id=164319
2650         http://trac.webkit.org/changeset/208422
2651
2652 2016-11-07  Ryan Haddad  <ryanhaddad@apple.com>
2653
2654         Unreviewed, rolling out r208382.
2655
2656         This change appears to have caused 3
2657         SerializedCryptoKeyWrapTest API tests to fail on macOS.
2658
2659         Reverted changeset:
2660
2661         "[Readable Streams API] Implement ByteStreamController
2662         error()"
2663         https://bugs.webkit.org/show_bug.cgi?id=164319
2664         http://trac.webkit.org/changeset/208382
2665
2666 2016-11-05  Ryan Haddad  <ryanhaddad@apple.com>
2667
2668         Removing flaky expectations for tests that were fixed with r208327.
2669         https://bugs.webkit.org/show_bug.cgi?id=164034
2670
2671         Unreviewed test gardening.
2672
2673         * TestExpectations:
2674         * platform/mac/TestExpectations:
2675
2676 2016-11-05  Carlos Garcia Campos  <cgarcia@igalia.com>
2677
2678         [SOUP] Layout test http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html fails
2679         https://bugs.webkit.org/show_bug.cgi?id=139358
2680
2681         Reviewed by Michael Catanzaro.
2682
2683         * platform/gtk/TestExpectations: Unskip http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials.html.
2684
2685 2016-11-04  Yusuke Suzuki  <utatane.tea@gmail.com>
2686
2687         [DOMJIT] Add DOMJIT::Signature annotation to Document::getElementById
2688         https://bugs.webkit.org/show_bug.cgi?id=164356
2689
2690         Reviewed by Filip Pizlo.
2691
2692         * js/dom/domjit-function-get-element-by-id-changed-expected.txt: Added.
2693         * js/dom/domjit-function-get-element-by-id-changed.html: Added.
2694         * js/dom/domjit-function-get-element-by-id-expected.txt: Added.
2695         * js/dom/domjit-function-get-element-by-id-licm-expected.txt: Added.
2696         * js/dom/domjit-function-get-element-by-id-licm.html: Added.
2697         * js/dom/domjit-function-get-element-by-id.html: Added.
2698
2699 2016-11-04  Simon Fraser  <simon.fraser@apple.com>
2700
2701         Layout viewport wrong with RTL documents
2702         https://bugs.webkit.org/show_bug.cgi?id=164434
2703
2704         Reviewed by Tim Horton.
2705
2706         * fast/visual-viewport/rtl-nonzoomed-rects-expected.txt: Added.
2707         * fast/visual-viewport/rtl-nonzoomed-rects.html: Added.
2708         * fast/visual-viewport/rtl-zoomed-rects-expected.txt: Added.
2709         * fast/visual-viewport/rtl-zoomed-rects.html: Added.
2710         * platform/ios-simulator/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt: Added.
2711         * platform/ios-simulator/fast/visual-viewport/rtl-zoomed-rects-expected.txt: Added.
2712         * platform/mac-wk1/fast/visual-viewport/rtl-zoomed-rects-expected.txt: Added. WK1 and RTL are weird.
2713
2714 2016-11-04  Wenson Hsieh  <wenson_hsieh@apple.com>
2715
2716         Safari does not emit composition end if blurred for dead key / Japanese IME
2717         https://bugs.webkit.org/show_bug.cgi?id=164369
2718         <rdar://problem/29050439>
2719
2720         Reviewed by Ryosuke Niwa.
2721
2722         Adds a new test verifying that we dispatch `compositionend` events in various circumstances:
2723             1. After composing in an editable area and then focusing another editable area.
2724             2. After composing in an editable area and then blur()-ing.
2725             3. After composing in an editable area and then changing the selection.
2726
2727         There should be no behavior change for other platforms, so no new tests are needed there with this change.
2728
2729         * fast/events/ime-compositionend-on-selection-change-expected.txt: Added.
2730         * fast/events/ime-compositionend-on-selection-change.html: Added.
2731         * platform/ios-simulator/TestExpectations:
2732
2733 2016-11-04  Brady Eidson  <beidson@apple.com>
2734
2735         IndexedDB 2.0: Clean up more transaction abort and exception throwing behavior from IDBObjectStore.
2736         https://bugs.webkit.org/show_bug.cgi?id=164424
2737
2738         Reviewed by Alex Christensen.
2739
2740         * storage/indexeddb/resources/transaction-basics.js:
2741         * storage/indexeddb/transaction-basics-expected.txt:
2742         * storage/indexeddb/transaction-basics-private-expected.txt:
2743
2744 2016-11-04  Ryosuke Niwa  <rniwa@webkit.org>
2745
2746         Load stylesheets in link elements inside a connected shadow tree
2747         https://bugs.webkit.org/show_bug.cgi?id=160683
2748         <rdar://problem/29040652>
2749
2750         Reviewed by Antti Koivisto.
2751
2752         Added W3C style testharness.js tests for loading stylesheets via a link element inside a ahadow tree.
2753
2754         * fast/shadow-dom/link-element-in-shadow-tree-expected.txt: Added.
2755         * fast/shadow-dom/link-element-in-shadow-tree.html: Added.
2756         * fast/shadow-dom/resources/green-host.css: Added.
2757         * fast/shadow-dom/selected-stylesheet-in-shadow-tree-expected.txt: Added.
2758         * fast/shadow-dom/selected-stylesheet-in-shadow-tree.html: Added.
2759
2760 2016-11-04  Chris Dumez  <cdumez@apple.com>
2761
2762         Add layout test for input.setCustomValidity()
2763         https://bugs.webkit.org/show_bug.cgi?id=164419
2764
2765         Reviewed by Simon Fraser.
2766
2767         Add layout test for input.setCustomValidity().
2768
2769         * fast/forms/validation-custom-message-expected.txt: Added.
2770         * fast/forms/validation-custom-message.html: Added.
2771
2772 2016-11-04  Myles C. Maxfield  <mmaxfield@apple.com>
2773
2774         Implement WebGL2RenderingContext::copyBufferSubData()
2775         https://bugs.webkit.org/show_bug.cgi?id=164008
2776
2777         Reviewed by Dean Jackson.
2778
2779         * fast/canvas/webgl/copyBufferSubData-expected.txt: Added.
2780         * fast/canvas/webgl/copyBufferSubData.html: Added.
2781
2782 2016-11-04  Antti Koivisto  <antti@apple.com>
2783
2784         slotted() pseudo does not work with ID selector
2785         https://bugs.webkit.org/show_bug.cgi?id=160538
2786         <rdar://problem/28534529>
2787
2788         Reviewed by Andreas Kling.
2789
2790         * fast/shadow-dom/css-scoping-slot-with-id-expected.html: Added.
2791         * fast/shadow-dom/css-scoping-slot-with-id.html: Added.
2792
2793
2794 2016-11-04  Brady Eidson  <beidson@apple.com>
2795
2796         IndexedDB 2.0: Use IDB-specific exceptions in places where the generic exceptions are currently used.
2797         https://bugs.webkit.org/show_bug.cgi?id=164406
2798
2799         Reviewed by Alex Christensen.
2800
2801         * storage/indexeddb/modern/index-rename-1-expected.txt:
2802         * storage/indexeddb/modern/index-rename-1-private-expected.txt:
2803         * storage/indexeddb/modern/objectstore-rename-1-expected.txt:
2804         * storage/indexeddb/modern/objectstore-rename-1-private-expected.txt:
2805
2806 2016-11-04  Joanmarie Diggs  <jdiggs@igalia.com>
2807
2808         AX: [ATK] Attempting to clear selection on ARIA listboxes results in crash
2809         https://bugs.webkit.org/show_bug.cgi?id=164331
2810
2811         Reviewed by Chris Fleizach.
2812
2813         Add tests to verify clearing selection works for native listboxes, and does not
2814         crash for ARIA listboxes. These tests are being skipped for the Mac and Win ports
2815         which do not yet implement AccessibilityUIElement::clearSelectedChildren().
2816
2817         * accessibility/aria-listbox-clear-selection-crash-expected.txt: Added.
2818         * accessibility/aria-listbox-clear-selection-crash.html: Added.
2819         * accessibility/listbox-clear-selection-expected.txt: Added.
2820         * accessibility/listbox-clear-selection.html: Added.
2821         * platform/mac/TestExpectations:
2822         * platform/win/TestExpectations:
2823
2824 2016-11-04  Brady Eidson  <beidson@apple.com>
2825
2826         IndexedDB 2.0: Throw the correct exceptions during IDBObjectStore/IDBIndex renaming.
2827         https://bugs.webkit.org/show_bug.cgi?id=164405
2828
2829         Reviewed by Alex Christensen.
2830
2831         * storage/indexeddb/modern/index-rename-1-expected.txt:
2832         * storage/indexeddb/modern/index-rename-1-private-expected.txt:
2833         * storage/indexeddb/modern/objectstore-rename-1-expected.txt:
2834         * storage/indexeddb/modern/objectstore-rename-1-private-expected.txt:
2835
2836 2016-11-04  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2837
2838         [Readable Streams API] Implement ByteStreamController error()
2839         https://bugs.webkit.org/show_bug.cgi?id=164319
2840
2841         Reviewed by Youenn Fablet.
2842
2843         Updated test expectation for error() test (previously FAIL, now PASS).
2844         Added IDL-related tests for ReadableByteStreamController.
2845
2846         * streams/readable-byte-stream-controller-expected.txt:
2847
2848 2016-11-04  Per Arne Vollan  <pvollan@apple.com>
2849
2850         [Win] Page visibility tests are timing out.
2851         https://bugs.webkit.org/show_bug.cgi?id=164363
2852
2853         Reviewed by Brent Fulgham.
2854
2855         Unskip page visibility tests.
2856
2857         * platform/win/TestExpectations:
2858
2859 2016-11-03  Antti Koivisto  <antti@apple.com>
2860
2861         REGRESSION (r207669): Crash under SVGRenderSupport::updateMaskedAncestorShouldIsolateBlending
2862         https://bugs.webkit.org/show_bug.cgi?id=164381
2863         <rdar://problem/28935401>
2864
2865         Reviewed by Simon Fraser.
2866
2867         * media/media-controls-shadow-construction-crash-expected.txt: Added.
2868         * media/media-controls-shadow-construction-crash.html: Added.
2869
2870 2016-11-03  Myles C. Maxfield  <mmaxfield@apple.com>
2871
2872         [WebGL2] Implement getBufferSubData()
2873         https://bugs.webkit.org/show_bug.cgi?id=164111
2874
2875         Reviewed by Dean Jackson.
2876
2877         Test every successful download/upload combination I can think of.
2878
2879         * fast/canvas/webgl/getBufferSubData-webgl1.html: Added.
2880         * fast/canvas/webgl/getBufferSubData-webgl1-expected.txt: Added.
2881         * fast/canvas/webgl/webgl2-buffers-expected.txt: Added.
2882         * fast/canvas/webgl/webgl2-buffers.html: Added.
2883
2884 2016-11-03  Chris Dumez  <cdumez@apple.com>
2885
2886         [WK2][Cocoa] Implement user interface for HTML form validation
2887         https://bugs.webkit.org/show_bug.cgi?id=164143
2888         <rdar://problem/28944652>
2889
2890         Reviewed by Simon Fraser.
2891
2892         * fast/forms/validation-messages-expected.txt: Added.
2893         * fast/forms/validation-messages.html: Added.
2894         Add layout test coverage for checking that the right validation messages
2895         are displayed when submitting forms with constraint violations. More
2896         testing will be landed in follow up to cover other things besides the
2897         messages (e.g. when does the bubble disappear).
2898
2899         * platform/mac-wk1/TestExpectations:
2900         Skip new test on WebKit1 because the feature is WebKit2 only at the
2901         moment.
2902
2903         * platform/ios-simulator-wk2/TestExpectations:
2904         * platform/mac-wk2/TestExpectations:
2905         Skip tests for the Shadow DOM based HTML form validation UI on
2906         Mac and iOS WK2 now that those ports use native popovers instead.
2907
2908 2016-11-03  Ryosuke Niwa  <rniwa@webkit.org>
2909
2910         Update custom elements tests
2911         https://bugs.webkit.org/show_bug.cgi?id=164352
2912
2913         Reviewed by Antti Koivisto.
2914         
2915         Removed tests that have been back imported via web-platform-tests.
2916
2917         * fast/custom-elements/custom-element-reaction-queue-expected.txt: Removed.
2918         * fast/custom-elements/custom-element-reaction-queue.html: Removed.
2919         * fast/custom-elements/reactions-for-webkit-extensions.html:
2920         * fast/custom-elements/reactions/: Removed.
2921         * fast/custom-elements/resources/additional-helpers.js: Removed.
2922         * fast/custom-elements/upgrading-enqueue-reactions-expected.txt: Removed.
2923         * fast/custom-elements/upgrading-enqueue-reactions.html: Removed.
2924
2925 2016-11-03  Brady Eidson  <beidson@apple.com>
2926
2927         IndexedDB 2.0: Rename IDBKeyRange.contains to IDBKeyRange.includes.
2928         https://bugs.webkit.org/show_bug.cgi?id=164383
2929
2930         Reviewed by Beth Dakin.
2931
2932         * storage/indexeddb/resources/keyrange.js:
2933
2934 2016-11-03  Ryan Haddad  <ryanhaddad@apple.com>
2935
2936         Marking two inspector/sampling-profiler tests as flaky.
2937         https://bugs.webkit.org/show_bug.cgi?id=164388
2938
2939         Unreviewed test gardening.
2940
2941         * platform/mac/TestExpectations:
2942
2943 2016-11-03  Ryan Haddad  <ryanhaddad@apple.com>
2944
2945         Unreviewed, rolling out r208302.
2946
2947         This change causes LayoutTest crashes under GuardMalloc.
2948
2949         Reverted changeset:
2950
2951         "Load stylesheets in link elements inside a connected shadow
2952         tree"
2953         https://bugs.webkit.org/show_bug.cgi?id=160683
2954         http://trac.webkit.org/changeset/208302
2955
2956 2016-11-03  Yusuke Suzuki  <utatane.tea@gmail.com>
2957
2958         Unreviewed, rolling out due to crash in Amazon web site
2959         https://bugs.webkit.org/show_bug.cgi?id=164380
2960         <rdar://problem/29094221>
2961
2962         * js/dom/domjit-accessor-owner-document-expected.txt: Removed.
2963         * js/dom/domjit-accessor-owner-document.html: Removed.
2964
2965 2016-11-03  Brady Eidson  <beidson@apple.com>
2966
2967         IndexedDB 2.0: Support binary keys.
2968         <rdar://problem/28806927> and https://bugs.webkit.org/show_bug.cgi?id=164359
2969
2970         Reviewed by Alex Christensen.
2971
2972         * storage/indexeddb/factory-cmp-expected.txt:
2973         * storage/indexeddb/factory-cmp-private-expected.txt:
2974         * storage/indexeddb/key-type-binary-expected.txt:
2975         * storage/indexeddb/key-type-binary-private-expected.txt:
2976         * storage/indexeddb/modern/binary-keys-1-expected.txt: Added.
2977         * storage/indexeddb/modern/binary-keys-1-private-expected.txt: Added.
2978         * storage/indexeddb/modern/binary-keys-1-private.html: Added.
2979         * storage/indexeddb/modern/binary-keys-1.html: Added.
2980         * storage/indexeddb/modern/resources/binary-keys-1.js: Added.
2981         * storage/indexeddb/resources/factory-cmp.js:
2982         * storage/indexeddb/resources/key-type-binary.js:
2983
2984 2016-11-02  Myles C. Maxfield  <mmaxfield@apple.com>
2985
2986         CSS.supports("font-variation-settings", "'wght' 500") erroneously returns false
2987         https://bugs.webkit.org/show_bug.cgi?id=164244
2988
2989         Reviewed by Michael Catanzaro.
2990
2991         * fast/text/variations/css-supports-runtime-switch-expected.txt: Added.
2992         * fast/text/variations/css-supports-runtime-switch.html: Added.
2993
2994 2016-11-02  Yusuke Suzuki  <utatane.tea@gmail.com>
2995
2996         [DOMJIT] Add DOMJIT::Signature
2997         https://bugs.webkit.org/show_bug.cgi?id=162980
2998
2999         Reviewed by Saam Barati and Sam Weinig.
3000
3001         * js/dom/domjit-accessor-licm.html:
3002         * js/dom/domjit-function-effect-should-overlap-with-call-expected.txt: Added.
3003         * js/dom/domjit-function-effect-should-overlap-with-call.html: Added.
3004         * js/dom/domjit-function-expected.txt: Added.
3005         * js/dom/domjit-function-licm-expected.txt: Added.
3006         * js/dom/domjit-function-licm.html: Copied from LayoutTests/js/dom/domjit-accessor-licm.html.
3007         * js/dom/domjit-function-type-contradiction-expected.txt: Added.
3008         * js/dom/domjit-function-type-contradiction.html: Copied from LayoutTests/js/dom/domjit-accessor-licm.html.
3009         * js/dom/domjit-function-type-failure-expected.txt: Added.
3010         * js/dom/domjit-function-type-failure.html: Copied from LayoutTests/js/dom/domjit-accessor-licm.html.
3011         * js/dom/domjit-function.html: Added.
3012
3013 2016-11-02  Ryan Haddad  <ryanhaddad@apple.com>
3014
3015         Marking imported/mozilla/svg/paint-order-01.svg and imported/mozilla/svg/paint-order-02.svg as flaky.
3016         https://bugs.webkit.org/show_bug.cgi?id=164355
3017
3018         Unreviewed test gardening.
3019
3020         * TestExpectations:
3021
3022 2016-11-02  Ryan Haddad  <ryanhaddad@apple.com>
3023
3024         Marking fast/css/attribute-for-content-property-style-update-xhtml.xhtml as flaky.
3025         https://bugs.webkit.org/show_bug.cgi?id=164162
3026
3027         Unreviewed test gardening.
3028
3029         * TestExpectations:
3030
3031 2016-11-02  Ryan Haddad  <ryanhaddad@apple.com>
3032
3033         Marking svg/wicd/test-rightsizing-a.xhtml and svg/wicd/test-rightsizing-b.xhtml as flaky on mac.
3034         https://bugs.webkit.org/show_bug.cgi?id=163915
3035
3036         Unreviewed test gardening.
3037
3038         * platform/mac/TestExpectations:
3039
3040 2016-11-02  Simon Fraser  <simon.fraser@apple.com>
3041
3042         REGRESSION (r208025) GraphicsContext state stack assertions loading webkit.org
3043         https://bugs.webkit.org/show_bug.cgi?id=164350
3044         rdar://problem/29053414
3045
3046         Reviewed by Dean Jackson.
3047
3048         Test was reduced from webkit.org.
3049
3050         * animations/stacking-during-opacity-animation-expected.txt: Added.
3051         * animations/stacking-during-opacity-animation.html: Added.
3052
3053 2016-11-02  Myles C. Maxfield  <mmaxfield@apple.com>
3054
3055         [iOS] [WebGL] Multisample resolve step may operate on stale data
3056         https://bugs.webkit.org/show_bug.cgi?id=164347
3057
3058         Reviewed by Dean Jackson.
3059
3060         Issue many draw calls into a multisampled context, and then use glReadPixels()
3061         to make sure that all the commands completed.
3062
3063         * fast/canvas/webgl/multisample-resolve-consistency-expected.txt: Added.
3064         * fast/canvas/webgl/multisample-resolve-consistency.html: Added.
3065
3066 2016-11-01  Sam Weinig  <sam@webkit.org>
3067
3068         [WebIDL] Move interfaces and typed arrays over to JSDOMConvert
3069         https://bugs.webkit.org/show_bug.cgi?id=164256
3070
3071         Reviewed by Alex Christensen.
3072
3073         * svg/custom/polyline-points-crash-expected.txt:
3074         * svg/dom/SVGLengthList-basics-expected.txt:
3075         * svg/dom/SVGNumberList-basics-expected.txt:
3076         * svg/dom/SVGPointList-basics-expected.txt:
3077         * svg/dom/SVGTransformList-basics-expected.txt:
3078         * svg/dom/SVGTransformList-expected.txt:
3079         Update test results for improved error messages.
3080
3081 2016-11-02  Joseph Pecoraro  <pecoraro@apple.com>
3082
3083         Web Inspector: Include DebuggerAgent in Workers - see, pause, and step through scripts
3084         https://bugs.webkit.org/show_bug.cgi?id=164136
3085         <rdar://problem/29028462>
3086
3087         Reviewed by Brian Burg.
3088
3089         * inspector/worker/debugger-pause-expected.txt: Added.
3090         * inspector/worker/debugger-pause.html: Added.
3091         * inspector/worker/debugger-scripts-expected.txt: Added.
3092         * inspector/worker/debugger-scripts.html: Added.
3093         * inspector/worker/resources/worker-debugger-pause.js: Added.
3094         * inspector/worker/resources/worker-import-1.js: Added.
3095         * inspector/worker/resources/worker-scripts.js: Added.
3096         New tests for Debugger features in a Worker.
3097
3098         * inspector/debugger/break-on-exception-throw-in-promise.html:
3099         * inspector/debugger/break-on-exception.html:
3100         * inspector/debugger/break-on-uncaught-exception.html:
3101         * inspector/debugger/evaluateOnCallFrame-CommandLineAPI.html:
3102         * inspector/debugger/pause-reason.html:
3103         * inspector/debugger/paused-scopes.html:
3104         * inspector/debugger/resources/log-pause-location.js:
3105         * inspector/debugger/stepping/stepInto.html:
3106         * inspector/debugger/stepping/stepOut.html:
3107         * inspector/debugger/stepping/stepOver.html:
3108         * inspector/debugger/stepping/stepping-through-autoContinue-breakpoint.html:
3109         * inspector/debugger/tail-deleted-frames-from-vm-entry.html:
3110         * inspector/debugger/tail-deleted-frames-this-value.html:
3111         * inspector/debugger/tail-deleted-frames.html:
3112         * inspector/debugger/tail-recursion.html:
3113         Most debugger data moved from DebuggerManager into DebuggerData for a target.
3114         Update tests that access such data like pauseReason / pauseData / callFrames.
3115
3116 2016-11-02  Ryosuke Niwa  <rniwa@webkit.org>
3117
3118         Load stylesheets in link elements inside a connected shadow tree
3119         https://bugs.webkit.org/show_bug.cgi?id=160683
3120         <rdar://problem/29040652>
3121
3122         Reviewed by Antti Koivisto.
3123
3124         Added W3C style testharness.js tests for loading stylesheets via a link element inside a ahadow tree.
3125
3126         * fast/shadow-dom/link-element-in-shadow-tree-expected.txt: Added.
3127         * fast/shadow-dom/link-element-in-shadow-tree.html: Added.
3128         * fast/shadow-dom/resources/green-host.css: Added.
3129         * fast/shadow-dom/selected-stylesheet-in-shadow-tree-expected.txt: Added.
3130         * fast/shadow-dom/selected-stylesheet-in-shadow-tree.html: Added.
3131
3132 2016-11-02  Alex Christensen  <achristensen@webkit.org>
3133
3134         Remove Battery Status API from the tree
3135         https://bugs.webkit.org/show_bug.cgi?id=164213
3136
3137         Reviewed by Sam Weinig.
3138
3139         * batterystatus: Removed.
3140         * batterystatus/add-listener-from-callback-expected.txt: Removed.
3141         * batterystatus/add-listener-from-callback.html: Removed.
3142         * batterystatus/basic-all-types-of-events-expected.txt: Removed.
3143         * batterystatus/basic-all-types-of-events.html: Removed.
3144         * batterystatus/basic-operation-expected.txt: Removed.
3145         * batterystatus/basic-operation.html: Removed.
3146         * batterystatus/event-after-navigation-expected.txt: Removed.
3147         * batterystatus/event-after-navigation.html: Removed.
3148         * batterystatus/multiple-frames-expected.txt: Removed.
3149         * batterystatus/multiple-frames.html: Removed.
3150         * batterystatus/resources: Removed.
3151         * batterystatus/resources/event-after-navigation-new.html: Removed.
3152         * batterystatus/script-tests: Removed.
3153         * batterystatus/script-tests/add-listener-from-callback.js: Removed.
3154         * batterystatus/script-tests/basic-all-types-of-events.js: Removed.
3155         * batterystatus/script-tests/basic-operation.js: Removed.
3156         * batterystatus/script-tests/event-after-navigation.js: Removed.
3157         * batterystatus/script-tests/multiple-frames.js: Removed.
3158         * batterystatus/script-tests/updates.js: Removed.
3159         * batterystatus/script-tests/window-property.js: Removed.
3160         * batterystatus/updates-expected.txt: Removed.
3161         * batterystatus/updates.html: Removed.
3162         * batterystatus/window-property-expected.txt: Removed.
3163         * batterystatus/window-property.html: Removed.
3164         * fast/dom/event-handler-attributes.html:
3165         * platform/efl/TestExpectations:
3166         * platform/gtk/TestExpectations:
3167         * platform/ios-simulator/TestExpectations:
3168         * platform/mac/TestExpectations:
3169         * platform/win/TestExpectations:
3170
3171 2016-11-02  Brent Fulgham  <bfulgham@apple.com>
3172
3173         REGRESSION(r203289):Assertion in MathOperator::stretchTo() on Wikipedia Page
3174         https://bugs.webkit.org/show_bug.cgi?id=162933
3175         <rdar://problem/28570590>
3176
3177         Reviewed by Dean Jackson.
3178
3179         * mathml/empty-mo-expected.txt: Added.
3180         * mathml/empty-mo.html: Added.
3181
3182 2016-11-01  Dean Jackson  <dino@apple.com>
3183
3184         Filter functions grayscale/invert/opacity/sepia should clamp values over 100%, not fail
3185         https://bugs.webkit.org/show_bug.cgi?id=164310
3186         <rdar://problems/29057705>
3187
3188         Reviewed by Sam Weinig.
3189
3190         Some of our tests were incorrectly suggesting values over 100% should fail.
3191
3192         * css3/filters/backdrop/backdropfilter-property-parsing-invalid-expected.txt:
3193         * css3/filters/backdrop/backdropfilter-property-parsing-invalid.html:
3194         * css3/filters/filter-property-parsing-expected.txt:
3195         * css3/filters/filter-property-parsing-invalid-expected.txt:
3196         * css3/filters/filter-property-parsing-invalid.html:
3197         * css3/filters/filter-property-parsing.html:
3198
3199 2016-11-02  Brent Fulgham  <bfulgham@apple.com>
3200
3201         WebKit nullptr dereference Archive Subframe
3202         https://bugs.webkit.org/show_bug.cgi?id=164281
3203         <rdar://problem/28943006>
3204
3205         Reviewed by Andy Estes.
3206
3207         * fast/dom/crash-with-bad-url-expected.txt: Added.
3208         * fast/dom/crash-with-bad-url.html: Added.
3209
3210 2016-11-02  Ryan Haddad  <ryanhaddad@apple.com>
3211
3212         Marking media/modern-media-controls/scrubber-support/scrubber-support-drag.html as flaky.
3213         https://bugs.webkit.org/show_bug.cgi?id=164328
3214
3215         Unreviewed test gardening.
3216
3217         * platform/mac/TestExpectations:
3218
3219 2016-11-02  Ryan Haddad  <ryanhaddad@apple.com>
3220
3221         Test gardening for media/modern-media-controls.
3222
3223         Unreviewed test gardening.
3224
3225         * platform/mac/TestExpectations:
3226
3227 2016-11-02  Youenn Fablet  <youenn@apple.com>
3228
3229         REGRESSION(r207753-207755): ASSERTION FAILED: m_parsedStyleSheetCache->isInMemoryCache()
3230         https://bugs.webkit.org/show_bug.cgi?id=163905
3231
3232         Reviewed by Antti Koivisto.
3233
3234         * http/tests/security/cached-cross-origin-shared-css-stylesheet-expected.txt: Added.
3235         * http/tests/security/cached-cross-origin-shared-css-stylesheet.html: Added.
3236
3237 2016-11-02  Manuel Rego Casasnovas  <rego@igalia.com>
3238
3239         [css-grid] mimax(auto, <flex>) should be serialized as <flex>
3240         https://bugs.webkit.org/show_bug.cgi?id=164316
3241
3242         Reviewed by Sergio Villar Senin.
3243
3244         Add new test case to verify it. We can only check it
3245         using grid-auto-columns|rows, because grid-template-columns|rows
3246         is serialized to the used breadth.
3247
3248         * fast/css-grid-layout/grid-auto-columns-rows-get-set-expected.txt:
3249         * fast/css-grid-layout/grid-auto-columns-rows-get-set.html:
3250
3251 2016-11-02  Romain Bellessort  <romain.bellessort@crf.canon.fr>
3252
3253         [Readable Streams API] Enable creation of ReadableByteStreamController
3254         https://bugs.webkit.org/show_bug.cgi?id=164014
3255
3256         Reviewed by Youenn Fablet.
3257
3258         Added test to check behaviour when using ReadableByteStreamController. 
3259         Tests are also performed with Workers.
3260
3261         * TestExpectations:
3262         * streams/readable-byte-stream-controller-expected.txt: Added.
3263         * streams/readable-byte-stream-controller.html: Added.
3264         * streams/readable-byte-stream-controller.js: Added.
3265
3266 2016-11-02  Antoine Quint  <graouts@apple.com>
3267
3268         [Modern Media Controls] Media Controller: fullscreen toggle support
3269         https://bugs.webkit.org/show_bug.cgi?id=163728
3270         <rdar://problem/27989486>
3271
3272         Reviewed by Darin Adler.
3273
3274         Adding new tests to check that clicking on the fullscreen button enters fullscreen and
3275         that the fullscreen button is enabled when fullscreen is supported.
3276
3277         * media/modern-media-controls/fullscreen-support/fullscreen-support-click-expected.txt: Added.
3278         * media/modern-media-controls/fullscreen-support/fullscreen-support-click.html: Added.
3279         * media/modern-media-controls/fullscreen-support/fullscreen-support-enabled-expected.txt: Added.
3280         * media/modern-media-controls/fullscreen-support/fullscreen-support-enabled.html: Added.
3281         * platform/ios-simulator/TestExpectations:
3282
3283 2016-11-02  Antoine Quint  <graouts@apple.com>
3284
3285         [Modern Media Controls] Media Controller: PiP support
3286         https://bugs.webkit.org/show_bug.cgi?id=163730
3287         <rdar://problem/27989485>
3288
3289         Reviewed by Dean Jackson.
3290
3291         Adding new picture-in-picture tests.
3292
3293         * media/modern-media-controls/pip-support/pip-support-click-expected.txt: Added.
3294         * media/modern-media-controls/pip-support/pip-support-click.html: Added.
3295         * media/modern-media-controls/pip-support/pip-support-enabled-expected.txt: Added.
3296         * media/modern-media-controls/pip-support/pip-support-enabled.html: Added.
3297         * platform/ios-simulator/TestExpectations:
3298         * platform/mac/TestExpectations:
3299
3300 2016-11-01  Brady Eidson  <beidson@apple.com>
3301
3302         IndexedDB 2.0: Support IDBIndex getAll/getAllKeys.
3303         <rdar://problem/28806933> and https://bugs.webkit.org/show_bug.cgi?id=164294
3304
3305         Reviewed by Alex Christensen.
3306
3307         * resources/js-test.js:
3308         (areObjectsEqual):
3309
3310         * storage/indexeddb/modern/idbindex-getall-1-expected.txt: Added.
3311         * storage/indexeddb/modern/idbindex-getall-1-private-expected.txt: Added.
3312         * storage/indexeddb/modern/idbindex-getall-1-private.html: Added.
3313         * storage/indexeddb/modern/idbindex-getall-1.html: Added.
3314         * storage/indexeddb/modern/idbindex-getallkeys-1-expected.txt: Added.
3315         * storage/indexeddb/modern/idbindex-getallkeys-1-private-expected.txt: Added.
3316         * storage/indexeddb/modern/idbindex-getallkeys-1-private.html: Added.
3317         * storage/indexeddb/modern/idbindex-getallkeys-1.html: Added.
3318         * storage/indexeddb/modern/resources/idbindex-getall-1.js: Added.
3319
3320 2016-11-01  Antoine Quint  <graouts@apple.com>
3321
3322         [Modern Media Controls] Media Controller: Airplay support
3323         https://bugs.webkit.org/show_bug.cgi?id=163729
3324         <rdar://problem/27989484>
3325
3326         Reviewed by Dean Jackson.
3327
3328         Adding a new test to check that the AirPlay button in the media controls correctly shows
3329         the availability of AirPlay routes and whether the media is playing via AirPlay.
3330
3331         * media/modern-media-controls/airplay-support/airplay-support-expected.txt: Added.
3332         * media/modern-media-controls/airplay-support/airplay-support.html: Added.
3333         * platform/ios-simulator/TestExpectations:
3334         * platform/mac/TestExpectations:
3335
3336 2016-11-01  Dean Jackson  <dino@apple.com>
3337
3338         Remove WebKitCSSFilterValue to make Hyatt happy
3339         https://bugs.webkit.org/show_bug.cgi?id=164289
3340         <rdar://problems/29050973>
3341
3342         Reviewed by Simon Fraser.
3343
3344         Update the filters tests now that WebKitCSSFilterValue no longer exists.
3345         Unfortunately CSSFunctionValue isn't exposed to the Web, so we just
3346         rely on the cssText of the resulting CSSStyleDeclaration.
3347
3348         I also moved all the script-tests into the HTML files, since there is
3349         no point them being separate.
3350
3351         * css3/filters/backdrop/backdropfilter-property-computed-style-expected.txt:
3352         * css3/filters/backdrop/backdropfilter-property-computed-style.html:
3353         * css3/filters/backdrop/backdropfilter-property-parsing-expected.txt:
3354         * css3/filters/backdrop/backdropfilter-property-parsing-invalid.html:
3355         * css3/filters/backdrop/backdropfilter-property-parsing.html:
3356         * css3/filters/backdrop/backdropfilter-property.html:
3357         * css3/filters/backdrop/script-tests/backdropfilter-property-computed-style.js: Removed.
3358         * css3/filters/backdrop/script-tests/backdropfilter-property-parsing-invalid.js: Removed.
3359         * css3/filters/backdrop/script-tests/backdropfilter-property-parsing.js: Removed.
3360         * css3/filters/backdrop/script-tests/backdropfilter-property.js: Removed.
3361         * css3/filters/effect-reference-delete-crash.html:
3362         * css3/filters/effect-reference-reset-style-delete-crash.html:
3363         * css3/filters/filter-property-computed-style-expected.txt:
3364         * css3/filters/filter-property-computed-style.html:
3365         * css3/filters/filter-property-parsing-expected.txt:
3366         * css3/filters/filter-property-parsing-invalid.html:
3367         * css3/filters/filter-property-parsing.html:
3368         * css3/filters/filter-property.html:
3369         * css3/filters/script-tests/TEMPLATE.html: Removed.
3370         * css3/filters/script-tests/effect-reference-delete-crash.js: Removed.
3371         * css3/filters/script-tests/effect-reference-reset-style-delete-crash.js: Removed.
3372         * css3/filters/script-tests/filter-property-computed-style.js: Removed.
3373         * css3/filters/script-tests/filter-property-parsing-invalid.js: Removed.
3374         * css3/filters/script-tests/filter-property-parsing.js: Removed.
3375         * css3/filters/script-tests/filter-property.js: Removed.
3376         * css3/filters/script-tests/unprefixed.js: Removed.
3377         * css3/filters/unprefixed-expected.txt:
3378         * css3/filters/unprefixed.html:
3379
3380 2016-11-01  Ryan Haddad  <ryanhaddad@apple.com>
3381
3382         Marking fast/preloader/image-srcset.html as flaky on macOS.
3383         https://bugs.webkit.org/show_bug.cgi?id=164277
3384
3385         Unreviewed test gardening.
3386
3387         * platform/mac/TestExpectations:
3388
3389 2016-11-01  Eric Carlson  <eric.carlson@apple.com>
3390
3391         [MediaStream] restrict media capture secure connections
3392         https://bugs.webkit.org/show_bug.cgi?id=164234
3393         <rdar://problem/28944906>
3394
3395         Reviewed by Alex Christensen.
3396
3397         * http/tests/ssl/media-stream: Added.
3398         * http/tests/ssl/media-stream/get-user-media-different-host-expected.txt: Added.
3399         * http/tests/ssl/media-stream/get-user-media-different-host.html: Added.
3400         * http/tests/ssl/media-stream/get-user-media-nested-expected.txt: Added.
3401         * http/tests/ssl/media-stream/get-user-media-nested.html: Added.
3402         * http/tests/ssl/media-stream/get-user-media-secure-connection-expected.txt: Added.
3403         * http/tests/ssl/media-stream/get-user-media-secure-connection.html: Added.
3404         * http/tests/ssl/media-stream/resources: Added.
3405         * http/tests/ssl/media-stream/resources/get-user-media-frame.html: Added.
3406         * http/tests/ssl/media-stream/resources/get-user-media.js: Added.
3407         (else.createURL):
3408         (createURL):
3409
3410 2016-11-01  Devin Rousso  <dcrousso+webkit@gmail.com>
3411
3412         Web Inspector: Replace sublists inside DOM-related model objects with WI.Collection
3413         https://bugs.webkit.org/show_bug.cgi?id=164098
3414
3415         Reviewed by Timothy Hatcher.
3416
3417         * http/tests/inspector/console/cross-domain-inspected-node-access-expected.txt:
3418         * http/tests/inspector/console/cross-domain-inspected-node-access.html:
3419         * http/tests/inspector/dom/disconnect-dom-tree-after-main-frame-navigation.html:
3420         * inspector/css/manager-preferredInspectorStyleSheetForFrame-expected.txt:
3421         * inspector/css/manager-preferredInspectorStyleSheetForFrame.html:
3422         * inspector/dom/content-flow-list.html:
3423         * inspector/dom/highlightFrame-expected.txt:
3424         * inspector/dom/highlightFrame.html:
3425         * inspector/dom/highlightNode-expected.txt:
3426         * inspector/dom/highlightNode.html:
3427         * inspector/dom/highlightSelector-expected.txt:
3428         * inspector/dom/highlightSelector.html:
3429         * inspector/model/frame-extra-scripts-expected.txt:
3430         * inspector/model/frame-extra-scripts.html:
3431         Change functionality to support WebInspector.Collection methods.
3432
3433 2016-11-01  Antoine Quint  <graouts@apple.com>
3434
3435         [Modern Media Controls] Media Controller: Placard support
3436         https://bugs.webkit.org/show_bug.cgi?id=163731
3437         <rdar://problem/28869598>
3438
3439         Reviewed by Dean Jackson.
3440
3441         Adding two new tests to check that the picture-in-picture and AirPlay placards are shown
3442         based on the media presentation mode.
3443
3444         * media/modern-media-controls/placard-support/placard-support-airplay-expected.txt: Added.
3445         * media/modern-media-controls/placard-support/placard-support-airplay.html: Added.
3446         * media/modern-media-controls/placard-support/placard-support-pip-expected.txt: Added.
3447         * media/modern-media-controls/placard-support/placard-support-pip.html: Added.
3448         * platform/ios-simulator/TestExpectations:
3449         * platform/mac/TestExpectations:
3450
3451 2016-11-01  Ryan Haddad  <ryanhaddad@apple.com>
3452
3453         Marking inspector/storage/domStorage-events.html as flaky.
3454         https://bugs.webkit.org/show_bug.cgi?id=164278
3455
3456         Unreviewed test gardening.
3457
3458         * platform/mac/TestExpectations:
3459
3460 2016-11-01  Alex Christensen  <achristensen@webkit.org>
3461
3462         Percent-encode non-ASCII code points in hosts of URLs with unrecognized schemes
3463         https://bugs.webkit.org/show_bug.cgi?id=164290
3464
3465         Reviewed by Tim Horton.
3466
3467         * fast/url/host-lowercase-per-scheme-expected.txt:
3468         * fast/url/safari-extension-expected.txt:
3469         * fetch/fetch-url-serialization-expected.txt:
3470
3471 2016-11-01  Ryan Haddad  <ryanhaddad@apple.com>
3472
3473         Marking inspector/css/pseudo-element-matches.html as flaky on mac-wk2.
3474         https://bugs.webkit.org/show_bug.cgi?id=163932
3475
3476         Unreviewed test gardening.
3477
3478         * platform/mac-wk2/TestExpectations:
3479
3480 2016-11-01  Devin Rousso  <dcrousso+webkit@gmail.com>
3481
3482         Web Inspector: Fix double remove of ResourceCollection if type changes
3483         https://bugs.webkit.org/show_bug.cgi?id=164268
3484
3485         Reviewed by Joseph Pecoraro.
3486
3487         * inspector/unit-tests/resource-collection-expected.txt:
3488         Fixed test to not expect a double remove.
3489
3490 2016-11-01  Ryan Haddad  <ryanhaddad@apple.com>
3491
3492         Marking inspector/storage/domStorage-events.html as flaky.
3493         https://bugs.webkit.org/show_bug.cgi?id=164278
3494
3495         Unreviewed test gardening.
3496
3497         * platform/mac/TestExpectations:
3498
3499 2016-11-01  Antoine Quint  <graouts@apple.com>
3500
3501         [Modern Media Controls] load all media controller scripts and styles automatically
3502         https://bugs.webkit.org/show_bug.cgi?id=164271
3503
3504         Reviewed by Dean Jackson.
3505
3506         We now load all media controller assets with the inclusion of a single script,
3507         obtaining the list of JS files to include through the same file used to build
3508         the modern-media-controls module, so that we don't need to specify this in two places.
3509
3510         * http/tests/media/modern-media-controls/skip-back-support/skip-back-support-button-click.html:
3511         * media/modern-media-controls/elapsed-time-support/elapsed-time-support.html:
3512         * media/modern-media-controls/media-controller/media-controller-constructor.html:
3513         * media/modern-media-controls/media-controller/media-controller-resize.html:
3514         * media/modern-media-controls/mute-support/mute-support-button-click.html:
3515         * media/modern-media-controls/mute-support/mute-support-media-api.html:
3516         * media/modern-media-controls/mute-support/mute-support-muted.html:
3517         * media/modern-media-controls/playback-support/playback-support-autoplay.html:
3518         * media/modern-media-controls/playback-support/playback-support-button-click.html:
3519         * media/modern-media-controls/playback-support/playback-support-media-api.html:
3520         * media/modern-media-controls/remaining-time-support/remaining-time-support.html:
3521         * media/modern-media-controls/resources/media-controls-loader.js: Added.
3522         * media/modern-media-controls/scrubber-support/scrubber-support-click.html:
3523         * media/modern-media-controls/scrubber-support/scrubber-support-drag.html:
3524         * media/modern-media-controls/scrubber-support/scrubber-support-media-api.html:
3525         * media/modern-media-controls/start-support/start-support-audio.html:
3526         * media/modern-media-controls/start-support/start-support-autoplay.html:
3527         * media/modern-media-controls/start-support/start-support-click-to-start.html:
3528         * media/modern-media-controls/start-support/start-support-error.html:
3529         * media/modern-media-controls/start-support/start-support-fullscreen.html:
3530         * media/modern-media-controls/start-support/start-support-manual-play.html:
3531         * media/modern-media-controls/start-support/start-support-no-source.html:
3532         * media/modern-media-controls/volume-support/volume-support-click.html:
3533         * media/modern-media-controls/volume-support/volume-support-drag.html:
3534         * media/modern-media-controls/volume-support/volume-support-media-api-mute.html:
3535         * media/modern-media-controls/volume-support/volume-support-media-api.html:
3536
3537 2016-11-01  Ryosuke Niwa  <rniwa@webkit.org>
3538
3539         Web Inspector: Add the support for custom elements
3540         https://bugs.webkit.org/show_bug.cgi?id=164266
3541
3542         Reviewed by Joseph Pecoraro.
3543
3544         Added a Inspector protocol test for CustomElementState.
3545
3546         * inspector/dom/customElementState-expected.txt: Added.
3547         * inspector/dom/customElementState.html: Added.
3548
3549 2016-10-31  Simon Fraser  <simon.fraser@apple.com>
3550
3551         Add basic visual/layout viewport support for fixed position layout
3552         https://bugs.webkit.org/show_bug.cgi?id=164261
3553
3554         Reviewed by Dean Jackson.
3555
3556         * fast/visual-viewport/nonzoomed-rects-expected.txt: Added.
3557         * fast/visual-viewport/nonzoomed-rects.html: Added.
3558         * fast/visual-viewport/zoomed-fixed-expected.txt: Added.
3559         * fast/visual-viewport/zoomed-fixed-scroll-down-then-up-expected.txt: Added.
3560         * fast/visual-viewport/zoomed-fixed-scroll-down-then-up.html: Added.
3561         * fast/visual-viewport/zoomed-fixed.html: Added.
3562         * fast/visual-viewport/zoomed-rects-expected.txt: Added.
3563         * fast/visual-viewport/zoomed-rects.html: Added.
3564         * platform/ios-simulator/fast/visual-viewport/nonzoomed-rects-expected.txt: Added.
3565         * platform/ios-simulator/fast/visual-viewport/zoomed-fixed-scroll-down-then-up-expected.txt: Added.
3566         * platform/ios-simulator/fast/visual-viewport/zoomed-rects-expected.txt: Added.
3567         * resources/js-test-pre.js:
3568         (evalAndLog):
3569         (evalAndLogResult):
3570         (shouldEvaluateTo):
3571
3572 2016-10-29  Filip Pizlo  <fpizlo@apple.com>
3573
3574         JSC should support SharedArrayBuffer
3575         https://bugs.webkit.org/show_bug.cgi?id=163986
3576
3577         Reviewed by Keith Miller.
3578         
3579         Adding tests. This is a work in progress.
3580
3581         * workers/sab: Added.
3582         * workers/sab/simple-worker-1.js: Added.
3583         (onmessage):
3584         * workers/sab/simple-worker-2.js: Added.
3585         (onmessage):
3586         * workers/sab/simple.html: Added.
3587
3588 2016-10-31  Simon Fraser  <simon.fraser@apple.com>
3589
3590         Make UIScriptController::zoomToScale() work on Mac WK1 and WK2
3591         https://bugs.webkit.org/show_bug.cgi?id=164238
3592
3593         Reviewed by Dean Jackson.
3594
3595         * fast/zooming/uiscript-zooming-expected.txt: Added.
3596         * fast/zooming/uiscript-zooming.html: Added.
3597         * platform/ios-simulator-wk1/TestExpectations:
3598
3599 2016-10-31  Joseph Pecoraro  <pecoraro@apple.com>
3600
3601         Remove test workaround now that original issue is fixed
3602         https://bugs.webkit.org/show_bug.cgi?id=164255
3603
3604         Reviewed by Saam Barati.
3605
3606         * inspector/debugger/resources/log-pause-location.js:
3607         (TestPage.registerInitializer.window.logResolvedBreakpointLinesWithContext):
3608         (TestPage.registerInitializer.window.logLinesWithContext):
3609         (TestPage.registerInitializer.String.prototype.myPadStart): Deleted.
3610         Use the real String.prototype.padStart now that it is fixed.
3611
3612 2016-10-31  Ryosuke Niwa  <rniwa@webkit.org>
3613
3614         Enable custom elements by default everywhere
3615         https://bugs.webkit.org/show_bug.cgi?id=164242
3616
3617         Reviewed by Antti Koivisto.
3618
3619         Enable tests for custom elements everywhere. Also removed the superfluous expectations for shadow DOM tests.
3620
3621         * TestExpectations:
3622         * platform/efl/TestExpectations:
3623         * platform/gtk/TestExpectations:
3624         * platform/mac/TestExpectations:
3625         * platform/win/TestExpectations:
3626
3627 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
3628
3629         Unreviewed, rolling out r207967.
3630
3631         This change seems to be the cause of at least one LayoutTest
3632         becoming flaky.
3633
3634         Reverted changeset:
3635
3636         "REGRESSION(r207753-207755): ASSERTION FAILED:
3637         m_parsedStyleSheetCache->isInMemoryCache()"
3638         https://bugs.webkit.org/show_bug.cgi?id=163905
3639         http://trac.webkit.org/changeset/207967
3640
3641 2016-10-31  Joseph Pecoraro  <pecoraro@apple.com>
3642
3643         Web Inspector: Shadow DOM scoped styles are missing
3644         https://bugs.webkit.org/show_bug.cgi?id=164247
3645         <rdar://problem/29035061>
3646
3647         Reviewed by Antti Koivisto.
3648
3649         * inspector/css/shadow-scoped-style-expected.txt: Added.
3650         * inspector/css/shadow-scoped-style.html: Added.
3651
3652 2016-10-31  Nan Wang  <n_wang@apple.com>
3653
3654         AX: aria-sort is not exposed on iOS
3655         https://bugs.webkit.org/show_bug.cgi?id=164245
3656
3657         Reviewed by Chris Fleizach.
3658
3659         * accessibility/ios-simulator/aria-sort-ios-expected.txt: Added.
3660         * accessibility/ios-simulator/aria-sort-ios.html: Added.
3661
3662 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
3663
3664         Unreviewed, rolling out r208178.
3665
3666         The test added with this change fails or times out on macOS
3667         and iOS.
3668
3669         Reverted changeset:
3670
3671         "[Modern Media Controls] Media Controller: Airplay support"
3672         https://bugs.webkit.org/show_bug.cgi?id=163729
3673         http://trac.webkit.org/changeset/208178
3674
3675 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
3676
3677         Unreviewed, rolling out r208182.
3678
3679         Both of the tests added with this change time out on macOS
3680         Release.
3681
3682         Reverted changeset:
3683
3684         "[Modern Media Controls] Media Controller: Placard support"
3685         https://bugs.webkit.org/show_bug.cgi?id=163731
3686         http://trac.webkit.org/changeset/208182
3687
3688 2016-10-31  Brady Eidson  <beidson@apple.com>
3689
3690         IndexedDB 2.0: Support IDBObjectStore getAll/getAllKeys.
3691         <rdar://problem/28806934> and https://bugs.webkit.org/show_bug.cgi?id=164097
3692
3693         Reviewed by Darin Adler.
3694
3695         * storage/indexeddb/modern/idbobjectstore-getall-1-expected.txt: Added.
3696         * storage/indexeddb/modern/idbobjectstore-getall-1-private-expected.txt: Added.
3697         * storage/indexeddb/modern/idbobjectstore-getall-1-private.html: Added.
3698         * storage/indexeddb/modern/idbobjectstore-getall-1.html: Added.
3699         * storage/indexeddb/modern/idbobjectstore-getallkeys-1-expected.txt: Added.
3700         * storage/indexeddb/modern/idbobjectstore-getallkeys-1-private-expected.txt: Added.
3701         * storage/indexeddb/modern/idbobjectstore-getallkeys-1-private.html: Added.
3702         * storage/indexeddb/modern/idbobjectstore-getallkeys-1.html: Added.
3703         * storage/indexeddb/modern/resources/idbobjectstore-getall-1.js: Added.
3704
3705 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
3706
3707         Marking two http/tests/websocket/tests/hybi tests as flaky.
3708         https://bugs.webkit.org/show_bug.cgi?id=164080
3709
3710         Unreviewed test gardening.
3711
3712         * TestExpectations:
3713
3714 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
3715
3716         Skipping media/modern-media-controls/volume-support/volume-support-media-api.html on ios-simulator.
3717         https://bugs.webkit.org/show_bug.cgi?id=164250
3718
3719         Unreviewed test gardening.
3720
3721         * platform/ios-simulator/TestExpectations:
3722
3723 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
3724
3725         Changing expectation from Failure to Skip for two insertReplacementText tests on ios-simulator.
3726
3727         Unreviewed test gardening.
3728
3729         These tests will always time out on ios-simulator due to reliance upon
3730         testRunner.waitUntilDone().
3731
3732         * platform/ios-simulator/TestExpectations:
3733
3734 2016-10-31  Ryan Haddad  <ryanhaddad@apple.com>
3735
3736         Marking three modern-media-controls tests as flaky.
3737
3738         Unreviewed test gardening.
3739
3740         * TestExpectations:
3741
3742 2016-10-31  Antoine Quint  <graouts@apple.com>
3743
3744         [Modern Media Controls] Media Controller: Placard support
3745         https://bugs.webkit.org/show_bug.cgi?id=163731
3746         <rdar://problem/28869598>
3747
3748         Reviewed by Dean Jackson.
3749
3750         Adding two new tests to check that the picture-in-picture and AirPlay placards are shown
3751         based on the media presentation mode.
3752
3753         * http/tests/media/modern-media-controls/skip-back-support/skip-back-support-button-click.html:
3754         * media/modern-media-controls/elapsed-time-support/elapsed-time-support.html:
3755         * media/modern-media-controls/media-controller/media-controller-constructor.html:
3756         * media/modern-media-controls/media-controller/media-controller-resize.html:
3757         * media/modern-media-controls/mute-support/mute-support-button-click.html:
3758         * media/modern-media-controls/mute-support/mute-support-media-api.html:
3759         * media/modern-media-controls/mute-support/mute-support-muted.html:
3760         * media/modern-media-controls/placard-support/placard-support-airplay-expected.txt: Added.
3761         * media/modern-media-controls/placard-support/placard-support-airplay.html: Added.
3762         * media/modern-media-controls/placard-support/placard-support-pip-expected.txt: Added.
3763         * media/modern-media-controls/placard-support/placard-support-pip.html: Added.
3764         * media/modern-media-controls/playback-support/playback-support-autoplay.html:
3765         * media/modern-media-controls/playback-support/playback-support-button-click.html:
3766         * media/modern-media-controls/playback-support/playback-support-media-api.html:
3767         * media/modern-media-controls/remaining-time-support/remaining-time-support.html:
3768         * media/modern-media-controls/scrubber-support/scrubber-support-click.html:
3769         * media/modern-media-controls/scrubber-support/scrubber-support-drag.html:
3770         * media/modern-media-controls/scrubber-support/scrubber-support-media-api.html:
3771         * media/modern-media-controls/start-support/start-support-audio.html:
3772         * media/modern-media-controls/start-support/start-support-autoplay.html:
3773         * media/modern-media-controls/start-support/start-support-click-to-start.html:
3774         * media/modern-media-controls/start-support/start-support-error.html:
3775         * media/modern-media-controls/start-support/start-support-fullscreen.html:
3776         * media/modern-media-controls/start-support/start-support-manual-play.html:
3777         * media/modern-media-controls/start-support/start-support-no-source.html:
3778         * media/modern-media-controls/volume-support/volume-support-click.html:
3779         * media/modern-media-controls/volume-support/volume-support-drag.html:
3780         * media/modern-media-controls/volume-support/volume-support-media-api-mute.html:
3781         * media/modern-media-controls/volume-support/volume-support-media-api.html:
3782         * LayoutTests/platform/ios-simulator/TestExpectations:
3783         * LayoutTests/platform/mac/TestExpectations:
3784
3785 2016-10-31  Simon Fraser  <simon.fraser@apple.com>
3786
3787         Implement IntersectionObserver
3788         https://bugs.webkit.org/show_bug.cgi?id=159475
3789
3790         Reviewed by Ryosuke Niwa.
3791         
3792         Basic interface tests.
3793
3794         * intersection-observer/intersection-observer-entry-interface-expected.txt: Added.
3795         * intersection-observer/intersection-observer-entry-interface.html: Added.
3796         * intersection-observer/intersection-observer-interface-expected.txt: Added.
3797         * intersection-observer/intersection-observer-interface.html: Added.
3798
3799 2016-10-31  Antoine Quint  <graouts@apple.com>
3800
3801         [Modern Media Controls] Media Controller: Airplay support
3802         https://bugs.webkit.org/show_bug.cgi?id=163729
3803
3804         Reviewed by Dean Jackson.
3805
3806         Adding a new test to check that the AirPlay button in the media controls correctly shows the availability
3807         of AirPlay routes and whether the media is playing via AirPlay.
3808
3809         * http/tests/media/modern-media-controls/skip-back-support/skip-back-support-button-click.html:
3810         * media/modern-media-controls/airplay-support/airplay-support-expected.txt: Added.
3811         * media/modern-media-controls/airplay-support/airplay-support.html: Added.
3812         * media/modern-media-controls/elapsed-time-support/elapsed-time-support.html:
3813         * media/modern-media-controls/media-controller/media-controller-constructor.html:
3814         * media/modern-media-controls/media-controller/media-controller-resize.html:
3815         * media/modern-media-controls/mute-support/mute-support-button-click.html:
3816         * media/modern-media-controls/mute-support/mute-support-media-api.html:
3817         * media/modern-media-controls/mute-support/mute-support-muted.html:
3818         * media/modern-media-controls/playback-support/playback-support-autoplay.html:
3819         * media/modern-media-controls/playback-support/playback-support-button-click.html:
3820         * media/modern-media-controls/playback-support/playback-support-media-api.html:
3821         * media/modern-media-controls/remaining-time-support/remaining-time-support.html:
3822         * media/modern-media-controls/scrubber-support/scrubber-support-click.html:
3823         * media/modern-media-controls/scrubber-support/scrubber-support-drag.html:
3824         * media/modern-media-controls/scrubber-support/scrubber-support-media-api.html:
3825         * media/modern-media-controls/start-support/start-support-audio.html:
3826         * media/modern-media-controls/start-support/start-support-autoplay.html:
3827         * media/modern-media-controls/start-support/start-support-click-to-start.html:
3828         * media/modern-media-controls/start-support/start-support-error.html:
3829         * media/modern-media-controls/start-support/start-support-fullscreen.html:
3830         * media/modern-media-controls/start-support/start-support-manual-play.html:
3831         * media/modern-media-controls/start-support/start-support-no-source.html:
3832         * media/modern-media-controls/volume-support/volume-support-click.html:
3833         * media/modern-media-controls/volume-support/volume-support-drag.html:
3834         * media/modern-media-controls/volume-support/volume-support-media-api-mute.html:
3835         * media/modern-media-controls/volume-support/volume-support-media-api.html:
3836         * platform/mac/TestExpectations:
3837
3838 2016-10-31  Ryosuke Niwa  <rniwa@webkit.org>
3839
3840         CSSStyleDeclaration should be annotated with CEReactions
3841         https://bugs.webkit.org/show_bug.cgi?id=163968
3842
3843         Reviewed by Antti Koivisto.
3844
3845         Added a W3C style testharness.js test.
3846
3847         * fast/custom-elements/reactions/CSSStyleDeclaration-expected.txt: Added.
3848         * fast/custom-elements/reactions/CSSStyleDeclaration.html: Added.
3849
3850 2016-10-31  Zalan Bujtas  <zalan@apple.com>
3851
3852         ASSERTION FAILED: !m_trailingWhitespaceWidth in WebCore::SimpleLineLayout::LineState::removeTrailingWhitespace
3853         https://bugs.webkit.org/show_bug.cgi?id=164076
3854
3855         Reviewed by Antti Koivisto.
3856
3857         * fast/text/simple-line-layout-with-zero-sized-font-expected.txt: Added.
3858         * fast/text/simple-line-layout-with-zero-sized-font.html: Added.
3859
3860 2016-10-31  Nan Wang  <n_wang@apple.com>
3861
3862         AX: iOS Voiceover does not announce previously selected value from input type="date" form field
3863         https://bugs.webkit.org/show_bug.cgi?id=164176
3864
3865         Reviewed by Chris Fleizach.
3866
3867         * accessibility/ios-simulator/input-type-time-expected.txt:
3868         * accessibility/ios-simulator/input-type-time.html:
3869
3870 2016-10-31  Jer Noble  <jer.noble@apple.com>
3871
3872         REGRESSION (r206300): LayoutTest media/media-source/media-source-duplicate-seeked.html timing out
3873         https://bugs.webkit.org/show_bug.cgi?id=162496
3874
3875         Reviewed by Darin Adler.
3876
3877         * platform/mac/TestExpectations:
3878
3879 2016-10-31  Jer Noble  <jer.noble@apple.com>
3880
3881         Allow multiple playing videos on a page with 'autoplay' and 'playsinline' attributes
3882         https://bugs.webkit.org/show_bug.cgi?id=162366
3883         <rdar://problem/28639600>
3884
3885         Reviewed by Eric Carlson.
3886
3887         * media/content/test-video-only.mp4: Added.
3888         * media/non-existent-video-playback-interrupted-expected.txt:
3889         * media/non-existent-video-playback-interrupted.html:
3890         * media/video-background-playback-expected.txt:
3891         * media/video-background-playback.html:
3892         * media/video-background-tab-playback-expected.txt:
3893         * media/video-background-tab-playback.html:
3894         * media/video-concurrent-playback-expected.txt:
3895         * media/video-concurrent-playback.html:
3896         * media/video-concurrent-visible-playback-expected.txt: Added.
3897         * media/video-concurrent-visible-playback.html: Added.
3898         * media/video-multiple-concurrent-playback-expected.txt: Added.
3899         * media/video-multiple-concurrent-playback.html: Added.
3900         * media/video-playback-interrupted-expected.txt:
3901         * media/video-playback-interrupted.html:
3902         * media/video-restricted-invisible-autoplay-not-allowed.html:
3903
3904 2016-10-31  Wenson Hsieh  <wenson_hsieh@apple.com>
3905
3906         Holding down a key to choose an accented character should fire "insertReplacementText" input events
3907         https://bugs.webkit.org/show_bug.cgi?id=164209
3908         <rdar://problem/29019305>
3909
3910         Reviewed by Darin Adler.
3911
3912         Adds 2 new layout tests to verify that inserting replacement text fires input events of inputType
3913         "insertReplacementText" instead of the generic "insertText", and that calling preventDefault() on the
3914         beforeinput event prevents text from being inserted. Also checks that inserting replacement text in
3915         contenteditable areas causes the dataTransfer attribute to be populated, and that the data attribute is null.
3916
3917         * fast/events/before-input-prevent-insert-replacement-expected.txt: Added.
3918         * fast/events/before-input-prevent-insert-replacement.html: Added.
3919         * fast/events/input-event-insert-replacement-expected.txt: Added.
3920         * fast/events/input-event-insert-replacement.html: Added.
3921         * platform/ios-simulator/TestExpectations:
3922         * platform/mac-wk1/TestExpectations:
3923
3924 2016-10-30  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3925
3926         [EFL] Skip media tests because timeout happens on many media tests.
3927
3928         Unreviewed EFL gardening.
3929
3930         Treat the media folder to *Skip* temporarily.
3931
3932         * platform/efl/TestExpectations:
3933
3934 2016-10-30  Darin Adler  <darin@apple.com>
3935
3936         Move Element, NamedNodeMap, and DOMStringMap from ExceptionCode to Exception
3937         https://bugs.webkit.org/show_bug.cgi?id=164206
3938
3939         Reviewed by Chris Dumez.
3940
3941         * fast/dom/resources/shadow-test-driver.js: Deleted. Unused.
3942
3943 2016-10-30  Frederic Wang  <fwang@igalia.com>
3944
3945         Use HarfBuzz ot-math API to parse the OpenType MATH table
3946         https://bugs.webkit.org/show_bug.cgi?id=162671
3947
3948         Reviewed by Michael Catanzaro.
3949
3950         Rebaseline one test for large operators due to small rendering changes.
3951
3952         * platform/gtk/mathml/opentype/opentype-stretchy-expected.png:
3953         * platform/gtk/mathml/opentype/opentype-stretchy-expected.txt:
3954
3955 2016-10-30  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3956
3957         [EFL] Remove duplicated media/media-source tests in TestExpectations
3958
3959         Unreviewed EFL gardening.
3960
3961         Tests of media/media-source have caused timeout on EFL layout test. However
3962         it hasn't been marked to *Skip* because some tests are multiple marked.
3963         So this patch cleans up it, and skip media/media-source for a while.
3964
3965         * platform/efl/TestExpectations:
3966
3967 2016-10-30  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
3968
3969         Unreviewed EFL gardening. Mark some tests to Timeout.
3970
3971         * platform/efl/TestExpectations: Urgent fix to run layout test.
3972
3973 2016-10-29  Dean Jackson  <dino@apple.com>
3974
3975         Parse color() function
3976         https://bugs.webkit.org/show_bug.cgi?id=164146
3977         <rdar://problems/29007218>
3978
3979         Reviewed by Darin Adler.
3980
3981         Test that exercises the new color() function in CSS. It checks
3982         all valid and invalid input, with the exception of fallback content.
3983
3984         * css3/color/color-function-computed-style-expected.txt: Added.
3985         * css3/color/color-function-computed-style.html: Added.
3986         * css3/color/color-function-parsing-expected.txt: Added.
3987         * css3/color/color-function-parsing.html: Added.
3988
3989 2016-10-29  Youenn Fablet  <youenn@apple.com>
3990
3991         Remove testharness.js/testharnessreport.js unnecessary copies
3992         https://bugs.webkit.org/show_bug.cgi?id=164112
3993
3994         Reviewed by Darin Adler.
3995
3996         Removing http/tests/w3c directory.
3997         Contained tests are skipped in Mac, EFL and mark as failing in GTK.
3998         These tests have not been modified since more than 3 years and are probably out-of-date compared to W3C wpt.
3999
4000         Updated other http/tests tests using w3c/tests/resources files to use directly /resources/ URLs.
4001         These /resources/ URLs are using an alias to remove the need to have redundant copies.
4002
4003         Removed imported/blink/http/tests/resources testharness and testharnessreport.js since they are not used.
4004         A few test files in imported/blink/http/tests use /resources/... URLs but they will not point to any of the removed files since the tests are run as file based.
4005
4006         * http/tests/media/media-source/mediasource-play-then-seek-back-with-remote-control.html:
4007         * http/tests/media/resources/media-source/generate-config-change-tests.py:
4008         * http/tests/preload/single_download_preload_runner.html:
4009         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/form-upgrade.html:
4010         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/iframe-upgrade.https.html:
4011         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/proper-uir-on-navigation.html:
4012         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/insecure-site.html:
4013         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/nested-nested-frame.html:
4014         * http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/resources/nested-window.html:
4015         * http/tests/security/cross-origin-css-1.html:
4016         * http/tests/security/cross-origin-css-2.html:
4017         * http/tests/security/cross-origin-css-3.html:
4018         * http/tests/security/cross-origin-css-4.html:
4019         * http/tests/security/cross-origin-css-5.html:
4020         * http/tests/security/cross-origin-css-6.html:
4021         * http/tests/security/cross-origin-css-7.html:
4022         * http/tests/security/cross-origin-css-8.html:
4023         * http/tests/security/cross-origin-css-9.html:
4024         * http/tests/security/cross-origin-css-in-quirks-1.html:
4025         * http/tests/security/cross-origin-css-in-quirks-2.html:
4026         * http/tests/security/cross-origin-css-in-quirks-3.html:
4027         * http/tests/security/cross-origin-css-in-quirks-4.html:
4028         * http/tests/security/cross-origin-css-in-quirks-5.html:
4029         * http/tests/security/cross-origin-css-in-quirks-6.html:
4030         * http/tests/security/cross-origin-css-in-quirks-7.html:
4031         * http/tests/security/cross-origin-css-in-quirks-8.html:
4032         * http/tests/security/mixedContent/insecure-script-in-data-iframe-in-main-frame-blocked.html:
4033         * http/tests/security/resources/post-origin-to-parent.html:
4034         * http/tests/security/same-origin-css-1.html:
4035         * http/tests/security/same-origin-css-2.html:
4036         * http/tests/security/same-origin-css-3.html:
4037         * http/tests/security/same-origin-css-4.html:
4038         * http/tests/security/same-origin-css-5.html:
4039         * http/tests/security/same-origin-css-6.html:
4040         * http/tests/security/same-origin-css-7.html:
4041         * http/tests/security/same-origin-css-8.html:
4042         * http/tests/security/same-origin-css-in-quirks.html:
4043         * http/tests/security/set-domain-remove-subdomain-for-ip-address.html:
4044         * http/tests/w3c/README: Removed.
4045         * http/tests/w3c/resources/WebIDLParser.js: Removed.
4046         * http/tests/w3c/resources/canvas-tests.css: Removed.
4047         * http/tests/w3c/resources/canvas-tests.js: Removed.
4048         * http/tests/w3c/resources/idlharness.js: Removed.
4049         * http/tests/w3c/resources/testharness.css: Removed.
4050         * http/tests/w3c/resources/testharness.js: Removed.
4051         * http/tests/w3c/resources/testharnessreport.js: Removed.
4052         * http/tests/w3c/webperf/approved/HighResolutionTime/basic-expected.txt: Removed.
4053         * http/tests/w3c/webperf/approved/HighResolutionTime/basic.html: Removed.
4054         * http/tests/w3c/webperf/approved/HighResolutionTime/monotonic-clock-expected.txt: Removed.
4055         * http/tests/w3c/webperf/approved/HighResolutionTime/monotonic-clock.html: Removed.
4056         * http/tests/w3c/webperf/approved/HighResolutionTime/resources/now_frame.html: Removed.
4057         * http/tests/w3c/webperf/approved/HighResolutionTime/test_cross_frame_start-expected.txt: Removed.
4058         * http/tests/w3c/webperf/approved/HighResolutionTime/test_cross_frame_start.html: Removed.
4059         * http/tests/w3c/webperf/approved/navigation-timing/html/test_document_open-expected.txt: Removed.
4060         * http/tests/w3c/webperf/approved/navigation-timing/html/test_document_open.html: Removed.
4061         * http/tests/w3c/webperf/approved/navigation-timing/html/test_document_readiness_exist-expected.txt: Removed.
4062         * http/tests/w3c/webperf/approved/navigation-timing/html/test_document_readiness_exist.html: Removed.
4063         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigate_within_document-expected.txt: Removed.
4064         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigate_within_document.html: Removed.
4065         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_attributes_exist-expected.txt: Removed.
4066         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_attributes_exist.html: Removed.
4067         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_redirectCount_none-expected.txt: Removed.
4068         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_redirectCount_none.html: Removed.
4069         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_backforward-expected.txt: Removed.
4070         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_backforward.html: Removed.
4071         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_enums-expected.txt: Removed.
4072         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_enums.html: Removed.
4073         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_reload-expected.txt: Removed.
4074         * http/tests/w3c/webperf/approved/navigation-timing/html/test_navigation_type_reload.html: Removed.
4075         * http/tests/w3c/webperf/approved/navigation-timing/html/test_no_previous_document-expected.txt: Removed.