d2a153cb94f9916cef6f1360586faef29ea65419
[WebKit-https.git] / LayoutTests / ChangeLog
1 2017-01-11  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
2
3         [EFL] Update TestExpectation file for Ubuntu 16.04.
4
5         Unreviewed EFL gardening.
6
7         After bumping Ubuntu version to 16.04, there are many tests are failed.
8         This gardening is to update all failure tests on Ubuntu 16.04.
9
10         * platform/efl/TestExpectations:
11
12 2017-01-10  Yusuke Suzuki  <utatane.tea@gmail.com>
13
14         Implement JSSourceCode to propagate SourceCode in module pipeline
15         https://bugs.webkit.org/show_bug.cgi?id=166861
16
17         Reviewed by Saam Barati.
18
19         * http/tests/security/contentSecurityPolicy/module-eval-blocked-expected.txt:
20
21 2017-01-10  Commit Queue  <commit-queue@webkit.org>
22
23         Unreviewed, rolling out r210052.
24         https://bugs.webkit.org/show_bug.cgi?id=166915
25
26         "breaks web compatability" (Requested by keith_miller on
27         #webkit).
28
29         Reverted changeset:
30
31         "Add support for global"
32         https://bugs.webkit.org/show_bug.cgi?id=165171
33         http://trac.webkit.org/changeset/210052
34
35 2017-01-10  Sam Weinig  <sam@webkit.org>
36
37         [WebIDL] Remove most of the custom bindings for the WebGL code
38         https://bugs.webkit.org/show_bug.cgi?id=166834
39
40         Reviewed by Alex Christensen.
41
42         * fast/canvas/webgl/gl-object-get-calls-expected.txt:
43         Update result for better error message.
44
45 2017-01-10  Ryosuke Niwa  <rniwa@webkit.org>
46
47         :active and :hover states may not be updated across slots
48         https://bugs.webkit.org/show_bug.cgi?id=166881
49         <rdar://problem/29944582>
50
51         Reviewed by Antti Koivisto.
52
53         Added two regression tests; one for clearing :active state across a slot, and another one for clearing
54         a hover state on an ancestor of a slot to which a slot with the hovered element is assigned.
55
56         * fast/shadow-dom/clear-active-state-in-shadow-expected.html: Added.
57         * fast/shadow-dom/clear-active-state-in-shadow.html: Added.
58         * fast/shadow-dom/hover-over-nested-slotted-content-expected.html: Added.
59         * fast/shadow-dom/hover-over-nested-slotted-content.html: Added.
60         * platform/ios-simulator/TestExpectations:
61
62 2017-01-10  Wenson Hsieh  <wenson_hsieh@apple.com>
63
64         Implement "proximity" scroll snapping
65         https://bugs.webkit.org/show_bug.cgi?id=135994
66         <rdar://problem/18162418>
67
68         Reviewed by Dean Jackson.
69
70         Adds 3 new layout tests for proximity scroll snapping. Also tweaks some existing tests that test scroll snapping
71         after scrolling with momentum to use the custom heuristic for predicting scroll destination instead of platform
72         momentum scrolling. This ensures that the results of our layout tests that depend on predicting momentum scroll
73         destination are consistent across runs.
74
75         * tiled-drawing/scrolling/latched-div-with-scroll-snap.html:
76         * tiled-drawing/scrolling/scroll-snap/scroll-snap-iframe.html:
77         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html:
78         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html:
79         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-hidden-scrollbars.html:
80         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html:
81         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html:
82         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html:
83         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-then-horizontal.html:
84         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html:
85         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless.html:
86         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow.html:
87         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding.html:
88         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated.html:
89
90         Force these tests to use platform-independent scrolling momentum prediction, by multiplying the last scroll
91         delta upon release by a constant factor.
92
93         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-then-proximity-expected.txt: Added.
94         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-then-proximity.html: Added.
95
96         Tests that after changing scroll-snap-type from mandatory to proximity, swiping downwards no longer snaps the
97         scroll offset to the second box, but instead leaves the scroll offset somewhere in the middle of the first box.
98
99         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe-expected.txt: Added.
100         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe.html: Added.
101
102         Tests that when scroll-snap-type is proximity in the mainframe, scrolling slightly downwards snaps the scroll
103         offset back up to the top; scrolling somewhere in the middle of the first box does not snap the scroll offset;
104         and scrolling near the end of the first box snaps the scroll offset to the second box.
105
106         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-overflow-expected.txt: Added.
107         * tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-overflow.html: Added.
108
109         Similar to scroll-snap-proximity-mainframe.html, except for overflow scrolling instead of the mainframe.
110
111         * tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top.html:
112
113 2017-01-10  Chris Dumez  <cdumez@apple.com>
114
115         Make Event.initEvent()'s first parameter mandatory
116         https://bugs.webkit.org/show_bug.cgi?id=166894
117
118         Reviewed by Alex Christensen.
119
120         Add layout test coverage.
121
122         * fast/events/initEvent-parameters-expected.txt: Added.
123         * fast/events/initEvent-parameters.html: Added.
124
125 2017-01-10  Commit Queue  <commit-queue@webkit.org>
126
127         Unreviewed, rolling out r210537.
128         https://bugs.webkit.org/show_bug.cgi?id=166903
129
130         This change introduced JSC test failures (Requested by
131         ryanhaddad on #webkit).
132
133         Reverted changeset:
134
135         "Implement JSSourceCode to propagate SourceCode in module
136         pipeline"
137         https://bugs.webkit.org/show_bug.cgi?id=166861
138         http://trac.webkit.org/changeset/210537
139
140 2017-01-10  Jer Noble  <jer.noble@apple.com>
141
142         Add support for MediaKeys.generateRequest().
143         https://bugs.webkit.org/show_bug.cgi?id=166880
144
145         Reviewed by Xabier Rodriguez-Calvar.
146
147         Add shouldResolve() and shouldReject() to video-test.js and update existing
148         tests to use these new functions.
149
150         * media/encrypted-media/mock-MediaKeys-createSession-expected.txt: Added.
151         * media/encrypted-media/mock-MediaKeys-createSession.html: Added.
152         * media/encrypted-media/mock-MediaKeys-setServerCertificate.html:
153         * media/encrypted-media/mock-MediaKeySession-generateRequest.html:
154         * media/encrypted-media/mock-MediaKeySystemAccess.html:
155         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html:
156         * media/video-test.js:
157         (shouldResolve):
158         (shouldReject):
159         * platform/mac/TestExpectations:
160
161 2017-01-10  Jer Noble  <jer.noble@apple.com>
162
163         Add support for MediaKeys.createSession().
164         https://bugs.webkit.org/show_bug.cgi?id=166796
165
166         Reviewed by Eric Carlson.
167
168         * media/encrypted-media/mock-MediaKeys-createSession-expected.txt: Added.
169         * media/encrypted-media/mock-MediaKeys-createSession.html: Added.
170         * platform/mac/TestExpectations:
171
172 2017-01-10  Jer Noble  <jer.noble@apple.com>
173
174         Add support for MediaKeys.setServerCertificate()
175         https://bugs.webkit.org/show_bug.cgi?id=166772
176
177         Reviewed by Darin Adler.
178
179         * media/encrypted-media/mock-MediaKeys-setServerCertificate-expected.txt: Added.
180         * media/encrypted-media/mock-MediaKeys-setServerCertificate.html: Added.
181
182 2017-01-10  Youenn Fablet  <youenn@apple.com>
183
184         CachedScript cloning does not clone encodedSize
185         https://bugs.webkit.org/show_bug.cgi?id=166865
186
187         Reviewed by Darin Adler.
188
189         * http/tests/security/cross-origin-cached-scripts-expected.txt:
190         * http/tests/security/cross-origin-cached-scripts.html:
191         * http/tests/security/resources/notify-loaded.js:
192
193 2017-01-09  Ryosuke Niwa  <rniwa@webkit.org>
194
195         Add an iOS test for tapping on a text node assigned to a slot
196         https://bugs.webkit.org/show_bug.cgi?id=166877
197
198         Reviewed by Andy Estes.
199
200         Add a test for tapping on a text node assigned to a slot.
201         touchstart event must be fired on a parent of the slot with a touch event handler.
202
203         * TestExpectations:
204         * fast/shadow-dom/touch-event-on-text-assigned-to-slot-expected.txt: Added.
205         * fast/shadow-dom/touch-event-on-text-assigned-to-slot.html: Added.
206         * resources/ui-helper.js:
207         (window.UIHelper.tapAt): Added.
208
209 2017-01-09  Yusuke Suzuki  <utatane.tea@gmail.com>
210
211         Implement JSSourceCode to propagate SourceCode in module pipeline
212         https://bugs.webkit.org/show_bug.cgi?id=166861
213
214         Reviewed by Saam Barati.
215
216         * http/tests/security/contentSecurityPolicy/module-eval-blocked-expected.txt:
217
218 2017-01-09  Chris Dumez  <cdumez@apple.com>
219
220         REGRESSION(r189555): ImageDocument title no longer includes the size of the image
221         https://bugs.webkit.org/show_bug.cgi?id=166876
222         <rdar://problem/29939970>
223
224         Reviewed by Tim Horton.
225
226         Add layout test coverage.
227
228         * fast/images/imageDocument-title-expected.txt: Added.
229         * fast/images/imageDocument-title.html: Added.
230
231 2017-01-09  Zalan Bujtas  <zalan@apple.com>
232
233         ASSERTION FAILED: newLogicalTop >= logicalTop in WebCore::RenderBlockFlow::getClearDelta
234         https://bugs.webkit.org/show_bug.cgi?id=151202
235         <rdar://problem/27711822>
236
237         Reviewed by Myles C. Maxfield.
238
239         * fast/block/float/assert-when-line-has-not-enough-space-left-expected.txt: Added.
240         * fast/block/float/assert-when-line-has-not-enough-space-left.html: Added.
241
242 2017-01-09  Tim Horton  <timothy_horton@apple.com>
243
244         Unindenting text inside a blockquote can result in the text being reordered
245         https://bugs.webkit.org/show_bug.cgi?id=166813
246
247         Reviewed by Darin Adler and Ryosuke Niwa.
248
249         * editing/execCommand/unindent-nested-blockquote-with-inner-div-expected.txt: Added.
250         * editing/execCommand/unindent-nested-blockquote-with-inner-div.html: Added.
251
252         Old test output:
253         second<br><blockquote><div><blockquote>first</blockquote><br></div></blockquote>
254         New test output:
255         <blockquote><div><blockquote>first</blockquote><br></div></blockquote>second
256
257 2017-01-09  Yusuke Suzuki  <utatane.tea@gmail.com>
258
259         [JSC] Prototype dynamic-import
260         https://bugs.webkit.org/show_bug.cgi?id=165724
261
262         Reviewed by Saam Barati.
263
264         * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt:
265
266 2017-01-09  Andy Estes  <aestes@apple.com>
267
268         [QuickLook] Add a layout test for webkit.org/b/135651
269         https://bugs.webkit.org/show_bug.cgi?id=166855
270
271         Reviewed by Andreas Kling.
272
273         * quicklook/nil-response-mime-type-expected.txt: Added.
274         * quicklook/nil-response-mime-type.html: Added.
275         * quicklook/resources/nil-response-mime-type.xls: Added.
276
277 2017-01-09  Beth Dakin  <bdakin@apple.com>
278
279         Add a test to ensure that preventDefault on touchmove prevents scrolling
280         https://bugs.webkit.org/show_bug.cgi?id=166790
281
282         Reviewed by Simon Fraser.
283
284         * fast/events/touch/ios/iphone7/prevent-default-touchmove-prevents-scrolling-expected.txt: Added.
285         * fast/events/touch/ios/iphone7/prevent-default-touchmove-prevents-scrolling.html: Added.
286
287 2017-01-09  Ryan Haddad  <ryanhaddad@apple.com>
288
289         Rebaseline W3C test for ios-simulator after r210468.
290         https://bugs.webkit.org/show_bug.cgi?id=166850
291
292         Unreviewed test gardening.
293
294         * platform/ios-simulator/imported/w3c/web-platform-tests/html/browsers/browsing-the-web/history-traversal/persisted-user-state-restoration/scroll-restoration-fragment-scrolling-cross-origin-expected.txt:
295
296 2017-01-09  Lucas Forschler  <lforschler@apple.com>
297
298         https://bugs.webkit.org/show_bug.cgi?id=166839
299         Add php7 support for macOS.
300         This patch mirrors the solution that debian uses, by adding a php7 specific apache conf file.
301
302         Reviewed by Alexey Proskuryakov.
303
304         * http/conf/apache2.4-php7-httpd.conf: Added.
305
306 2017-01-09  Ryan Haddad  <ryanhaddad@apple.com>
307
308         Marking inspector/debugger/breakpoint-action-log.html as flaky on macOS.
309         https://bugs.webkit.org/show_bug.cgi?id=165772
310
311         Unreviewed test gardening.
312
313         * platform/mac/TestExpectations:
314
315 2017-01-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
316
317         [GTK] Should support key and code properties on keyboard events
318         https://bugs.webkit.org/show_bug.cgi?id=166759
319
320         Reviewed by Carlos Garcia Campos.
321
322         * platform/gtk/fast/events/keyboardevent-code-expected.txt: Added. Hardware
323         codes are different for Mac and Linux for a couple of keys, so we need
324         platform-specific results.
325
326 2017-01-09  Alejandro G. Castro  <alex@igalia.com>
327
328         [OWR] Unskip fast/mediastream/MediaStream-video-element-track-stop.html
329         https://bugs.webkit.org/show_bug.cgi?id=165316
330
331         Reviewed by Philippe Normand.
332
333         * platform/gtk/TestExpectations: Unskipped the test and moved the
334         stop one, now it does not timeout because we correctly handle the
335         ended value but still fails, we need more features in the mock
336         classes for owr.
337
338 2017-01-08  Filip Pizlo  <fpizlo@apple.com>
339
340         Unreviewed, since this test is slow it should run in fewer configurations. This resolves the
341         occasional timeouts I was seeing.
342
343         * js/script-tests/regress-139548.js:
344
345 2017-01-07  Andy Estes  <aestes@apple.com>
346
347         [QuickLook] Update quicklook test expectations
348         https://bugs.webkit.org/show_bug.cgi?id=166798
349         <rdar://problem/26477735>
350
351         Reviewed by Alex Christensen.
352
353         For documents that generate HTML previews, updated the expected results to be web archives.
354         Web archives capture the same information that the expected HTML files did, but allow for
355         easy rebasing with --reset-results.
356
357         For documents that generate PDF previews, a webarchive expected result is inappropriate
358         since the generated PDF will differ between runs due to changing metadata (e.g. creation
359         date). These tests were kept as reftests but with updated expected results.
360
361         * platform/ios-simulator/TestExpectations: Unskipped quicklook/.
362         * quicklook/excel-expected.html: Removed.
363         * quicklook/excel-expected.txt: Added.
364         * quicklook/excel-legacy-expected.html: Removed.
365         * quicklook/excel-legacy-expected.txt: Added.
366         * quicklook/excel-legacy.html: Updated to dump as webarchive.
367         * quicklook/excel.html: Ditto.
368         * quicklook/keynote-09-expected.html: Removed.
369         * quicklook/keynote-09-expected.txt: Added.
370         * quicklook/keynote-09.html: Updated to dump as webarchive.
371         * quicklook/numbers-09-expected.html: Removed.
372         * quicklook/numbers-09-expected.txt: Added.
373         * quicklook/numbers-09.html: Updated to dump as webarchive.
374         * quicklook/pages-09-expected.html: Removed.
375         * quicklook/pages-09-expected.txt: Added.
376         * quicklook/pages-09.html: Updated to dump as webarchive.
377         * quicklook/powerpoint-expected.html: Removed.
378         * quicklook/powerpoint-expected.txt: Added.
379         * quicklook/powerpoint-legacy-expected.html: Removed.
380         * quicklook/powerpoint-legacy-expected.txt: Added.
381         * quicklook/powerpoint-legacy.html: Updated to dump as webarchive.
382         * quicklook/powerpoint.html: Updated to dump as webarchive.
383         * quicklook/resources/excel-expected.html: Removed.
384         * quicklook/resources/excel-legacy-expected.html: Removed.
385         * quicklook/resources/keynote-09-expected/index.css: Removed.
386         * quicklook/resources/keynote-09-expected/index.html: Removed.
387         * quicklook/resources/keynote-09-expected/index.js: Removed.
388         * quicklook/resources/keynote-expected.pdf: Updated.
389         * quicklook/resources/numbers-09-expected/canvas.js: Removed.
390         * quicklook/resources/numbers-09-expected/index.html: Removed.
391         * quicklook/resources/numbers-09-expected/navigation.css: Removed.
392         * quicklook/resources/numbers-09-expected/navigation.html: Removed.
393         * quicklook/resources/numbers-09-expected/sheet_1.html: Removed.
394         * quicklook/resources/numbers-expected.pdf: Updated.
395         * quicklook/resources/pages-09-expected/index.css: Removed.
396         * quicklook/resources/pages-09-expected/index.html: Removed.
397         * quicklook/resources/pages-expected.pdf: Updated.
398         * quicklook/resources/powerpoint-expected.html: Removed.
399         * quicklook/resources/powerpoint-legacy-expected.html: Removed.
400         * quicklook/resources/webkit-icon.pdf: Removed.
401         * quicklook/resources/webkit-icon.png: Removed.
402         * quicklook/resources/webkit-icon.tiff: Removed.
403         * quicklook/resources/word-expected.html: Removed.
404         * quicklook/resources/word-legacy-expected.html: Removed.
405         * quicklook/word-expected.html: Removed.
406         * quicklook/word-expected.txt: Added.
407         * quicklook/word-legacy-expected.html: Removed.
408         * quicklook/word-legacy-expected.txt: Added.
409         * quicklook/word-legacy.html: Updated to dump as webarchive.
410         * quicklook/word.html: Updated to dump as webarchive.
411
412 2017-01-06  Chris Dumez  <cdumez@apple.com>
413
414         Regression(r189230): DOM Callbacks may use wrong global object
415         https://bugs.webkit.org/show_bug.cgi?id=166784
416
417         Reviewed by Mark Lam.
418
419         Add layout test coverage.
420
421         * fast/frames/frame-window-as-callback-expected.txt: Added.
422         * fast/frames/frame-window-as-callback.html: Added.
423         * fast/frames/resources/wrong-global-object.html: Added.
424
425 2017-01-06  Tim Horton  <timothy_horton@apple.com>
426
427         Minor cleanups to IndentOutdentCommand and related code
428         https://bugs.webkit.org/show_bug.cgi?id=166791
429
430         Reviewed by Simon Fraser.
431
432         * editing/execCommand/19653-1-expected.txt:
433         * editing/execCommand/19653-1.html:
434         Adjust this indenting test. It had a mislabeled test case (it outdents, not indents),
435         and also was copy-pasted wrong (it wasn't indented in the first place).
436
437         However, since this technically reduces test coverage, keep the existing
438         (but now correctly labeled) test case, since it caught a bug in code I was changing.
439
440 2017-01-06  Ryan Haddad  <ryanhaddad@apple.com>
441
442         Marking fast/text/variations/advances.html as failing on Sierra.
443         https://bugs.webkit.org/show_bug.cgi?id=166672
444
445         Unreviewed test gardening.
446
447         * platform/mac/TestExpectations:
448
449 2017-01-06  Ryan Haddad  <ryanhaddad@apple.com>
450
451         Skip editing/caret/emoji.html on ios-simulator since it relies on EventSender.keydown().
452
453         Unreviewed test gardening.
454
455         * platform/ios-simulator/TestExpectations:
456
457 2017-01-06  Joseph Pecoraro  <pecoraro@apple.com>
458
459         Add some missing longhand properties to CSSComputedStyleDeclaration and fix default values
460         https://bugs.webkit.org/show_bug.cgi?id=166674
461         <rdar://problem/6026159>
462
463         Reviewed by Darin Adler.
464
465         * fast/css/getComputedStyle/computed-style-font-family.html:
466         Skip font-variation-settings which is only available if the feature flag is enabled.
467
468         * fast/css/getComputedStyle/counterIncrement-without-counter-expected.txt:
469         * fast/css/getComputedStyle/counterIncrement-without-counter.html:
470         Fix the default value to be "none" instead of the empty string.
471
472         * svg/css/getComputedStyle-basic-expected.txt:
473         * fast/css/getComputedStyle/computed-style-expected.txt:
474         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
475         * fast/css/getComputedStyle/resources/property-names.js:
476         Add some always expected to be available longhand properties to check.
477
478 2017-01-06  Chris Dumez  <cdumez@apple.com>
479
480         [Form Validation] "character" in maxlength validation message should be singular when maxlength is 1
481         https://bugs.webkit.org/show_bug.cgi?id=166712
482         <rdar://problem/29872292>
483
484         Reviewed by Darin Adler.
485
486         Add layout test coverage.
487
488         * fast/forms/validation-message-maxLength-expected.txt: Added.
489         * fast/forms/validation-message-maxLength.html: Added.
490         * platform/ios-simulator/TestExpectations:
491
492 2017-01-06  Jer Noble  <jer.noble@apple.com>
493
494         Add support for MediaKeySystemAccess.createMediaKeys()
495         https://bugs.webkit.org/show_bug.cgi?id=166749
496
497         Reviewed by Eric Carlson.
498
499         * media/encrypted-media/mock-MediaKeySystemAccess-expected.txt: Added.
500         * media/encrypted-media/mock-MediaKeySystemAccess.html: Added.
501         * platform/mac/TestExpectations:
502
503 2017-01-06  Ryan Haddad  <ryanhaddad@apple.com>
504
505         Add pass expectation for fast/text/emoji-num-glyphs.html on Sierra.
506
507         Unreviewed test gardening.
508
509         * platform/mac/TestExpectations:
510
511 2017-01-06  Ryan Haddad  <ryanhaddad@apple.com>
512
513         Marking three pointer-lock tests as crashing on mac-wk2 debug.
514         https://bugs.webkit.org/show_bug.cgi?id=166765
515
516         Unreviewed test gardening.
517
518         * platform/mac-wk2/TestExpectations:
519
520 2017-01-06  Per Arne Vollan  <pvollan@apple.com>
521
522         Fixed duplicate test expectation entries on Windows.
523
524         Unreviewed test gardening.
525
526         * platform/win/TestExpectations:
527
528 2017-01-05  Ryosuke Niwa  <rniwa@webkit.org>
529
530         Finding text doesn't work across shadow boundary
531         https://bugs.webkit.org/show_bug.cgi?id=158503
532
533         Reviewed by Antti Koivisto.
534
535         Updated the existing tests per changes to use an array of find options instead of raw bit mask,
536         and added a regression test for finding text by traversing flat tree along with testing
537         window.find and execCommand('FindString', false, ~) not walking across shadow boundaries.
538
539         * editing/text-iterator/count-mark-lineboxes-expected.txt:
540         * editing/text-iterator/count-mark-lineboxes.html:
541         * editing/text-iterator/count-mark-simple-lines-expected.txt:
542         * editing/text-iterator/count-mark-simple-lines.html:
543         * editing/text-iterator/count-matches-in-form-expected.txt:
544         * editing/text-iterator/count-matches-in-form.html:
545         * editing/text-iterator/count-matches-in-frames.html:
546         * editing/text-iterator/find-string-on-flat-tree-expected.txt: Added.
547         * editing/text-iterator/find-string-on-flat-tree.html: Added.
548         * fast/text/mark-matches-broken-line-rendering.html:
549         * fast/text/mark-matches-overflow-clip.html:
550         * fast/text/mark-matches-rendering-simple-lines-expected.html:
551         * fast/text/mark-matches-rendering-simple-lines.html:
552         * fast/text/mark-matches-rendering.html:
553
554 2017-01-05  Filip Pizlo  <fpizlo@apple.com>
555
556         Unreviewed, teach run-javascriptcore-tests that this is a slow test.
557
558         * js/script-tests/regress-139548.js:
559
560 2017-01-05  Simon Fraser  <simon.fraser@apple.com>
561
562         Radio buttons have a fixed border radius making them look square when resized
563         https://bugs.webkit.org/show_bug.cgi?id=148676
564
565         Reviewed by Tim Horton.
566
567         * fast/forms/ios/large-radio-button-is-round-expected.html: Added.
568         * fast/forms/ios/large-radio-button-is-round.html: Added.
569
570 2017-01-05  Myles C. Maxfield  <mmaxfield@apple.com>
571
572         Carets can split up marriages and families
573         https://bugs.webkit.org/show_bug.cgi?id=166711
574         <rdar://problem/29019333>
575
576         Reviewed by Alex Christensen.
577
578         AFAICT we don't have a test where we arrow-through a set of emoji. We do
579         have tests where we backspace-through a set of emoji. Add a new test for
580         the arrow keys.
581
582         * platform/ios/TestExpectations:
583         * platform/mac/editing/caret/emoji-expected.txt: Added.
584         * editing/caret/emoji.html: Added.
585         * editing/caret/ios/emoji-expected.txt: Added.
586         * editing/caret/ios/emoji.html: Added.
587
588 2017-01-05  Ryan Haddad  <ryanhaddad@apple.com>
589
590         Rebaseline fast/canvas/webgl/context-creation-attributes.html after r210372.
591
592         Unreviewed test gardening.
593
594         * fast/canvas/webgl/context-creation-attributes-expected.txt:
595
596 2017-01-05  Jeremy Jones  <jeremyj@apple.com>
597
598         Update pointer-lock test expectations, enabling passing tests.
599         https://bugs.webkit.org/show_bug.cgi?id=166656
600         rdar://problem/29851126
601
602         Reviewed by Alex Christensen.
603
604         Several pointer lock tests are passing and are now marked as passing.
605         pointer-lock/lock-already-locked.html Pass
606         pointer-lock/lock-element-not-in-dom.html Pass
607         http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html Pass
608         http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html Pass
609         http/tests/pointer-lock/pointerlockelement-different-origin.html Pass
610         http/tests/pointer-lock/pointerlockelement-same-origin.html Pass
611         http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html Pass
612         http/tests/pointer-lock/iframe-sandboxed.html Pass
613         http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html Pass
614
615         * platform/mac/TestExpectations:
616         * http/tests/pointer-lock/iframe-sandboxed-expected.txt: Updated.
617         * http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt: Updated
618
619 2017-01-05  Zalan Bujtas  <zalan@apple.com>
620
621         Mark the dedicated root linebox for trailing floats in empty inlines dirty.
622         https://bugs.webkit.org/show_bug.cgi?id=166732
623         <rdar://problem/29100419>
624
625         Reviewed by Antti Koivisto.
626
627         * fast/inline/trailing-floats-inline-crash2-expected.txt: Added.
628         * fast/inline/trailing-floats-inline-crash2.html: Added.
629
630 2017-01-04  Brian Burg  <bburg@apple.com>
631
632         Web Inspector: Test.html should support globals reportInternalError, reportUnhandledRejection, reportUncaughtException
633         https://bugs.webkit.org/show_bug.cgi?id=161358
634         <rdar://problem/28066446>
635
636         Reviewed by Joseph Pecoraro.
637
638         Improve uncaught exception reporting and add some tests to document
639         new and existing behavior.
640
641         * http/tests/inspector/resources/inspector-test.js:
642         (runTest.runTestMethodInFrontend):
643         (runTest): Outsource reporting of an uncaught exception while injecting
644         a method into the frontend. By doing this, we can make the report using
645         the actual exception object since it doesn't go through window.onerror.
646
647         * inspector/unit-tests/async-test-suite-expected.txt:
648         * inspector/unit-tests/async-test-suite.html:
649         * inspector/unit-tests/sync-test-suite-expected.txt:
650         * inspector/unit-tests/sync-test-suite.html:
651         Rebaseline and force suppression of stack traces, which are not deterministic
652         across commits due to logging specific lines and columns in TestCombined.js.
653
654         * inspector/unit-tests/globals-uncaught-exception-from-timer-callback-expected.txt: Added.
655         * inspector/unit-tests/globals-uncaught-exception-from-timer-callback.html: Added.
656         * inspector/unit-tests/globals-uncaught-exception-in-test-function-expected.txt: Added.
657         * inspector/unit-tests/globals-uncaught-exception-in-test-function.html: Added.
658         * inspector/unit-tests/globals-uncaught-exception-in-test-suite-expected.txt: Added.
659         * inspector/unit-tests/globals-uncaught-exception-in-test-suite.html: Added.
660         * inspector/unit-tests/globals-unhandled-rejection-in-test-function-expected.txt: Added.
661         * inspector/unit-tests/globals-unhandled-rejection-in-test-function.html: Added.
662         * inspector/unit-tests/globals-unhandled-rejection-in-test-suite-expected.txt: Added.
663         * inspector/unit-tests/globals-unhandled-rejection-in-test-suite.html: Added.
664         * inspector/unit-tests/globals-unhandled-rejection-in-timer-callback-expected.txt: Added.
665         * inspector/unit-tests/globals-unhandled-rejection-in-timer-callback.html: Added.
666
667 2017-01-05  Andreas Kling  <akling@apple.com>
668
669         Skip fast/scrolling/page-cache-back-overflow-scroll-restore.html on iOS simulator.
670         <https://webkit.org/b/166736>
671
672         * platform/ios-simulator/TestExpectations:
673
674 2017-01-05  Chris Dumez  <cdumez@apple.com>
675
676         Form validation: Align email validation with the latest HTML specification
677         https://bugs.webkit.org/show_bug.cgi?id=166697
678         <rdar://problem/29870245>
679
680         Reviewed by Alex Christensen.
681
682         Extended / updated existing layout test to cover behavior changes.
683
684         * fast/forms/ValidityState-typeMismatch-email-expected.txt:
685         * fast/forms/resources/ValidityState-typeMismatch-email.js:
686
687 2017-01-05  Andreas Kling  <akling@apple.com>
688
689         REGRESSION(r210226): overflow:scroll scroll position not restored on back navigation
690         <https://webkit.org/b/166724>
691
692         Reviewed by Antti Koivisto.
693
694         Add a test that navigates back to a page with a scrolled overflow:scroll element.
695         The test verifies that the scroll position is restored.
696
697         * fast/scrolling/page-cache-back-overflow-scroll-restore-expected.txt: Added.
698         * fast/scrolling/page-cache-back-overflow-scroll-restore.html: Added.
699
700 2017-01-05  Per Arne Vollan  <pvollan@apple.com>
701
702         Unreviewed test gardening.
703
704         Update test expectations on Windows for failing tests. These failures are tracked in
705         https://bugs.webkit.org/show_bug.cgi?id=160447.
706
707         * platform/win/TestExpectations:
708
709 2017-01-04  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
710
711         [EFL] Fully update TestExpectations
712
713         Unreviewed EFL gardening.
714
715         EFL layout test has been broken too long time. Besides many tests have not maintained
716         as well. Now many tests are passingi, or some tests are being failed, crash, or timeout.
717         To update current test results, this patch updates all test results in TextExpectation.
718
719         After this update, I hope to track layout test failures efficiently.
720
721         * platform/efl/TestExpectations:
722
723 2017-01-04  Manuel Rego Casasnovas  <rego@igalia.com>
724
725         [css-grid] Fix crash clamping grid lines
726         https://bugs.webkit.org/show_bug.cgi?id=166637
727
728         Reviewed by Darin Adler.
729
730         * fast/css-grid-layout/grid-position-crash-expected.txt: Added.
731         * fast/css-grid-layout/grid-position-crash.html: Added.
732
733 2017-01-04  Myles C. Maxfield  <mmaxfield@apple.com>
734
735         Remove runtime flag for variation fonts
736         https://bugs.webkit.org/show_bug.cgi?id=164251
737
738         Reviewed by Dean Jackson.
739
740         * animations/font-variations/font-variation-settings-expected.html:
741         * animations/font-variations/font-variation-settings-order-expected.html:
742         * animations/font-variations/font-variation-settings-order.html:
743         * animations/font-variations/font-variation-settings-unlike-expected.html:
744         * animations/font-variations/font-variation-settings-unlike.html:
745         * animations/font-variations/font-variation-settings.html:
746         * fast/text/variations/duplicate-expected.html:
747         * fast/text/variations/duplicate.html:
748         * fast/text/variations/exist-expected-mismatch.html:
749         * fast/text/variations/exist.html:
750         * fast/text/variations/getComputedStyle.html:
751         * fast/text/variations/inheritance-expected.html:
752         * fast/text/variations/inheritance.html:
753         * fast/text/variations/order-expected.html:
754         * fast/text/variations/order.html:
755         * fast/text/variations/outofbounds-expected.html:
756         * fast/text/variations/outofbounds.html:
757
758 2017-01-04  Nan Wang  <n_wang@apple.com>
759
760         Many new HTML5 input types still exposed as generic AXTextfield
761         https://bugs.webkit.org/show_bug.cgi?id=109017
762         <rdar://problem/13658955>
763
764         Reviewed by Chris Fleizach.
765
766         * platform/mac/accessibility/roles-exposed-expected.txt:
767
768 2017-01-04  Chris Dumez  <cdumez@apple.com>
769
770         Assertion hit on redfin.com: ASSERTION FAILED: collection->length() > 1
771         https://bugs.webkit.org/show_bug.cgi?id=166687
772         <rdar://problem/29865854>
773
774         Reviewed by Darin Adler.
775
776         Add layout test coverage.
777
778         * fast/shadow-dom/document-named-property-expected.txt: Added.
779         * fast/shadow-dom/document-named-property.html: Added.
780         * fast/shadow-dom/window-named-property-expected.txt: Added.
781         * fast/shadow-dom/window-named-property.html: Added.
782
783 2017-01-04  Manuel Rego Casasnovas  <rego@igalia.com>
784
785         [GTK] Two editing tests are passing but marked as failure
786
787         Unreviewed GTK gardening.
788
789         * platform/gtk/TestExpectations:
790
791 2017-01-04  John Wilander  <wilander@apple.com>
792
793         Validate the BCP47-ness of the language string passed to TrackBase::setLanguage()
794         https://bugs.webkit.org/show_bug.cgi?id=123926
795
796         Reviewed by Jer Noble.
797
798         * media/media-source/only-bcp47-language-tags-accepted-as-valid-expected.txt: Added.
799         * media/media-source/only-bcp47-language-tags-accepted-as-valid.html: Added.
800         * media/track/w3c/interfaces/HTMLTrackElement/srclang-expected.txt:
801             Expected text change since we now have console warnings for
802             invalid language tags.
803         * media/track/w3c/interfaces/TextTrack/language-expected.txt:
804             Expected text change since we now have console warnings for
805             invalid language tags.
806         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
807             Expected text change since we now have console warnings for
808             invalid language tags.
809         * platform/ios-simulator/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
810             Expected text change since we now have console warnings for
811             invalid language tags.
812
813 2017-01-04  Joseph Pecoraro  <pecoraro@apple.com>
814
815         Web Inspector: Cross Origin importScripts() scripts lack source URL, causes issues with Inspector showing Resource
816         https://bugs.webkit.org/show_bug.cgi?id=165569
817         <rdar://problem/29607569>
818
819         Reviewed by Youenn Fablet.
820
821         * http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts-expected.txt: Added.
822         * http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts.html: Added.
823         * http/tests/inspector/worker/resources/worker-blob-import-script.js: Added.
824         * http/tests/inspector/worker/resources/worker-blob-script.js: Added.
825         Ensure cross origin scripts imported by workers still get the correct Script URL.
826         Also this provides a test for worker started with a blob URL.
827
828 2017-01-03  Ryosuke Niwa  <rniwa@webkit.org>
829
830         label element with tabindex >= 0 is not focusable
831         https://bugs.webkit.org/show_bug.cgi?id=102780
832         <rdar://problem/29796608>
833
834         Reviewed by Darin Adler.
835
836         Added a regression test for traversing label and legend elements by tabbing.
837         A native merge of the blink fix would have regressed this for the label element
838         while the bug in the legend element had always existed.
839
840         Also added a regression test for focusing label and legend elements with tabindex.
841         We should be able to focus either element. New behavior matches that of Chrome.
842         Firefox moves the focus to the label element like we used to before this patch.
843
844         Also merge the test fix from https://chromium.googlesource.com/chromium/src/+/085ad8697b1be50c4f93e296797a25a43a79bcfb
845
846         * fast/events/focus-label-legend-elements-expected.txt: Added.
847         * fast/events/focus-label-legend-elements-with-tab-expected.txt: Added.
848         * fast/events/focus-label-legend-elements-with-tab.html: Added.
849         * fast/events/focus-label-legend-elements.html: Added.
850         * fast/events/resources/tabindex-focus-blur-all-frame1.html:
851         * fast/events/resources/tabindex-focus-blur-all-frame2.html:
852         * fast/events/resources/tabindex-focus-blur-all.js:
853         * fast/events/tabindex-focus-blur-all-expected.txt:
854         * platform/ios-simulator-wk2/TestExpectations:
855
856 2017-01-03  Tim Horton  <timothy_horton@apple.com>
857
858         NSSpellChecker's recordResponse isn't called for unseen automatic corrections
859         https://bugs.webkit.org/show_bug.cgi?id=166450
860         <rdar://problem/29447824>
861
862         Reviewed by Darin Adler.
863
864         * editing/editing.js:
865         (runEditingTest):
866         (runEditingTestWithCallbackLogging):
867         Add a way to run an editing test without enabling noisy editing callback logging.
868
869         * editing/mac/spelling/accept-unseen-candidate-records-acceptance-expected.txt: Added.
870         * editing/mac/spelling/accept-unseen-candidate-records-acceptance.html: Added.
871         Add a test that ensures that we correctly inform NSSpellChecker of an
872         accepted unseen correction.
873
874         * platform/mac-wk2/TestExpectations:
875         Disable the test because spelling tests don't work in WebKit2 at all.
876
877 2017-01-03  Nan Wang  <n_wang@apple.com>
878
879         AX: Focus should jump into modal dialogs when one appears
880         https://bugs.webkit.org/show_bug.cgi?id=166670
881
882         Reviewed by Chris Fleizach.
883
884         * accessibility/mac/aria-modal-auto-focus-expected.txt: Added.
885         * accessibility/mac/aria-modal-auto-focus.html: Added.
886
887 2017-01-03  Brian Burg  <bburg@apple.com>
888
889         Web Inspector: WrappedPromise constructor should behave like the Promise constructor
890         https://bugs.webkit.org/show_bug.cgi?id=166523
891
892         Reviewed by Joseph Pecoraro.
893
894         * inspector/unit-tests/wrapped-promise-expected.txt: Added.
895         * inspector/unit-tests/wrapped-promise.html: Added.
896
897 2017-01-03  Joseph Pecoraro  <pecoraro@apple.com>
898
899         Web Inspector: Address failures under LayoutTests/inspector/debugger/stepping
900         https://bugs.webkit.org/show_bug.cgi?id=166300
901
902         Reviewed by Brian Burg.
903
904         * inspector/debugger/stepping/stepping-classes-expected.txt:
905         Rebaseline these results to new column values.
906
907 2017-01-03  Joseph Pecoraro  <pecoraro@apple.com>
908
909         Web Inspector: Fix Content Flow Container Regions Computed Style section
910         https://bugs.webkit.org/show_bug.cgi?id=166294
911
912         Reviewed by Brian Burg.
913
914         * inspector/dom/content-flow-list.html:
915         Update the domTree across navigations. Also dynamically add the flows to
916         ensure we get the events.
917
918 2017-01-03  Carlos Alberto Lopez Perez  <clopez@igalia.com>
919
920         A floating element within <li> overlaps with the marker
921         https://bugs.webkit.org/show_bug.cgi?id=166528
922
923         Reviewed by Zalan Bujtas.
924
925         * fast/lists/list-marker-before-float-expected.html: Added.
926         * fast/lists/list-marker-before-float-nested-expected.html: Added.
927         * fast/lists/list-marker-before-float-nested-rtl-expected.html: Added.
928         * fast/lists/list-marker-before-float-nested-rtl.html: Added.
929         * fast/lists/list-marker-before-float-nested.html: Added.
930         * fast/lists/list-marker-before-float-rtl-expected.html: Added.
931         * fast/lists/list-marker-before-float-rtl.html: Added.
932         * fast/lists/list-marker-before-float.html: Added.
933
934 2017-01-03  Carlos Garcia Campos  <cgarcia@igalia.com>
935
936         [GTK] HTTP auth layout tests are flaky
937         https://bugs.webkit.org/show_bug.cgi?id=158919
938
939         Reviewed by Michael Catanzaro.
940
941         Unskip tests that should pass now.
942
943         * platform/gtk/TestExpectations:
944
945 2017-01-02  Chris Fleizach  <cfleizach@apple.com>
946
947         AX: Expose block quote level to iOS API
948         https://bugs.webkit.org/show_bug.cgi?id=166629
949         <rdar://problem/29834793>
950
951         Reviewed by Darin Adler.
952
953         * accessibility/ios-simulator/blockquote-level-expected.txt: Added.
954         * accessibility/ios-simulator/blockquote-level.html: Added.
955
956 2016-12-31  Darin Adler  <darin@apple.com>
957
958         Remove PassRefPtr use from the "dom" directory, related cleanup
959         https://bugs.webkit.org/show_bug.cgi?id=166569
960
961         Reviewed by Alex Christensen.
962
963         * fast/dom/title-text-property-2-expected.txt:
964         * http/tests/globalhistory/history-delegate-basic-title-expected.txt:
965         Updated expected results for progression where we no longer send duplicate updates
966         of the title when setting the title property on a document.
967
968         * fast/regions/cssom/webkit-named-flow-collection-expected.txt:
969         * fast/regions/cssom/webkit-named-flow-collection.html:
970         Added test cases cover property names in the named flow collection.
971         Specifically, check both Object.keys for just the indices, and also
972         Object.getOwnPropertyNames for including the names of the flows.
973
974 2016-12-28  Sergio Villar Senin  <svillar@igalia.com>
975
976         [css-grid] Isolate instrinsic size computation from layout
977         https://bugs.webkit.org/show_bug.cgi?id=166530
978
979         Reviewed by Darin Adler.
980
981         * fast/css-grid-layout/grid-auto-repeat-intrinsic-expected.txt: Added.
982         * fast/css-grid-layout/grid-auto-repeat-intrinsic.html: Added.
983         * fast/css-grid-layout/grid-change-intrinsic-size-with-auto-repeat-tracks-expected.txt: Added.
984         * fast/css-grid-layout/grid-change-intrinsic-size-with-auto-repeat-tracks.html: Added.
985
986 2016-12-28  Carlos Alberto Lopez Perez  <clopez@igalia.com>
987
988         [Gardening] Remove INDIE_UI related entries from TestExpectation files.
989         https://bugs.webkit.org/show_bug.cgi?id=165881
990
991         Unreviewed.
992
993         * platform/efl/TestExpectations:
994         * platform/gtk/TestExpectations:
995         * platform/win/TestExpectations:
996
997 2016-12-28  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
998
999         [EFL] Gardening on 28th Dec.
1000
1001         Unreviewed EFL gardening.
1002
1003         * platform/efl/TestExpectations: Mark failing tests to Failure or ImageOnlyFailure.
1004
1005 2016-12-27  Gyuyoung Kim  <gyuyoung.kim@navercorp.com>
1006
1007         [EFL] Gardening on 27th Dec.
1008
1009         Unreviewed EFL gardening.
1010
1011         * platform/efl/TestExpectations: Mark failing tests to Timeout or Skip.
1012
1013 2016-12-26  Zalan Bujtas  <zalan@apple.com>
1014
1015         ASSERTION FAILED: !rect.isEmpty() in WebCore::GraphicsContext::drawRect
1016         https://bugs.webkit.org/show_bug.cgi?id=163461
1017
1018         Reviewed by Darin Adler.
1019
1020         * fast/lists/assert-on-empty-list-marker-expected.txt: Added.
1021         * fast/lists/assert-on-empty-list-marker.html: Added.
1022
1023 2016-12-25  Chris Fleizach  <cfleizach@apple.com>
1024
1025         AX: Headers of table not read by VoiceOver
1026         https://bugs.webkit.org/show_bug.cgi?id=158693
1027         <rdar://problem/26771065>
1028
1029         Reviewed by Darin Adler.
1030
1031         * accessibility/hidden-th-still-column-header-expected.txt: Added.
1032         * accessibility/hidden-th-still-column-header.html: Added.
1033
1034 2016-12-25  Sam Weinig  <sam@webkit.org>
1035
1036         [WebIDL] Remove (most) custom bindings for the IndexedDB code
1037         https://bugs.webkit.org/show_bug.cgi?id=166451
1038
1039         Reviewed by Darin Adler.
1040
1041         * storage/indexeddb/exceptions-expected.txt:
1042         * storage/indexeddb/exceptions-private-expected.txt:
1043         * storage/indexeddb/index-basics-expected.txt:
1044         * storage/indexeddb/index-basics-private-expected.txt:
1045         * storage/indexeddb/index-basics-workers-expected.txt:
1046         * storage/indexeddb/objectstore-cursor-expected.txt:
1047         * storage/indexeddb/objectstore-cursor-private-expected.txt:
1048         Update results for improved exception messages.
1049
1050 2016-12-23  Simon Fraser  <simon.fraser@apple.com>
1051
1052         REGRESSION (r209299): Selection is broken when you zoom in webpage using trackpad
1053         https://bugs.webkit.org/show_bug.cgi?id=166472
1054         rdar://problem/29675551
1055
1056         Reviewed by Tim Horton.
1057
1058         Add some test coverage for autoscroll of the main document. I could only get this
1059         working in WebKitTestRunner, not DumpRenderTree.
1060
1061         * TestExpectations:
1062         * fast/events/autoscroll-main-document-expected.txt: Added.
1063         * fast/events/autoscroll-main-document.html: Added.
1064         * fast/events/autoscroll-when-zoomed-expected.txt: Added.
1065         * fast/events/autoscroll-when-zoomed.html: Added.
1066         * fast/events/drag-select-when-zoomed-expected.txt: Added.
1067         * fast/events/drag-select-when-zoomed-with-header-expected.txt: Added.
1068         * fast/events/drag-select-when-zoomed-with-header.html: Added.
1069         * fast/events/drag-select-when-zoomed.html: Added.
1070         * fast/scrolling/scroll-to-anchor-zoomed-header-expected.txt: Added.
1071         * fast/scrolling/scroll-to-anchor-zoomed-header.html: Added.
1072         * fast/transforms/selection-bounds-in-transformed-view.html: Revert the target scroll position to what it was
1073         before r209299, and improve the failure output.
1074         * platform/ios-simulator/TestExpectations:
1075         * platform/mac-wk2/TestExpectations:
1076
1077 2016-12-23  Andy Estes  <aestes@apple.com>
1078
1079         [iOS] Fix some crashing webarchive tests
1080         https://bugs.webkit.org/show_bug.cgi?id=166470
1081
1082         Reviewed by Andreas Kling.
1083
1084         Removed entries for previously crashing/failing tests.
1085
1086         * platform/ios-simulator-wk2/TestExpectations:
1087         * platform/ios-simulator/TestExpectations:
1088
1089 2016-12-23  Andreas Kling  <akling@apple.com>
1090
1091         REGRESSION(r209865): Crash when navigating back to some pages with compositing layers.
1092         <https://webkit.org/b/166469>
1093         <rdar://problem/29109053>
1094
1095         Reviewed by Darin Adler.
1096
1097         Add a smoke test for the crashes we were seeing. Thanks to Zalán for the reduction.
1098
1099         * compositing/page-cache-back-crash-expected.txt: Added.
1100         * compositing/page-cache-back-crash.html: Added.
1101
1102 2016-12-22  Sam Weinig  <sam@webkit.org>
1103
1104         [WebIDL] Remove custom bindings for WebSQL code
1105         https://bugs.webkit.org/show_bug.cgi?id=166441
1106
1107         Reviewed by Darin Adler.
1108
1109         * storage/websql/execute-sql-args-expected.txt:
1110         * storage/websql/execute-sql-args.js:
1111         Update test and result to be slightly more strict about functions taking sequences.
1112
1113 2016-12-22  Brent Fulgham  <bfulgham@apple.com>
1114
1115         Nested calls to setDocument can omit firing 'unload' events
1116         https://bugs.webkit.org/show_bug.cgi?id=166422
1117         <rdar://problem/29763012>
1118
1119         Reviewed by Alex Christensen.
1120
1121         * fast/loader/nested-document-handling-expected.txt: Added.
1122         * fast/loader/nested-document-handling.html: Added.
1123         * fast/loader/resources/subframe-success.html: Added.
1124
1125 2016-12-22  Zalan Bujtas  <zalan@apple.com>
1126
1127         Do not destroy the RenderNamedFlowFragment as leftover anonymous block.
1128         https://bugs.webkit.org/show_bug.cgi?id=166436
1129         rdar://problem/29772233
1130
1131         Reviewed by Simon Fraser.
1132
1133         * fast/regions/flow-fragment-as-anonymous-block-crash-expected.txt: Added.
1134         * fast/regions/flow-fragment-as-anonymous-block-crash.html: Added.
1135
1136 2016-12-22  Wenson Hsieh  <wenson_hsieh@apple.com>
1137
1138         CSS Scroll Snap does not work if scrollbar is hidden
1139         https://bugs.webkit.org/show_bug.cgi?id=160442
1140         <rdar://problem/23317034>
1141
1142         Reviewed by Simon Fraser.
1143
1144         Adds a new layout test verifying that scroll snapping still works when scrollbars are hidden via CSS.
1145
1146         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-hidden-scrollbars-expected.txt: Added.
1147         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-hidden-scrollbars.html: Added.
1148
1149 2016-12-22  Daniel Bates  <dabates@apple.com>
1150
1151         Make http/tests/security/popup-blocked-from-{fake-event, window-open}.html actually test popup
1152         blocker; run on WebKit2
1153         https://bugs.webkit.org/show_bug.cgi?id=166403
1154
1155         Reviewed by Darin Adler.
1156
1157         The tests http/tests/security/popup-blocked-from-{fake-event, window-open}.html inadvertently
1158         depended on the default behavior of DumpRenderTree to ignore the ChromeClient::createWindow()
1159         callback when asked to create a new window instead of testing that the popup blocker blocked
1160         opening windows. We should call testRunner.setCanOpenWindows() and testRunner.setPopupBlockingEnabled(true)
1161         from both of these tests so that DumpRenderTree respects requests to open windows and enable
1162         the popup blocker (it is disabled by default), respectively.
1163
1164         The default behavior of DumpRenderTree to disallow opening windows falls out from the purpose
1165         and implementation of testRunner.setCanOpenWindows() to support writing tests where the embedding
1166         client ignores requests to create a new window. We do not implement such a concept in WebKitTestRunner
1167         (see <https://bugs.webkit.org/show_bug.cgi?id=166402>).
1168
1169         * http/tests/security/popup-blocked-from-fake-event.html:
1170         * http/tests/security/popup-blocked-from-window-open.html:
1171         * platform/wk2/TestExpectations: Unskip the above tests as they now pass.
1172
1173 2016-12-22  Daniel Bates  <dabates@apple.com>
1174
1175         Bypass pop-up blocker from cross-origin or sandboxed frame
1176         https://bugs.webkit.org/show_bug.cgi?id=166290
1177         <rdar://problem/29742039>
1178
1179         Reviewed by Darin Adler.
1180
1181         * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame-expected.txt: Added.
1182         * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame.html: Added.
1183         * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame2-expected.txt: Added.
1184         * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame2.html: Added.
1185         * fast/events/popup-blocked-from-unique-frame-via-window-open-named-sibling-frame-expected.txt: Added.
1186         * fast/events/popup-blocked-from-unique-frame-via-window-open-named-sibling-frame.html: Added.
1187
1188 2016-12-21  Eric Carlson  <eric.carlson@apple.com>
1189
1190         [MediaStream] Update media-stream-event-constructor test
1191         https://bugs.webkit.org/show_bug.cgi?id=166398
1192
1193         Reviewed by Jer Noble.
1194
1195         Update and rebaseline test to reflect behavior changes that happened while the test was
1196         skipped. Un-skip it on macOS.
1197
1198         * fast/events/constructors/media-stream-event-constructor-expected.txt:
1199         * fast/events/constructors/media-stream-event-constructor.html:
1200         * platform/mac/TestExpectations:
1201
1202 2016-12-21  John Wilander  <wilander@apple.com>
1203
1204         Switch to a blacklist model for restricted Accept headers in simple CORS requests
1205         https://bugs.webkit.org/show_bug.cgi?id=166363
1206
1207         Reviewed by Alex Christensen.
1208
1209         * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight-expected.txt:
1210         * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html:
1211
1212 2016-12-21  Wenson Hsieh  <wenson_hsieh@apple.com>
1213
1214         Add a layout test for scroll snapping with padding in the container
1215         https://bugs.webkit.org/show_bug.cgi?id=144927
1216         <rdar://problem/20923772>
1217
1218         Reviewed by Brent Fulgham.
1219
1220         The issue was actually addressed by changes to snap offset computation in AxisScrollSnapOffsets.cpp with
1221         <https://trac.webkit.org/changeset/210024>, but there was no test for this. This patch adds a new layout test
1222         verifying that the padding on child elements is accounted for when computing the scroll snap offsets of a scroll
1223         snapping container.
1224
1225         * css3/scroll-snap/scroll-snap-children-with-padding-expected.txt: Added.
1226         * css3/scroll-snap/scroll-snap-children-with-padding.html: Added.
1227
1228 2016-12-21  Daniel Bates  <dabates@apple.com>
1229
1230         WebKitTestRunner: Add comment to TestRunner::setCanOpenWindows()
1231         https://bugs.webkit.org/show_bug.cgi?id=166356
1232
1233         Add a remark that the test plugins/get-url-with-blank-target.html depends on
1234         the assumption that WebKitTestRunner forbids opening windows by default.
1235
1236         * platform/wk2/TestExpectations:
1237
1238 2016-12-21  Joseph Pecoraro  <pecoraro@apple.com>
1239
1240         Web Inspector: Fix some typos and style in LayoutTests/inspector
1241         https://bugs.webkit.org/show_bug.cgi?id=166273
1242
1243         Reviewed by Brian Burg.
1244
1245         * inspector/*
1246
1247 2016-12-21  Simon Fraser  <simon.fraser@apple.com>
1248
1249         Fixed bars are positioned incorrectly when there are header and footer banners
1250         https://bugs.webkit.org/show_bug.cgi?id=166302
1251         rdar://problem/29727145
1252
1253         Reviewed by Tim Horton.
1254         
1255         * fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added.
1256         * fast/visual-viewport/zoomed-fixed-header-and-footer.html: Added.
1257         * platform/ios-simulator/fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added.
1258         * tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer-expected.txt:
1259
1260 2016-12-20  Myles C. Maxfield  <mmaxfield@apple.com>
1261
1262         Skia lighter wght variation looks bolder than regular
1263         https://bugs.webkit.org/show_bug.cgi?id=165948
1264
1265         Reviewed by Antti Koivisto.
1266
1267         * fast/text/variations/default-value-expected.html: Added.
1268         * fast/text/variations/default-value.html: Added.
1269         * fast/text/variations/outofbounds-expected-mismatch.html: Renamed from LayoutTests/fast/text/variations/outofbounds-expected.html.
1270         * fast/text/variations/outofbounds.html:
1271         * platform/ios-simulator/TestExpectations:
1272
1273 2016-12-20  Keith Miller  <keith_miller@apple.com>
1274
1275         Add support for global
1276         https://bugs.webkit.org/show_bug.cgi?id=165171
1277
1278         Reviewed by Filip Pizlo.
1279
1280         Fix getOwnPropertyDescriptor test.
1281
1282         * js/resources/getOwnPropertyDescriptor.js:
1283
1284 2016-12-20  Ryan Haddad  <ryanhaddad@apple.com>
1285
1286         Rebaseline js/dom/global-constructors-attributes.html for mac-wk1.
1287
1288         Unreviewed test gardening.
1289
1290         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
1291
1292 2016-12-20  Zalan Bujtas  <zalan@apple.com>
1293
1294         SVG elements should inherit the root's flow thread state.
1295         https://bugs.webkit.org/show_bug.cgi?id=166173
1296         rdar://problem/29704862
1297
1298         Reviewed by Simon Fraser.
1299
1300         * fast/multicol/svg-inside-multicolumn-expected.txt: Added.
1301         * fast/multicol/svg-inside-multicolumn.html: Added.
1302
1303 2016-12-20  Joseph Pecoraro  <pecoraro@apple.com>
1304
1305         Web Inspector: Console could be made useful for very simple await expressions
1306         https://bugs.webkit.org/show_bug.cgi?id=165681
1307         <rdar://problem/29755339>
1308
1309         Reviewed by Brian Burg.
1310
1311         * inspector/controller/runtime-controller-expected.txt:
1312         * inspector/controller/runtime-controller.html:
1313         Test the "await expression" convenience of RuntimeManager.
1314
1315 2016-12-20  Ryan Haddad  <ryanhaddad@apple.com>
1316
1317         Rebaseline js/dom/global-constructors-attributes.html for mac-elcapitan after r210024.
1318
1319         Unreviewed test gardening.
1320
1321         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
1322
1323 2016-12-20  Dean Jackson  <dino@apple.com>
1324
1325         Remove INDIE_UI
1326         https://bugs.webkit.org/show_bug.cgi?id=165881
1327         <rdar://problem/29672532>
1328
1329         Reviewed by Simon Fraser.
1330
1331         The Indie UI work has been discontinued.
1332
1333         * fast/custom-elements/reactions-for-indieui-expected.txt: Removed.
1334         * fast/custom-elements/reactions-for-indieui.html: Removed.
1335         * indieui/uiactions-expected.txt: Removed.
1336         * indieui/uiactions.html: Removed.
1337         * js/dom/dom-static-property-for-in-iteration-expected.txt:
1338         * js/dom/global-constructors-attributes-expected.txt:
1339         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt:
1340         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
1341         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
1342         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1343
1344 2016-12-20  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1345
1346
1347         [Readable Streams API] Implement readableByteStreamControllerCallPullIfNeeded()
1348         https://bugs.webkit.org/show_bug.cgi?id=166022
1349
1350         Reviewed by Youenn Fablet.
1351
1352         Added 3 tests to check behaviour in case of success/failure of the start and pull functions
1353         associated to the underlyingByteSource.
1354
1355         * streams/readable-byte-stream-controller-expected.txt: Added expectations for new tests.
1356         * streams/readable-byte-stream-controller.js: Added 3 new tests.
1357
1358 2016-12-20  Sam Weinig  <sam@webkit.org>
1359
1360         [DataCue] Un-prefix DataCue and remove custom bindings
1361         https://bugs.webkit.org/show_bug.cgi?id=166087
1362
1363         Reviewed by Eric Carlson.
1364
1365         * media/track/track-datacue-value-expected.txt:
1366         * media/track/track-datacue-value.html:
1367         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
1368         Update tests for unprefixed DataCue.
1369
1370 2016-12-20  Wenson Hsieh  <wenson_hsieh@apple.com>
1371
1372         Implement the updated port/area-based Scroll Snap Module Level 1 Spec
1373         https://bugs.webkit.org/show_bug.cgi?id=165317
1374         <rdar://problem/29490956>
1375
1376         Reviewed by Dean Jackson.
1377
1378         Refactors layout tests to use the new scroll snapping properties, removing any tests that only made sense in the
1379         context of the old version of scroll snapping and adding new ones to cover behaviors that the existing tests do
1380         not verify. See per-method descriptions for more details. In most cases, the old way of specifying scroll
1381         snapping via repeat(<container width or length>) or a coordinate at (0, 0) on each child has been replaced with
1382         `scroll-snap-type: (x|y|both) mandatory;` on the container and `scroll-snap-align: start` on each child element.
1383         If a test below does not have an accompanying description, then this is the only change applied to it, and the
1384         behavior it is testing is still relevant in the new scroll snapping model.
1385
1386         * css3/scroll-snap/improper-snap-points-crash-expected.txt: Removed.
1387         * css3/scroll-snap/improper-snap-points-crash.html: Removed.
1388
1389         This test is no longer valid in the new scroll snapping model, since there is no way to specify both repeating
1390         points along an axis and child elements with scroll snap coordinates.
1391
1392         * css3/scroll-snap/nested-elements-expected.txt:
1393         * css3/scroll-snap/nested-elements.html:
1394         * css3/scroll-snap/resources/iframe-content.html:
1395         * css3/scroll-snap/scroll-snap-2d-change-axis-type-expected.txt: Added.
1396         * css3/scroll-snap/scroll-snap-2d-change-axis-type.html: Added.
1397
1398         New layout test to check that changing the scroll-snap-type from one to both axes updates the computed snap
1399         offsets in the container to have offsets from both axes.
1400
1401         * css3/scroll-snap/scroll-snap-2d-offsets-computed-independently-expected.txt: Added.
1402         * css3/scroll-snap/scroll-snap-2d-offsets-computed-independently.html: Added.
1403
1404         New layout test to check that snap offsets are computed independently on each axis. In a 3x3 grid of child
1405         elements with the child elements along the diagonal having `scroll-snap-align`s of `end`, `center` and `start`
1406         in order from top left to bottom right, we should observe the same effect as having each child emit snap
1407         positions in both axes.
1408
1409         * css3/scroll-snap/scroll-snap-children-with-scroll-snap-margin-expected.txt: Added.
1410         * css3/scroll-snap/scroll-snap-children-with-scroll-snap-margin.html: Added.
1411
1412         New layout test to check that specifying a `scroll-snap-margin` correctly insets the scroll snap area of a child
1413         element, and that changing the `scroll-snap-margin` via script also changes the computed scroll snap offsets.
1414
1415         * css3/scroll-snap/scroll-snap-children-with-transforms-expected.txt: Added.
1416         * css3/scroll-snap/scroll-snap-children-with-transforms.html: Added.
1417
1418         New layout test to check that when computing the scroll snap areas of child elements, we take transforms into
1419         account and use the bounding box of the transformed border box of the child element. Also verifies that we apply
1420         the scroll offset _after_ the transform, so that scrolling the container and then recomputing snap offsets when
1421         child elements are transformed does not result in different snap offsets.
1422
1423         * css3/scroll-snap/scroll-snap-coordinate-expected.txt: Removed.
1424         * css3/scroll-snap/scroll-snap-coordinate.html: Removed.
1425
1426         Renamed to scroll-snap-position.html, since the notion of scroll snap coordinates no longer exists.
1427
1428         * css3/scroll-snap/scroll-snap-desination-lock-up-expected.txt: Removed.
1429         * css3/scroll-snap/scroll-snap-desination-lock-up.html: Removed.
1430
1431         This test is no longer relevant in the new scroll snapping model. This is because the logic for computing scroll
1432         snap offsets in AxisScrollSnapOffsets no longer has an opportunity to loop infinitely while trying to fill a
1433         scrollable axis with snap offsets, since repeating snap points have been removed.
1434
1435         * css3/scroll-snap/scroll-snap-elements-container-larger-than-children.html:
1436         * css3/scroll-snap/scroll-snap-inherit-expected.txt:
1437         * css3/scroll-snap/scroll-snap-inherit.html:
1438
1439         Updated to test the new scroll snap properties.
1440
1441         * css3/scroll-snap/scroll-snap-initial-expected.txt:
1442         * css3/scroll-snap/scroll-snap-initial.html:
1443
1444         Updated to test the new scroll snap properties.
1445
1446         * css3/scroll-snap/scroll-snap-mismatch.html:
1447         * css3/scroll-snap/scroll-snap-negative-repeat-expected.txt: Removed.
1448         * css3/scroll-snap/scroll-snap-negative-repeat.html: Removed.
1449
1450         Removed, since negative repeating scroll snap offsets are (thankfully) no longer possible in the new scroll
1451         snapping model.
1452
1453         * css3/scroll-snap/scroll-snap-offsets-expected.txt:
1454         * css3/scroll-snap/scroll-snap-offsets.html:
1455
1456         Augmented to mix in various alignment values among the scroll snap child elements as well as various levels of
1457         nesting.
1458
1459         * css3/scroll-snap/scroll-snap-position-values-expected.txt: Removed.
1460         * css3/scroll-snap/scroll-snap-position-values.html: Removed.
1461
1462         The behaviors tested here are covered by other similar tests: scroll-snap-initial and scroll-snap-inherit.
1463
1464         * css3/scroll-snap/scroll-snap-positions-expected.txt: Added.
1465         * css3/scroll-snap/scroll-snap-positions-mainframe-expected.txt: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-mainframe-expected.txt.
1466         * css3/scroll-snap/scroll-snap-positions-mainframe.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-mainframe.html.
1467         * css3/scroll-snap/scroll-snap-positions-overflow-resize-expected.txt: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-overflow-resize-expected.txt.
1468         * css3/scroll-snap/scroll-snap-positions-overflow-resize.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-coordinate-overflow-resize.html.
1469         * css3/scroll-snap/scroll-snap-positions.html: Added.
1470
1471         Renamed these existing tests to not use the term `scroll-snap-coordinate`. The semantics of these tests are
1472         still the same, only using different values of `scroll-snap-align` instead of `-webkit-scroll-snap-coordinate`.
1473
1474         * css3/scroll-snap/scroll-snap-property-computed-style-expected.txt:
1475         * css3/scroll-snap/scroll-snap-property-computed-style.js:
1476         * css3/scroll-snap/scroll-snap-property-parsing-expected.txt:
1477         * css3/scroll-snap/scroll-snap-property-parsing.js:
1478         * css3/scroll-snap/scroll-snap-style-changed-align-expected.txt: Added.
1479         * css3/scroll-snap/scroll-snap-style-changed-align.html: Renamed from LayoutTests/css3/scroll-snap/scroll-snap-style-changed-coordinates.html.
1480         * css3/scroll-snap/scroll-snap-style-changed-coordinates-expected.txt: Removed.
1481         * css3/scroll-snap/scroll-snap-style-changed-repeat-expected.txt: Removed.
1482         * css3/scroll-snap/scroll-snap-style-changed-repeat.html: Removed.
1483
1484         No longer relevant, since repeating scroll snap offsets are no longer in the spec.
1485
1486         * css3/scroll-snap/scroll-snap-subpixel-repeat-expected.txt: Removed.
1487         * css3/scroll-snap/scroll-snap-subpixel-repeat.html: Removed.
1488
1489         No longer relevant, since repeating scroll snap offsets are no longer in the spec.
1490
1491         * css3/scroll-snap/scroll-snap-with-scroll-padding-expected.txt: Added.
1492         * css3/scroll-snap/scroll-snap-with-scroll-padding.html: Added.
1493
1494         New layout test to check that specifying scroll padding on a scroll container correctly outsets the scroll snap
1495         port, and that changing scroll padding via script also changes the computed snap offsets.
1496
1497         * platform/mac-wk2/TestExpectations:
1498
1499         Removed tiled-drawing/scrolling/latched-div-with-scroll-snap.html from the list of failing tests.
1500
1501         * tiled-drawing/scrolling/latched-div-with-scroll-snap-expected.txt:
1502         * tiled-drawing/scrolling/latched-div-with-scroll-snap.html:
1503
1504         This test was failing 100% of the time due to the momentum portion of the scrolling phase being invoked after
1505         scroll snapping has ended. This has been rewritten to perform the following steps:
1506         1. Scroll the top div with momentum and verify that the scroll 'glided' to the red box.
1507         2. Scroll the top div without momentum and verify that the scroll snaps back to the red box.
1508         3. Repeat (1) and (2), but for the bottom div. The same thing should occur.
1509
1510         * tiled-drawing/scrolling/scroll-snap/resources/horizontal-mainframe.html:
1511         * tiled-drawing/scrolling/scroll-snap/resources/vertical-mainframe.html:
1512         * tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up-expected.txt: Removed.
1513         * tiled-drawing/scrolling/scroll-snap/scroll-snap-destination-lock-up.html: Removed.
1514         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html:
1515         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html:
1516         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-horizontal.html:
1517         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-horizontal.html:
1518         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-slow-vertical.html:
1519         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical-then-horizontal.html:
1520         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-mainframe-vertical.html:
1521         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow-stateless.html:
1522         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-overflow.html:
1523         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-padding.html:
1524         * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-rotated.html:
1525         * tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top.html:
1526
1527         All of the tests here were updated to use the new scroll-snap-* properties instead of the old versions. The
1528         semantics of these tests have not changed.
1529
1530 2016-12-20  Megan Gardner  <megan_gardner@apple.com>
1531
1532         Fix memory leak in malformed test
1533         https://bugs.webkit.org/show_bug.cgi?id=165917
1534
1535         Reviewed by Alexey Proskuryakov.
1536
1537         Navigation caused 'onload' to be called twice, causing test harness to have extraneous
1538         HID callback around after script controller was dismantled. Loading in body will eliminate
1539         double load, and also prevent other race conditions where the body doesn't load fast enough.
1540
1541         * http/tests/quicklook/hide-referer-on-navigation.html:
1542
1543 2016-12-20  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
1544
1545         WebRTC: RTCPeerConnection constructor argument should be optional
1546         https://bugs.webkit.org/show_bug.cgi?id=164057
1547
1548         Reviewed by Youenn Fablet.
1549
1550         Remove tests since they are duplicated with WPT tests.
1551
1552         * fast/mediastream/RTCPeerConnection-expected.txt:
1553         * fast/mediastream/RTCPeerConnection.html:
1554
1555 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
1556
1557         Marking http/tests/fetch/fetching-same-resource-with-diffferent-options.html as flaky on macOS.
1558         https://bugs.webkit.org/show_bug.cgi?id=166025
1559
1560         Unreviewed test gardening.
1561
1562         * platform/mac/TestExpectations:
1563
1564 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
1565
1566         Marking http/tests/inspector/network/fetch-network-data.html as flaky on macOS.
1567         https://bugs.webkit.org/show_bug.cgi?id=166038
1568
1569         Unreviewed test gardening.
1570
1571         * platform/mac/TestExpectations:
1572
1573 2016-12-19  Ryan Haddad  <ryanhaddad@apple.com>
1574
1575         Rebaseline fast/text/emoji.html for macOS.
1576
1577         Unreviewed test gardening.
1578
1579         * platform/mac-elcapitan/fast/text/emoji-expected.txt: Copied from LayoutTests/platform/mac/fast/text/emoji-expected.txt.
1580         * platform/mac/fast/text/emoji-expected.txt:
1581
1582 2016-12-19  Wenson Hsieh  <wenson_hsieh@apple.com>
1583
1584         Unreviewed, mark fixed-element-on-bottom-with-keyboard.html as skip for OpenSource iOS WK2
1585         https://bugs.webkit.org/show_bug.cgi?id=166027
1586
1587         This test should have been disabled on OpenSource bots due to the lack of touch handling.
1588
1589         * platform/ios-simulator-wk2/TestExpectations:
1590
1591 2016-12-19  Joseph Pecoraro  <pecoraro@apple.com>
1592
1593         Add a few Worker loading tests that don't seem to be explicitly handled
1594         https://bugs.webkit.org/show_bug.cgi?id=165870
1595
1596         Reviewed by Daniel Bates.
1597
1598         The tests already pass as expected, but adding specific tests
1599         for specific expected behavior with Worker script loads.
1600
1601         * http/tests/security/contentSecurityPolicy/worker-redirect-allowed-expected.txt: Added.
1602         * http/tests/security/contentSecurityPolicy/worker-redirect-allowed.html: Added.
1603         * http/tests/security/resources/worker-message-pass.js: Added.
1604         * http/tests/security/worker-cross-origin-expected.txt: Added.
1605         * http/tests/security/worker-cross-origin.html: Added.
1606         * http/tests/security/worker-same-origin-expected.txt: Added.
1607         * http/tests/security/worker-same-origin.html: Added.
1608
1609 2016-12-18  Brent Fulgham  <bfulgham@apple.com>
1610
1611         Side effects while restting form elements
1612         https://bugs.webkit.org/show_bug.cgi?id=165959
1613         <rdar://problem/29705967>
1614
1615         Reviewed by Anders Carlsson.
1616
1617         * fast/html/form-mutate-expected.txt: Added.
1618         * fast/html/form-mutate.html: Added.
1619
1620 2016-12-18  Wenson Hsieh  <wenson_hsieh@apple.com>
1621
1622         Changing text direction fires input events with null inputTypes and no data
1623         https://bugs.webkit.org/show_bug.cgi?id=166007
1624         <rdar://problem/29557205>
1625
1626         Reviewed by Sam Weinig.
1627
1628         Verifies that changing text direction causes beforeinput and input events with appropriate inputType and data to
1629         be dispatched, and that preventing this beforeinput event causes no change in text direction.
1630
1631         * fast/events/before-input-events-prevent-text-direction-expected.txt: Added.
1632         * fast/events/before-input-events-prevent-text-direction.html: Added.
1633
1634 2016-12-18  Simon Fraser  <simon.fraser@apple.com>
1635
1636         Rebaseline these tests after r209967, since they are now affected by status bar height.
1637
1638         * fast/viewport/ios/ipad/width-is-device-width-expected.txt:
1639         * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt:
1640         * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt:
1641         * fast/viewport/ios/width-is-device-width-overflowing-expected.txt:
1642         * fast/viewport/ios/width-is-device-width-overflowing-no-shrink-to-fit-expected.txt:
1643
1644 2016-12-17  Philippe Normand  <pnormand@igalia.com>
1645
1646         Unreviewed, rollout r209860 OWR player shouldn't be selected for normal video playback
1647
1648         * platform/gtk/TestExpectations:
1649
1650 2016-12-17  Wenson Hsieh  <wenson_hsieh@apple.com>
1651
1652         Visual viewports: bottom fixed elements disappear behind the keyboard
1653         https://bugs.webkit.org/show_bug.cgi?id=165983
1654         <rdar://problem/29409852>
1655
1656         Reviewed by Simon Fraser.
1657
1658         Tweaked fixed-caret-position-after-scroll.html to account for the keyboard height, and also added a new layout
1659         test, fixed-element-on-bottom-with-keyboard.html, which checks that the layout viewport does not change before
1660         and after showing the keyboard, and that scrolling past the end of the document does not bump the layout
1661         viewport past document bounds.
1662
1663         The rest of the changes here involve rebaselining existing tests to account for the height of the web view no
1664         longer being equal to the height of the window.
1665
1666         * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt:
1667         * editing/caret/ios/absolute-caret-position-after-scroll.html:
1668         * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt:
1669         * editing/caret/ios/fixed-caret-position-after-scroll.html:
1670         * editing/selection/ios/absolute-selection-after-scroll.html:
1671         * editing/selection/ios/fixed-selection-after-scroll.html:
1672         * fast/events/ios/keyboard-scrolling-distance-expected.txt:
1673         * fast/events/ios/keyboard-should-not-trigger-resize-expected.txt:
1674         * fast/events/ios/viewport-zooms-from-element-to-initial-scale-expected.txt:
1675         * fast/forms/ios/accessory-bar-navigation-expected.txt:
1676         * fast/forms/ios/focus-input-in-fixed-expected.txt:
1677         * fast/forms/ios/focus-input-in-iframe-expected.txt:
1678         * fast/forms/ios/focus-input-via-button-expected.txt:
1679         * fast/forms/ios/focus-input-via-button-no-scaling-expected.txt:
1680         * fast/forms/ios/focus-long-textarea-expected.txt:
1681         * fast/forms/ios/zoom-after-input-tap-expected.txt:
1682         * fast/forms/ios/zoom-after-input-tap-wide-input-expected.txt:
1683         * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt:
1684         * fast/viewport/ios/width-is-device-width-expected.txt:
1685         * fast/visual-viewport/ios/fixed-element-on-bottom-with-keyboard-expected.txt: Added.
1686         * fast/visual-viewport/ios/fixed-element-on-bottom-with-keyboard.html: Added.
1687         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt:
1688         * platform/ios-simulator/fast/scrolling/ios/clipping-ancestor-with-accelerated-scrolling-ancestor-expected.txt:
1689         * platform/ios-simulator/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt:
1690         * platform/ios-simulator/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt:
1691         * platform/ios-simulator/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt:
1692         * platform/ios-simulator/fast/scrolling/ios/touch-stacking-expected.txt:
1693         * scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt:
1694         * scrollingcoordinator/ios/ui-scrolling-tree-expected.txt:
1695
1696 2016-12-17  Jer Noble  <jer.noble@apple.com>
1697
1698         Add implementation for navigator.requestMediaKeySystemAccess()
1699         https://bugs.webkit.org/show_bug.cgi?id=165850
1700
1701         Reviewed by Eric Carlson.
1702
1703         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-expected.txt: Added.
1704         * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html: Added.
1705         * platform/ios-simulator/TestExpectations:
1706         * platform/mac/TestExpectations:
1707
1708 2016-12-17  Youenn Fablet  <youenn@apple.com>
1709
1710         Cloned CachedResource should not have an empty response
1711         https://bugs.webkit.org/show_bug.cgi?id=165947
1712
1713         Reviewed by Sam Weinig.
1714
1715         This new test is working as follow:
1716         - A first frame is loaded. As part of it, it will load an absolute URL CSS stylesheet that contains a relative URL to import a CSS stylesheet.
1717         This second stylesheet will make the background as green.
1718         - Once done, a second frame is loaded (same HTML but from a different domain) with the same absolute URL CSS stylesheet.
1719         The relative URL stylesheet should use the absolute URL of the CSS stylesheet as base.
1720         If it is using the frame as base, the loaded CSS will change background to red.
1721
1722         * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.css.php: Added.
1723         * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.html: Added.
1724         * http/tests/loading/resources/imported-stylesheet-varying-according-domain.css.php: Added.
1725         * http/tests/loading/reusing-cached-stylesheet-from-different-domain-expected.html: Added.
1726         * http/tests/loading/reusing-cached-stylesheet-from-different-domain.html: Added.
1727
1728 2016-12-16  Darin Adler  <darin@apple.com>
1729
1730         Remove all custom bindings from media streams, using dictionaries instead
1731         https://bugs.webkit.org/show_bug.cgi?id=165943
1732
1733         Reviewed by Sam Weinig.
1734
1735         * fast/mediastream/MediaDevices-getSupportedConstraints-expected.txt: Updated since the
1736         properties in the dictionaries are now in alphabetical order and because of the test change.
1737         * fast/mediastream/MediaDevices-getSupportedConstraints.html: Updated to expect some true
1738         and some false rather than some true and some missing.
1739
1740         * fast/mediastream/MediaStreamTrack-getCapabilities-expected.txt: Updated since the
1741         properties in the dictionaries are now in alphabetical order.
1742         * fast/mediastream/MediaStreamTrack-getSettings-expected.txt: Ditto.
1743
1744 2016-12-16  Sam Weinig  <sam@webkit.org>
1745
1746         Fix failing test.
1747
1748         * http/tests/ssl/applepay/ApplePaySession-expected.txt:
1749         * http/tests/ssl/applepay/ApplePaySession.html:
1750         Update results to match latest IDL.
1751
1752 2016-12-16  Andy Estes  <aestes@apple.com>
1753
1754         Add a setting to suppress keyboard input during provisional navigation
1755         https://bugs.webkit.org/show_bug.cgi?id=165830
1756
1757         Reviewed by Brent Fulgham.
1758
1759         * http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Added.
1760         * http/tests/navigation/keyboard-events-during-provisional-navigation.html: Added.
1761         * http/tests/navigation/resources/keyboard-events-after-navigation.html: Added.
1762         * http/tests/navigation/resources/keyboard-events-test.js: Added.
1763         (runTest.eventHandler):
1764         (runTest):
1765         * http/tests/navigation/resources/never-respond.php: Added.
1766         * platform/ios-simulator/TestExpectations:
1767
1768 2016-12-16  Chris Dumez  <cdumez@apple.com>
1769
1770         HTML form validation bubble should be dismissed on navigation
1771         https://bugs.webkit.org/show_bug.cgi?id=165960
1772         <rdar://problem/29668086>
1773
1774         Reviewed by Simon Fraser.
1775
1776         Add layout test coverage.
1777
1778         * http/tests/navigation/navigation-dismisses-validation-bubbles-expected.txt: Added.
1779         * http/tests/navigation/navigation-dismisses-validation-bubbles.html: Added.
1780         * http/tests/navigation/resources/check-validation-bubble-not-visible.html: Added.
1781
1782 2016-12-16  Ryan Haddad  <ryanhaddad@apple.com>
1783
1784         Move the skip expectation for fast/visual-viewport/ios/zoomed-focus-in-fixed.html to ios-simulator-wk2.
1785
1786         Unreviewed test gardening.
1787
1788         * platform/ios-simulator-wk2/TestExpectations:
1789         * platform/ios-simulator/TestExpectations:
1790
1791 2016-12-16  Andreas Kling  <akling@apple.com>
1792
1793         Subframes going into page cache don't need to resetScrollbars().
1794         <https://webkit.org/b/163750>
1795         <rdar://problem/29273020>
1796
1797         Reviewed by Antti Koivisto.
1798
1799         Unskip compositing/iframes/page-cache-layer-tree.html on mac-wk1 and fix up the
1800         result now that WK2 behaves correctly as well.
1801
1802         Both DRT and WTR run with scrollbars in "always on" mode, so the correct dimensions
1803         for the 300x150 iframe layers here are 285x135.
1804
1805         * compositing/iframes/page-cache-layer-tree-expected.txt:
1806         * platform/mac-wk1/TestExpectations:
1807
1808 2016-12-16  Wenson Hsieh  <wenson_hsieh@apple.com>
1809
1810         Visual viewports: carets and selection UI are incorrectly positioned when editing fixed elements
1811         https://bugs.webkit.org/show_bug.cgi?id=165767
1812         <rdar://problem/29602382>
1813
1814         Reviewed by Simon Fraser.
1815
1816         Adds new layout tests verifying that scrolling selected text (non-editable) and a text caret (in editable
1817         content) results in the selection/caret rects having the correct location relative to the document, in both
1818         cases where the selected/focused element has fixed position or absolute position. For fixed position elements,
1819         this means that the rects must "move" down in the document as the document is scrolled, but for absolute
1820         elements, these rects must remain in place.
1821
1822         * TestExpectations:
1823         * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt: Added.
1824         * editing/caret/ios/absolute-caret-position-after-scroll.html: Added.
1825         * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt: Added.
1826         * editing/caret/ios/fixed-caret-position-after-scroll.html: Added.
1827         * editing/selection/ios/absolute-selection-after-scroll-expected.txt: Added.
1828         * editing/selection/ios/absolute-selection-after-scroll.html: Added.
1829         * editing/selection/ios/fixed-selection-after-scroll-expected.txt: Added.
1830         * editing/selection/ios/fixed-selection-after-scroll.html: Added.
1831
1832 2016-12-16  Zalan Bujtas  <zalan@apple.com>
1833
1834         Defer certain accessibility callbacks until after layout is finished.
1835         https://bugs.webkit.org/show_bug.cgi?id=165861
1836         rdar://problem/29646301
1837
1838         Reviewed by Chris Fleizach.
1839
1840         * accessibility/accessibility-crash-with-dynamic-inline-content-expected.txt: Added.
1841         * accessibility/accessibility-crash-with-dynamic-inline-content.html: Added.
1842
1843 2016-12-16  Youenn Fablet  <youenn@apple.com>
1844
1845         [Fetch API] Improve resource loading console logging
1846         https://bugs.webkit.org/show_bug.cgi?id=160546
1847
1848         Reviewed by Alex Christensen.
1849
1850         Rebasing since error logging is happening for fetch API.
1851         Some tests are flaky due to always changing console logs, in which case DumpJSConsoleLogInStdErr is used.
1852
1853         * TestExpectations:
1854         * http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt:
1855         * http/tests/inspector/network/fetch-network-data-expected.txt:
1856         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
1857         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin-expected.txt:
1858         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt:
1859         * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin-expected.txt:
1860
1861 2016-12-16  Romain Bellessort  <romain.bellessort@crf.canon.fr>
1862
1863         [Readable Streams API] Implement ReadableByteStreamController cancel internal method
1864         https://bugs.webkit.org/show_bug.cgi?id=165798
1865
1866         Reviewed by Youenn Fablet.
1867
1868         Added one test to check cancel behaviour. More tests may be added as the API is implemented.
1869         Also replaced async_test by promise_test where applicable.
1870
1871         * streams/readable-byte-stream-controller-expected.txt: Updated expectations.
1872         * streams/readable-byte-stream-controller.js: Added one test.
1873
1874 2016-12-16  Youenn Fablet  <youennf@gmail.com>
1875
1876         svg/as-image/svg-image-with-data-uri-use-data-uri.svg is flaky after r207754
1877         https://bugs.webkit.org/show_bug.cgi?id=163887
1878         <rdar://problem/29266436>
1879
1880         Reviewed by Alex Christensen.
1881
1882         * http/tests/security/cross-origin-cached-images-with-memory-pressure-expected.txt: Added.
1883         * http/tests/security/cross-origin-cached-images-with-memory-pressure.html: Added.
1884
1885 2016-12-15  Zalan Bujtas  <zalan@apple.com>
1886
1887         text-align: justify and word-spacing combine to overflow column
1888         https://bugs.webkit.org/show_bug.cgi?id=165796
1889         rdar://problem/29672168
1890
1891         Reviewed by Myles C. Maxfield.
1892
1893         These are progressions.
1894
1895         * fast/css/word-spacing-with-normal-layout-expected.html: Added.
1896         * fast/css/word-spacing-with-normal-layout.html: Added.
1897         * platform/mac/css1/text_properties/word_spacing-expected.txt:
1898         * platform/mac/fast/css/word-space-extra-expected.txt:
1899         * platform/mac/fast/text/whitespace/span-in-word-space-causes-overflow-expected.txt:
1900         * platform/mac/fast/text/word-space-expected.txt:
1901         * platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
1902         * platform/mac/svg/custom/svg-fonts-word-spacing-expected.txt:
1903
1904 2016-12-15  Chris Dumez  <cdumez@apple.com>
1905
1906         Make sure HTML validation bubble's state is updated after layout
1907         https://bugs.webkit.org/show_bug.cgi?id=165922
1908         <rdar://problem/29694730>
1909
1910         Reviewed by Simon Fraser.
1911
1912         Add several layout tests to cover this.
1913
1914         * fast/forms/validation-bubble-disappears-when-input-detached-expected.txt: Added.
1915         * fast/forms/validation-bubble-disappears-when-input-detached.html: Added.
1916         * fast/forms/validation-bubble-disappears-when-input-moved-expected.txt: Added.
1917         * fast/forms/validation-bubble-disappears-when-input-moved.html: Added.
1918         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible-expected.txt: Added.
1919         * fast/forms/validation-bubble-disappears-when-input-no-longer-visible.html: Added.
1920
1921 2016-12-15  Chris Dumez  <cdumez@apple.com>
1922
1923         Move charCode / keyCode / which attributes from UIEvent to KeyboardEvent
1924         https://bugs.webkit.org/show_bug.cgi?id=165904
1925
1926         Reviewed by Sam Weinig.
1927
1928         Extend existing testing.
1929
1930         * fast/events/arrow-keys-on-body-expected.txt:
1931         * fast/events/arrow-keys-on-body.html:
1932         * fast/events/key-events-in-input-button-expected.txt:
1933         * fast/events/key-events-in-input-button.html:
1934         * fast/events/key-events-in-input-text-expected.txt:
1935         * fast/events/key-events-in-input-text.html:
1936
1937 2016-12-15  Megan Gardner  <megan_gardner@apple.com>
1938
1939         Add coordinate space to event streams and streamline tests
1940         https://bugs.webkit.org/show_bug.cgi?id=165119
1941
1942         Reviewed by Simon Fraser.
1943
1944         Streamline tests. Make them more readable and only use one function for drags.
1945         Update for new content coordinate space.
1946
1947         * fast/events/touch/ios/long-press-then-drag-down-to-change-selected-text.html:
1948         * fast/events/touch/ios/long-press-then-drag-up-to-change-selected-text.html:
1949
1950 2016-12-15  Ryan Haddad  <ryanhaddad@apple.com>
1951
1952         Marking js/dom/global-constructors-attributes.html as failing on ElCapitan WK1.
1953         https://bugs.webkit.org/show_bug.cgi?id=165934
1954
1955         Unreviewed test gardening.
1956
1957         * platform/mac-wk1/TestExpectations:
1958
1959 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
1960
1961         fast/visual-viewport/ios/zoomed-focus-in-fixed.html always times out
1962
1963         Skip this test, which relies on touch events.
1964
1965         * platform/ios-simulator/TestExpectations:
1966
1967 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
1968
1969         Fix flakiness of fast/visual-viewport/ios/zoomed-focus-in-fixed.html
1970         https://bugs.webkit.org/show_bug.cgi?id=165930
1971
1972         Reviewed by Tim Horton.
1973
1974         The test zooms when focussing the input, which completes after the keyboard shows,
1975         so we need to wait for zooming to finish using the uiController.didEndZoomingCallback.
1976
1977         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt:
1978         * fast/visual-viewport/ios/zoomed-focus-in-fixed.html:
1979
1980 2016-12-15  Myles C. Maxfield  <mmaxfield@apple.com>
1981
1982         [Cocoa] Implement font-synthesis: small-caps
1983         https://bugs.webkit.org/show_bug.cgi?id=165892
1984
1985         Reviewed by David Hyatt.
1986
1987         * fast/text/font-synthesis-parsing-expected.txt: Added.
1988         * fast/text/font-synthesis-parsing.html: Added.
1989         * css3/font-synthesis-small-caps-expected.html: Added.
1990         * css3/font-synthesis-small-caps.html: Added.
1991         * fast/css/getComputedStyle/computed-style-expected.txt:
1992         * fast/css/getComputedStyle/computed-style-font-family-expected.txt:
1993         * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
1994         * fast/css3-text/font-synthesis-parse-expected.txt:
1995         * fast/css3-text/font-synthesis-parse.html:
1996         * svg/css/getComputedStyle-basic-expected.txt:
1997
1998 2016-12-15  Simon Fraser  <simon.fraser@apple.com>
1999
2000         [iOS WK2] Don't disable position:fixed when a form element has focus
2001         https://bugs.webkit.org/show_bug.cgi?id=165891
2002         rdar://problem/29271694
2003
2004         Reviewed by Wenson Hsieh.
2005
2006         * TestExpectations:
2007         * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt: Added.
2008         * fast/visual-viewport/ios/zoomed-focus-in-fixed.html: Added.
2009         * platform/ios-simulator-wk2/TestExpectations:
2010
2011 2016-12-15  Darin Adler  <darin@apple.com>
2012
2013         Remove custom binding for MediaDevices
2014         https://bugs.webkit.org/show_bug.cgi?id=165894
2015
2016         Reviewed by Eric Carlson.
2017
2018         * fast/mediastream/MediaDevices-getUserMedia-expected.txt: Expect the exception the
2019         generated bindings code throws, rather than the different one the hand-written binding
2020         was throwing before.
2021
2022 2016-12-15  Youenn Fablet  <youennf@gmail.com>
2023
2024         Sync web-platform-tests up to revision a4c2b37
2025         https://bugs.webkit.org/show_bug.cgi?id=165041
2026
2027         Reviewed by Alex Christensen.
2028
2029         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt: Added.
2030         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt:
2031         * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt: Added.
2032         * tests-options.json:
2033
2034 2016-12-15  Alejandro G. Castro  <alex@igalia.com>
2035
2036         [OWR] Unskip fast/mediastream/MediaStream-video-element-track-stop.html
2037         https://bugs.webkit.org/show_bug.cgi?id=165316
2038
2039         Reviewed by Philippe Normand.
2040
2041         * platform/gtk/TestExpectations: Unskipped the test and moved the
2042         stop one, now it does not timeout because we correctly handle the
2043         ended value but still fails, we need more features in the mock
2044         classes for owr.
2045
2046 2016-12-14  Yusuke Suzuki  <utatane.tea@gmail.com>
2047
2048         [GTK] Support latest SubtleCrypto HMAC APIs
2049         https://bugs.webkit.org/show_bug.cgi?id=165863
2050
2051         Reviewed by Sam Weinig.
2052
2053         Enable HMAC tests.
2054
2055         * platform/gtk/TestExpectations:
2056
2057 2016-12-14  Simon Fraser  <simon.fraser@apple.com>
2058
2059         Fix cause of viewport-related flakiness in iOS tests
2060         https://bugs.webkit.org/show_bug.cgi?id=165878
2061
2062         Reviewed by Tim Horton.
2063
2064         Try un-flaking some viewport tests.
2065
2066         * platform/ios-simulator-wk2/TestExpectations:
2067
2068 2016-12-12  Jon Lee  <jonlee@apple.com>
2069
2070         Full Pass CSS Variables Test Suite
2071         https://bugs.webkit.org/show_bug.cgi?id=150183
2072
2073         Reviewed by Simon Fraser.
2074
2075         The new CSS parser progresses these tests. Move them out of the failures/ sub-directory.
2076         One of the tests needs the Ahem font, which was not available when put in the sub-directory.
2077
2078         * fast/css/variables/test-suite/024-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/024-expected.html.
2079         * fast/css/variables/test-suite/024.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/024.html.
2080         * fast/css/variables/test-suite/025-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/025-expected.html.
2081         * fast/css/variables/test-suite/025.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/025.html.
2082         * fast/css/variables/test-suite/026-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/026-expected.html.
2083         * fast/css/variables/test-suite/026.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/026.html.
2084         * fast/css/variables/test-suite/028-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/028-expected.html.
2085         * fast/css/variables/test-suite/028.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/028.html.
2086         * fast/css/variables/test-suite/030-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/030-expected.html.
2087         * fast/css/variables/test-suite/030.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/030.html.
2088         * fast/css/variables/test-suite/054-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/054-expected.html.
2089         * fast/css/variables/test-suite/054.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/054.html.
2090         * fast/css/variables/test-suite/055-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/055-expected.html.
2091         * fast/css/variables/test-suite/055.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/055.html.
2092         * fast/css/variables/test-suite/056-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/056-expected.html.
2093         * fast/css/variables/test-suite/056.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/056.html.
2094         * fast/css/variables/test-suite/058-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/058-expected.html.
2095         * fast/css/variables/test-suite/058.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/058.html.
2096         * fast/css/variables/test-suite/071-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/071-expected.html.
2097         * fast/css/variables/test-suite/071.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/071.html.
2098         * fast/css/variables/test-suite/081-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/081-expected.html.
2099         * fast/css/variables/test-suite/081.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/081.html.
2100         * fast/css/variables/test-suite/082-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/082-expected.html.
2101         * fast/css/variables/test-suite/082.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/082.html.
2102         * fast/css/variables/test-suite/085-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/085-expected.html.
2103         * fast/css/variables/test-suite/085.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/085.html.
2104         * fast/css/variables/test-suite/086-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/086-expected.html.
2105         * fast/css/variables/test-suite/086.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/086.html.
2106         * fast/css/variables/test-suite/087-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/087-expected.html.
2107         * fast/css/variables/test-suite/087.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/087.html.
2108         * fast/css/variables/test-suite/091-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/091-expected.html.
2109         * fast/css/variables/test-suite/091.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/091.html.
2110         * fast/css/variables/test-suite/103-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/103-expected.html.
2111         * fast/css/variables/test-suite/103.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/103.html.
2112         * fast/css/variables/test-suite/111-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/111-expected.html.
2113         * fast/css/variables/test-suite/111.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/111.html.
2114         * fast/css/variables/test-suite/115-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/115-expected.html.
2115         * fast/css/variables/test-suite/115.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/115.html.
2116         * fast/css/variables/test-suite/126-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/126-expected.html.
2117         * fast/css/variables/test-suite/126.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/126.html.
2118         * fast/css/variables/test-suite/152-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/152-expected.html.
2119         * fast/css/variables/test-suite/152.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/152.html.
2120         * fast/css/variables/test-suite/159-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/159-expected.html.
2121         * fast/css/variables/test-suite/159.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/159.html.
2122         * fast/css/variables/test-suite/161-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/161-expected.html.
2123         * fast/css/variables/test-suite/161.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/161.html.
2124         * fast/css/variables/test-suite/163-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/163-expected.html.
2125         * fast/css/variables/test-suite/163.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/163.html.
2126         * fast/css/variables/test-suite/169-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/169-expected.html.
2127         * fast/css/variables/test-suite/169.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/169.html.
2128
2129 2016-12-14  Dean Jackson  <dino@apple.com>
2130
2131         Update prefers-reduced-motion syntax
2132         https://bugs.webkit.org/show_bug.cgi?id=165880
2133         <rdar://problems/29671807>
2134
2135         Reviewed by Sam Weinig.
2136
2137         * fast/media/mq-prefers-reduced-motion-forced-value.html:
2138         * fast/media/mq-prefers-reduced-motion.html:
2139
2140 2016-12-14  Sam Weinig  <sam@webkit.org>
2141
2142         REGRESSION (204679): Google notifications never load (expecting DOMStringList rather than JS array for Location.ancestorOrigins)
2143         <rdar://problem/29573563>
2144         https://bugs.webkit.org/show_bug.cgi?id=165872
2145
2146         Reviewed by Chris Dumez.
2147
2148         * fast/dom/Window/Location/ancestor-origins-expected.txt:
2149         * fast/dom/Window/Location/ancestor-origins.html:
2150         Change back to test that Location.ancestorOrigins returns a DOMStringList.
2151
2152 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
2153
2154         Marking streams/pipe-to.html as flaky on macOS debug.
2155         https://bugs.webkit.org/show_bug.cgi?id=165874
2156
2157         Unreviewed test gardening.
2158
2159         * platform/mac/TestExpectations:
2160
2161 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
2162
2163         Removing Release annotation from three tests that are also flaky on Debug.
2164         https://bugs.webkit.org/show_bug.cgi?id=163361
2165
2166         Unreviewed test gardening.
2167
2168         * platform/mac-wk1/TestExpectations:
2169
2170 2016-12-14  Ryosuke Niwa  <rniwa@webkit.org>
2171
2172         iOS: An element with tabindex is not focusable unless there is no mouse event handler
2173         https://bugs.webkit.org/show_bug.cgi?id=165843
2174
2175         Reviewed by Antti Koivisto.
2176
2177         Added a regression test for focusing an element with just tabindex using UIHelper.
2178
2179         Also fixed UIHelper to work in iOS DumpRenderTree which was hitting an assertion
2180         by explicitly checking testRunner.isWebKit2. Prior to fixing this, it was hitting
2181         an assertion in RunLoop::main() which was asserting that there is a runloop,
2182         which doesn't exist in DumpRenderTree.
2183
2184         * fast/events/focusing-element-with-tabindex-by-tap-or-click-expected.txt: Added.
2185         * fast/events/focusing-element-with-tabindex-by-tap-or-click.html: Added.
2186         * platform/ios-simulator-wk2/TestExpectations:
2187         * resources/ui-helper.js:
2188         (window.UIHelper.isWebKit2):
2189         (window.UIHelper.wait): Added the support for js-test.js / js-test-pre.js style tests.
2190
2191 2016-12-14  Dave Hyatt  <hyatt@apple.com>
2192
2193         [CSS Parser] Implement deferred parsing of properties, @media, @supports and @keyframes
2194         https://bugs.webkit.org/show_bug.cgi?id=165743
2195
2196         Reviewed by Dean Jackson.
2197
2198         * fast/css/deferred-parsing: Added.
2199         * fast/css/deferred-parsing/dynamic-external-style-expected.txt: Added.
2200         * fast/css/deferred-parsing/dynamic-external-style.html: Added.
2201         * fast/css/deferred-parsing/dynamic-style-in-document-expected.txt: Added.
2202         * fast/css/deferred-parsing/dynamic-style-in-document.html: Added.
2203         * fast/css/deferred-parsing/hover-test-expected.txt: Added.
2204         * fast/css/deferred-parsing/hover-test.html: Added.
2205         * fast/css/deferred-parsing/keyframes-rule-expected.txt: Added.
2206         * fast/css/deferred-parsing/keyframes-rule.html: Added.
2207         * fast/css/deferred-parsing/media-print-expected.txt: Added.
2208         * fast/css/deferred-parsing/media-print.html: Added.
2209         * fast/css/deferred-parsing/nth-of-type-expected.txt: Added.
2210         * fast/css/deferred-parsing/nth-of-type.html: Added.
2211         * fast/css/deferred-parsing/resources: Added.
2212         * fast/css/deferred-parsing/resources/basic-sheet.css: Added.
2213         * fast/css/deferred-parsing/simple-external-style-expected.txt: Added.
2214         * fast/css/deferred-parsing/simple-external-style.html: Added.
2215         * fast/css/deferred-parsing/simple-style-in-document-expected.txt: Added.
2216         * fast/css/deferred-parsing/simple-style-in-document.html: Added.
2217         * fast/css/deferred-parsing/supports-rule-expected.txt: Added.
2218         * fast/css/deferred-parsing/supports-rule.html: Added.
2219
2220 2016-12-14  Daniel Bates  <dabates@apple.com>
2221
2222         CSP: Allow HTTPS URL to match HTTP source expression
2223         https://bugs.webkit.org/show_bug.cgi?id=159520
2224         <rdar://problem/27287177>
2225
2226         Reviewed by Brent Fulgham.
2227
2228         * http/tests/security/contentSecurityPolicy/script-src-parsing-implicit-and-explicit-port-number-expected.txt: Added.
2229         * http/tests/security/contentSecurityPolicy/script-src-parsing-implicit-and-explicit-port-number.html: Added.
2230         * platform/wk2/TestExpectations: Skip the test on WebKit2 because it makes use of Internals.registerDefaultPortForProtocol(),
2231         which does not work with NetworkProcess.
2232
2233 2016-12-14  Ryan Haddad  <ryanhaddad@apple.com>
2234
2235         Add mac-elcapitan baseline for js/dom/global-constructors-attributes.html.
2236
2237         Unreviewed test gardening.
2238
2239         * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt: Added.
2240
2241 2016-12-14  Chris Dumez  <cdumez@apple.com>
2242
2243         Remove Unicode case-insensitive matching for usemap=""
2244         https://bugs.webkit.org/show_bug.cgi?id=163894
2245
2246         Reviewed by Antti Koivisto.
2247
2248         * fast/images/image-map-multiple.html:
2249         Fix case of the usemap.
2250
2251         * fast/images/image-usemap-parsing-expected.txt: Added.
2252         * fast/images/image-usemap-parsing.html: Added.
2253         Add layout test coverage.
2254
2255         * fast/images/imagemap-case.html: Removed.
2256         * platform/efl/fast/images/imagemap-case-expected.png: Removed.
2257         * platform/efl/fast/images/imagemap-case-expected.txt: Removed.
2258         * platform/gtk/fast/images/imagemap-case-expected.png: Removed.
2259         * platform/gtk/fast/images/imagemap-case-expected.txt: Removed.
2260         * platform/ios-simulator-wk2/fast/images/imagemap-case-expected.txt: Removed.
2261         * platform/ios-simulator/fast/images/imagemap-case-expected.txt: Removed.
2262         * platform/mac/fast/images/imagemap-case-expected.png: Removed.
2263         * platform/mac/fast/images/imagemap-case-expected.txt: Removed.
2264         * platform/win/fast/images/imagemap-case-expected.txt: Removed.
2265         Drop outdated pixel test case. Case sensitivity is now covered by
2266         the new fast/images/image-usemap-parsing.html test.
2267
2268 2016-12-14  Dave Hyatt  <hyatt@apple.com>
2269
2270         [CSS Parser] Remove WebkitCSSTransformValue
2271         https://bugs.webkit.org/show_bug.cgi?id=165844
2272
2273         Reviewed by Zalan Bujtas.
2274
2275         * fast/css/getFloatValueForUnit-expected.txt:
2276         * fast/css/getFloatValueForUnit.html:
2277         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
2278         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
2279         * platform/mac/fast/dom/wrapper-classes-objc-expected.txt:
2280         * platform/mac/fast/dom/wrapper-classes-objc.html:
2281         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2282         * transforms/2d/transform-value-types-expected.txt:
2283         * transforms/2d/transform-value-types.html:
2284
2285 2016-12-14  Yusuke Suzuki  <utatane.tea@gmail.com>
2286
2287         Unreviewed, LayoutTest http/tests/misc/module-script-async.html is a flaky timeout
2288         https://bugs.webkit.org/show_bug.cgi?id=165764
2289
2290         Annotate it as Slow.
2291
2292         * TestExpectations:
2293
2294 2016-12-14  Youenn Fablet  <youenn@apple.com>
2295
2296         Test infrastructure should allow to filter out text output before doing a comparison with the baseline
2297         https://bugs.webkit.org/show_bug.cgi?id=161310
2298
2299         Reviewed by Ryosuke Niwa.
2300
2301         * TestExpectations: Adding DumpJSConsoleLogInStdErr to the fetch modified test to ensure this modifier works as expected.
2302
2303 2016-12-14  Enrique Ocaña González  <eocanha@igalia.com>
2304
2305         REGRESSION(r207879-207891): [GStreamer] Introduced many layout test failures and crashes, bots exiting early
2306         https://bugs.webkit.org/show_bug.cgi?id=164022
2307
2308         Reviewed by Xabier Rodriguez-Calvar.
2309
2310         * media/media-source/media-source-resize-expected.txt:
2311         Expect the resize event.
2312         * media/media-source/media-source-resize.html:
2313         The test now succeeds no matter if the dimension is reported after
2314         processing the init-segment (GTK+ case) or after the media segment
2315         is processed (Mac case).
2316         * platform/gtk/TestExpectations:
2317         Reenabled all the media/media-source tests except one.
2318         * platform/gtk/media/media-source/media-source-resize-expected.txt:
2319         Copied from LayoutTests/media/media-source/media-source-resize-expected.txt.
2320         The right dimensions are received earlier than in Mac.
2321
2322 2016-12-13  Yusuke Suzuki  <utatane.tea@gmail.com>
2323
2324         ASSERTION FAILED: hasParserBlockingScript() seen with js/dom/modules/module-will-fire-beforeload.html
2325         https://bugs.webkit.org/show_bug.cgi?id=164883
2326
2327         Reviewed by Ryosuke Niwa.
2328
2329         * platform/mac-wk2/TestExpectations:
2330
2331 2016-12-13  Daniel Bates  <dabates@apple.com>
2332
2333         CSP: ws: and wss: blocked with connect-src *
2334         https://bugs.webkit.org/show_bug.cgi?id=165804
2335         <rdar://problem/28563643>
2336
2337         Reviewed by David Kilzer.
2338
2339         Add tests to ensure that * matches ws: and wss:.
2340
2341         * http/tests/security/contentSecurityPolicy/connect-src-star-secure-websocket-allowed-expected.txt: Added.
2342         * http/tests/security/contentSecurityPolicy/connect-src-star-secure-websocket-allowed.html: Added.
2343         * http/tests/security/contentSecurityPolicy/connect-src-star-websocket-allowed-expected.txt: Added.
2344         * http/tests/security/contentSecurityPolicy/connect-src-star-websocket-allowed.html: Added.
2345         * http/tests/security/contentSecurityPolicy/default-src-star-secure-websocket-allowed-expected.txt: Added.
2346         * http/tests/security/contentSecurityPolicy/default-src-star-secure-websocket-allowed.html: Added.
2347         * http/tests/security/contentSecurityPolicy/default-src-star-websocket-allowed-expected.txt: Added.
2348         * http/tests/security/contentSecurityPolicy/default-src-star-websocket-allowed.html: Added.
2349
2350 2016-12-13  Joseph Pecoraro  <pecoraro@apple.com>
2351
2352         REGRESSION(r204163): Web Inspector: Page crashes when Inspector tries to load insecure SourceMap
2353         https://bugs.webkit.org/show_bug.cgi?id=165806
2354         <rdar://problem/28169025>
2355
2356         Reviewed by Alex Christensen.
2357
2358         * http/tests/inspector/network/loadResource-insecure-resource-expected.txt: Added.
2359         * http/tests/inspector/network/loadResource-insecure-resource.html: Added.
2360         * http/tests/inspector/network/resource-timing.html:
2361         * http/tests/inspector/resources/inspector-test.js:
2362         (runTestHTTPS):
2363
2364 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
2365
2366         Rebaseline js/dom/global-constructors-attributes.html after r209777.
2367
2368         Unreviewed test gardening.
2369
2370         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
2371
2372 2016-12-13  Ryosuke Niwa  <rniwa@webkit.org>
2373
2374         :hover rule causes a single tap to not activate a slotted anchor element
2375         https://bugs.webkit.org/show_bug.cgi?id=165551
2376
2377         Reviewed by Antti Koivisto.
2378
2379         Added a test for tapping on an anchor element assigned to a slot, which has been fixed in r209065.
2380
2381         Also added a new helper JS wrapepr, UIHelper, defined inside LayoutTests/resources/js-helper.js
2382         to provide an abstraction around EventSender and UIScriptController.
2383
2384         Fixed click-text-inside-linked-slot.html on iOS using UIHelper.
2385
2386         * fast/shadow-dom/click-on-slotted-anchor-with-hover-expected.txt: Added.
2387         * fast/shadow-dom/click-on-slotted-anchor-with-hover.html: Added.
2388         * fast/shadow-dom/click-text-inside-linked-slot.html:
2389         * platform/ios-simulator/fast/shadow-dom/click-text-inside-linked-slot-expected.txt: Added.
2390         * resources/ui-helper.js: Added.
2391         (window.UIHelper.isIOS):
2392         (window.UIHelper.activateAt.return.new.Promise):
2393         (window.UIHelper.activateAt):
2394         (window.UIHelper.wait):
2395         (window.UIHelper):
2396         * platform/ios-simulator-wk2/TestExpectations: Skip the test in the open source iOS's WebKit2.
2397
2398 2016-12-13  Dave Hyatt  <hyatt@apple.com>
2399
2400         [CSS Parser] Eliminate SVGPaint and SVGColor
2401         https://bugs.webkit.org/show_bug.cgi?id=165819
2402
2403         Reviewed by Dean Jackson.
2404
2405         * fast/dom/Window/resources/window-properties.js:
2406         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
2407         * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
2408         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2409         * svg/animations/additive-type-by-animation-expected.txt:
2410         * svg/animations/animate-color-calcMode-discrete-expected.txt:
2411         * svg/animations/animate-color-fill-currentColor-expected.txt:
2412         * svg/animations/animate-color-fill-from-by-expected.txt:
2413         * svg/animations/animate-color-transparent-expected.txt:
2414         * svg/animations/animate-currentColor-expected.txt:
2415         * svg/animations/animate-dynamic-update-attributeName-expected.txt:
2416         * svg/animations/animate-elem-03-t-drt-expected.txt:
2417         * svg/animations/animate-inherit-css-property-expected.txt:
2418         * svg/animations/attributeTypes-expected.txt:
2419         * svg/animations/resources/SVGAnimationTestCase.js:
2420         (expectColor):
2421         * svg/animations/script-tests/animate-color-fill-currentColor.js:
2422         (sample1):
2423         (sample2):
2424         (sample3):
2425         * svg/animations/script-tests/animate-color-fill-from-by.js:
2426         (sample1):
2427         (sample2):
2428         (sample3):
2429         * svg/css/getComputedStyle-basic-expected.txt:
2430         * svg/css/rect-system-color-expected.txt:
2431         * svg/css/rect-system-color.xhtml:
2432         * svg/custom/global-constructors-expected.txt:
2433         * svg/custom/js-svg-constructors-expected.txt:
2434         * svg/custom/js-svg-constructors.svg:
2435         * svg/custom/script-tests/global-constructors.js:
2436
2437 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
2438
2439         Rebaseline js/dom/global-constructors-attributes.html after r209760.
2440
2441         Unreviewed test gardening.
2442
2443         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2444
2445 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
2446
2447         Remove ios-simulator-wk2 pass expectation for a directory that requires touch events.
2448         https://bugs.webkit.org/show_bug.cgi?id=165787
2449
2450         Unreviewed test gardening.
2451
2452         * platform/ios-simulator-wk2/TestExpectations:
2453
2454 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
2455
2456         Marking two scroll-to-fragid tests as flaky on ios-simulator.
2457
2458         Unreviewed test gardening.
2459
2460         * platform/ios-simulator-wk2/TestExpectations:
2461
2462 2016-12-13  Ryan Haddad  <ryanhaddad@apple.com>
2463
2464         Skip fast/events/page-visibility-onvisibilitychange.html on ios-simulator.
2465         https://bugs.webkit.org/show_bug.cgi?id=165799
2466
2467         Unreviewed test gardening.
2468
2469         * platform/ios-simulator/TestExpectations:
2470
2471 2016-12-13  Sam Weinig  <sam@webkit.org>
2472
2473         [WebIDL] Remove use of Dictionary in ApplePaySession
2474         https://bugs.webkit.org/show_bug.cgi?id=165787
2475
2476         Reviewed by Anders Carlsson.
2477
2478         * http/tests/ssl/applepay: Added.
2479         * http/tests/ssl/applepay/ApplePaySession-expected.txt: Added.
2480         * http/tests/ssl/applepay/ApplePaySession.html: Added.
2481         Add a compressive test of the handling of the payment request to the ApplePaySession
2482         constructor. For further testing, we will need to mock out bits of the underlying 
2483         coordinator, but this allows for testing the aspect I am changing. The applepay
2484         directory is in the ssl directory, as all use of ApplePay requires https.
2485
2486         * TestExpectations:
2487         * platform/ios-simulator-wk2/TestExpectations:
2488         * platform/mac-wk2/TestExpectations:
2489         Only enable the tests on iOS 10.10 and greater, and macOS 10.12 and greater, WebKit2.
2490
2491 2016-12-13  Daniel Bates  <dabates@apple.com>
2492
2493         CSP: Teach the preload scanner about the 'nonce' attribute
2494         https://bugs.webkit.org/show_bug.cgi?id=161192
2495         <rdar://problem/28010354>
2496
2497         Reviewed by Darin Adler.
2498
2499         Add tests to ensure that we preload <script>s and <link>s whose nonce is allowed by the
2500         Content Security Policy of the page.
2501
2502         * http/tests/loading/do-not-preload-css-blocked-by-csp-expected.txt: Added.
2503         * http/tests/loading/do-not-preload-css-blocked-by-csp.html: Added.
2504         * http/tests/loading/do-not-preload-script-src-blocked-by-csp-expected.txt: Added.
2505         * http/tests/loading/do-not-preload-script-src-blocked-by-csp.html: Added.
2506         * http/tests/loading/preload-css-with-csp-nonce-expected.txt: Added.
2507         * http/tests/loading/preload-css-with-csp-nonce.html: Added.
2508         * http/tests/loading/preload-script-src-with-csp-nonce-expected.txt: Added.
2509         * http/tests/loading/preload-script-src-with-csp-nonce.html: Added.
2510
2511 2016-12-13  Antti Koivisto  <antti@apple.com>
2512
2513         REGRESSION (r198990): Safari - Cannot edit content inside <details> in wysiwyg editor
2514         https://bugs.webkit.org/show_bug.cgi?id=165757
2515
2516         Reviewed by Andreas Kling.
2517
2518         * editing/execCommand/justify-right-then-indent-with-problematic-body-expected.txt:
2519         * fast/html/details-edit-expected.txt: Added.
2520         * fast/html/details-edit.html: Added.
2521
2522 2016-12-13  Per Arne Vollan  <pvollan@apple.com>
2523
2524         Unreviewed test gardening.
2525
2526         Update test expectations on Windows for failing tests. These failures are tracked in
2527         https://bugs.webkit.org/show_bug.cgi?id=160447.
2528
2529         * platform/win/TestExpectations:
2530
2531 2016-12-12  Darin Adler  <darin@apple.com>
2532
2533         Remove bindings generation support for legacy WebCore::Dictionary
2534         https://bugs.webkit.org/show_bug.cgi?id=165762
2535
2536         Reviewed by Sam Weinig.
2537
2538         * fast/mediastream/RTCPeerConnection-expected.txt:
2539         * fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt:
2540         * fast/mediastream/RTCPeerConnection-overloaded-operations-params.html:
2541         Updated to expect error messages with "dictionary" with a lowercase D.
2542
2543 2016-12-12  Chris Dumez  <cdumez@apple.com>
2544
2545         Add Document.onvisibilitychange event handler attribute
2546         https://bugs.webkit.org/show_bug.cgi?id=165784
2547
2548         Reviewed by Daniel Bates.
2549
2550         Add layout test coverage.
2551
2552         * fast/events/page-visibility-onvisibilitychange-expected.txt: Added.
2553         * fast/events/page-visibility-onvisibilitychange.html: Added.
2554
2555 2016-12-07  Jiewen Tan  <jiewen_tan@apple.com>
2556
2557         [WebCrypto] Migrate some tests from webkitSubtle to subtle
2558         https://bugs.webkit.org/show_bug.cgi?id=165554
2559
2560         Reviewed by Brent Fulgham.
2561
2562         To improve test coverage for subtle.
2563
2564         * crypto/crypto-key-algorithm-gc-expected.txt: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-algorithm-gc-expected.txt.
2565         * crypto/crypto-key-algorithm-gc.html: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-algorithm-gc.html.
2566         * crypto/crypto-key-usages-gc-expected.txt: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-usages-gc-expected.txt.
2567         * crypto/crypto-key-usages-gc.html: Renamed from LayoutTests/crypto/webkitSubtle/crypto-key-usages-gc.html.
2568         * crypto/subtle/resources/rsa-indexeddb-non-exportable.js: Added.
2569         * crypto/subtle/resources/rsa-indexeddb.js: Added.
2570         * crypto/subtle/rsa-indexeddb-expected.txt: Added.
2571         * crypto/subtle/rsa-indexeddb-non-exportable-expected.txt: Added.
2572         * crypto/subtle/rsa-indexeddb-non-exportable-private-expected.txt: Added.
2573         * crypto/subtle/rsa-indexeddb-non-exportable-private.html: Added.
2574         * crypto/subtle/rsa-indexeddb-non-exportable.html: Added.
2575         * crypto/subtle/rsa-indexeddb-private-expected.txt: Added.
2576         * crypto/subtle/rsa-indexeddb-private.html: Added.
2577         * crypto/subtle/rsa-indexeddb.html: Added.
2578         * crypto/subtle/rsa-oaep-plaintext-length-expected.txt: Added.
2579         * crypto/subtle/rsa-oaep-plaintext-length.html: Added.
2580         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt: Added.
2581         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html: Added.
2582         * platform/ios-simulator-wk1/TestExpectations:
2583
2584 2016-12-12  Matt Baker  <mattbaker@apple.com>
2585
2586         Unreviewed, follow-up after r209706.
2587
2588         * inspector/debugger/breakpoint-action-log.html:
2589         Add missing test case description.
2590
2591 2016-12-12  Joseph Pecoraro  <pecoraro@apple.com>
2592
2593         Web Inspector: Add tests for Fetch API Network Data (CORs, Opaque Responses, Filtered Headers)
2594         https://bugs.webkit.org/show_bug.cgi?id=165683
2595
2596         Reviewed by Brian Burg.
2597
2598         * http/tests/inspector/network/fetch-network-data-expected.txt: Added.
2599         * http/tests/inspector/network/fetch-network-data.html: Added.
2600         * http/tests/inspector/network/resources/cors-data.pl: Added.
2601         * http/tests/inspector/resources/inspector-test.js:
2602
2603 2016-12-12  Jer Noble  <jer.noble@apple.com>
2604
2605         Remove implementation of legacy Mozilla-based Fullscreen API.
2606         https://bugs.webkit.org/show_bug.cgi?id=165689
2607
2608         Reviewed by Eric Carlson.
2609
2610         * fullscreen/full-screen-css-expected.txt:
2611         * fullscreen/full-screen-css.html:
2612         * fullscreen/full-screen-keyboard-disabled-expected.txt: Removed.
2613         * fullscreen/full-screen-keyboard-disabled.html: Removed.
2614         * fullscreen/full-screen-twice-expected.txt:
2615         * fullscreen/full-screen-twice.html:
2616         * js/dom/dom-static-property-for-in-iteration-expected.txt:
2617
2618 2016-12-12  Manuel Rego Casasnovas  <rego@igalia.com>
2619
2620         [css-grid] Add some test cases that were removed in r209562
2621         https://bugs.webkit.org/show_bug.cgi?id=165750
2622
2623         Reviewed by Sergio Villar Senin.
2624
2625         Some valid test cases were removed in r209562, this patch adds them back.
2626
2627         * fast/css-grid-layout/grid-template-shorthand-get-set.html: The specified style is now preserved,
2628         so we've to use a different value for it (as it doesn't merge the line names).
2629         * fast/css-grid-layout/resources/grid-columns-rows-get-set.js: Flexible sizes must be non-negative,
2630         but 0fr should be accepted (this is new as it was not working like that with the old parser).
2631         A space between the dimension and the unit is wrong for flexible sizes.
2632         * fast/css-grid-layout/resources/non-grid-columns-rows-get-set.js: Ditto.
2633
2634 2016-12-12  Zalan Bujtas  <zalan@apple.com>
2635
2636         The CSS 'columns' property when set on the <body> element makes short columns
2637         https://bugs.webkit.org/show_bug.cgi?id=164891
2638
2639         Reviewed by Darin Adler and David Hyatt.
2640
2641         * fast/multicol/columns-on-body-expected.html: Added.
2642         * fast/multicol/columns-on-body.html: Added.
2643
2644 2016-12-09  Dean Jackson  <dino@apple.com>
2645
2646         Autoplay isn't working in iPhone MediaDocuments
2647         https://bugs.webkit.org/show_bug.cgi?id=165710
2648         <rdar://problems/29606761>
2649
2650         Reviewed by Darin Adler.
2651         
2652         * media/ios/autoplay-only-in-main-document.html: Make sure that
2653         an iframe pointing to media is not autoplayed.
2654         * TestExpectations:
2655         * platform/ios-simulator/TestExpectations:
2656
2657 2016-12-12  Ryan Haddad  <ryanhaddad@apple.com>
2658
2659         Marking http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame.html as flaky on ios-simulator.
2660         https://bugs.webkit.org/show_bug.cgi?id=165691
2661
2662         Unreviewed test gardening.
2663
2664         * platform/ios-simulator/TestExpectations:
2665
2666 2016-12-12  Ryan Haddad  <ryanhaddad@apple.com>
2667
2668         Rebaseline js/dom/global-constructors-attributes.html for mac-wk1 after r209666.
2669
2670         Unreviewed test gardening.
2671
2672         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
2673
2674 2016-12-12  Per Arne Vollan  <pvollan@apple.com>
2675
2676         Unreviewed test gardening.
2677
2678         Update test expectations on Windows for failing tests. These failures are tracked in
2679         https://bugs.webkit.org/show_bug.cgi?id=160447.
2680
2681         * platform/win/TestExpectations:
2682
2683 2016-12-12  Matt Baker  <mattbaker@apple.com>
2684
2685         Web Inspector: Breakpoint Log action should support template literals
2686         https://bugs.webkit.org/show_bug.cgi?id=165116
2687         <rdar://problem/29464765>
2688
2689         Reviewed by Joseph Pecoraro.
2690
2691         * inspector/debugger/breakpoint-action-log-expected.txt: Added.
2692         * inspector/debugger/breakpoint-action-log.html: Added.
2693         Check that breakpoint log actions support template literal placeholders.
2694
2695         * inspector/unit-tests/breakpoint-log-message-lexer-expected.txt: Added.
2696         * inspector/unit-tests/breakpoint-log-message-lexer.html: Added.
2697         Check that the lexer correctly scans breakpoint log action text.
2698
2699 2016-12-11  Simon Fraser  <simon.fraser@apple.com>
2700
2701         REGRESSION (r200283): Transform, overflow hidden and filter combination completely hides the element
2702         https://bugs.webkit.org/show_bug.cgi?id=161509
2703
2704         Reviewed by David Hyatt.
2705
2706         * css3/filters/filter-on-overflow-hidden-expected.html: Added.
2707         * css3/filters/filter-on-overflow-hidden.html: Added.
2708
2709 2016-12-11  Darin Adler  <darin@apple.com>
2710
2711         Remove uses of Dictionary in WebRTC IDL files
2712         https://bugs.webkit.org/show_bug.cgi?id=165736
2713
2714         Reviewed by Sam Weinig.
2715
2716         * fast/mediastream/RTCIceCandidate-expected.txt: Regenerated; no new failures.
2717         * fast/mediastream/RTCIceCandidate.html: Updated test to expect the WebIDL rules for parsing
2718         unsigned short for sdpMLineIndex. The old code expected additional range checking which is
2719         not expected behavior.
2720
2721         * fast/mediastream/RTCPeerConnection-expected.txt: Regenerated; no new failures.
2722         * fast/mediastream/RTCPeerConnection.html: Updated test to not expect an exception when
2723         iceServers is entirely omitted or when it is an empty array. This is a progression and is
2724         closer to the specification.
2725
2726         * fast/mediastream/RTCPeerConnection-getConfiguration-expected.txt: Regenerated; no new failures.
2727         * fast/mediastream/RTCPeerConnection-getConfiguration.html: Updated test to expect the username
2728         and credential fields to round trip as missing rather than turning from missing into empty strings.
2729         Also updated the tests to pass in sequences of strings for "urls" since they expect sequences on
2730         the way back out. We could also test round tripping of single strings, which should go in and come
2731         back out as individual strings, but for now I did not bother adding that to this test.
2732
2733         * fast/mediastream/RTCSessionDescription-expected.txt: Regenerated; some exception messages are
2734         now more specific than they were before.
2735
2736         * imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt:
2737         Updated expected results. The new code correctly allows callers of the RTCPeerConnection constructor
2738         to omit iceServers, pass undefined, or pass an empty array, as specified. Thuis change leads to
2739         a couple tests that now correctly pass instead of failing. And it also leads to some other tests
2740         failing that were passing before. These were passing because they expected an exception for some
2741         other reason, however the exception was actually occurring because of incorrect handling of iceServers.
2742
2743 2016-12-11  Jiewen Tan  <jiewen_tan@apple.com>
2744
2745         [WebCrypto] Add tests for wrap/unwrap SPKI/PKCS8 keys
2746         https://bugs.webkit.org/show_bug.cgi?id=165557
2747
2748         Reviewed by Darin Adler.
2749
2750         * crypto/subtle/aes-cbc-import-key-unwrap-pkcs8-key-expected.txt: Added.
2751         * crypto/subtle/aes-cbc-import-key-unwrap-pkcs8-key.html: Added.
2752         * crypto/subtle/aes-cbc-import-key-unwrap-spki-key-expected.txt: Added.
2753         * crypto/subtle/aes-cbc-import-key-unwrap-spki-key.html: Added.
2754         * crypto/subtle/aes-cbc-import-key-wrap-pkcs8-key-expected.txt: Added.
2755         * crypto/subtle/aes-cbc-import-key-wrap-pkcs8-key.html: Added.
2756         * crypto/subtle/aes-cbc-import-key-wrap-spki-key-expected.txt: Added.
2757         * crypto/subtle/aes-cbc-import-key-wrap-spki-key.html: Added.
2758
2759 2016-12-11  Dan Bernstein  <mitz@apple.com>
2760
2761         [Cocoa] NSAttributedString representation of text copied from -webkit-nbsp-mode:space element contains non-breaking space characters, but shouldn’t
2762         https://bugs.webkit.org/show_bug.cgi?id=165515
2763         <rdar://problem/4108460>
2764
2765         Reviewed by Darin Adler.
2766
2767         * platform/mac/fast/text/attributed-substring-from-range-expected.txt: Updated.
2768
2769 2016-12-10  Simon Fraser  <simon.fraser@apple.com>
2770
2771         Support the deprecated dictionary constructor for DOMPointReadOnly and DOMPoint
2772         https://bugs.webkit.org/show_bug.cgi?id=165732
2773
2774         Reviewed by Sam Weinig.
2775
2776         * geometry/DOMPoint-001-expected.txt:
2777         * geometry/DOMPoint-001.html:
2778
2779 2016-12-10  Simon Fraser  <simon.fraser@apple.com>
2780
2781         Animation followed by transition doesn't always fire transitionend event
2782         https://bugs.webkit.org/show_bug.cgi?id=165731
2783         rdar://problem/28471240
2784
2785         Reviewed by Zalan Bujtas.
2786
2787         * animations/animation-followed-by-transition-expected.txt: Added.
2788         * animations/animation-followed-by-transition.html: Added.
2789
2790 2016-12-09  Sam Weinig  <sam@webkit.org>
2791
2792         [WebIDL] Remove custom bindings for Geolocation
2793         https://bugs.webkit.org/show_bug.cgi?id=165625
2794
2795         Reviewed by Alex Christensen.
2796
2797         * fast/dom/Geolocation/argument-types-expected.txt:
2798         * fast/dom/Geolocation/not-enough-arguments-expected.txt:
2799         * fast/dom/Geolocation/script-tests/argument-types.js:
2800         Update tests for improved error messages / adherence to WebIDL.
2801
2802 2016-12-09  Dave Hyatt  <hyatt@apple.com>
2803
2804         [CSS Parser] Remove the old CSS Parser
2805         https://bugs.webkit.org/show_bug.cgi?id=165645
2806
2807         Reviewed by Daniel Bates.
2808
2809         * TestExpectations:
2810         Some canvas tests pass now that they use the new parser's color parsing.
2811
2812         * fast/dom/HTMLFontElement/face-attribute-expected.txt:
2813         * fast/dom/HTMLFontElement/face-attribute.html:
2814         Converted font face parsing over to just use the CSS parser's font-family
2815         parsing. This matches other browsers, so removing cases that we used to
2816         accept now that we're more strict.
2817
2818         * platform/mac/canvas/philip/tests/2d.fillStyle.parse.rgb-eof-expected.txt:
2819         * platform/mac/canvas/philip/tests/2d.fillStyle.parse.rgba-eof-expected.txt:
2820         These tests pass now that canvas uses the new parser's color parsing.
2821
2822         * platform/ios-simulator/svg/custom/fill-SVGPaint-interface-expected.txt: Removed.
2823         * platform/mac/svg/custom/fill-SVGPaint-interface-expected.png: Removed.
2824         * platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt: Removed.
2825         * svg/custom/fill-SVGPaint-interface.svg: Removed.
2826         Remove another test of the SVG CSS OM, since the SVG CSS OM for SVGPaint etc.
2827         is gone now.
2828
2829         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
2830         Rebaselined because of CSSNamespaceRule.
2831
2832 2016-12-10  Jiewen Tan  <jiewen_tan@apple.com>
2833
2834         [WebCrypto] RSA algorithms should allow importing keys without usages
2835         https://bugs.webkit.org/show_bug.cgi?id=165680
2836         <rdar://problem/29601354>
2837
2838         Reviewed by Brent Fulgham.
2839
2840         * crypto/subtle/rsa-oaep-import-jwk-public-key-empty-usages-expected.txt: Added.
2841         * crypto/subtle/rsa-oaep-import-jwk-public-key-empty-usages.html: Added.
2842         * crypto/subtle/rsa-oaep-import-spki-key-empty-usages-expected.txt: Added.
2843         * crypto/subtle/rsa-oaep-import-spki-key-empty-usages.html: Added.
2844         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-empty-usages-expected.txt: Added.
2845         * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-empty-usages.html: Added.
2846         * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-empty-usages-expected.txt: Added.
2847         * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-empty-usages.html: Added.
2848         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-empty-usages-expected.txt: Added.
2849         * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-empty-usages.html: Added.
2850         * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-empty-usages-expected.txt: Added.
2851         * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-empty-usages.html: Added.
2852
2853 2016-12-09  Romain Bellessort  <romain.bellessort@crf.canon.fr>
2854
2855         [Readable Streams API] Implement ReadableByteStreamController desiredSize
2856         https://bugs.webkit.org/show_bug.cgi?id=165599
2857
2858         Reviewed by Darin Adler.
2859
2860         Added test to check ReadableByteStreamController desiredSize value.
2861
2862         * streams/readable-byte-stream-controller-expected.txt: Added expectation for new test.
2863         * streams/readable-byte-stream-controller.js: Added new test for desiredSize.
2864
2865 2016-12-09  Ryosuke Niwa  <rniwa@webkit.org>
2866
2867         document.pointerLockElement exposes a node inside a shadow tree
2868         https://bugs.webkit.org/show_bug.cgi?id=165702
2869
2870         Reviewed by Simon Fraser.
2871
2872         Added tests for pointer locks inside a shadow root as well as one assigned to a slot.
2873
2874         * fast/shadow-dom/pointerlockelement-in-shadow-tree-expected.txt: Added.
2875         * fast/shadow-dom/pointerlockelement-in-shadow-tree.html: Added.
2876         * fast/shadow-dom/pointerlockelement-in-slot-expected.txt: Added.
2877         * fast/shadow-dom/pointerlockelement-in-slot.html: Added.
2878         * platform/efl/TestExpectations:
2879         * platform/gtk/TestExpectations:
2880         * platform/ios-simulator/TestExpectations:
2881
2882 2016-12-09  Daniel Bates  <dabates@apple.com>
2883
2884         Add reflected nonce attribute to HTML Link element IDL
2885         https://bugs.webkit.org/show_bug.cgi?id=165709
2886
2887         Reviewed by Ryosuke Niwa.
2888
2889         Add a test to ensure that we reflect the nonce attribute for the HTML link, script,
2890         and style elements.
2891
2892         * fast/dom/nonce-attribute-reflection-expected.txt: Added.
2893         * fast/dom/nonce-attribute-reflection.html: Added.
2894
2895 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
2896
2897         Marking inspector/debugger/csp-exceptions.html as flaky on mac-wk2.
2898         https://bugs.webkit.org/show_bug.cgi?id=165292
2899
2900         Unreviewed test gardening.
2901
2902         * platform/mac-wk2/TestExpectations:
2903
2904 2016-12-06  Jiewen Tan  <jiewen_tan@apple.com>
2905
2906         [Part 2 of 2] Add support for PKCS8 format while doing SubtleCrypto.importKey/exportKey
2907         https://bugs.webkit.org/show_bug.cgi?id=129978
2908         <rdar://problem/21799829>
2909
2910         Reviewed by Brent Fulgham.
2911
2912         * crypto/subtle/import-key-malformed-parameters-expected.txt:
2913         * crypto/subtle/import-key-malformed-parameters.html:
2914         * crypto/subtle/rsa-export-key-malformed-parameters-expected.txt:
2915         * crypto/subtle/rsa-export-key-malformed-parameters.html:
2916         * crypto/subtle/rsa-import-jwk-key-export-pkcs8-key-expected.txt: Added.
2917         * crypto/subtle/rsa-import-jwk-key-export-pkcs8-key.html: Added.
2918         * crypto/subtle/rsa-import-jwk-key-export-spki-key-expected.txt:
2919         * crypto/subtle/rsa-import-jwk-key-export-spki-key.html:
2920         * crypto/subtle/rsa-import-key-malformed-parameters-expected.txt:
2921         * crypto/subtle/rsa-import-key-malformed-parameters.html:
2922         * crypto/subtle/rsa-import-pkcs8-key-export-jwk-key-expected.txt: Added.
2923         * crypto/subtle/rsa-import-pkcs8-key-export-jwk-key.html: Added.
2924         * crypto/subtle/rsa-import-pkcs8-key-export-pkcs8-key-expected.txt: Added.
2925         * crypto/subtle/rsa-import-pkcs8-key-export-pkcs8-key.html: Added.
2926         * crypto/subtle/rsa-oaep-generate-export-key-pkcs8-expected.txt: Added.
2927         * crypto/subtle/rsa-oaep-generate-export-key-pkcs8.html: Added.
2928         * crypto/subtle/rsa-oaep-import-pkcs8-key-expected.txt: Added.
2929         * crypto/subtle/rsa-oaep-import-pkcs8-key.html: Added.
2930         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-pkcs8-expected.txt: Added.
2931         * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-pkcs8.html: Added.
2932         * crypto/subtle/rsaes-pkcs1-v1_5-import-pkcs8-key-expected.txt: Added.
2933         * crypto/subtle/rsaes-pkcs1-v1_5-import-pkcs8-key.html: Added.
2934         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-pkcs8-expected.txt: Added.
2935         * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-pkcs8.html: Added.
2936         * crypto/subtle/rsassa-pkcs1-v1_5-import-pkcs8-key-expected.txt: Added.
2937         * crypto/subtle/rsassa-pkcs1-v1_5-import-pkcs8-key.html: Added.
2938         * crypto/workers/subtle/resources/rsa-export-pkcs8-key.js: Added.
2939         * crypto/workers/subtle/resources/rsa-import-pkcs8-key.js: Added.
2940         * crypto/workers/subtle/rsa-export-pkcs8-key-expected.txt: Added.
2941         * crypto/workers/subtle/rsa-export-pkcs8-key.html: Added.
2942         * crypto/workers/subtle/rsa-import-pkcs8-key-expected.txt: Added.
2943         * crypto/workers/subtle/rsa-import-pkcs8-key.html: Added.
2944
2945 2016-12-09  Joseph Pecoraro  <pecoraro@apple.com>
2946
2947         Web Inspector: Some resources fetched via Fetch API do not have data
2948         https://bugs.webkit.org/show_bug.cgi?id=165230
2949         <rdar://problem/29449220>
2950
2951         Reviewed by Alex Christensen.
2952
2953         * http/tests/inspector/network/fetch-response-body-expected.txt: Added.
2954         * http/tests/inspector/network/fetch-response-body.html: Added.
2955         * http/tests/inspector/network/resources/data.html: Added.
2956         * http/tests/inspector/network/resources/data.json: Added.
2957         * http/tests/inspector/network/resources/data.svg: Added.
2958         * http/tests/inspector/network/resources/data.txt: Added.
2959         * http/tests/inspector/network/resources/echo.php: Added.
2960         * http/tests/inspector/network/xhr-response-body-expected.txt: Added.
2961         * http/tests/inspector/network/xhr-response-body.html: Added.
2962         Tests for viewing content of XHR and Fetch requested resources
2963         with different kinds of content.
2964
2965 2016-12-09  Ryosuke Niwa  <rniwa@webkit.org>
2966
2967         document.webkitFullscreenElement leaks elements inside a shadow tree
2968         https://bugs.webkit.org/show_bug.cgi?id=158471
2969
2970         Reviewed by Chris Dumez.
2971
2972         Added tests for calling webkitFullscreenElement and webkitCurrentFullScreenElement on a fullscreened element
2973         to make sure they return the shadow host instead.
2974
2975         Also added two unrelated test cases for temporal regressions I introduced while working on this patch.
2976
2977         Skip the fullscreen tests on iOS WK2 since eventSender doesn't work there.
2978
2979         * fast/shadow-dom/activeElement-for-focused-element-in-another-shadow-expected.txt: Added.
2980         * fast/shadow-dom/activeElement-for-focused-element-in-another-shadow.html: Added.
2981         * fast/shadow-dom/blur-on-shadow-host-with-focused-shadow-content-expected.txt: Added.
2982         * fast/shadow-dom/blur-on-shadow-host-with-focused-shadow-content.html: Added.
2983         * fast/shadow-dom/fullscreen-in-shadow-fullscreenElement-expected.txt: Added.
2984         * fast/shadow-dom/fullscreen-in-shadow-fullscreenElement.html: Added.
2985         * fast/shadow-dom/fullscreen-in-shadow-webkitCurrentFullScreenElement-expected.txt: Added.
2986         * fast/shadow-dom/fullscreen-in-shadow-webkitCurrentFullScreenElement.html: Added.
2987         * fast/shadow-dom/fullscreen-in-slot-fullscreenElement-expected.txt: Added.
2988         * fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html: Added.
2989         * fast/shadow-dom/fullscreen-in-slot-webkitCurrentFullScreenElement-expected.txt: Added.
2990         * fast/shadow-dom/fullscreen-in-slot-webkitCurrentFullScreenElement.html: Added.
2991         * platform/ios-simulator-wk2/TestExpectations:
2992
2993 2016-12-09  Chris Dumez  <cdumez@apple.com>
2994
2995         [Cocoa] Validation message for required checkbox doesn’t conform the the Apple Style Guide
2996         https://bugs.webkit.org/show_bug.cgi?id=165661
2997
2998         Reviewed by Dan Bernstein.
2999
3000         Update / rebaseline tests.
3001
3002         * fast/forms/ios/validation-bubble-dismiss-on-tap-expected.txt:
3003         * fast/forms/ios/validation-bubble-dismiss-on-tap.html:
3004         * fast/forms/validation-messages-expected.txt:
3005         * fast/forms/validation-messages.html:
3006         * platform/ios-simulator-wk2/fast/forms/validation-messages-expected.txt:
3007
3008 2016-12-09  Jiewen Tan  <jiewen_tan@apple.com>
3009
3010         Unreviewed, followup after r209598.
3011
3012         * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt:
3013
3014 2016-12-09  Zalan Bujtas  <zalan@apple.com>
3015
3016         ASSERTION FAILED: !beforeChild->isRubyRun() in WebCore::RenderRubyAsBlock::addChild
3017         https://bugs.webkit.org/show_bug.cgi?id=141433
3018         <rdar://problem/27711351>
3019
3020         Reviewed by Dean Jackson.
3021
3022         * fast/ruby/assert-with-listitem-and-block-ruby-expected.txt: Added.
3023         * fast/ruby/assert-with-listitem-and-block-ruby.html: Added.
3024
3025 2016-12-09  Antoine Quint  <graouts@apple.com>
3026
3027         [Modern Media Controls] Implement the pageScaleFactor property
3028         https://bugs.webkit.org/show_bug.cgi?id=165660
3029
3030         Reviewed by Dean Jackson.
3031
3032         Add a new test to check that we correctly zoom and size the media controls when the page
3033         scale factor is a value other than 1.
3034
3035         * media/modern-media-controls/media-controller/media-controller-scale-factor-expected.txt: Added.
3036         * media/modern-media-controls/media-controller/media-controller-scale-factor.html: Added.
3037
3038 2016-12-09  Ryan Haddad  <ryanhaddad@apple.com>
3039
3040         Unreviewed, rolling out r209574.
3041
3042         This change broke the Windows build.
3043
3044         Reverted changeset:
3045
3046         "[WebIDL] Remove custom bindings for Geolocation"
3047         https://bugs.webkit.org/show_bug.cgi?id=165625
3048         http://trac.webkit.org/changeset/209574
3049
3050 2016-12-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
3051
3052         Fedora also needs a PHP7 config file alternative
3053         https://bugs.webkit.org/show_bug.cgi?id=165606
3054
3055         Reviewed by Michael Catanzaro.
3056
3057         * http/conf/fedora-httpd-2.4-php7.conf: Added.
3058
3059 2016-12-09  Ryosuke Niwa  <rniwa@webkit.org>
3060
3061         Custom Elements from a different document are not customized when created with innerHTML
3062         https://bugs.webkit.org/show_bug.cgi?id=165617
3063
3064         Reviewed by Antti Koivisto.
3065
3066         Added a W3C style testharness.js test.
3067
3068         * fast/custom-elements/adopting-from-frameless-document-expected.txt: Added.
3069         * fast/custom-elements/adopting-from-frameless-document.html: Added.
3070
3071 2016-12-09  Daniel Bates  <dabates@apple.com>
3072
3073         [CSP] Policy of window opener not applied to about:blank window
3074         https://bugs.webkit.org/show_bug.cgi?id=165531
3075         <rdar://problem/29426639>
3076
3077         Reviewed by Brent Fulgham.
3078
3079         Add a test to ensure that an about:blank window inherits the CSP policy of its
3080         opener document.
3081
3082         * http/tests/security/contentSecurityPolicy/image-blocked-in-about-blank-window-expected.txt: Added.
3083         * http/tests/security/contentSecurityPolicy/image-blocked-in-about-blank-window-blocked.html: Added.
3084
3085 2016-12-09  Antoine Quint  <graouts@apple.com>
3086
3087         [Modern Media Controls] Remaining time label first appears way to the left
3088         https://bugs.webkit.org/show_bug.cgi?id=165637
3089
3090         Reviewed by Dean Jackson.
3091
3092         Add a new test that checks that marking a property as dirty during a layout correctly commits
3093         that property on the next frame.
3094
3095         * media/modern-media-controls/layout-node/node-made-dirty-during-layout-expected.txt: Added.
3096         * media/modern-media-controls/layout-node/node-made-dirty-during-layout.html: Added.
3097
3098 2016-12-08  Jiewen Tan  <jiewen_tan@apple.com>
3099
3100         [WebCrypto] Remove NoInterfaceObject attribute from SubtleCrypto Interface
3101         https://bugs.webkit.org/show_bug.cgi?id=165629
3102         <rdar://problem/29586203>
3103
3104         Reviewed by Chris Dumez.
3105
3106         * js/dom/global-constructors-attributes-dedicated-worker-expected.txt:
3107         * platform/mac/js/dom/global-constructors-attributes-expected.txt:
3108         * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt:
3109
3110 2016-12-08  Antoine Quint  <graouts@apple.com>
3111
3112         [Modern Media Controls] Exiting fullscreen with paused media shows the start button
3113         https://bugs.webkit.org/show_bug.cgi?id=165640
3114
3115         Reviewed by Dean Jackson.
3116
3117         Modify the existing test that enters fullscreen and returns to inline controls with paused media
3118         to check that the start button is not shown upon returning to inline controls.
3119
3120         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline-expected.txt:
3121         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline.html:
3122
3123 2016-12-08  Myles C. Maxfield  <mmaxfield@apple.com>
3124
3125         ASSERTION FAILED: locale in WebCore::lastHyphenLocation
3126         https://bugs.webkit.org/show_bug.cgi?id=164182
3127
3128         Reviewed by Zalan Bujtas.
3129
3130         * fast/text/hyphenation-unknown-locale-expected.txt: Added.
3131         * fast/text/hyphenation-unknown-locale.html: Added.
3132
3133 2016-12-07  Ryosuke Niwa  <rniwa@webkit.org>
3134
3135         ASSERTION FAILED: m_items.isEmpty() in CustomElementReactionQueue destructor
3136         https://bugs.webkit.org/show_bug.cgi?id=162029
3137         <rdar://problem/28945851>
3138
3139         Reviewed by Chris Dumez.
3140
3141         Added a regression test that reliably reproduces the crash in DumpRenderTree / WebKitTestRunner.
3142
3143         Also added a W3C style testharness.js test for the behavior I broke in an earlier iteration of the patch.
3144
3145         * fast/custom-elements/disconnected-callback-in-detached-iframe-expected.txt: Added.
3146         * fast/custom-elements/disconnected-callback-in-detached-iframe.html: Added.
3147         * fast/custom-elements/element-queue-during-document-destruction-expected.txt: Added.
3148         * fast/custom-elements/element-queue-during-document-destruction.html: Added.
3149
3150 2016-12-08  Ryan Haddad  <ryanhaddad@apple.com>
3151
3152         Marking compositing/rtl/rtl-fixed-overflow.html as failing on mac-wk1.
3153         https://bugs.webkit.org/show_bug.cgi?id=165541
3154
3155         Unreviewed test gardening.
3156
3157         * platform/mac-wk1/TestExpectations:
3158
3159 2016-12-08  Daniel Bates  <dabates@apple.com>
3160
3161         Implement Strict Mixed Content Checking
3162         https://bugs.webkit.org/show_bug.cgi?id=165438
3163         <rdar://problem/26103867>
3164
3165         Reviewed by Brent Fulgham and Andy Estes.
3166
3167         Add tests to ensure that we do not regress strict mixed content checking.
3168
3169         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt: Added.
3170         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame.html: Added.
3171         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/duplicate-directive-expected.txt: Added.
3172         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/duplicate-directive.html: Added.
3173         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-expected.txt: Added.
3174         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt: Added.
3175         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only.html: Added.
3176         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe.html: Added.
3177         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt: Added.
3178         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame.html: Added.
3179         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe-expected.txt: Added.
3180         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe.html: Added.
3181         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame-expected.txt: Added.
3182         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame.html: Added.
3183         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-blob-url-iframe-in-iframe-expected.html: Added.
3184         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-blob-url-iframe-in-iframe.html: Added.
3185         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-expected.txt: Added.
3186         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: Added.
3187         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html: Added.
3188         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy-expected.txt: Added.
3189         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy.html: Added.
3190         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe.html: Added.
3191         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Added.
3192         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe.html: Added.
3193         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt: Added.
3194         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame.html: Added.
3195         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy-expected.txt: Added.
3196         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy.html: Added.
3197         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe-expected.txt: Added.
3198         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe.html: Added.
3199         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt: Added.
3200         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame.html: Added.
3201         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-expected.txt: Added.
3202         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy-expected.txt: Added.
3203         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy.html: Added.
3204         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe.html: Added.
3205         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt: Added.
3206         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame.html: Added.
3207         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt: Added.
3208         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe.html: Added.
3209         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt: Added.
3210         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame.html: Added.
3211         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe-expected.txt: Added.
3212         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe.html: Added.
3213         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame-expected.txt: Added.
3214         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame.html: Added.
3215         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/dump-securitypolicyviolation-and-notify-done.js: Added.
3216         (logMessage):
3217         (securityPolicyViolationToString):
3218         (checkNotify):
3219         (recordSecurityPolicyViolation):
3220         (window.onload):
3221         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/fail.html: Added.
3222         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-data-url-iframe.html: Added.
3223         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-css-report-only.php: Added.
3224         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-css.html: Added.
3225         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-iframe.html: Added.
3226         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-and-without-policy.html: Added.
3227         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-in-blob-url-iframe.html: Added.
3228         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-in-javascript-url-iframe.html: Added.
3229         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php: Added.
3230         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image.html: Added.
3231         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-plugin.html: Added.
3232         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-script.html: Added.
3233         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-xhr.html: Added.
3234         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-secure-image-after-upgrade-redirect.html: Added.
3235         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-secure-image-after-upgrade.html: Added.
3236         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png: Added.
3237         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/transform-functions.xsl: Added.
3238         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt: Added.
3239         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe.html: Added.
3240         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt: Added.
3241         * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe.html: Added.
3242         * platform/ios-simulator/TestExpectations: Skip plugin tests as plugins are not supported on iOS.
3243
3244 2016-12-08  Sam Weinig  <sam@webkit.org>
3245
3246         [WebIDL] Remove custom bindings for Geolocation
3247         https://bugs.webkit.org/show_bug.cgi?id=165625
3248
3249         Reviewed by Alex Christensen.
3250
3251         * fast/dom/Geolocation/argument-types-expected.txt:
3252         * fast/dom/Geolocation/not-enough-arguments-expected.txt:
3253         * fast/dom/Geolocation/script-tests/argument-types.js:
3254         Update tests for improved error messages / adherence to WebIDL.
3255
3256 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3257
3258         [CSS Parser] Unskip passing flexbox tests
3259         https://bugs.webkit.org/show_bug.cgi?id=165626
3260
3261         Reviewed by Dean Jackson.
3262
3263         * TestExpectations:
3264
3265 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3266
3267         @supports fails combinations of conjuctions, disjunctions, and negations of simple conditions
3268         https://bugs.webkit.org/show_bug.cgi?id=137566
3269         <rdar://problem/18600949>
3270
3271         Reviewed by Dean Jackson.
3272
3273         * TestExpectations:
3274         Test passes now with new @supports parser.
3275
3276 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3277
3278         [CSS Parser] Add strict checking for right parens to selector functions like :matches, :not etc.
3279         https://bugs.webkit.org/show_bug.cgi?id=165624
3280
3281         Reviewed by Dean Jackson.
3282
3283         * TestExpectations:
3284
3285 2016-12-08  Jiewen Tan  <jiewen_tan@apple.com>
3286
3287         [WebCrypto] Replace webkitSubtle with subtle for all crypto/workers/subtle/ tests
3288         https://bugs.webkit.org/show_bug.cgi?id=165540
3289
3290         Reviewed by Brent Fulgham.
3291
3292         * crypto/workers/subtle/aes-postMessage-worker.html:
3293         * crypto/workers/subtle/hmac-postMessage-worker.html:
3294         * crypto/workers/subtle/hrsa-postMessage-worker-expected.txt:
3295         * crypto/workers/subtle/hrsa-postMessage-worker.html:
3296         * crypto/workers/subtle/multiple-postMessage-worker.html:
3297         * crypto/workers/subtle/resources/hrsa-postMessage-worker.js:
3298         * crypto/workers/subtle/rsa-postMessage-worker.html:
3299
3300 2016-12-08  Ryan Haddad  <ryanhaddad@apple.com>
3301
3302         Rebaseline some css tests for ios-simulator.
3303
3304         Unreviewed test gardening.
3305
3306         * platform/ios-simulator/fast/css/font_property_normal-expected.txt:
3307         * platform/ios-simulator/fast/css/image-set-unprefixed-expected.txt:
3308
3309 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3310
3311         [CSS Parser] Unskip grid tests
3312         https://bugs.webkit.org/show_bug.cgi?id=165623
3313
3314         Reviewed by Zalan Bujtas.
3315
3316         * TestExpectations:
3317         * fast/css-grid-layout/grid-auto-flow-get-set-expected.txt:
3318         * fast/css-grid-layout/grid-auto-flow-get-set.html:
3319         * fast/css-grid-layout/grid-columns-rows-get-set-expected.txt:
3320         * fast/css-grid-layout/grid-template-shorthand-get-set-expected.txt:
3321         * fast/css-grid-layout/grid-template-shorthand-get-set.html:
3322         * fast/css-grid-layout/non-grid-columns-rows-get-set-expected.txt:
3323         * fast/css-grid-layout/resources/grid-columns-rows-get-set.js:
3324         * fast/css-grid-layout/resources/non-grid-columns-rows-get-set.js:
3325
3326 2016-12-08  Zalan Bujtas  <zalan@apple.com>
3327
3328         Overlapping text at AppleSeed forum's footer.
3329         https://bugs.webkit.org/show_bug.cgi?id=165613
3330
3331         Reviewed by Simon Fraser.
3332
3333         This is a test case for r207219.
3334
3335         * fast/text/float-with-sibling-text-overlaps-when-text-decoration-changes-expected.html: Added.
3336         * fast/text/float-with-sibling-text-overlaps-when-text-decoration-changes.html: Added.
3337
3338 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3339
3340         [CSS Parser] Unskip background parsing tests
3341         https://bugs.webkit.org/show_bug.cgi?id=165619
3342
3343         Reviewed by Zalan Bujtas.
3344
3345         * TestExpectations:
3346         * fast/backgrounds/background-position-parsing-2-expected.txt:
3347         * fast/backgrounds/background-position-parsing-2.html:
3348         * fast/backgrounds/background-shorthand-after-set-backgroundSize-expected.txt:
3349         * fast/backgrounds/background-shorthand-after-set-backgroundSize.html:
3350         * fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt:
3351         * fast/backgrounds/background-shorthand-with-backgroundSize-style.html:
3352
3353 2016-12-08  Joseph Pecoraro  <pecoraro@apple.com>
3354
3355         Web Inspector: Unable to delete breakpoint from worker script
3356         https://bugs.webkit.org/show_bug.cgi?id=165578
3357
3358         Reviewed by Matt Baker.
3359
3360         * inspector/worker/debugger-shared-breakpoint-expected.txt: Added.
3361         * inspector/worker/debugger-shared-breakpoint.html: Added.
3362         Ensure setting / removing a breakpoint affects all Workers that share
3363         a resource with the same URL.
3364
3365         * inspector/worker/resources/worker-debugger-pause.js:
3366         Add an echo command that will be useful to ensure Workers are not paused.
3367
3368 2016-12-08  Ryan Haddad  <ryanhaddad@apple.com>
3369
3370         Rebaseline fast/selectors/nth-last-child-bounds.html after r209548.
3371
3372         Unreviewed test gardening.
3373
3374         * fast/selectors/nth-child-bounds-expected.txt:
3375
3376 2016-12-08  Jeremy Jones  <jeremyj@apple.com>
3377
3378         pointer lock should exit when a js alert is shown
3379         https://bugs.webkit.org/show_bug.cgi?id=165423
3380         rdar://problem/29430803
3381
3382         Reviewed by Jer Noble.
3383
3384         * platform/mac/TestExpectations:
3385         * pointer-lock/lock-lost-on-alert-expected.txt: Added.
3386         * pointer-lock/lock-lost-on-alert.html: Added.
3387
3388 2016-12-08  Sam Weinig  <sam@webkit.org>
3389
3390         [WebIDL] WebGLContextAttributes should be a dictionary
3391         https://bugs.webkit.org/show_bug.cgi?id=165572
3392
3393         Reviewed by Dean Jackson.
3394
3395         * fast/canvas/webgl/context-creation-attributes-expected.txt:
3396         Update test results.
3397
3398 2016-12-05  Sam Weinig  <sam@webkit.org>
3399
3400         [WebIDL] Add support for converting dictionaries to JS
3401         https://bugs.webkit.org/show_bug.cgi?id=165367
3402
3403         Reviewed by Darin Adler and Alex Christensen.
3404
3405         * crypto/subtle/rsa-oaep-generate-key-expected.txt:
3406         * crypto/subtle/rsa-oaep-generate-key.html:
3407         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-expected.txt:
3408         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable-expected.txt:
3409         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable.html:
3410         * crypto/subtle/rsaes-pkcs1-v1_5-generate-key.html:
3411         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-expected.txt:
3412         * crypto/subtle/rsassa-pkcs1-v1_5-generate-key.html:
3413         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key-expected.txt:
3414         * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key.html:
3415         * crypto/webkitSubtle/rsa-oaep-key-manipulation-expected.txt:
3416         * crypto/webkitSubtle/rsa-oaep-key-manipulation.html:
3417         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-expected.txt:
3418         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt:
3419         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html:
3420         * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key.html:
3421         * crypto/workers/subtle/resources/rsa-generate-key.js:
3422         * crypto/workers/subtle/rsa-generate-key-expected.txt:
3423         Update tests and expected results to show that CryptoKeyPair is now a vanilla object, not a platform object.
3424
3425 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3426
3427         [CSS Parser] Unskip/remove more tests
3428         https://bugs.webkit.org/show_bug.cgi?id=165611
3429
3430         Reviewed by Zalan Bujtas.
3431
3432         * TestExpectations:
3433         * fast/css/parse-color-int-or-percent-crash.html:
3434         * fast/css/string-quote-binary-expected.txt: Removed.
3435         * fast/css/string-quote-binary.html: Removed.
3436         * fast/masking/parsing-mask-expected.txt:
3437         * fast/masking/parsing-mask.html:
3438         * fast/selectors/nth-child-bounds.html:
3439         * fast/selectors/nth-last-child-bounds-expected.txt:
3440         * fast/selectors/nth-last-child-bounds.html:
3441         * fast/text/text-combine-crash.html:
3442
3443 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3444
3445         [CSS Parser] Unskip more tests
3446         https://bugs.webkit.org/show_bug.cgi?id=165610
3447
3448         Reviewed by Zalan Bujtas.
3449
3450         * TestExpectations:
3451         * fast/css/css-selector-text-expected.txt:
3452         * fast/css/css-selector-text.html:
3453         * fast/css/css-set-selector-text-expected.txt:
3454         * fast/css/css-set-selector-text.html:
3455         * fast/css/parsing-css-nth-child-expected.txt:
3456         * fast/css/parsing-css-nth-child.html:
3457
3458 2016-12-08  Zalan Bujtas  <zalan@apple.com>
3459
3460         Do not create multicolumn context for certain type of renderers.
3461         https://bugs.webkit.org/show_bug.cgi?id=135601
3462         <rdar://problem/27686300>
3463
3464         Reviewed by David Hyatt.
3465
3466         * fast/multicol/no-multicol-for-textareas-expected.txt: Added.
3467         * fast/multicol/no-multicol-for-textareas.html: Added.
3468
3469 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3470
3471         [CSS Parser] Unskip more tests
3472         https://bugs.webkit.org/show_bug.cgi?id=165609
3473
3474         Reviewed by Zalan Bujtas.
3475
3476         A note on the parsing-css-attribute-* tests. These tests attempted to test namespaces, but
3477         you really can't do that easily. A @namespace rule is only valid within the scope of its
3478         stylesheet, and the test was assuming the namespace would apply outside of the stylesheet
3479         scope.
3480
3481         The old parser would not properly reject prefixes that didn't point to any valid namespace,
3482         and so it was possible to test prefixes. The new parser rejects these invalid prefixes, so just
3483         remove the namespace component of these two tests.
3484
3485         * TestExpectations:
3486         * fast/css/attr-parsing-expected.txt:
3487         * fast/css/attr-parsing.html:
3488         * fast/css/invalid-cursor-property-crash.html:
3489         * fast/css/parsing-css-attribute-case-insensitive-value-1.html:
3490         * fast/css/parsing-css-attribute-case-insensitive-value-2.html:
3491         * fast/shadow-dom/slotted-pseudo-element-css-text-expected.txt:
3492
3493 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3494
3495         [CSS Parser] Unskip more tests
3496         https://bugs.webkit.org/show_bug.cgi?id=165608
3497
3498         Reviewed by Zalan Bujtas.
3499
3500         * TestExpectations:
3501         * fast/css/font-property-priority-expected.txt:
3502         * fast/css/image-set-unprefixed.html:
3503         * fast/css/parsing-text-emphasis-expected.txt:
3504         * fast/css/parsing-text-emphasis.html:
3505         * fast/css/uri-token-parsing-expected.txt:
3506         * fast/css/uri-token-parsing.html:
3507         * platform/mac/fast/css/font_property_normal-expected.txt:
3508
3509 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3510
3511         [CSS Parser] REGRESSION: Values of 0 should not be allowed for -webkit-aspect-ratio
3512         https://bugs.webkit.org/show_bug.cgi?id=165607
3513
3514         Reviewed by Simon Fraser.
3515
3516         * TestExpectations:
3517
3518 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3519
3520         [CSS Parser] Unskip more tests
3521         https://bugs.webkit.org/show_bug.cgi?id=165605
3522
3523         Reviewed by Zalan Bujtas.
3524
3525         * TestExpectations:
3526         * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex-expected.txt:
3527         * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex.html:
3528         * fast/selectors/querySelector-pseudo-element-expected.txt:
3529         * fast/selectors/querySelector-pseudo-element-inside-functional-pseudo-class-any-expected.txt:
3530         * fast/selectors/querySelector-pseudo-element-inside-functional-pseudo-class-any.html:
3531         * fast/selectors/querySelector-pseudo-element.html:
3532
3533 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3534
3535         [CSS Parser] Unskip more tests
3536         https://bugs.webkit.org/show_bug.cgi?id=165604
3537
3538         Reviewed by Zalan Bujtas.
3539
3540         * TestExpectations:
3541
3542 2016-12-08  Dave Hyatt  <hyatt@apple.com>
3543
3544         [CSS Parser] Unskip more tests
3545         https://bugs.webkit.org/show_bug.cgi?id=165602
3546
3547         Reviewed by Zalan Bujtas.
3548
3549         * TestExpectations:
3550         * fast/css/remove-shorthand-expected.txt:
3551         * fast/css/transform-inline-style-expected.txt:
3552         * fast/regions/region-styling/parsing-region-style-rule.html:
3553         * fast/shapes/parsing/parsing-shape-image-threshold-expected.txt:
3554         * fast/shapes/parsing/parsing-shape-image-threshold.html:
3555         * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt:
3556         * fast/shapes/shape-outside-floats/shape-outside-animation.html:
3557         * platform/mac/svg/webarchive/svg-cursor-subresources-expected.txt:
3558         * svg/webarchive/svg-cursor-subresources.svg:
3559         * transitions/transitions-parsing-expected.txt:
3560         * transitions/transitions-parsing.html:
3561
3562 2016-12-08  Antti Koivisto  <antti@apple.com>
3563
3564         :after and :before don't work on :host
3565         https://bugs.webkit.org/show_bug.cgi?id=164675
3566         <rdar://problem/29231874>
3567
3568         Reviewed by Andreas Kling.
3569
3570         * fast/shadow-dom/shadow-host-with-before-after-expected.html: Added.
3571         * fast/shadow-dom/shadow-host-with-before-after.html: Added.
3572
3573 2016-12-08  Ryosuke Niwa  <rniwa@webkit.org>
3574
3575         REGRESSION (r209490): [ios-simulator] LayoutTest fast/shadow-dom/media-shadow-manipulation.html is failing
3576         https://bugs.webkit.org/show_bug.cgi?id=165590
3577
3578         Unreviewed. Revert r209490 on this test and make the check conditional
3579         since iOS and Mac implements video element differently.
3580
3581         In any case, these tests aren't testing anything useful after r209486.
3582         We should consider removing them or make them use internals.shadowRoot instead in a near term.
3583
3584         * fast/shadow-dom/media-shadow-manipulation-expected.txt:
3585         * fast/shadow-dom/media-shadow-manipulation.html:
3586
3587 2016-12-07  Dave Hyatt  <hyatt@apple.com>
3588
3589         [CSS Parser] Remove font test that tests something nobody supports
3590         https://bugs.webkit.org/show_bug.cgi?id=165596
3591
3592         Reviewed by Zalan Bujtas.
3593
3594         Remove this test that thinks "default" should be a special keyword in fonts. No
3595         other browser treat this as special. Our old parser did, but it's just from some
3596         reading of ancient CSS2 specs and not for any real-world reason.
3597
3598         * TestExpectations:
3599         * fast/css/font-family-parse-keyword.html: Removed.
3600         * fast/css/font-family-parse-keyword-expected.html: Removed.
3601
3602 2016-12-07  Dave Hyatt  <hyatt@apple.com>
3603
3604         REGRESSION: font shorthand parsing is broken
3605         https://bugs.webkit.org/show_bug.cgi?id=165594
3606
3607         Reviewed by Zalan Bujtas.
3608
3609         * TestExpectations:
3610         * fast/css/font-shorthand-html-expected.txt:
3611
3612 2016-12-07  Jeremy Jones  <jeremyj@apple.com>
3613
3614         Exit pointer lock when page goes into page cache.
3615         https://bugs.webkit.org/show_bug.cgi?id=165425
3616         rdar://problem/29430834
3617
3618         Reviewed by Jer Noble.
3619
3620         * platform/mac/TestExpectations:
3621         * pointer-lock/lock-lost-on-navigation-expected.txt: Added.
3622         * pointer-lock/lock-lost-on-navigation.html: Added.
3623         * pointer-lock/resources/lock-lost-on-navigation2.html: Added.
3624
3625 2016-12-07  Dave Hyatt  <hyatt@apple.com>
3626
3627         [CSS Parser] Unskip calc() tests
3628         https://bugs.webkit.org/show_bug.cgi?id=165583
3629
3630         Reviewed by Zalan Bujtas.
3631
3632         * TestExpectations:
3633         * fast/css/flex-shrink-calculated-value-expected.txt:
3634         * fast/css/flex-shrink-calculated-value.html:
3635         * fast/css/negative-calc-values-expected.txt:
3636         * fast/css/negative-calc-values.html:
3637         * fast/css/text-shadow-calc-value-expected.txt:
3638         * fast/css/text-shadow-calc-value.html:
3639         * fast/css/webkit-line-clamp-calculated-value-expected.txt:
3640         * fast/css/webkit-line-clamp-calculated-value.html:
3641         * fast/css/z-index-calculated-value-expected.txt:
3642         * fast/css/z-index-calculated-value.html:
3643
3644 2016-12-07  Antoine Quint  <graouts@apple.com>
3645
3646         [Modern Media Controls] Tracks panel does not display in the right location in fullscreen and cannot be dismissed
3647         https://bugs.webkit.org/show_bug.cgi?id=165575
3648
3649         Reviewed by Dean Jackson.
3650
3651         Add new tests to check we correctly position the tracks panel in fullscreen, including when we drag the controls bar.
3652
3653         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls-expected.txt: Added.
3654         * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html: Added.
3655         * media/modern-media-controls/tracks-support/tracks-support-show-panel-fullscreen-expected.txt: Added.
3656         * media/modern-media-controls/tracks-support/tracks-support-show-panel-fullscreen.html: Added.
3657
3658 2016-12-07  Jeremy Jones  <jeremyj@apple.com>
3659
3660         pointer-lock/lock-lost-on-esc-in-fullscreen.html timeout on mac-wk1
3661         https://bugs.webkit.org/show_bug.cgi?id=165589
3662
3663         Unreviewed skipping test that is timing out.
3664
3665         * platform/mac-wk1/TestExpectations:
3666
3667 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
3668
3669         Fix the filename for a newly added test expectation file.
3670
3671         Unreviewed test gardening.
3672
3673         * tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top.txt.
3674
3675 2016-12-07  Antoine Quint  <graouts@apple.com>
3676
3677         [Modern Media Controls] Use a small picture-in-picture button in fullscreen
3678         https://bugs.webkit.org/show_bug.cgi?id=165587
3679
3680         Reviewed by Dean Jackson.
3681
3682         Rebaseline tests to account for the smaller picture-in-picture button in fullscreen.
3683
3684         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt:
3685         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
3686         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt:
3687         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
3688
3689 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
3690
3691         Marking inspector/debugger/async-stack-trace.html as flaky on macOS.
3692         https://bugs.webkit.org/show_bug.cgi?id=165584
3693
3694         Unreviewed test gardening.
3695
3696         * platform/mac/TestExpectations:
3697
3698 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
3699
3700         Marking inspector/worker/debugger-scripts.html as flaky on mac-wk2.
3701         https://bugs.webkit.org/show_bug.cgi?id=165582
3702
3703         Unreviewed test gardening.
3704
3705         * platform/mac-wk2/TestExpectations:
3706
3707 2016-12-07  Dave Hyatt  <hyatt@apple.com>
3708
3709         [CSS Parser] Unskip media tests
3710         https://bugs.webkit.org/show_bug.cgi?id=165580
3711
3712         Reviewed by Jon Lee.
3713
3714         The new parser will still create rules for hover/pointer queries with
3715         unknown identifiers. Patch the tests to account for this.
3716
3717         * TestExpectations:
3718         * fast/media/mq-any-hover-invalid-expected.txt:
3719         * fast/media/mq-any-hover-invalid.html:
3720         * fast/media/mq-any-pointer-invalid-expected.txt:
3721         * fast/media/mq-any-pointer-invalid.html:
3722         * fast/media/mq-hover-invalid-expected.txt:
3723         * fast/media/mq-hover-invalid.html:
3724         * fast/media/mq-pointer-invalid-expected.txt:
3725         * fast/media/mq-pointer-invalid.html:
3726
3727 2016-12-07  Dean Jackson  <dino@apple.com>
3728
3729         Remove runtime toggle for pointer-lock
3730         https://bugs.webkit.org/show_bug.cgi?id=165577
3731         <rdar://problems/29566996>
3732
3733         Reviewed by Jon Lee.
3734
3735         Remove any runtime calls to check if pointer-lock is enabled. It's
3736         either compiled in or out.
3737
3738         * platform/mac/TestExpectations: Enable the pointer-lock tests that should work.
3739         * pointer-lock/pointer-lock-api.html: Fix a bad DOM call.
3740         * pointer-lock/pointerlock-interface-disabled-expected.txt: Removed.
3741         * pointer-lock/pointerlock-interface-disabled.html: Removed.
3742
3743 2016-12-07  Dave Hyatt  <hyatt@apple.com>
3744
3745         [CSS Parser] Unskip gradients tests
3746         https://bugs.webkit.org/show_bug.cgi?id=165576
3747
3748         Reviewed by Dean Jackson.
3749
3750         Keywords like left, center, top, right and bottom are preserved when serializing in
3751         the new parser.
3752
3753         * TestExpectations:
3754         * fast/gradients/css3-gradient-parsing-expected.txt:
3755         * fast/gradients/css3-gradient-parsing.html:
3756         * fast/gradients/unprefixed-gradient-parsing-expected.txt:
3757         * fast/gradients/unprefixed-gradient-parsing.html:
3758
3759 2016-12-07  John Wilander  <wilander@apple.com>
3760
3761         Allow commas in Accept, Accept-Language, and Content-Language request headers for simple CORS
3762         https://bugs.webkit.org/show_bug.cgi?id=165566
3763         <rdar://problem/29560983>
3764
3765         Reviewed by Alex Christensen.
3766
3767         * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html:
3768             Added ',' to the tests as well as two examples from
3769             two sites where we found a regression.
3770
3771 2016-12-07  Dave Hyatt  <hyatt@apple.com>
3772
3773         [CSS Parser] Stop skipping tests in the css3 LayoutTests subdirectory
3774         https://bugs.webkit.org/show_bug.cgi?id=165574
3775
3776         Reviewed by Dean Jackson.
3777
3778         * TestExpectations:
3779         Stop skipping two tests.
3780
3781         * css3/font-variant-parsing-expected.txt:
3782         * css3/font-variant-parsing.html:
3783         Patched to yield the correct results when multiple values are specified for the
3784         same sub-property.
3785
3786         * css3/supports-cssom-expected.txt:
3787         * css3/supports-cssom.html:
3788         Patched to account for the new result for @namespace insertion failure (see
3789         corresponding WebCore ChangeLog for explanation), and also patched to get rid
3790         of excess whitespace, since the new parser doesn't preserve whitespace formatting
3791         when serializing @supports.
3792
3793 2016-12-07  Jiewen Tan  <jiewen_tan@apple.com>
3794
3795         Unreviewed, Skip imported/w3c/WebCryptoAPI/generateKey/test_failures.html
3796
3797         This is a superset test for all test_failures*.html. No need for it as we run
3798         all the sub tests.
3799
3800         * TestExpectations:
3801
3802 2016-12-07  Antoine Quint  <graouts@apple.com>
3803
3804         [Modern Media Controls] Remove aspect ratio button
3805         https://bugs.webkit.org/show_bug.cgi?id=165571
3806
3807         Reviewed by Dean Jackson.
3808
3809         We no longer have an AspectRatioButton.
3810
3811         * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button-expected.txt: Removed.
3812         * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button.html: Removed.
3813         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt:
3814         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html:
3815         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt:
3816         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html:
3817         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor-expected.txt:
3818         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor.html:
3819         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin-expected.txt:
3820         * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin.html:
3821
3822 2016-12-07  Jeremy Jones  <jeremyj@apple.com>
3823
3824         One esc to exit fullscreen and pointer lock
3825         https://bugs.webkit.org/show_bug.cgi?id=165416
3826         rdar://problem/29430711
3827
3828         Reviewed by Jer Noble.
3829
3830         * platform/mac-wk2/TestExpectations:
3831         * pointer-lock/lock-lost-on-esc-in-fullscreen-expected.txt: Added.
3832         * pointer-lock/lock-lost-on-esc-in-fullscreen.html: Added.
3833
3834 2016-12-07  Dave Hyatt  <hyatt@apple.com>
3835
3836         [CSS Parser] Remove tests that depend on SVG CSS OM that has been removed
3837         https://bugs.webkit.org/show_bug.cgi?id=165565
3838
3839         Reviewed by Jon Lee.
3840
3841         * TestExpectations:
3842         * svg/dom/SVGColor-expected.txt: Removed.
3843         * svg/dom/SVGColor.html: Removed.
3844         * svg/dom/SVGPaint-expected.txt: Removed.
3845         * svg/dom/SVGPaint.html: Removed.
3846         * svg/dom/rgb-color-parser-expected.txt: Removed.
3847         * svg/dom/rgb-color-parser.html: Removed.
3848
3849 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
3850
3851         Marking compositing/layer-creation/fixed-overlap-extent-rtl.html as failing on mac-wk1.
3852         https://bugs.webkit.org/show_bug.cgi?id=165541
3853
3854         Unreviewed test gardening.
3855
3856         * platform/mac-wk1/TestExpectations:
3857
3858 2016-12-07  Dave Hyatt  <hyatt@apple.com>
3859
3860         [CSS Parser] Consolidate string/ident/url serialization functions
3861         https://bugs.webkit.org/show_bug.cgi?id=165552
3862
3863         Reviewed by Zalan Bujtas.
3864
3865         * fast/css/content-language-only-whitespace-expected.txt:
3866         * fast/css/content-language-with-whitespace-expected.txt:
3867
3868 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
3869
3870         Marking imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1.html as flaky on El Capitan WK2.
3871         https://bugs.webkit.org/show_bug.cgi?id=165392
3872
3873         Unreviewed test gardening.
3874
3875         * platform/mac-wk2/TestExpectations:
3876
3877 2016-12-07  Joseph Pecoraro  <pecoraro@apple.com>
3878
3879         Web Inspector: Add ability to distinguish if a Script was parsed as a module
3880         https://bugs.webkit.org/show_bug.cgi?id=164900
3881         <rdar://problem/29323817>
3882
3883         Reviewed by Timothy Hatcher.
3884
3885         * inspector/model/parse-script-syntax-tree-expected.txt:
3886         * inspector/model/parse-script-syntax-tree.html:
3887         * inspector/model/resources/module.js: Added.
3888         (import.string_appeared_here.myModule):
3889         * inspector/model/resources/other-module.js: Added.
3890         (myOtherModule):
3891         * inspector/model/resources/program.js: Added.
3892         (myProgram):
3893         * inspector/model/script-sourceType-expected.txt: Added.
3894         * inspector/model/script-sourceType.html: Added.
3895
3896 2016-12-07  Joseph Pecoraro  <pecoraro@apple.com>
3897
3898         Web Inspector: Update Esprima to support new features / syntax (**, async/await, trailing comma)
3899         https://bugs.webkit.org/show_bug.cgi?id=164830
3900         <rdar://problem/29293814>
3901
3902         Reviewed by Timothy Hatcher.
3903
3904         * inspector/formatting/resources/javascript-tests/arrow-functions-expected.js:
3905         * inspector/formatting/resources/javascript-tests/arrow-functions.js:
3906         * inspector/formatting/resources/javascript-tests/classes-expected.js:
3907         * inspector/formatting/resources/javascript-tests/classes.js:
3908         * inspector/formatting/resources/javascript-tests/functions-expected.js:
3909         * inspector/formatting/resources/javascript-tests/functions.js:
3910         * inspector/formatting/resources/javascript-tests/other-statements-expected.js:
3911         * inspector/formatting/resources/javascript-tests/other-statements.js:
3912         * inspector/formatting/resources/javascript-tests/unary-binary-expressions-expected.js:
3913         * inspector/formatting/resources/javascript-tests/unary-binary-expressions.js:
3914         * inspector/model/parse-script-syntax-tree-expected.txt:
3915         * inspector/model/parse-script-syntax-tree.html:
3916         Coverage for new supported syntax.
3917
3918 2016-12-07  Ryosuke Niwa  <rniwa@webkit.org>
3919
3920         Rebaseline tests after r209486. Also updated media-shadow-manipulation.html now that range is null.
3921
3922         * fast/shadow-dom/color-input-element-shadow-manipulation-expected.txt:
3923         * fast/shadow-dom/file-input-element-shadow-manipulation-expected.txt:
3924         * fast/shadow-dom/media-shadow-manipulation-expected.txt:
3925         * fast/shadow-dom/media-shadow-manipulation.html:
3926         * fast/shadow-dom/range-input-element-shadow-manipulation-expected.txt:
3927         * fast/shadow-dom/textarea-shadow-manipulation-expected.txt:
3928
3929 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
3930
3931         Marking two compositing tests as failing.
3932         https://bugs.webkit.org/show_bug.cgi?id=165530
3933
3934         Unreviewed test gardening.
3935
3936         * platform/mac-wk1/TestExpectations:
3937         * platform/mac/TestExpectations:
3938
3939 2016-12-07  Zalan Bujtas  <zalan@apple.com>
3940
3941         ASSERTION FAILED: count >= 1 in WebCore::RenderMultiColumnSet::columnCount
3942         https://bugs.webkit.org/show_bug.cgi?id=136365
3943         <rdar://problem/27686727>
3944
3945         Reviewed by Simon Fraser.
3946
3947         * fast/multicol/assert-on-column-count-when-zoomed-in-expected.txt: Added.
3948         * fast/multicol/assert-on-column-count-when-zoomed-in.html: Added.
3949
3950 2016-12-07  Ryosuke Niwa  <rniwa@webkit.org>
3951
3952         document.caretRangeFromPoint doesn't retarget the resultant Range correctly.
3953         https://bugs.webkit.org/show_bug.cgi?id=165146
3954
3955         Reviewed by Sam Weinig.
3956
3957         Added a regression test for caretRangeFromPoint retargeting the result.
3958
3959         * fast/shadow-dom/caret-range-from-point-in-shadow-tree-expected.txt: Added.
3960         * fast/shadow-dom/caret-range-from-point-in-shadow-tree.html: Added.
3961
3962 2016-12-07  Antoine Quint  <graouts@apple.com>
3963
3964         [Modern Media Controls] Entering fullscreen and returning to inline shows fullscreen controls
3965         https://bugs.webkit.org/show_bug.cgi?id=165536
3966
3967         Reviewed by Tim Horton.
3968
3969         Add a new test that checks we're using the right media controls presentation as we enter and exit fullscreen.
3970
3971         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline-expected.txt: Added.
3972         * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline.html: Added.
3973
3974 2016-12-07  Wenson Hsieh  <wenson_hsieh@apple.com>
3975
3976         Scroll position jumps to the origin when scrolling without momentum at the end of a scroll snapping container
3977         https://bugs.webkit.org/show_bug.cgi?id=165474
3978         <rdar://problem/29534305>
3979
3980         Reviewed by Simon Fraser.
3981
3982         Added a new test verifying that if a scroll gesture ends without momentum at the bottom of a scroll snapping
3983         container, the scroll position won't jump to the top.
3984
3985         * tiled-drawing/scrolling/scroll-snap/scrolling-jumps-to-top-expected.txt: Added.
3986         * tiled-drawing/scrolling/scroll-snap/scrolling-jumps-to-top.html: Added.
3987
3988 2016-12-07  Simon Fraser  <simon.fraser@apple.com>
3989
3990         REGRESSION (r209447): LayoutTests compositing/layer-creation/fixed-position-out-of-view-scaled.html and compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html failing
3991         https://bugs.webkit.org/show_bug.cgi?id=165530
3992
3993         New baseline for WK1 (which has RTL/compositing isseus), and mark a test as flakey in WK1.
3994
3995         * platform/mac-wk1/TestExpectations:
3996         * platform/mac-wk1/compositing/layer-creation/fixed-overlap-extent-rtl-expected.txt: Added.
3997
3998 2016-12-07  Nan Wang  <n_wang@apple.com>
3999
4000         AX: menu type toolbar should be mapped correctly on Mac
4001         https://bugs.webkit.org/show_bug.cgi?id=165537
4002
4003         Reviewed by Chris Fleizach.
4004
4005         * accessibility/mac/menu-type-toolbar-expected.txt: Added.
4006         * accessibility/mac/menu-type-toolbar.html: Added.
4007
4008 2016-12-07  Geoffrey Garen  <ggaren@apple.com>
4009
4010         Fixed a test failure seen in web-timing-minimal-performance-now.html
4011         https://bugs.webkit.org/show_bug.cgi?id=165542
4012
4013         Reviewed by Beth Dakin.
4014
4015         This test was always slightly wrong, but it is much more likely to fail
4016         as of <https://trac.webkit.org/changeset/209462>.
4017
4018         * fast/dom/Window/web-timing-minimal-performance-now.html: < is not a
4019         correct test for monotonicity. < tests for stricly increasing. <= is a
4020         correct test for monotonicity. All computer clocks have some granularity,
4021         so computer clocks are monotonic but not strictly increasing: you can
4022         sample the clock twice in the same tick.
4023
4024 2016-12-07  Joseph Pecoraro  <pecoraro@apple.com>
4025
4026         Web Inspector: Remove unused and mostly untested Page domain commands and events
4027         https://bugs.webkit.org/show_bug.cgi?id=165507
4028
4029         Reviewed by Brian Burg.
4030
4031         * inspector/page/javascriptDialogEvents-expected.txt: Removed.
4032         * inspector/page/javascriptDialogEvents.html: Removed.
4033         * platform/gtk/TestExpectations:
4034         * platform/mac/TestExpectations:
4035         Remove test skipped by all platforms.
4036
4037 2016-12-07  Dave Hyatt  <hyatt@apple.com>
4038
4039         Fix a bad result that I landed by accident.
4040
4041         * fast/css/object-position/parsing-object-position-expected.txt:
4042
4043 2016-12-07  Dave Hyatt  <hyatt@apple.com>
4044
4045         [CSS Parser] Turn back on a bunch of layout tests
4046         https://bugs.webkit.org/show_bug.cgi?id=165529
4047
4048         Reviewed by Zalan Bujtas.
4049
4050         * TestExpectations:
4051         * css3/parsing-css3-nthchild-expected.txt:
4052         * css3/parsing-css3-nthchild.html:
4053         * css3/scroll-snap/scroll-snap-position-values-expected.txt:
4054         * css3/scroll-snap/scroll-snap-position-values.html:
4055         * editing/execCommand/insert-list-with-noneditable-content-expected.txt:
4056         * fast/css/object-position/parsing-object-position-expected.txt:
4057         * fast/css/object-position/parsing-object-position.html:
4058         * fast/css/parsing-css-number-types-expected.txt:
4059         * fast/css/parsing-css-wrap-expected.txt:
4060         * fast/css/script-tests/transform-origin-parsing.js:
4061         * fast/css/transform-inline-style-remove-expected.txt:
4062         * fast/css/transform-origin-parsing-expected.txt:
4063         * fast/css/variables/custom-property-dynamic-update-expected.html:
4064         * fast/events/mouse-cursor-expected.txt:
4065         * fast/inspector-support/style-expected.txt:
4066         * platform/mac/svg/webarchive/svg-script-subresouces-expected.txt:
4067
4068 2016-12-07  Ryan Haddad  <ryanhaddad@apple.com>
4069
4070         Rebaseline fast/table/003.html after r209421.
4071         https://bugs.webkit.org/show_bug.cgi?id=165513
4072
4073         Unreviewed test gardening.
4074
4075         * platform/ios-simulator/fast/table/003-expected.txt:
4076
4077 2016-12-06  Antoine Quint  <graouts@apple.com>
4078
4079         [Modern Media Controls] Use tap and pinch gestures on iOS
4080         https://bugs.webkit.org/show_bug.cgi?id=165518
4081
4082         Reviewed by Dean Jackson.
4083
4084         With the addition of new gesture recognizer source files, some tests were failing
4085         due to linking to only a subset of the modern media controls resources.
4086
4087         * media/modern-media-controls/airplay-button/airplay-button.html:
4088         * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button.html:
4089         * media/modern-media-controls/button/button.html:
4090         * media/modern-media-controls/buttons-container/buttons-container-buttons-property.html:
4091         * media/modern-media-controls/buttons-container/buttons-container-constructor.html:
4092         * media/modern-media-controls/buttons-container/buttons-container-layout.html:
4093         * media/modern-media-controls/fullscreen-button/fullscreen-button.html:
4094         * media/modern-media-controls/icon-button/icon-button-active-state.html:
4095         * media/modern-media-controls/icon-button/icon-button.html:
4096         * media/modern-media-controls/mute-button/mute-button.html:
4097         * media/modern-media-controls/pip-button/pip-button.html:
4098         * media/modern-media-controls/placard/placard.html:
4099         * media/modern-media-controls/play-pause-button/play-pause-button.html:
4100         * media/modern-media-controls/skip-back-button/skip-back-button.html:
4101         * media/modern-media-controls/start-button/start-button-styles.html:
4102         * media/modern-media-controls/start-button/start-button.html:
4103         * media/modern-media-controls/tracks-button/tracks-button.html:
4104
4105 2016-12-06  Ryan Haddad  <ryanhaddad@apple.com>
4106
4107         Marking http/tests/security/module-incorrect-mime-types.html as flaky on ios-simulator-wk2.
4108         https://bugs.webkit.org/show_bug.cgi?id=165344
4109
4110         Unreviewed test gardening.
4111
4112         * platform/ios-simulator-wk2/TestExpectations:
4113
4114 2016-12-06  Simon Fraser  <simon.fraser@apple.com>
4115
4116         Two tiled drawing tests failing with visual viewports enabled.
4117         https://bugs.webkit.org/show_bug.cgi?id=165489
4118
4119         Reviewed by Dean Jackson.
4120         
4121         Unfail and rebaseline.
4122
4123         * platform/mac-wk2/TestExpectations:
4124         * tiled-drawing/scrolling/frames/coordinated-frame-expected.txt:
4125         * tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt:
4126
4127 2016-12-06  Wenson Hsieh  <wenson_hsieh@apple.com>
4128
4129         After preventing a beforeinput event, an input event is fired when formatting rich text
4130  &n