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