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