2017-01-20 Matthew Hanson Merge r210951. rdar://problem/29562247 2017-01-19 Said Abou-Hallawa REGRESSION(r206156): Animated images are repeated one extra iteration than the value which is saved in the image file https://bugs.webkit.org/show_bug.cgi?id=167174 Reviewed by Simon Fraser. * fast/images/animated-image-loop-count-expected.html: Added. * fast/images/animated-image-loop-count.html: Added. * fast/images/resources/animated-red-green-blue-repeat-1.gif: Added. * fast/images/resources/animated-red-green-blue-repeat-2.gif: Added. Ensure the animated image stops animating after loopCount iterations. 2017-01-20 Matthew Hanson Merge r210945. rdar://problem/28745101 2017-01-19 Jer Noble CRASH at WebCore::TrackListBase::remove https://bugs.webkit.org/show_bug.cgi?id=167217 Reviewed by Brent Fulgham. * media/media-source/media-source-error-crash-expected.txt: Added. * media/media-source/media-source-error-crash.html: Added. 2017-01-20 Matthew Hanson Merge r210939. rdar://problem/29885052 2017-01-19 Chris Dumez Make sure HTML validation bubble gets dismissed when its associated element's frame gets detached https://bugs.webkit.org/show_bug.cgi?id=167215 Reviewed by Andreas Kling. Add layout test coverage. * fast/forms/resources/form-validation-iframe.html: Added. * fast/forms/validation-message-detached-iframe-expected.txt: Added. * fast/forms/validation-message-detached-iframe.html: Added. * fast/forms/validation-message-detached-iframe2-expected.txt: Added. * fast/forms/validation-message-detached-iframe2.html: Added. 2017-01-18 Matthew Hanson Merge r210862. rdar://problem/30055009 2017-01-18 Youenn Fablet [Streams API] ReadableStream generic reader constructor does not need to call ReadableStream getReader https://bugs.webkit.org/show_bug.cgi?id=167137 Reviewed by Xabier Rodriguez-Calvar. * streams/shadowing-getReader-expected.txt: Added. * streams/shadowing-getReader.html: Added. 2017-01-18 Matthew Hanson Merge r210860. rdar://problem/30080035 2017-01-18 Youenn Fablet Reject fetch promise in case of ReadableStream upload https://bugs.webkit.org/show_bug.cgi?id=167145 Reviewed by Alex Christensen. * TestExpectations: 2017-01-18 Matthew Hanson Merge r210831. rdar://problem/29057611 2017-01-17 Zalan Bujtas Editing nested RTL-LTR content makes the process unresponsive. https://bugs.webkit.org/show_bug.cgi?id=167140 rdar://problem/29057611 Reviewed by Ryosuke Niwa. * editing/rtl-to-ltr-editing-word-move-spin-expected.txt: Added. * editing/rtl-to-ltr-editing-word-move-spin.html: Added. 2017-01-18 Matthew Hanson Merge r210827. rdar://problem/28620865 2017-01-17 Brady Eidson An update to one gamepad's values should only change that gamepad's modified timestamp. and https://bugs.webkit.org/show_bug.cgi?id=167139 Reviewed by Andy Estes. * gamepad/gamepad-timestamp.html: 2017-01-12 Matthew Hanson Merge r210447. rdar://problem/29872292 2017-01-06 Chris Dumez [Form Validation] "character" in maxlength validation message should be singular when maxlength is 1 https://bugs.webkit.org/show_bug.cgi?id=166712 Reviewed by Darin Adler. Add layout test coverage. * fast/forms/validation-message-maxLength-expected.txt: Added. * fast/forms/validation-message-maxLength.html: Added. * platform/ios-simulator/TestExpectations: 2017-01-12 Matthew Hanson Merge r210586. rdar://problem/29861147 2017-01-11 Chris Dumez [iOS][WK2] KeyboardEvent.key always returns an empty string https://bugs.webkit.org/show_bug.cgi?id=166918 Reviewed by Wenson Hsieh. Add layout test coverage. * fast/events/ios/keyboard-event-key-attribute-expected.txt: Added. * fast/events/ios/keyboard-event-key-attribute.html: Added. 2017-01-12 Matthew Hanson Merge r210536. rdar://problem/29939970 2017-01-09 Chris Dumez REGRESSION(r189555): ImageDocument title no longer includes the size of the image https://bugs.webkit.org/show_bug.cgi?id=166876 Reviewed by Tim Horton. Add layout test coverage. * fast/images/imageDocument-title-expected.txt: Added. * fast/images/imageDocument-title.html: Added. 2017-01-12 Matthew Hanson Merge r210399. rdar://problem/29019333 2017-01-05 Myles C. Maxfield Carets can split up marriages and families https://bugs.webkit.org/show_bug.cgi?id=166711 Reviewed by Alex Christensen. AFAICT we don't have a test where we arrow-through a set of emoji. We do have tests where we backspace-through a set of emoji. Add a new test for the arrow keys. * platform/ios/TestExpectations: * platform/mac/editing/caret/emoji-expected.txt: Added. * editing/caret/emoji.html: Added. * editing/caret/ios/emoji-expected.txt: Added. * editing/caret/ios/emoji.html: Added. 2017-01-12 Matthew Hanson Merge r210687. rdar://problem/29388806 2017-01-12 Enrica Casucci Do not allow selection of editable content when not editing. https://bugs.webkit.org/show_bug.cgi?id=166897 Reviewed by Tim Horton. * fast/events/touch/ios/long-press-on-editable-expected.txt: Added. * fast/events/touch/ios/long-press-on-editable.html: Added. 2017-01-12 Matthew Hanson Merge r210622. rdar://problem/28389364 2017-01-11 Joseph Pecoraro REGRESSION(r206133): LayoutTest inspector/css/manager-preferredInspectorStyleSheetForFrame.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=162305 Reviewed by Timothy Hatcher. * inspector/css/manager-preferredInspectorStyleSheetForFrame-expected.txt: * inspector/css/manager-preferredInspectorStyleSheetForFrame.html: Revert the change that broke this and move to more deterministic callbacks that don't include the extra variance in producing output. 2017-01-12 Matthew Hanson Merge r210611. rdar://problem/29471892 2017-01-11 Joseph Pecoraro REGRESSION: LayoutTest inspector/debugger/csp-exceptions.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=165292 Reviewed by Geoffrey Garen. * inspector/debugger/csp-exceptions-expected.txt: * inspector/debugger/csp-exceptions.html: * inspector/debugger/resources/csp-exception-iframe.html: Improve the test to handle all console messages more carefully, including outputing the console messages to test them as well. * platform/mac-wk2/TestExpectations: Unskip the test, it should no longer be flakey. 2017-01-12 Matthew Hanson Merge r210610. rdar://problem/15307582 2017-01-11 Brent Fulgham Rebaseline two tests after r210599. * fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt: * storage/domstorage/sessionstorage/blocked-file-access-expected.txt: 2017-01-12 Matthew Hanson Merge r210593. rdar://problem/29970907 2017-01-11 Chris Dumez Iterating over URLSearchParams does not work https://bugs.webkit.org/show_bug.cgi?id=166921 Reviewed by Alex Christensen. Add layout test coverage. * fast/dom/DOMURL/searchparams-iterable-expected.txt: Added. * fast/dom/DOMURL/searchparams-iterable.html: Added. 2017-01-12 Matthew Hanson Merge r210564. rdar://problem/29944582 2017-01-10 Ryosuke Niwa :active and :hover states may not be updated across slots https://bugs.webkit.org/show_bug.cgi?id=166881 Reviewed by Antti Koivisto. Added two regression tests; one for clearing :active state across a slot, and another one for clearing a hover state on an ancestor of a slot to which a slot with the hovered element is assigned. * fast/shadow-dom/clear-active-state-in-shadow-expected.html: Added. * fast/shadow-dom/clear-active-state-in-shadow.html: Added. * fast/shadow-dom/hover-over-nested-slotted-content-expected.html: Added. * fast/shadow-dom/hover-over-nested-slotted-content.html: Added. * platform/ios-simulator/TestExpectations: 2017-01-12 Matthew Hanson Merge r210546. rdar://problem/29491188 2017-01-10 Youenn Fablet CachedScript cloning does not clone encodedSize https://bugs.webkit.org/show_bug.cgi?id=166865 Reviewed by Darin Adler. * http/tests/security/cross-origin-cached-scripts-expected.txt: * http/tests/security/cross-origin-cached-scripts.html: * http/tests/security/resources/notify-loaded.js: 2017-01-12 Matthew Hanson Merge r210538. rdar://problem/29941747 2017-01-09 Ryosuke Niwa Add an iOS test for tapping on a text node assigned to a slot https://bugs.webkit.org/show_bug.cgi?id=166877 Reviewed by Andy Estes. Add a test for tapping on a text node assigned to a slot. touchstart event must be fired on a parent of the slot with a touch event handler. * TestExpectations: * fast/shadow-dom/touch-event-on-text-assigned-to-slot-expected.txt: Added. * fast/shadow-dom/touch-event-on-text-assigned-to-slot.html: Added. * resources/ui-helper.js: (window.UIHelper.tapAt): Added. 2017-01-12 Matthew Hanson Merge r210516. rdar://problem/28693432 2017-01-09 Beth Dakin Add a test to ensure that preventDefault on touchmove prevents scrolling https://bugs.webkit.org/show_bug.cgi?id=166790 Reviewed by Simon Fraser. * fast/events/touch/ios/iphone7/prevent-default-touchmove-prevents-scrolling-expected.txt: Added. * fast/events/touch/ios/iphone7/prevent-default-touchmove-prevents-scrolling.html: Added. 2017-01-12 Matthew Hanson Merge r210468. rdar://problem/29859121 2017-01-06 Chris Dumez Regression(r189230): DOM Callbacks may use wrong global object https://bugs.webkit.org/show_bug.cgi?id=166784 Reviewed by Mark Lam. Add layout test coverage. * fast/frames/frame-window-as-callback-expected.txt: Added. * fast/frames/frame-window-as-callback.html: Added. * fast/frames/resources/wrong-global-object.html: Added. 2017-01-12 Matthew Hanson Merge r210443. rdar://problem/28215999 2017-01-06 Ryan Haddad Add pass expectation for fast/text/emoji-num-glyphs.html on Sierra. Unreviewed test gardening. * platform/mac/TestExpectations: 2017-01-12 Matthew Hanson Merge r210371. rdar://problem/29851126 2017-01-05 Jeremy Jones Update pointer-lock test expectations, enabling passing tests. https://bugs.webkit.org/show_bug.cgi?id=166656 rdar://problem/29851126 Reviewed by Alex Christensen. Several pointer lock tests are passing and are now marked as passing. pointer-lock/lock-already-locked.html Pass pointer-lock/lock-element-not-in-dom.html Pass http/tests/pointer-lock/iframe-sandboxed-allow-pointer-lock.html Pass http/tests/pointer-lock/iframe-sandboxed-nested-allow-pointer-lock.html Pass http/tests/pointer-lock/pointerlockelement-different-origin.html Pass http/tests/pointer-lock/pointerlockelement-same-origin.html Pass http/tests/pointer-lock/requestPointerLock-can-not-transfer-between-documents.html Pass http/tests/pointer-lock/iframe-sandboxed.html Pass http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock.html Pass * platform/mac/TestExpectations: * http/tests/pointer-lock/iframe-sandboxed-expected.txt: Updated. * http/tests/pointer-lock/iframe-sandboxed-nested-disallow-then-allow-pointer-lock-expected.txt: Updated 2017-01-12 Matthew Hanson Merge r210147. rdar://problem/29675551 2016-12-23 Simon Fraser REGRESSION (r209299): Selection is broken when you zoom in webpage using trackpad https://bugs.webkit.org/show_bug.cgi?id=166472 rdar://problem/29675551 Reviewed by Tim Horton. Add some test coverage for autoscroll of the main document. I could only get this working in WebKitTestRunner, not DumpRenderTree. * TestExpectations: * fast/events/autoscroll-main-document-expected.txt: Added. * fast/events/autoscroll-main-document.html: Added. * fast/events/autoscroll-when-zoomed-expected.txt: Added. * fast/events/autoscroll-when-zoomed.html: Added. * fast/events/drag-select-when-zoomed-expected.txt: Added. * fast/events/drag-select-when-zoomed-with-header-expected.txt: Added. * fast/events/drag-select-when-zoomed-with-header.html: Added. * fast/events/drag-select-when-zoomed.html: Added. * fast/scrolling/scroll-to-anchor-zoomed-header-expected.txt: Added. * fast/scrolling/scroll-to-anchor-zoomed-header.html: Added. * fast/transforms/selection-bounds-in-transformed-view.html: Revert the target scroll position to what it was before r209299, and improve the failure output. * platform/ios-simulator/TestExpectations: * platform/mac-wk2/TestExpectations: 2017-01-12 Matthew Hanson Merge r210432. rdar://problem/29633667 2017-01-05 Ryosuke Niwa Finding text doesn't work across shadow boundary https://bugs.webkit.org/show_bug.cgi?id=158503 Reviewed by Antti Koivisto. Updated the existing tests per changes to use an array of find options instead of raw bit mask, and added a regression test for finding text by traversing flat tree along with testing window.find and execCommand('FindString', false, ~) not walking across shadow boundaries. * editing/text-iterator/count-mark-lineboxes-expected.txt: * editing/text-iterator/count-mark-lineboxes.html: * editing/text-iterator/count-mark-simple-lines-expected.txt: * editing/text-iterator/count-mark-simple-lines.html: * editing/text-iterator/count-matches-in-form-expected.txt: * editing/text-iterator/count-matches-in-form.html: * editing/text-iterator/count-matches-in-frames.html: * editing/text-iterator/find-string-on-flat-tree-expected.txt: Added. * editing/text-iterator/find-string-on-flat-tree.html: Added. * fast/text/mark-matches-broken-line-rendering.html: * fast/text/mark-matches-overflow-clip.html: * fast/text/mark-matches-rendering-simple-lines-expected.html: * fast/text/mark-matches-rendering-simple-lines.html: * fast/text/mark-matches-rendering.html: 2017-01-06 Ryan Haddad Merge r210377. 2017-01-05 Ryan Haddad Rebaseline fast/canvas/webgl/context-creation-attributes.html after r210372. Unreviewed test gardening. * fast/canvas/webgl/context-creation-attributes-expected.txt: 2017-01-05 Matthew Hanson Merge r210369. rdar://problem/29100419 2017-01-05 Zalan Bujtas Mark the dedicated root linebox for trailing floats in empty inlines dirty. https://bugs.webkit.org/show_bug.cgi?id=166732 Reviewed by Antti Koivisto. * fast/inline/trailing-floats-inline-crash2-expected.txt: Added. * fast/inline/trailing-floats-inline-crash2.html: Added. 2017-01-05 Matthew Hanson Merge r210361. rdar://problem/29870245 2017-01-05 Chris Dumez Form validation: Align email validation with the latest HTML specification https://bugs.webkit.org/show_bug.cgi?id=166697 Reviewed by Alex Christensen. Extended / updated existing layout test to cover behavior changes. * fast/forms/ValidityState-typeMismatch-email-expected.txt: * fast/forms/resources/ValidityState-typeMismatch-email.js: 2017-01-05 Matthew Hanson Merge r210284. rdar://problem/29865854 2017-01-04 Chris Dumez Assertion hit on redfin.com: ASSERTION FAILED: collection->length() > 1 https://bugs.webkit.org/show_bug.cgi?id=166687 Reviewed by Darin Adler. Add layout test coverage. * fast/shadow-dom/document-named-property-expected.txt: Added. * fast/shadow-dom/document-named-property.html: Added. * fast/shadow-dom/window-named-property-expected.txt: Added. * fast/shadow-dom/window-named-property.html: Added. 2017-01-05 Matthew Hanson Merge r210279. rdar://problem/29607569 2017-01-04 Joseph Pecoraro Web Inspector: Cross Origin importScripts() scripts lack source URL, causes issues with Inspector showing Resource https://bugs.webkit.org/show_bug.cgi?id=165569 Reviewed by Youenn Fablet. * http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts-expected.txt: Added. * http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts.html: Added. * http/tests/inspector/worker/resources/worker-blob-import-script.js: Added. * http/tests/inspector/worker/resources/worker-blob-script.js: Added. Ensure cross origin scripts imported by workers still get the correct Script URL. Also this provides a test for worker started with a blob URL. 2017-01-05 Matthew Hanson Merge r210267. rdar://problem/29796608 2017-01-03 Ryosuke Niwa label element with tabindex >= 0 is not focusable https://bugs.webkit.org/show_bug.cgi?id=102780 Reviewed by Darin Adler. Added a regression test for traversing label and legend elements by tabbing. A native merge of the blink fix would have regressed this for the label element while the bug in the legend element had always existed. Also added a regression test for focusing label and legend elements with tabindex. We should be able to focus either element. New behavior matches that of Chrome. Firefox moves the focus to the label element like we used to before this patch. Also merge the test fix from https://chromium.googlesource.com/chromium/src/+/085ad8697b1be50c4f93e296797a25a43a79bcfb * fast/events/focus-label-legend-elements-expected.txt: Added. * fast/events/focus-label-legend-elements-with-tab-expected.txt: Added. * fast/events/focus-label-legend-elements-with-tab.html: Added. * fast/events/focus-label-legend-elements.html: Added. * fast/events/resources/tabindex-focus-blur-all-frame1.html: * fast/events/resources/tabindex-focus-blur-all-frame2.html: * fast/events/resources/tabindex-focus-blur-all.js: * fast/events/tabindex-focus-blur-all-expected.txt: * platform/ios-simulator-wk2/TestExpectations: 2017-01-05 Matthew Hanson Merge r210022. rdar://problem/29316054 2016-12-20 Megan Gardner Fix memory leak in malformed test https://bugs.webkit.org/show_bug.cgi?id=165917 Reviewed by Alexey Proskuryakov. Navigation caused 'onload' to be called twice, causing test harness to have extraneous HID callback around after script controller was dismantled. Loading in body will eliminate double load, and also prevent other race conditions where the body doesn't load fast enough. * http/tests/quicklook/hide-referer-on-navigation.html: 2017-01-05 Matthew Hanson Merge r210266. rdar://problem/29447824 2017-01-03 Tim Horton NSSpellChecker's recordResponse isn't called for unseen automatic corrections https://bugs.webkit.org/show_bug.cgi?id=166450 Reviewed by Darin Adler. * editing/editing.js: (runEditingTest): (runEditingTestWithCallbackLogging): Add a way to run an editing test without enabling noisy editing callback logging. * editing/mac/spelling/accept-unseen-candidate-records-acceptance-expected.txt: Added. * editing/mac/spelling/accept-unseen-candidate-records-acceptance.html: Added. Add a test that ensures that we correctly inform NSSpellChecker of an accepted unseen correction. * platform/mac-wk2/TestExpectations: Disable the test because spelling tests don't work in WebKit2 at all. 2017-01-05 Matthew Hanson Merge r210142. rdar://problem/29109053 2016-12-23 Andreas Kling REGRESSION(r209865): Crash when navigating back to some pages with compositing layers. Reviewed by Darin Adler. Add a smoke test for the crashes we were seeing. Thanks to Zalán for the reduction. * compositing/page-cache-back-crash-expected.txt: Added. * compositing/page-cache-back-crash.html: Added. 2017-01-05 Matthew Hanson Merge r210122. rdar://problem/29763012 2016-12-22 Brent Fulgham Nested calls to setDocument can omit firing 'unload' events https://bugs.webkit.org/show_bug.cgi?id=166422 Reviewed by Alex Christensen. * fast/loader/nested-document-handling-expected.txt: Added. * fast/loader/nested-document-handling.html: Added. * fast/loader/resources/subframe-success.html: Added. 2017-01-05 Matthew Hanson Merge r210120. rdar://problem/29772233 2016-12-22 Zalan Bujtas Do not destroy the RenderNamedFlowFragment as leftover anonymous block. https://bugs.webkit.org/show_bug.cgi?id=166436 rdar://problem/29772233 Reviewed by Simon Fraser. * fast/regions/flow-fragment-as-anonymous-block-crash-expected.txt: Added. * fast/regions/flow-fragment-as-anonymous-block-crash.html: Added. 2017-01-05 Matthew Hanson Merge r210112. rdar://problem/29742039 2016-12-22 Daniel Bates Bypass pop-up blocker from cross-origin or sandboxed frame https://bugs.webkit.org/show_bug.cgi?id=166290 Reviewed by Darin Adler. * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame-expected.txt: Added. * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame.html: Added. * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame2-expected.txt: Added. * fast/events/popup-blocked-from-sandboxed-frame-via-window-open-named-sibling-frame2.html: Added. * fast/events/popup-blocked-from-unique-frame-via-window-open-named-sibling-frame-expected.txt: Added. * fast/events/popup-blocked-from-unique-frame-via-window-open-named-sibling-frame.html: Added. 2017-01-05 Matthew Hanson Merge r210059. rdar://problem/29727145 2016-12-21 Simon Fraser Fixed bars are positioned incorrectly when there are header and footer banners https://bugs.webkit.org/show_bug.cgi?id=166302 rdar://problem/29727145 Reviewed by Tim Horton. * fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added. * fast/visual-viewport/zoomed-fixed-header-and-footer.html: Added. * platform/ios-simulator/fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added. * tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer-expected.txt: 2017-01-05 Matthew Hanson Merge r210035. rdar://problem/29704862 2016-12-20 Zalan Bujtas SVG elements should inherit the root's flow thread state. https://bugs.webkit.org/show_bug.cgi?id=166173 rdar://problem/29704862 Reviewed by Simon Fraser. * fast/multicol/svg-inside-multicolumn-expected.txt: Added. * fast/multicol/svg-inside-multicolumn.html: Added. 2017-01-05 Matthew Hanson Merge r210033. rdar://problem/29755339 2016-12-20 Joseph Pecoraro Web Inspector: Console could be made useful for very simple await expressions https://bugs.webkit.org/show_bug.cgi?id=165681 Reviewed by Brian Burg. * inspector/controller/runtime-controller-expected.txt: * inspector/controller/runtime-controller.html: Test the "await expression" convenience of RuntimeManager. 2017-01-04 Matthew Hanson Merge r209990. rdar://problem/29705967 2016-12-18 Brent Fulgham Side effects while restting form elements https://bugs.webkit.org/show_bug.cgi?id=165959 Reviewed by Anders Carlsson. * fast/html/form-mutate-expected.txt: Added. * fast/html/form-mutate.html: Added. 2017-01-04 Ryan Haddad Unreviewed test gardening. * TestExpectations: 2017-01-04 Ryan Haddad Rebaseline js/dom/global-constructors-attributes.html. Unreviewed test gardening. * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt: 2017-01-04 Ryan Haddad Merge r209996. 2016-12-19 Ryan Haddad Rebaseline fast/text/emoji.html for macOS. Unreviewed test gardening. * platform/mac-elcapitan/fast/text/emoji-expected.txt: Copied from LayoutTests/platform/mac/fast/text/emoji-expected.txt. * platform/mac/fast/text/emoji-expected.txt: 2016-12-21 Ryan Haddad Unreviewed LayoutTest gardening. * TestExpectations: 2016-12-21 Babak Shafiei Roll out r209261. 2016-12-21 Babak Shafiei Roll out r209510. 2016-12-18 Wenson Hsieh Changing text direction fires input events with null inputTypes and no data https://bugs.webkit.org/show_bug.cgi?id=166007 Reviewed by Sam Weinig. Verifies that changing text direction causes beforeinput and input events with appropriate inputType and data to be dispatched, and that preventing this beforeinput event causes no change in text direction. * fast/events/before-input-events-prevent-text-direction-expected.txt: Added. * fast/events/before-input-events-prevent-text-direction.html: Added. 2016-12-18 Simon Fraser Rebaseline these tests after r209967, since they are now affected by status bar height. * fast/viewport/ios/ipad/width-is-device-width-expected.txt: * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt: * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt: * fast/viewport/ios/width-is-device-width-overflowing-expected.txt: * fast/viewport/ios/width-is-device-width-overflowing-no-shrink-to-fit-expected.txt: 2016-12-17 Philippe Normand Unreviewed, rollout r209860 OWR player shouldn't be selected for normal video playback * platform/gtk/TestExpectations: 2016-12-17 Wenson Hsieh Visual viewports: bottom fixed elements disappear behind the keyboard https://bugs.webkit.org/show_bug.cgi?id=165983 Reviewed by Simon Fraser. Tweaked fixed-caret-position-after-scroll.html to account for the keyboard height, and also added a new layout test, fixed-element-on-bottom-with-keyboard.html, which checks that the layout viewport does not change before and after showing the keyboard, and that scrolling past the end of the document does not bump the layout viewport past document bounds. The rest of the changes here involve rebaselining existing tests to account for the height of the web view no longer being equal to the height of the window. * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt: * editing/caret/ios/absolute-caret-position-after-scroll.html: * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt: * editing/caret/ios/fixed-caret-position-after-scroll.html: * editing/selection/ios/absolute-selection-after-scroll.html: * editing/selection/ios/fixed-selection-after-scroll.html: * fast/events/ios/keyboard-scrolling-distance-expected.txt: * fast/events/ios/keyboard-should-not-trigger-resize-expected.txt: * fast/events/ios/viewport-zooms-from-element-to-initial-scale-expected.txt: * fast/forms/ios/accessory-bar-navigation-expected.txt: * fast/forms/ios/focus-input-in-fixed-expected.txt: * fast/forms/ios/focus-input-in-iframe-expected.txt: * fast/forms/ios/focus-input-via-button-expected.txt: * fast/forms/ios/focus-input-via-button-no-scaling-expected.txt: * fast/forms/ios/focus-long-textarea-expected.txt: * fast/forms/ios/zoom-after-input-tap-expected.txt: * fast/forms/ios/zoom-after-input-tap-wide-input-expected.txt: * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt: * fast/viewport/ios/width-is-device-width-expected.txt: * fast/visual-viewport/ios/fixed-element-on-bottom-with-keyboard-expected.txt: Added. * fast/visual-viewport/ios/fixed-element-on-bottom-with-keyboard.html: Added. * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt: * platform/ios-simulator/fast/scrolling/ios/clipping-ancestor-with-accelerated-scrolling-ancestor-expected.txt: * platform/ios-simulator/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt: * platform/ios-simulator/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt: * platform/ios-simulator/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt: * platform/ios-simulator/fast/scrolling/ios/touch-stacking-expected.txt: * scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt: * scrollingcoordinator/ios/ui-scrolling-tree-expected.txt: 2016-12-17 Jer Noble Add implementation for navigator.requestMediaKeySystemAccess() https://bugs.webkit.org/show_bug.cgi?id=165850 Reviewed by Eric Carlson. * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess-expected.txt: Added. * media/encrypted-media/mock-navigator-requestMediaKeySystemAccess.html: Added. * platform/ios-simulator/TestExpectations: * platform/mac/TestExpectations: 2016-12-17 Youenn Fablet Cloned CachedResource should not have an empty response https://bugs.webkit.org/show_bug.cgi?id=165947 Reviewed by Sam Weinig. This new test is working as follow: - 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. This second stylesheet will make the background as green. - Once done, a second frame is loaded (same HTML but from a different domain) with the same absolute URL CSS stylesheet. The relative URL stylesheet should use the absolute URL of the CSS stylesheet as base. If it is using the frame as base, the loaded CSS will change background to red. * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.css.php: Added. * http/tests/loading/resources/cached-stylesheet-from-different-domain-frame.html: Added. * http/tests/loading/resources/imported-stylesheet-varying-according-domain.css.php: Added. * http/tests/loading/reusing-cached-stylesheet-from-different-domain-expected.html: Added. * http/tests/loading/reusing-cached-stylesheet-from-different-domain.html: Added. 2016-12-16 Darin Adler Remove all custom bindings from media streams, using dictionaries instead https://bugs.webkit.org/show_bug.cgi?id=165943 Reviewed by Sam Weinig. * fast/mediastream/MediaDevices-getSupportedConstraints-expected.txt: Updated since the properties in the dictionaries are now in alphabetical order and because of the test change. * fast/mediastream/MediaDevices-getSupportedConstraints.html: Updated to expect some true and some false rather than some true and some missing. * fast/mediastream/MediaStreamTrack-getCapabilities-expected.txt: Updated since the properties in the dictionaries are now in alphabetical order. * fast/mediastream/MediaStreamTrack-getSettings-expected.txt: Ditto. 2016-12-16 Sam Weinig Fix failing test. * http/tests/ssl/applepay/ApplePaySession-expected.txt: * http/tests/ssl/applepay/ApplePaySession.html: Update results to match latest IDL. 2016-12-16 Andy Estes Add a setting to suppress keyboard input during provisional navigation https://bugs.webkit.org/show_bug.cgi?id=165830 Reviewed by Brent Fulgham. * http/tests/navigation/keyboard-events-during-provisional-navigation-expected.txt: Added. * http/tests/navigation/keyboard-events-during-provisional-navigation.html: Added. * http/tests/navigation/resources/keyboard-events-after-navigation.html: Added. * http/tests/navigation/resources/keyboard-events-test.js: Added. (runTest.eventHandler): (runTest): * http/tests/navigation/resources/never-respond.php: Added. * platform/ios-simulator/TestExpectations: 2016-12-16 Chris Dumez HTML form validation bubble should be dismissed on navigation https://bugs.webkit.org/show_bug.cgi?id=165960 Reviewed by Simon Fraser. Add layout test coverage. * http/tests/navigation/navigation-dismisses-validation-bubbles-expected.txt: Added. * http/tests/navigation/navigation-dismisses-validation-bubbles.html: Added. * http/tests/navigation/resources/check-validation-bubble-not-visible.html: Added. 2016-12-16 Ryan Haddad Move the skip expectation for fast/visual-viewport/ios/zoomed-focus-in-fixed.html to ios-simulator-wk2. Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: * platform/ios-simulator/TestExpectations: 2016-12-16 Andreas Kling Subframes going into page cache don't need to resetScrollbars(). Reviewed by Antti Koivisto. Unskip compositing/iframes/page-cache-layer-tree.html on mac-wk1 and fix up the result now that WK2 behaves correctly as well. Both DRT and WTR run with scrollbars in "always on" mode, so the correct dimensions for the 300x150 iframe layers here are 285x135. * compositing/iframes/page-cache-layer-tree-expected.txt: * platform/mac-wk1/TestExpectations: 2016-12-16 Wenson Hsieh Visual viewports: carets and selection UI are incorrectly positioned when editing fixed elements https://bugs.webkit.org/show_bug.cgi?id=165767 Reviewed by Simon Fraser. Adds new layout tests verifying that scrolling selected text (non-editable) and a text caret (in editable content) results in the selection/caret rects having the correct location relative to the document, in both cases where the selected/focused element has fixed position or absolute position. For fixed position elements, this means that the rects must "move" down in the document as the document is scrolled, but for absolute elements, these rects must remain in place. * TestExpectations: * editing/caret/ios/absolute-caret-position-after-scroll-expected.txt: Added. * editing/caret/ios/absolute-caret-position-after-scroll.html: Added. * editing/caret/ios/fixed-caret-position-after-scroll-expected.txt: Added. * editing/caret/ios/fixed-caret-position-after-scroll.html: Added. * editing/selection/ios/absolute-selection-after-scroll-expected.txt: Added. * editing/selection/ios/absolute-selection-after-scroll.html: Added. * editing/selection/ios/fixed-selection-after-scroll-expected.txt: Added. * editing/selection/ios/fixed-selection-after-scroll.html: Added. 2016-12-16 Zalan Bujtas Defer certain accessibility callbacks until after layout is finished. https://bugs.webkit.org/show_bug.cgi?id=165861 rdar://problem/29646301 Reviewed by Chris Fleizach. * accessibility/accessibility-crash-with-dynamic-inline-content-expected.txt: Added. * accessibility/accessibility-crash-with-dynamic-inline-content.html: Added. 2016-12-16 Youenn Fablet [Fetch API] Improve resource loading console logging https://bugs.webkit.org/show_bug.cgi?id=160546 Reviewed by Alex Christensen. Rebasing since error logging is happening for fetch API. Some tests are flaky due to always changing console logs, in which case DumpJSConsoleLogInStdErr is used. * TestExpectations: * http/tests/fetch/fetching-same-resource-with-diffferent-options-expected.txt: * http/tests/inspector/network/fetch-network-data-expected.txt: * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt: * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin-expected.txt: 2016-12-16 Romain Bellessort [Readable Streams API] Implement ReadableByteStreamController cancel internal method https://bugs.webkit.org/show_bug.cgi?id=165798 Reviewed by Youenn Fablet. Added one test to check cancel behaviour. More tests may be added as the API is implemented. Also replaced async_test by promise_test where applicable. * streams/readable-byte-stream-controller-expected.txt: Updated expectations. * streams/readable-byte-stream-controller.js: Added one test. 2016-12-16 Youenn Fablet svg/as-image/svg-image-with-data-uri-use-data-uri.svg is flaky after r207754 https://bugs.webkit.org/show_bug.cgi?id=163887 Reviewed by Alex Christensen. * http/tests/security/cross-origin-cached-images-with-memory-pressure-expected.txt: Added. * http/tests/security/cross-origin-cached-images-with-memory-pressure.html: Added. 2016-12-15 Zalan Bujtas text-align: justify and word-spacing combine to overflow column https://bugs.webkit.org/show_bug.cgi?id=165796 rdar://problem/29672168 Reviewed by Myles C. Maxfield. These are progressions. * fast/css/word-spacing-with-normal-layout-expected.html: Added. * fast/css/word-spacing-with-normal-layout.html: Added. * platform/mac/css1/text_properties/word_spacing-expected.txt: * platform/mac/fast/css/word-space-extra-expected.txt: * platform/mac/fast/text/whitespace/span-in-word-space-causes-overflow-expected.txt: * platform/mac/fast/text/word-space-expected.txt: * platform/mac/svg/custom/svg-fonts-in-html-expected.txt: * platform/mac/svg/custom/svg-fonts-word-spacing-expected.txt: 2016-12-15 Chris Dumez Make sure HTML validation bubble's state is updated after layout https://bugs.webkit.org/show_bug.cgi?id=165922 Reviewed by Simon Fraser. Add several layout tests to cover this. * fast/forms/validation-bubble-disappears-when-input-detached-expected.txt: Added. * fast/forms/validation-bubble-disappears-when-input-detached.html: Added. * fast/forms/validation-bubble-disappears-when-input-moved-expected.txt: Added. * fast/forms/validation-bubble-disappears-when-input-moved.html: Added. * fast/forms/validation-bubble-disappears-when-input-no-longer-visible-expected.txt: Added. * fast/forms/validation-bubble-disappears-when-input-no-longer-visible.html: Added. 2016-12-15 Chris Dumez Move charCode / keyCode / which attributes from UIEvent to KeyboardEvent https://bugs.webkit.org/show_bug.cgi?id=165904 Reviewed by Sam Weinig. Extend existing testing. * fast/events/arrow-keys-on-body-expected.txt: * fast/events/arrow-keys-on-body.html: * fast/events/key-events-in-input-button-expected.txt: * fast/events/key-events-in-input-button.html: * fast/events/key-events-in-input-text-expected.txt: * fast/events/key-events-in-input-text.html: 2016-12-15 Megan Gardner Add coordinate space to event streams and streamline tests https://bugs.webkit.org/show_bug.cgi?id=165119 Reviewed by Simon Fraser. Streamline tests. Make them more readable and only use one function for drags. Update for new content coordinate space. * fast/events/touch/ios/long-press-then-drag-down-to-change-selected-text.html: * fast/events/touch/ios/long-press-then-drag-up-to-change-selected-text.html: 2016-12-15 Ryan Haddad Marking js/dom/global-constructors-attributes.html as failing on ElCapitan WK1. https://bugs.webkit.org/show_bug.cgi?id=165934 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-12-15 Simon Fraser fast/visual-viewport/ios/zoomed-focus-in-fixed.html always times out Skip this test, which relies on touch events. * platform/ios-simulator/TestExpectations: 2016-12-15 Simon Fraser Fix flakiness of fast/visual-viewport/ios/zoomed-focus-in-fixed.html https://bugs.webkit.org/show_bug.cgi?id=165930 Reviewed by Tim Horton. The test zooms when focussing the input, which completes after the keyboard shows, so we need to wait for zooming to finish using the uiController.didEndZoomingCallback. * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt: * fast/visual-viewport/ios/zoomed-focus-in-fixed.html: 2016-12-15 Myles C. Maxfield [Cocoa] Implement font-synthesis: small-caps https://bugs.webkit.org/show_bug.cgi?id=165892 Reviewed by David Hyatt. * fast/text/font-synthesis-parsing-expected.txt: Added. * fast/text/font-synthesis-parsing.html: Added. * css3/font-synthesis-small-caps-expected.html: Added. * css3/font-synthesis-small-caps.html: Added. * fast/css/getComputedStyle/computed-style-expected.txt: * fast/css/getComputedStyle/computed-style-font-family-expected.txt: * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: * fast/css3-text/font-synthesis-parse-expected.txt: * fast/css3-text/font-synthesis-parse.html: * svg/css/getComputedStyle-basic-expected.txt: 2016-12-15 Simon Fraser [iOS WK2] Don't disable position:fixed when a form element has focus https://bugs.webkit.org/show_bug.cgi?id=165891 rdar://problem/29271694 Reviewed by Wenson Hsieh. * TestExpectations: * fast/visual-viewport/ios/zoomed-focus-in-fixed-expected.txt: Added. * fast/visual-viewport/ios/zoomed-focus-in-fixed.html: Added. * platform/ios-simulator-wk2/TestExpectations: 2016-12-15 Darin Adler Remove custom binding for MediaDevices https://bugs.webkit.org/show_bug.cgi?id=165894 Reviewed by Eric Carlson. * fast/mediastream/MediaDevices-getUserMedia-expected.txt: Expect the exception the generated bindings code throws, rather than the different one the hand-written binding was throwing before. 2016-12-15 Youenn Fablet Sync web-platform-tests up to revision a4c2b37 https://bugs.webkit.org/show_bug.cgi?id=165041 Reviewed by Alex Christensen. * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/dom/events/EventTarget-dispatchEvent-expected.txt: Added. * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: * platform/ios-simulator-wk2/imported/w3c/web-platform-tests/html/dom/reflection-forms-expected.txt: Added. * tests-options.json: 2016-12-15 Alejandro G. Castro [OWR] Unskip fast/mediastream/MediaStream-video-element-track-stop.html https://bugs.webkit.org/show_bug.cgi?id=165316 Reviewed by Philippe Normand. * platform/gtk/TestExpectations: Unskipped the test and moved the stop one, now it does not timeout because we correctly handle the ended value but still fails, we need more features in the mock classes for owr. 2016-12-14 Yusuke Suzuki [GTK] Support latest SubtleCrypto HMAC APIs https://bugs.webkit.org/show_bug.cgi?id=165863 Reviewed by Sam Weinig. Enable HMAC tests. * platform/gtk/TestExpectations: 2016-12-14 Simon Fraser Fix cause of viewport-related flakiness in iOS tests https://bugs.webkit.org/show_bug.cgi?id=165878 Reviewed by Tim Horton. Try un-flaking some viewport tests. * platform/ios-simulator-wk2/TestExpectations: 2016-12-12 Jon Lee Full Pass CSS Variables Test Suite https://bugs.webkit.org/show_bug.cgi?id=150183 Reviewed by Simon Fraser. The new CSS parser progresses these tests. Move them out of the failures/ sub-directory. One of the tests needs the Ahem font, which was not available when put in the sub-directory. * fast/css/variables/test-suite/024-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/024-expected.html. * fast/css/variables/test-suite/024.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/024.html. * fast/css/variables/test-suite/025-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/025-expected.html. * fast/css/variables/test-suite/025.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/025.html. * fast/css/variables/test-suite/026-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/026-expected.html. * fast/css/variables/test-suite/026.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/026.html. * fast/css/variables/test-suite/028-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/028-expected.html. * fast/css/variables/test-suite/028.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/028.html. * fast/css/variables/test-suite/030-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/030-expected.html. * fast/css/variables/test-suite/030.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/030.html. * fast/css/variables/test-suite/054-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/054-expected.html. * fast/css/variables/test-suite/054.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/054.html. * fast/css/variables/test-suite/055-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/055-expected.html. * fast/css/variables/test-suite/055.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/055.html. * fast/css/variables/test-suite/056-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/056-expected.html. * fast/css/variables/test-suite/056.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/056.html. * fast/css/variables/test-suite/058-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/058-expected.html. * fast/css/variables/test-suite/058.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/058.html. * fast/css/variables/test-suite/071-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/071-expected.html. * fast/css/variables/test-suite/071.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/071.html. * fast/css/variables/test-suite/081-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/081-expected.html. * fast/css/variables/test-suite/081.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/081.html. * fast/css/variables/test-suite/082-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/082-expected.html. * fast/css/variables/test-suite/082.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/082.html. * fast/css/variables/test-suite/085-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/085-expected.html. * fast/css/variables/test-suite/085.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/085.html. * fast/css/variables/test-suite/086-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/086-expected.html. * fast/css/variables/test-suite/086.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/086.html. * fast/css/variables/test-suite/087-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/087-expected.html. * fast/css/variables/test-suite/087.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/087.html. * fast/css/variables/test-suite/091-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/091-expected.html. * fast/css/variables/test-suite/091.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/091.html. * fast/css/variables/test-suite/103-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/103-expected.html. * fast/css/variables/test-suite/103.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/103.html. * fast/css/variables/test-suite/111-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/111-expected.html. * fast/css/variables/test-suite/111.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/111.html. * fast/css/variables/test-suite/115-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/115-expected.html. * fast/css/variables/test-suite/115.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/115.html. * fast/css/variables/test-suite/126-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/126-expected.html. * fast/css/variables/test-suite/126.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/126.html. * fast/css/variables/test-suite/152-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/152-expected.html. * fast/css/variables/test-suite/152.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/152.html. * fast/css/variables/test-suite/159-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/159-expected.html. * fast/css/variables/test-suite/159.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/159.html. * fast/css/variables/test-suite/161-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/161-expected.html. * fast/css/variables/test-suite/161.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/161.html. * fast/css/variables/test-suite/163-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/163-expected.html. * fast/css/variables/test-suite/163.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/163.html. * fast/css/variables/test-suite/169-expected.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/169-expected.html. * fast/css/variables/test-suite/169.html: Renamed from LayoutTests/fast/css/variables/test-suite/failures/169.html. 2016-12-14 Dean Jackson Update prefers-reduced-motion syntax https://bugs.webkit.org/show_bug.cgi?id=165880 Reviewed by Sam Weinig. * fast/media/mq-prefers-reduced-motion-forced-value.html: * fast/media/mq-prefers-reduced-motion.html: 2016-12-14 Sam Weinig REGRESSION (204679): Google notifications never load (expecting DOMStringList rather than JS array for Location.ancestorOrigins) https://bugs.webkit.org/show_bug.cgi?id=165872 Reviewed by Chris Dumez. * fast/dom/Window/Location/ancestor-origins-expected.txt: * fast/dom/Window/Location/ancestor-origins.html: Change back to test that Location.ancestorOrigins returns a DOMStringList. 2016-12-14 Ryan Haddad Marking streams/pipe-to.html as flaky on macOS debug. https://bugs.webkit.org/show_bug.cgi?id=165874 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-14 Ryan Haddad Removing Release annotation from three tests that are also flaky on Debug. https://bugs.webkit.org/show_bug.cgi?id=163361 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-12-14 Ryosuke Niwa iOS: An element with tabindex is not focusable unless there is no mouse event handler https://bugs.webkit.org/show_bug.cgi?id=165843 Reviewed by Antti Koivisto. Added a regression test for focusing an element with just tabindex using UIHelper. Also fixed UIHelper to work in iOS DumpRenderTree which was hitting an assertion by explicitly checking testRunner.isWebKit2. Prior to fixing this, it was hitting an assertion in RunLoop::main() which was asserting that there is a runloop, which doesn't exist in DumpRenderTree. * fast/events/focusing-element-with-tabindex-by-tap-or-click-expected.txt: Added. * fast/events/focusing-element-with-tabindex-by-tap-or-click.html: Added. * platform/ios-simulator-wk2/TestExpectations: * resources/ui-helper.js: (window.UIHelper.isWebKit2): (window.UIHelper.wait): Added the support for js-test.js / js-test-pre.js style tests. 2016-12-14 Dave Hyatt [CSS Parser] Implement deferred parsing of properties, @media, @supports and @keyframes https://bugs.webkit.org/show_bug.cgi?id=165743 Reviewed by Dean Jackson. * fast/css/deferred-parsing: Added. * fast/css/deferred-parsing/dynamic-external-style-expected.txt: Added. * fast/css/deferred-parsing/dynamic-external-style.html: Added. * fast/css/deferred-parsing/dynamic-style-in-document-expected.txt: Added. * fast/css/deferred-parsing/dynamic-style-in-document.html: Added. * fast/css/deferred-parsing/hover-test-expected.txt: Added. * fast/css/deferred-parsing/hover-test.html: Added. * fast/css/deferred-parsing/keyframes-rule-expected.txt: Added. * fast/css/deferred-parsing/keyframes-rule.html: Added. * fast/css/deferred-parsing/media-print-expected.txt: Added. * fast/css/deferred-parsing/media-print.html: Added. * fast/css/deferred-parsing/nth-of-type-expected.txt: Added. * fast/css/deferred-parsing/nth-of-type.html: Added. * fast/css/deferred-parsing/resources: Added. * fast/css/deferred-parsing/resources/basic-sheet.css: Added. * fast/css/deferred-parsing/simple-external-style-expected.txt: Added. * fast/css/deferred-parsing/simple-external-style.html: Added. * fast/css/deferred-parsing/simple-style-in-document-expected.txt: Added. * fast/css/deferred-parsing/simple-style-in-document.html: Added. * fast/css/deferred-parsing/supports-rule-expected.txt: Added. * fast/css/deferred-parsing/supports-rule.html: Added. 2016-12-14 Daniel Bates CSP: Allow HTTPS URL to match HTTP source expression https://bugs.webkit.org/show_bug.cgi?id=159520 Reviewed by Brent Fulgham. * http/tests/security/contentSecurityPolicy/script-src-parsing-implicit-and-explicit-port-number-expected.txt: Added. * http/tests/security/contentSecurityPolicy/script-src-parsing-implicit-and-explicit-port-number.html: Added. * platform/wk2/TestExpectations: Skip the test on WebKit2 because it makes use of Internals.registerDefaultPortForProtocol(), which does not work with NetworkProcess. 2016-12-14 Ryan Haddad Add mac-elcapitan baseline for js/dom/global-constructors-attributes.html. Unreviewed test gardening. * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt: Added. 2016-12-14 Chris Dumez Remove Unicode case-insensitive matching for usemap="" https://bugs.webkit.org/show_bug.cgi?id=163894 Reviewed by Antti Koivisto. * fast/images/image-map-multiple.html: Fix case of the usemap. * fast/images/image-usemap-parsing-expected.txt: Added. * fast/images/image-usemap-parsing.html: Added. Add layout test coverage. * fast/images/imagemap-case.html: Removed. * platform/efl/fast/images/imagemap-case-expected.png: Removed. * platform/efl/fast/images/imagemap-case-expected.txt: Removed. * platform/gtk/fast/images/imagemap-case-expected.png: Removed. * platform/gtk/fast/images/imagemap-case-expected.txt: Removed. * platform/ios-simulator-wk2/fast/images/imagemap-case-expected.txt: Removed. * platform/ios-simulator/fast/images/imagemap-case-expected.txt: Removed. * platform/mac/fast/images/imagemap-case-expected.png: Removed. * platform/mac/fast/images/imagemap-case-expected.txt: Removed. * platform/win/fast/images/imagemap-case-expected.txt: Removed. Drop outdated pixel test case. Case sensitivity is now covered by the new fast/images/image-usemap-parsing.html test. 2016-12-14 Dave Hyatt [CSS Parser] Remove WebkitCSSTransformValue https://bugs.webkit.org/show_bug.cgi?id=165844 Reviewed by Zalan Bujtas. * fast/css/getFloatValueForUnit-expected.txt: * fast/css/getFloatValueForUnit.html: * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt: * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt: * platform/mac/fast/dom/wrapper-classes-objc-expected.txt: * platform/mac/fast/dom/wrapper-classes-objc.html: * platform/mac/js/dom/global-constructors-attributes-expected.txt: * transforms/2d/transform-value-types-expected.txt: * transforms/2d/transform-value-types.html: 2016-12-14 Yusuke Suzuki Unreviewed, LayoutTest http/tests/misc/module-script-async.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=165764 Annotate it as Slow. * TestExpectations: 2016-12-14 Youenn Fablet Test infrastructure should allow to filter out text output before doing a comparison with the baseline https://bugs.webkit.org/show_bug.cgi?id=161310 Reviewed by Ryosuke Niwa. * TestExpectations: Adding DumpJSConsoleLogInStdErr to the fetch modified test to ensure this modifier works as expected. 2016-12-14 Enrique Ocaña González REGRESSION(r207879-207891): [GStreamer] Introduced many layout test failures and crashes, bots exiting early https://bugs.webkit.org/show_bug.cgi?id=164022 Reviewed by Xabier Rodriguez-Calvar. * media/media-source/media-source-resize-expected.txt: Expect the resize event. * media/media-source/media-source-resize.html: The test now succeeds no matter if the dimension is reported after processing the init-segment (GTK+ case) or after the media segment is processed (Mac case). * platform/gtk/TestExpectations: Reenabled all the media/media-source tests except one. * platform/gtk/media/media-source/media-source-resize-expected.txt: Copied from LayoutTests/media/media-source/media-source-resize-expected.txt. The right dimensions are received earlier than in Mac. 2016-12-13 Yusuke Suzuki ASSERTION FAILED: hasParserBlockingScript() seen with js/dom/modules/module-will-fire-beforeload.html https://bugs.webkit.org/show_bug.cgi?id=164883 Reviewed by Ryosuke Niwa. * platform/mac-wk2/TestExpectations: 2016-12-13 Daniel Bates CSP: ws: and wss: blocked with connect-src * https://bugs.webkit.org/show_bug.cgi?id=165804 Reviewed by David Kilzer. Add tests to ensure that * matches ws: and wss:. * http/tests/security/contentSecurityPolicy/connect-src-star-secure-websocket-allowed-expected.txt: Added. * http/tests/security/contentSecurityPolicy/connect-src-star-secure-websocket-allowed.html: Added. * http/tests/security/contentSecurityPolicy/connect-src-star-websocket-allowed-expected.txt: Added. * http/tests/security/contentSecurityPolicy/connect-src-star-websocket-allowed.html: Added. * http/tests/security/contentSecurityPolicy/default-src-star-secure-websocket-allowed-expected.txt: Added. * http/tests/security/contentSecurityPolicy/default-src-star-secure-websocket-allowed.html: Added. * http/tests/security/contentSecurityPolicy/default-src-star-websocket-allowed-expected.txt: Added. * http/tests/security/contentSecurityPolicy/default-src-star-websocket-allowed.html: Added. 2016-12-13 Joseph Pecoraro REGRESSION(r204163): Web Inspector: Page crashes when Inspector tries to load insecure SourceMap https://bugs.webkit.org/show_bug.cgi?id=165806 Reviewed by Alex Christensen. * http/tests/inspector/network/loadResource-insecure-resource-expected.txt: Added. * http/tests/inspector/network/loadResource-insecure-resource.html: Added. * http/tests/inspector/network/resource-timing.html: * http/tests/inspector/resources/inspector-test.js: (runTestHTTPS): 2016-12-13 Ryan Haddad Rebaseline js/dom/global-constructors-attributes.html after r209777. Unreviewed test gardening. * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt: 2016-12-13 Ryosuke Niwa :hover rule causes a single tap to not activate a slotted anchor element https://bugs.webkit.org/show_bug.cgi?id=165551 Reviewed by Antti Koivisto. Added a test for tapping on an anchor element assigned to a slot, which has been fixed in r209065. Also added a new helper JS wrapepr, UIHelper, defined inside LayoutTests/resources/js-helper.js to provide an abstraction around EventSender and UIScriptController. Fixed click-text-inside-linked-slot.html on iOS using UIHelper. * fast/shadow-dom/click-on-slotted-anchor-with-hover-expected.txt: Added. * fast/shadow-dom/click-on-slotted-anchor-with-hover.html: Added. * fast/shadow-dom/click-text-inside-linked-slot.html: * platform/ios-simulator/fast/shadow-dom/click-text-inside-linked-slot-expected.txt: Added. * resources/ui-helper.js: Added. (window.UIHelper.isIOS): (window.UIHelper.activateAt.return.new.Promise): (window.UIHelper.activateAt): (window.UIHelper.wait): (window.UIHelper): * platform/ios-simulator-wk2/TestExpectations: Skip the test in the open source iOS's WebKit2. 2016-12-13 Dave Hyatt [CSS Parser] Eliminate SVGPaint and SVGColor https://bugs.webkit.org/show_bug.cgi?id=165819 Reviewed by Dean Jackson. * fast/dom/Window/resources/window-properties.js: * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt: * platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt: * platform/mac/js/dom/global-constructors-attributes-expected.txt: * svg/animations/additive-type-by-animation-expected.txt: * svg/animations/animate-color-calcMode-discrete-expected.txt: * svg/animations/animate-color-fill-currentColor-expected.txt: * svg/animations/animate-color-fill-from-by-expected.txt: * svg/animations/animate-color-transparent-expected.txt: * svg/animations/animate-currentColor-expected.txt: * svg/animations/animate-dynamic-update-attributeName-expected.txt: * svg/animations/animate-elem-03-t-drt-expected.txt: * svg/animations/animate-inherit-css-property-expected.txt: * svg/animations/attributeTypes-expected.txt: * svg/animations/resources/SVGAnimationTestCase.js: (expectColor): * svg/animations/script-tests/animate-color-fill-currentColor.js: (sample1): (sample2): (sample3): * svg/animations/script-tests/animate-color-fill-from-by.js: (sample1): (sample2): (sample3): * svg/css/getComputedStyle-basic-expected.txt: * svg/css/rect-system-color-expected.txt: * svg/css/rect-system-color.xhtml: * svg/custom/global-constructors-expected.txt: * svg/custom/js-svg-constructors-expected.txt: * svg/custom/js-svg-constructors.svg: * svg/custom/script-tests/global-constructors.js: 2016-12-13 Ryan Haddad Rebaseline js/dom/global-constructors-attributes.html after r209760. Unreviewed test gardening. * platform/mac/js/dom/global-constructors-attributes-expected.txt: 2016-12-13 Ryan Haddad Remove ios-simulator-wk2 pass expectation for a directory that requires touch events. https://bugs.webkit.org/show_bug.cgi?id=165787 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: 2016-12-13 Ryan Haddad Marking two scroll-to-fragid tests as flaky on ios-simulator. Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: 2016-12-13 Ryan Haddad Skip fast/events/page-visibility-onvisibilitychange.html on ios-simulator. https://bugs.webkit.org/show_bug.cgi?id=165799 Unreviewed test gardening. * platform/ios-simulator/TestExpectations: 2016-12-13 Sam Weinig [WebIDL] Remove use of Dictionary in ApplePaySession https://bugs.webkit.org/show_bug.cgi?id=165787 Reviewed by Anders Carlsson. * http/tests/ssl/applepay: Added. * http/tests/ssl/applepay/ApplePaySession-expected.txt: Added. * http/tests/ssl/applepay/ApplePaySession.html: Added. Add a compressive test of the handling of the payment request to the ApplePaySession constructor. For further testing, we will need to mock out bits of the underlying coordinator, but this allows for testing the aspect I am changing. The applepay directory is in the ssl directory, as all use of ApplePay requires https. * TestExpectations: * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Only enable the tests on iOS 10.10 and greater, and macOS 10.12 and greater, WebKit2. 2016-12-13 Daniel Bates CSP: Teach the preload scanner about the 'nonce' attribute https://bugs.webkit.org/show_bug.cgi?id=161192 Reviewed by Darin Adler. Add tests to ensure that we preload