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