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