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