2019-06-05 Saam Barati [WHLSL] Implement loop expressions https://bugs.webkit.org/show_bug.cgi?id=195808 Reviewed by Myles Maxfield. * webgpu/whlsl-do-while-loop-break-expected.html: Added. * webgpu/whlsl-do-while-loop-break.html: Added. * webgpu/whlsl-do-while-loop-continue-expected.html: Added. * webgpu/whlsl-do-while-loop-continue.html: Added. * webgpu/whlsl-do-while-loop-expected.html: Added. * webgpu/whlsl-do-while-loop.html: Added. * webgpu/whlsl-loops-break-expected.html: Added. * webgpu/whlsl-loops-break.html: Added. * webgpu/whlsl-loops-continue-expected.html: Added. * webgpu/whlsl-loops-continue.html: Added. * webgpu/whlsl-loops-expected.html: Added. * webgpu/whlsl-loops.html: Added. * webgpu/whlsl-nested-loop-expected.html: Added. * webgpu/whlsl-nested-loop.html: Added. * webgpu/whlsl-while-loop-break-expected.html: Added. * webgpu/whlsl-while-loop-break.html: Added. * webgpu/whlsl-while-loop-continue-expected.html: Added. * webgpu/whlsl-while-loop-continue.html: Added. 2019-06-05 Wenson Hsieh Upstream content mode support into open source from WebKitAdditions https://bugs.webkit.org/show_bug.cgi?id=198484 Reviewed by Andy Estes. Explicitly opt a few tests into desktop or mobile content mode. * fast/media/ios/ipad/enable-MediaSource-API-in-modern-compatibility-mode.html: * fast/scrolling/ipad/overflow-scrolling-touch-enabled-stacking-modern-compatibility-mode-expected.html: * fast/scrolling/ipad/overflow-scrolling-touch-enabled-stacking-modern-compatibility-mode.html: * media/modern-media-controls/media-controller/ios/media-controller-ios-layout-traits-modern-compatibility-mode.html: * platform/ipad/fast/css/webkit-overflow-scrolling-parsing-modern-compatibility-mode.html: * platform/ipad/fast/viewport/empty-meta.html: * platform/ipad/fast/viewport/viewport-unchanged-by-minimum-effective-width-if-not-ignore-meta-viewport.html: * platform/ipad/media/modern-media-controls/media-documents/media-document-audio-ios-sizing.html: 2019-06-05 Shawn Roberts imported/w3c/web-platform-tests/IndexedDB/keypath-special-identifiers.htm is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=198573 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating expectations for flaky test 2019-06-05 Zalan Bujtas REGRESSION (~r244378) fast/events/touch/ios/content-observation/stuck-with-hover-state.html is flaky https://bugs.webkit.org/show_bug.cgi?id=198571 Reviewed by Brent Fulgham. testRunner.notifyDone() is called prematurely. * fast/events/touch/ios/content-observation/stuck-with-hover-state.html: 2019-06-05 Shawn Roberts http/tests/websocket/tests/hybi/handshake-ok-with-legacy-websocket-response-headers.html is a flaky failure on Mojave https://bugs.webkit.org/show_bug.cgi?id=176240 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2019-06-05 Philippe Normand Unreviewed, add GTK baselines for new mediacapabilities test. This test was added in r245636 with baselines for the mac port, but not for the GTK port. * platform/gtk/media/mediacapabilities/mediacapabilities-types-expected.txt: Added. 2019-06-05 Truitt Savell Mark two tests added in r246016 as slow. https://bugs.webkit.org/show_bug.cgi?id=198459 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2019-06-05 Javier Fernandez Update the CSS Text WPT test suite https://bugs.webkit.org/show_bug.cgi?id=197929 Reviewed by Myles C. Maxfield. Import the last changes in the CSS Text suite. * TestExpectations: A few tests pass now - white-space-intrinsic-size-004.html - white-space-pre-wrap-trailing-spaces-003.html 2019-06-01 Antoine Quint [Pointer Events] Add support for chorded button interactions https://bugs.webkit.org/show_bug.cgi?id=198462 Reviewed by Dean Jackson. Update some tests and their expectations due to MouseEvent.buttons now returning the correct value in DRT and WKTR and MouseEvent.button now being a "short" instead of an "unsigned short". * fast/events/constructors/mouse-event-constructor-expected.txt: * fast/events/constructors/mouse-event-constructor.html: Update the test to test the boundary values for "short" instead of "unsigned short" as well as the new "magic" value of -2 for no button, which ends up being reported as 0. * fast/events/constructors/wheel-event-constructor-expected.txt: * fast/events/constructors/wheel-event-constructor.html: Update the test to test the boundary values for "short" instead of "unsigned short" as well as the new "magic" value of -2 for no button, which ends up being reported as 0. * fast/events/fire-mousedown-while-pressing-mouse-button.html: Rewrite this test to always use MouseEvent.buttons and adjust the bitmask expectations which were way off. * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_capture_change_hover-expected.txt: * platform/mac-highsierra/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_capture_change_hover-expected.txt: * platform/mac-highsierra-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_capture_change_hover-expected.txt: This test fails differently in WK1 and WK2 and will be addressed in a future patch. 2019-06-04 Zalan Bujtas [ContentChangeObserver] Gmail text editing controls require two taps https://bugs.webkit.org/show_bug.cgi?id=198541 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/100ms-delay-10ms-transition-on-mousemove-no-clickable.html: Added. 2019-06-04 Youenn Fablet Layout test landed flaky in 245873 [ Release ] http/wpt/service-workers/service-worker-networkprocess-crash.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=198435 Reviewed by Alex Christensen. Make the test more robust by retrying the null test more than once. * http/wpt/service-workers/service-worker-networkprocess-crash-expected.txt: * http/wpt/service-workers/service-worker-networkprocess-crash.html: 2019-06-04 Chris Dumez Crash when calling XMLHttpRequest.setRequestHeader() in a worker https://bugs.webkit.org/show_bug.cgi?id=198534 Reviewed by Alex Christensen. Add layout test coverage. * fast/workers/resources/worker-xhr-setRequestHeader.js: Added. * fast/workers/worker-xhr-setRequestHeader-expected.txt: Added. * fast/workers/worker-xhr-setRequestHeader.html: Added. 2019-06-04 Antti Koivisto Sticky positioning is jumpy in many overflow cases https://bugs.webkit.org/show_bug.cgi?id=198532 Reviewed by Simon Fraser. * scrollingcoordinator/ios/sticky-overflow-no-stacking-context-no-stick-1-expected.html: Added. * scrollingcoordinator/ios/sticky-overflow-no-stacking-context-no-stick-1.html: Added. * scrollingcoordinator/ios/sticky-overflow-no-stacking-context-no-stick-2-expected.html: Added. * scrollingcoordinator/ios/sticky-overflow-no-stacking-context-no-stick-2.html: Added. * scrollingcoordinator/ios/sticky-overflow-no-stacking-context-stick-1-expected.html: Added. * scrollingcoordinator/ios/sticky-overflow-no-stacking-context-stick-1.html: Added. * scrollingcoordinator/ios/sticky-overflow-no-stacking-context-stick-2-expected.html: Added. * scrollingcoordinator/ios/sticky-overflow-no-stacking-context-stick-2.html: Added. * scrollingcoordinator/ios/sticky-overflow-stacking-context-no-stick-expected.html: Added. * scrollingcoordinator/ios/sticky-overflow-stacking-context-no-stick.html: Added. * scrollingcoordinator/ios/sticky-overflow-stacking-context-stick-expected.html: Added. * scrollingcoordinator/ios/sticky-overflow-stacking-context-stick.html: Added. 2019-06-04 Takashi Komori [WinCairo] Implement cpu and memory measuring functions. https://bugs.webkit.org/show_bug.cgi?id=198466 Reviewed by Don Olmstead. * platform/wincairo/TestExpectations: 2019-06-02 Antoine Quint [Pointer Events] Expose navigator.maxTouchPoints https://bugs.webkit.org/show_bug.cgi?id=198468 Reviewed by Chris Dumez. * js/dom/navigator-maxtouchpoints-expected.txt: Added. * js/dom/navigator-maxtouchpoints.html: Added. * platform/mac-highsierra-wk1/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: * platform/win/js/dom/navigator-maxtouchpoints-expected.txt: Added. 2019-06-04 Antoine Quint The "mouseenter" and "pointerenter" events are fired from the bottom up https://bugs.webkit.org/show_bug.cgi?id=198036 Reviewed by Darin Adler. * fast/events/mouseenter-mouseleave-capture-expected.txt: * fast/events/mouseenter-mouseleave-expected.txt: * fast/events/mouseenterleave-on-subframe-expected.txt: * fast/events/shadow-event-path-expected.txt: * fast/shadow-dom/mouseenter-mouseleave-across-shadow-boundary-expected.txt: * fast/shadow-dom/mouseenter-mouseleave-inside-shadow-tree-expected.txt: * fast/shadow-dom/mouseenter-mouseleave-on-slot-parent-expected.txt: * platform/mac-wk1/TestExpectations: * platform/mac-wk2/fast/events/shadow-event-path-expected.txt: * platform/mac/fast/events/shadow-event-path-2-expected.txt: * pointerevents/ios/enter-leave-order-expected.txt: Added. * pointerevents/ios/enter-leave-order.html: Added. * pointerevents/mouse/enter-leave-order-expected.txt: Added. * pointerevents/mouse/enter-leave-order.html: Added. 2019-06-04 Cathie Chen JS wrapper of target in ResizeObserverEntry/ResizeObserver shouldn't get collected ahead https://bugs.webkit.org/show_bug.cgi?id=197457 Reviewed by Ryosuke Niwa. * platform/win/TestExpectations: * resize-observer/element-leak-expected.txt: Added. * resize-observer/element-leak.html: Added. * resize-observer/resize-observer-entry-keeps-js-wrapper-of-target-alive-expected.txt: Added. * resize-observer/resize-observer-entry-keeps-js-wrapper-of-target-alive.html: Added. * resize-observer/resize-observer-keeps-js-wrapper-of-target-alive-expected.txt: Added. * resize-observer/resize-observer-keeps-js-wrapper-of-target-alive.html: Added. * resize-observer/resources/element-leak-frame.html: Added. 2019-06-03 Youenn Fablet Allow resizing of camera video feeds to very small resolutions https://bugs.webkit.org/show_bug.cgi?id=198421 Reviewed by Alex Christensen. Update tests to expect 1x1 minimum capture resolution. * fast/mediastream/MediaStreamTrack-getCapabilities-expected.txt: * fast/mediastream/apply-constraints-video-expected.txt: * fast/mediastream/apply-constraints-video.html: * fast/mediastream/get-user-media-constraints-expected.txt: * fast/mediastream/getUserMedia-video-rescaling-expected.txt: Added. * fast/mediastream/getUserMedia-video-rescaling.html: Added. 2019-06-03 Devin Rousso Web Inspector: remove RemoteObject.prototype.getPropertyDescriptorsAsObject https://bugs.webkit.org/show_bug.cgi?id=198395 Reviewed by Matt Baker. * inspector/runtime/awaitPromise.html: 2019-06-03 Rob Buis Implement imagesrcset and imagesizes attributes on link rel=preload https://bugs.webkit.org/show_bug.cgi?id=192950 Reviewed by Youenn Fablet. Write special expectation for link-header-preload-imagesrcset.html because test runner uses different dimensions on iOS. * platform/ios-simulator-12-wk2/imported/w3c/web-platform-tests/preload/dynamic-adding-preload-imagesrcset-expected.txt: Added. * platform/ios-simulator-12-wk2/imported/w3c/web-platform-tests/preload/link-header-preload-imagesrcset-expected.txt: Added. 2019-06-03 Yusuke Suzuki [JSC] JSObject::attemptToInterceptPutByIndexOnHole should use getPrototype instead of getPrototypeDirect https://bugs.webkit.org/show_bug.cgi?id=198477 Reviewed by Saam Barati. Ensure that JSWindow::getPrototype is used. * http/tests/security/cross-frame-access-object-getPrototypeOf-in-put-expected.txt: Added. * http/tests/security/cross-frame-access-object-getPrototypeOf-in-put.html: Added. * http/tests/security/resources/cross-frame-iframe-for-object-getPrototypeOf-in-put-test.html: Added. 2019-06-03 Devin Rousso Flaky Test: inspector/canvas/recording.html https://bugs.webkit.org/show_bug.cgi?id=198470 Reviewed by Timothy Hatcher. * inspector/canvas/recording.html: The ordering of in `WI.canvasManager.canvases` isn't always the same, so we should perform the action on every since we know we'll be recording at least one of them. 2019-06-02 Devin Rousso Flaky Test: inspector/canvas/recording.html https://bugs.webkit.org/show_bug.cgi?id=198470 Reviewed by Matt Baker. * inspector/canvas/recording.html: Don't rely on `frameCount` to automatically stop the recording, as that's dependent on when the paints and is less controllable/deterministic. 2019-06-01 Simon Fraser [Async overflow scroll] Flashing content when scrolling async overflow with a negative z-index child https://bugs.webkit.org/show_bug.cgi?id=198458 Reviewed by Dean Jackson. * compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: * platform/ios-wk2/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: 2019-06-01 Simon Fraser Async overflow scroll on iOS paints slowly if it has a negative z-index child https://bugs.webkit.org/show_bug.cgi?id=196508 rdar://problem/49532709 Reviewed by Dean Jackson. * compositing/geometry/scroller-with-clipping-and-foreground-layers-expected.html: Added. * compositing/geometry/scroller-with-clipping-and-foreground-layers.html: Added. * compositing/repaint/scroller-with-foreground-layer-repaints-expected.txt: Added. * compositing/repaint/scroller-with-foreground-layer-repaints.html: Added. * platform/ios-wk2/compositing/repaint/scroller-with-foreground-layer-repaints-expected.txt: Added. * platform/mac-wk1/compositing/repaint/scroller-with-foreground-layer-repaints-expected.txt: Added. 2019-06-01 Simon Fraser Non-composited negative z-order children should not trigger creation of a foreground layer https://bugs.webkit.org/show_bug.cgi?id=198455 Reviewed by Sam Weinig. Change existing tests that use negative z-order layers to trigger foreground layer creation to use compositing on those negative z-order layers. * compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: * compositing/geometry/bounds-ignores-hidden-dynamic-negzindex.html: * compositing/geometry/bounds-ignores-hidden-expected.txt: * compositing/geometry/bounds-ignores-hidden.html: * compositing/layer-creation/composited-negative-z-subtree-expected.txt: Added. * compositing/layer-creation/composited-negative-z-subtree.html: Added. * compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: * compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases.html: * platform/ios-wk2/compositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.txt: * platform/ios-wk2/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: * platform/mac-wk1/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: 2019-06-01 Devin Rousso Web Inspector: Canvas: split recording tests into separate files so they don't timeout https://bugs.webkit.org/show_bug.cgi?id=198459 Reviewed by Joseph Pecoraro. * inspector/canvas/recording.html: * inspector/canvas/recording-expected.txt: * inspector/canvas/recording-2d.html: Removed. * inspector/canvas/recording-2d-expected.txt: Removed. * inspector/canvas/console-record-2d.html: Added. * inspector/canvas/console-record-2d-expected.txt: Added. * inspector/canvas/recording-2d-frameCount.html: Added. * inspector/canvas/recording-2d-frameCount-expected.txt: Added. * inspector/canvas/recording-2d-full.html: Added. * inspector/canvas/recording-2d-full-expected.txt: Added. * inspector/canvas/recording-2d-memoryLimit.html: Added. * inspector/canvas/recording-2d-memoryLimit-expected.txt: Added. * inspector/canvas/recording-2d-saves.html: Added. * inspector/canvas/recording-2d-saves-expected.txt: Added. * inspector/canvas/resources/recording-2d.js: Added. * inspector/canvas/recording-bitmaprenderer.html: Removed. * inspector/canvas/recording-bitmaprenderer-expected.txt: Removed. * inspector/canvas/console-record-bitmaprenderer.html: Added. * inspector/canvas/console-record-bitmaprenderer-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer-frameCount.html: Added. * inspector/canvas/recording-bitmaprenderer-frameCount-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer-full.html: Added. * inspector/canvas/recording-bitmaprenderer-full-expected.txt: Added. * inspector/canvas/recording-bitmaprenderer-memoryLimit.html: Added. * inspector/canvas/recording-bitmaprenderer-memoryLimit-expected.txt: Added. * inspector/canvas/resources/recording-bitmaprenderer.js: Added. * inspector/canvas/recording-webgl.html: Removed. * inspector/canvas/recording-webgl-expected.txt: Removed. * inspector/canvas/console-record-webgl.html: Added. * inspector/canvas/console-record-webgl-expected.txt: Added. * inspector/canvas/recording-webgl-frameCount.html: Added. * inspector/canvas/recording-webgl-frameCount-expected.txt: Added. * inspector/canvas/recording-webgl-full.html: Added. * inspector/canvas/recording-webgl-full-expected.txt: Added. * inspector/canvas/recording-webgl-memoryLimit.html: Added. * inspector/canvas/recording-webgl-memoryLimit-expected.txt: Added. * inspector/canvas/resources/recording-webgl.js: Added. * inspector/canvas/recording-webgl2.html: Removed. * inspector/canvas/recording-webgl2-expected.txt: Removed. * inspector/canvas/console-record-webgl2.html: Added. * inspector/canvas/console-record-webgl2-expected.txt: Added. * inspector/canvas/recording-webgl2-frameCount.html: Added. * inspector/canvas/recording-webgl2-frameCount-expected.txt: Added. * inspector/canvas/recording-webgl2-full.html: Added. * inspector/canvas/recording-webgl2-full-expected.txt: Added. * inspector/canvas/recording-webgl2-memoryLimit.html: Added. * inspector/canvas/recording-webgl2-memoryLimit-expected.txt: Added. * inspector/canvas/resources/recording-webgl2.js: Added. * TestExpectations: * platform/gtk/TestExpectations: * platform/mac/TestExpectations: * platform/win/TestExpectations: 2019-06-01 Devin Rousso Web Inspector: Canvas: in tests don't manually stop recording if a frame count is specified https://bugs.webkit.org/show_bug.cgi?id=198457 Reviewed by Joseph Pecoraro. If a `frameCount` is specified, the recording will stop by itself, so if we hit the `LastFrame`, there's no need to manually stop the recording at that point. Otherwise, stopping it early may cause the recording to think that the last frame is incomplete. * inspector/canvas/resources/recording-utilities.js: * inspector/canvas/recording-webgl-snapshots.html: * inspector/canvas/recording-webgl2-snapshots.html: 2019-05-31 Wenson Hsieh Make tests that use UIHelper more robust under certain configurations https://bugs.webkit.org/show_bug.cgi?id=198442 Reviewed by Megan Gardner. Replace usages of `UIHelper.isIOS` with `UIHelper.isIOSFamily`. * fast/dom/iframe-inner-size-scaling.html: * fast/forms/datalist/datalist-show-hide.html: * fast/forms/datalist/datalist-textinput-suggestions-order.html: * fast/scrolling/ios/reveal-focused-element-right-above-keyboard-on-ipad.html: Also remove a workaround here that forces `isIOS` to return `true`. * resources/ui-helper.js: (window.UIHelper.isIOSFamily): (window.UIHelper.isWebKit2): (window.UIHelper.humanSpeedDoubleTapAt): (window.UIHelper.humanSpeedZoomByDoubleTappingAt): (window.UIHelper.zoomByDoubleTappingAt): (window.UIHelper.async.doubleActivateAt): (window.UIHelper.async.doubleActivateAtSelectionStart): (window.UIHelper.async.selectWordByDoubleTapOrClick): (window.UIHelper.keyDown): (window.UIHelper.deactivateFormControl): (window.UIHelper.typeCharacter): (window.UIHelper.inputViewBounds): (window.UIHelper.contentOffset): (window.UIHelper.isIOS): Deleted. 2019-05-31 Youenn Fablet Add an option to mute audio capture automatically when page is not visible https://bugs.webkit.org/show_bug.cgi?id=198307 Reviewed by Eric Carlson. * platform/ios/mediastream/audio-muted-in-background-tab-expected.txt: Added. * platform/ios/mediastream/audio-muted-in-background-tab.html: Added. 2019-05-31 Shawn Roberts Updating expectations for failing tests Unreviewed test gardening. * platform/mac/TestExpectations: 2019-05-31 Simon Fraser Detab. * scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html: 2019-05-31 Nikita Vasilyev Web Inspector: CSS Changes: modifications aren't shared for rules that match multiple elements https://bugs.webkit.org/show_bug.cgi?id=195264 Reviewed by Devin Rousso. Test arrays with repeating items for Array.diffArrays. * inspector/unit-tests/array-utilities-expected.txt: * inspector/unit-tests/array-utilities.html: 2019-05-31 Ryosuke Niwa [iOS] Reveal the focused element when it's immediately above software keyboard https://bugs.webkit.org/show_bug.cgi?id=198412 Reviewed by Wenson Hsieh. Added a regression test. Note that this test always passes on non-iPad platforms either before or after this patch as _zoomToRevealFocusedElement forces scrolling in that case. * fast/scrolling/ios/reveal-focused-element-right-above-keyboard-on-ipad-expected.txt: Added. * fast/scrolling/ios/reveal-focused-element-right-above-keyboard-on-ipad.html: Added. 2019-05-31 Simon Fraser [Mac WK2 Debug] Layout Test scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197425 Unreviewed test gardening. Speculative fix for flakey test; trigger layout inside the subframe. * scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html: 2019-05-31 Ryosuke Niwa iOS: Main frame should be scrollable when pinch zoomed or software keyboard is up https://bugs.webkit.org/show_bug.cgi?id=198244 Reviewed by Simon Fraser. Added regression tests. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard-expected.txt: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard.html: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-1-expected.txt: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-1.html: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-2-expected.txt: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-2.html: Added. 2019-05-31 Commit Queue Unreviewed, rolling out r245953. https://bugs.webkit.org/show_bug.cgi?id=198436 Broke quip (Requested by rniwa on #webkit). Reverted changeset: "iOS: Main frame should be scrollable when pinch zoomed or software keyboard is up" https://bugs.webkit.org/show_bug.cgi?id=198244 https://trac.webkit.org/changeset/245953 2019-05-31 Simon Fraser Move code that sets compositing paint phases into a single function https://bugs.webkit.org/show_bug.cgi?id=198420 Reviewed by Zalan Bujtas. * compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: Added. * compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases.html: Added. * platform/ios-wk2/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: Added. * platform/mac-wk1/compositing/overflow/stacking-context-composited-scroller-with-foreground-paint-phases-expected.txt: Added. 2019-05-31 Simon Fraser tile-coverage-iframe-to-zero-coverage.html flakey after r245974 https://bugs.webkit.org/show_bug.cgi?id=198438 Unreviewed test gardening. layerTreeAsText() doesn't force layouts on subframes (webkit.org/b/198439) so have the test force an update on the subframe via a dummy layerTreeAsText() call. * tiled-drawing/tile-coverage-iframe-to-zero-coverage-expected.txt: * tiled-drawing/tile-coverage-iframe-to-zero-coverage.html: 2019-05-31 Saam Barati [WHLSL] Make sure we properly emit code for "&*x" https://bugs.webkit.org/show_bug.cgi?id=198198 Reviewed by Myles C. Maxfield. * webgpu/whlsl-store-to-property-updates-properly-expected.html: Added. * webgpu/whlsl-store-to-property-updates-properly.html: Added. 2019-05-31 Simon Fraser [Async overflow scrolling] Flashes of missing layer backing store when scrolling an overflow https://bugs.webkit.org/show_bug.cgi?id=198363 Reviewed by Tim Horton. Reset results. * fast/scrolling/ios/reconcile-layer-position-recursive-expected.txt: * tiled-drawing/tiled-backing-in-window-expected.txt: 2019-05-31 Ryan Haddad Unreviewed, rolling out r245946. Breaks the watchOS build. Reverted changeset: "Add an option to mute audio capture automatically when page is not visible" https://bugs.webkit.org/show_bug.cgi?id=198307 https://trac.webkit.org/changeset/245946 2019-05-31 Per Arne Vollan [Win10] Some tests are failing only on specific machines https://bugs.webkit.org/show_bug.cgi?id=197509 Unreviewed test gardening. * platform/win/TestExpectations: 2019-05-30 Ryosuke Niwa iOS: Main frame should be scrollable when pinch zoomed or software keyboard is up https://bugs.webkit.org/show_bug.cgi?id=198244 Reviewed by Simon Fraser. Added regression tests. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard-expected.txt: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-keyboard.html: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-1-expected.txt: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-1.html: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-2-expected.txt: Added. * fast/scrolling/ios/body-overflow-hidden-height-100-percent-zoomed-2.html: Added. 2019-05-30 Jer Noble Video playback in Safari should continue when CarPlay is plugged in https://bugs.webkit.org/show_bug.cgi?id=198345 Reviewed by Eric Carlson. * media/video-isplayingtoautomotiveheadunit-expected.txt: Added. * media/video-isplayingtoautomotiveheadunit.html: Added. 2019-05-30 Youenn Fablet Add an option to mute audio capture automatically when page is not visible https://bugs.webkit.org/show_bug.cgi?id=198307 Reviewed by Eric Carlson. * platform/ios/mediastream/audio-muted-in-background-tab-expected.txt: Added. * platform/ios/mediastream/audio-muted-in-background-tab.html: Added. 2019-05-30 Saam Barati [WHLSL] Enforce variable lifetimes https://bugs.webkit.org/show_bug.cgi?id=195794 Reviewed by Myles C. Maxfield. * webgpu/whlsl-ensure-proper-variable-lifetime-2-expected.html: Added. * webgpu/whlsl-ensure-proper-variable-lifetime-2.html: Added. * webgpu/whlsl-ensure-proper-variable-lifetime-3-expected.html: Added. * webgpu/whlsl-ensure-proper-variable-lifetime-3.html: Added. * webgpu/whlsl-ensure-proper-variable-lifetime-expected.html: Added. * webgpu/whlsl-ensure-proper-variable-lifetime.html: Added. * webgpu/whlsl-return-local-variable-expected.html: Added. * webgpu/whlsl-return-local-variable.html: Added. 2019-05-30 Ryan Haddad Unreviewed, rolling out r245890, 245887. Breaks internal builds. Reverted changeset: "Video playback in Safari should continue when CarPlay is plugged in" https://bugs.webkit.org/show_bug.cgi?id=198345 https://trac.webkit.org/changeset/245887/webkit 2019-05-30 Dean Jackson Media documents on iPad are too wide in split screen https://bugs.webkit.org/show_bug.cgi?id=198405 Reviewed by Tim Horton. Make old test iPhone-specific. Add an iPad-specific test. And mark all the expectations correctly. * media/modern-media-controls/media-documents/media-document-video-ipad-sizing-expected.txt: Copied from LayoutTests/media/modern-media-controls/media-documents/media-document-video-ios-sizing-expected.txt. * media/modern-media-controls/media-documents/media-document-video-ipad-sizing.html: Copied from LayoutTests/media/modern-media-controls/media-documents/media-document-video-ios-sizing.html. * media/modern-media-controls/media-documents/media-document-video-iphone-sizing-expected.txt: Renamed from LayoutTests/media/modern-media-controls/media-documents/media-document-video-ios-sizing-expected.txt. * media/modern-media-controls/media-documents/media-document-video-iphone-sizing.html: Renamed from LayoutTests/media/modern-media-controls/media-documents/media-document-video-ios-sizing.html. * platform/ios/TestExpectations: * platform/ipad/TestExpectations: * platform/mac/TestExpectations: 2019-05-30 Devin Rousso Web Inspector: Audit: there should be a default test for WebInspectorAudit.Resources functionality https://bugs.webkit.org/show_bug.cgi?id=196710 Reviewed by Joseph Pecoraro. * inspector/audit/manager-start-setup.html: * inspector/audit/manager-start-setup-expected.txt: * inspector/model/auditTestCase-expected.txt: * inspector/model/auditTestCaseResult-expected.txt: * inspector/model/auditTestGroup-expected.txt: * inspector/unit-tests/object-utilities.html: * inspector/unit-tests/object-utilities-expected.txt: 2019-05-30 Andres Gonzalez Inserting a newline in contenteditable causes two characters to be added instead of one https://bugs.webkit.org/show_bug.cgi?id=197894 Reviewed by Wenson Hsieh and Chris Fleizach. * accessibility/ios-simulator/set-selected-text-range-after-newline-expected.txt: Added. * accessibility/ios-simulator/set-selected-text-range-after-newline.html: Added. * accessibility/ios-simulator/text-marker-list-item-expected.txt: * accessibility/set-selected-text-range-after-newline-expected.txt: Added. * accessibility/set-selected-text-range-after-newline.html: Added. * platform/win/TestExpectations: 2019-05-30 Devin Rousso Web Inspector: Audit: tests are unable to get the current Audit version https://bugs.webkit.org/show_bug.cgi?id=198270 Reviewed by Timothy Hatcher. * inspector/audit/run.html: * inspector/audit/run-expected.txt: * inspector/audit/version.html: 2019-05-30 Justin Fan [Web GPU] Vertex Buffers/Input State API updates https://bugs.webkit.org/show_bug.cgi?id=194258 Reviewed by Myles C. Maxfield. Update WebGPU tests for the new vertex buffer attributes model. * webgpu/blend-triangle-strip.html: * webgpu/buffer-command-buffer-races.html: * webgpu/buffer-resource-triangles.html: * webgpu/depth-enabled-triangle-strip.html: * webgpu/draw-indexed-triangles.html: * webgpu/js/webgpu-functions.js: * webgpu/texture-triangle-strip.html: * webgpu/vertex-buffer-triangle-strip.html: * webgpu/whlsl-arbitrary-vertex-attribute-locations.html: * webgpu/whlsl-dereference-pointer-should-type-check.html: * webgpu/whlsl-dont-crash-parsing-enum.html: * webgpu/whlsl-dot-expressions.html: * webgpu/whlsl-nested-dot-expression-rvalue.html: * webgpu/whlsl.html: 2019-05-30 Wenson Hsieh Missing caret when focusing an editable field if the selection was set when WKWebView wasn't first responder https://bugs.webkit.org/show_bug.cgi?id=198356 Reviewed by Tim Horton. Add a new layout test to exercise this scenario. * editing/selection/ios/caret-when-focusing-editable-element-with-selection-expected.txt: Added. * editing/selection/ios/caret-when-focusing-editable-element-with-selection.html: Added. 2019-05-30 Zalan Bujtas [iOS] Do not linkify telephone numbers inside elements. https://bugs.webkit.org/show_bug.cgi?id=198378 Reviewed by Chris Dumez. * fast/dom/linkify-phone-numbers-expected.html: Added. * fast/dom/linkify-phone-numbers.html: Added. 2019-05-30 Jer Noble Video playback in Safari should continue when CarPlay is plugged in https://bugs.webkit.org/show_bug.cgi?id=198345 Reviewed by Eric Carlson. * media/video-isplayingtoautomotiveheadunit-expected.txt: Added. * media/video-isplayingtoautomotiveheadunit.html: Added. 2019-05-29 Said Abou-Hallawa REGRESSION (r244182) [Mac WK2] Layout Test imported/w3c/web-platform-tests/visual-viewport/viewport-resize-event-on-load-overflowing-page.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197286 Reviewed by Simon Fraser. * platform/mac-wk2/TestExpectations: 2019-05-29 Youenn Fablet Reestablish WebSWClientConnection in case of network process crash https://bugs.webkit.org/show_bug.cgi?id=198333 Reviewed by Alex Christensen. * http/wpt/service-workers/service-worker-networkprocess-crash-expected.txt: Added. * http/wpt/service-workers/service-worker-networkprocess-crash.html: Added. 2019-05-29 Antti Koivisto Scrolling node ordering wrong when a layer has both positioning and fixed/sticky node https://bugs.webkit.org/show_bug.cgi?id=198329 Reviewed by Darin Adler. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/sticky-in-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/sticky-in-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/sticky-in-overflow.html: Added. 2019-05-28 Yacine Bandou [MSE][GStreamer] update the readyState correctly in MediaPlayerPrivateGStreamerMSE https://bugs.webkit.org/show_bug.cgi?id=197834 Reviewed by Xabier Rodriguez-Calvar. Add a new test that checks if the MediaElement receives the "canplaythrough" event when the media content is entirely injected to MSE sourceBuffer. * media/media-source/media-source-canplaythrough-event-expected.txt: Added. * media/media-source/media-source-canplaythrough-event.html: Added. 2019-05-28 Saam Barati [WHLSL] Type of dereference is the type of the thing we point to, not a pointer to that type https://bugs.webkit.org/show_bug.cgi?id=198321 Reviewed by Myles C. Maxfield. * webgpu/whlsl-dereference-pointer-should-type-check-expected.html: Added. * webgpu/whlsl-dereference-pointer-should-type-check.html: Added. 2019-05-28 Myles C. Maxfield Move idempotent text autosizing to StyleTreeResolver https://bugs.webkit.org/show_bug.cgi?id=197808 Reviewed by Antti Koivisto. * fast/text-autosizing/ios/idempotentmode/css-exposure-expected.txt: Added. * fast/text-autosizing/ios/idempotentmode/css-exposure.html: Added. * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-skip-expected.html: Added. * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-skip.html: Added. * platform/ipad/fast/text-autosizing/text-size-adjust-inline-style-expected.html: Removed. * platform/ipad/fast/text-autosizing/text-size-adjust-inline-style.html: Removed. We're intentionally not honoring percentages, because this is the most common way that text autosizing is disabled (by setting it to 100%) on the Web today. However, Web authors that have done this did it without knowing the full extent of the behavior change, and the new idempotent text autosizing code path seems to be a progression in most cases we've seen. 2019-05-28 Simon Fraser Use scroll-velocity-based tile coverage for overflow:scroll https://bugs.webkit.org/show_bug.cgi?id=198294 rdar://problem/48942184 Reviewed by Tim Horton. * tiled-drawing/scrolling/overflow/overflow-scrolled-down-tile-coverage-expected.txt: Added. * tiled-drawing/scrolling/overflow/overflow-scrolled-down-tile-coverage.html: Added. * tiled-drawing/scrolling/overflow/overflow-scrolled-up-tile-coverage-expected.txt: Added. * tiled-drawing/scrolling/overflow/overflow-scrolled-up-tile-coverage.html: Added. * tiled-drawing/scrolling/overflow/overflow-tile-coverage-expected.txt: Added. * tiled-drawing/scrolling/overflow/overflow-tile-coverage.html: Added. 2019-05-28 Youenn Fablet createAnswer() SDP Rejected by setLocalDescription() https://bugs.webkit.org/show_bug.cgi?id=195930 Reviewed by Eric Carlson. * webrtc/h264-packetization-mode-expected.txt: Added. * webrtc/h264-packetization-mode.html: Added. 2019-05-28 Shawn Roberts Unreviewed, rolling out r245475. Newly imported test is flaky. Features need flags. Reverted changeset: "Implement imagesrcset and imagesizes attributes on link rel=preload" https://bugs.webkit.org/show_bug.cgi?id=192950 https://trac.webkit.org/changeset/245475 2019-05-28 Devin Rousso REGRESSION (r244182): inspector/canvas/recording-webgl-snapshots.html became flaky on WK1 https://bugs.webkit.org/show_bug.cgi?id=196875 Reviewed by Said Abou-Hallawa. Remove the `frameLimit` configuration on these tests, as they're short enough that when running in debug, the timing between the `InspectorCanvasAgent` automatically stopping the recording and the test page's `LastFrame` event (which will manually stop the recording) is too close and can result in a race condition. Instead, just wait for the test page to say "done" (`LastFrame`) before stopping the recording, ensuring that the full "flow" of the recording is under the control of the test. This isn't an issue when using Web Inspector "normally" (e.g. not in a test), because the frontend UI will "ignore" these types of errors, not to mention it would be much harder for a person to get the timing just right to even encounter this situation. * inspector/canvas/recording-webgl-snapshots.html: * inspector/canvas/recording-webgl2-snapshots.html: * platform/mac/TestExpectations: 2019-05-28 Antoine Quint [Pointer Events WPT] Unflake imported/w3c/web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html https://bugs.webkit.org/show_bug.cgi?id=197008 Reviewed by Jon Lee. We raised an issue on the WPT test which was testing the event timestamp in an invalid manner (see https://github.com/w3c/pointerevents/issues/284 and https://github.com/web-platform-tests/wpt/issues/170160). As a result this test now passes reliably, so we can update the expected out and the TestExpectations. * platform/mac/TestExpectations: 2019-05-28 Antti Koivisto [async scrolling] Fixed positioning inside stacking context overflow scroll is jumpy https://bugs.webkit.org/show_bug.cgi?id=198292 Reviewed by Darin Adler. * scrollingcoordinator/ios/fixed-in-stacking-context-overflow-scroll-2-expected.html: Added. * scrollingcoordinator/ios/fixed-in-stacking-context-overflow-scroll-2.html: Added. * scrollingcoordinator/ios/fixed-in-stacking-context-overflow-scroll-expected.html: Added. * scrollingcoordinator/ios/fixed-in-stacking-context-overflow-scroll.html: Added. 2019-05-27 Takashi Komori [CURL] Fix crashing SocketStreamHandle. https://bugs.webkit.org/show_bug.cgi?id=197873 Reviewed by Fujii Hironori. * platform/wincairo-wk1/TestExpectations: * platform/wincairo/TestExpectations: 2019-05-27 Oriol Brufau [css-grid] Preserve repeat() notation when serializing declared values https://bugs.webkit.org/show_bug.cgi?id=197840 Reviewed by Manuel Rego Casasnovas. Update test expectations. * fast/css-grid-layout/grid-element-auto-repeat-get-set-expected.txt: * fast/css-grid-layout/grid-element-auto-repeat-get-set.html: * fast/css-grid-layout/grid-repeat-calc-expected.txt: * fast/css-grid-layout/grid-repeat-calc.html: * fast/css-grid-layout/named-grid-line-get-set-expected.txt: * fast/css-grid-layout/named-grid-line-get-set.html: 2019-05-27 Carlos Garcia Campos Touch support is reported even when the device doesn't have a touch screen https://bugs.webkit.org/show_bug.cgi?id=139681 Reviewed by Michael Catanzaro. Remove expectations for tests that are passing now. * platform/gtk/TestExpectations: 2019-05-26 John Wilander Resource Load Statistics: Downgrade document.referrer to the referrer's eTLD+1 if the page was navigated to with a prevalent resource referrer containing link decoration https://bugs.webkit.org/show_bug.cgi?id=198227 Reviewed by Alex Christensen. * http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource-expected.txt: Added. * http/tests/resourceLoadStatistics/downgraded-referrer-for-navigation-with-link-query-from-prevalent-resource.html: Added. 2019-05-25 Youenn Fablet media/video-remote-control-playpause.html is timing out after r245712 https://bugs.webkit.org/show_bug.cgi?id=198238 Reviewed by Eric Carlson. * platform/mac/TestExpectations: Removed old flaky expectation that is no longer valid according dashboard. 2019-05-25 Simon Fraser [Async overflow scrolling] Absolute positioned element inside async overflow scroll didn't get composited sometimes https://bugs.webkit.org/show_bug.cgi?id=198237 Reviewed by Antti Koivisto. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/absolute-inside-stacking-in-scroller-expected.txt: Added. * scrollingcoordinator/scrolling-tree/absolute-inside-stacking-in-scroller-expected.txt: Added. * scrollingcoordinator/scrolling-tree/absolute-inside-stacking-in-scroller.html: Added. 2019-05-25 Simon Fraser [macOS] Fix programmatic scroll in RTL overflow with async scrolling enabled https://bugs.webkit.org/show_bug.cgi?id=198226 Reviewed by Antti Koivisto. * scrollingcoordinator/mac/rtl-programmatic-overflow-scroll-expected.html: Added. * scrollingcoordinator/mac/rtl-programmatic-overflow-scroll.html: Added. 2019-05-24 Joonghun Park Make computed width of non-replaced inline return computed style. https://bugs.webkit.org/show_bug.cgi?id=197814 Reviewed by Antti Koivisto. Currently, Computed width of non-replaced inline incorrectly returns "auto" instead of the computed value. This patch changes the behavior according to https://drafts.csswg.org/cssom/#resolved-value as below. 'If the property applies to the element or pseudo-element and the resolved value of the display property is not none or contents, then the resolved value is the used value. Otherwise the resolved value is the computed value.' * fast/css/getComputedStyle/getComputedStyle-resolved-values-expected.txt: * fast/css/getComputedStyle/getComputedStyle-with-pseudo-element-expected.txt: * fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html: * legacy-animation-engine/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element-expected.txt: * legacy-animation-engine/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html: 2019-05-24 Myles C. Maxfield [WHLSL] Allow vertex attributes to have arbitrary names in the shader https://bugs.webkit.org/show_bug.cgi?id=198235 Reviewed by Dean Jackson and Justin Fan. * webgpu/whlsl-arbitrary-vertex-attribute-locations-expected.html: Added. * webgpu/whlsl-arbitrary-vertex-attribute-locations.html: Added. 2019-05-24 Shawn Roberts scrollingcoordinator/scrolling-tree/fixed-inside-frame.html is no longer flaky https://bugs.webkit.org/show_bug.cgi?id=194253 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Removing failed expectations 2019-05-24 Simon Fraser Rebase compositing/rtl/rtl-overflow-scrolling.html https://bugs.webkit.org/show_bug.cgi?id=198220 Unreviewed test gardening. New result is a progression (scrollX, which is an offset, should not be negative). * platform/ios-wk2/compositing/rtl/rtl-overflow-scrolling-expected.txt: 2019-05-24 Ryosuke Niwa Asssertion failure in dispatchSubtreeModifiedEvent due to TextFieldInputType updating UA shadow tree inside Element::removedFromAncestor https://bugs.webkit.org/show_bug.cgi?id=198216 Reviewed by Brent Fulgham. Added a regression test. * fast/forms/datalist/datalist-removal-assertion-expected.txt: Added. * fast/forms/datalist/datalist-removal-assertion.html: Added. 2019-05-23 Simon Fraser With async overflow scrolling, programmatic scroll to a negative offset fails to clamp the scroll offset https://bugs.webkit.org/show_bug.cgi?id=198208 Reviewed by Zalan Bujtas. * fast/scrolling/programmatic-scroll-to-negative-offset-expected.txt: Added. * fast/scrolling/programmatic-scroll-to-negative-offset.html: Added. 2019-05-23 Fujii Hironori run-webkit-tests: Remove feature detection support https://bugs.webkit.org/show_bug.cgi?id=198105 Reviewed by Jonathan Bedard. * platform/win/TestExpectations: * platform/wincairo/TestExpectations: Added Skip for all compositing, animations/3d and transforms/3d tests temporarily. 2019-05-23 Saam barati [WHLSL] Property resolver needs to recurse to handle the base when simplifying rvalues https://bugs.webkit.org/show_bug.cgi?id=198193 Reviewed by Myles Maxfield. * webgpu/whlsl-nested-dot-expression-rvalue-expected.html: Added. * webgpu/whlsl-nested-dot-expression-rvalue.html: Added. 2019-05-23 Shawn Roberts http/tests/resourceLoadStatistics/prune-statistics.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197285 Unreviewed test gardening. Updating expectations for Release as well * platform/mac-wk2/TestExpectations: 2019-05-23 Shawn Roberts fast/css-grid-layout/flex-content-sized-columns-resize.html is a flaky ImageOnlyFailure https://bugs.webkit.org/show_bug.cgi?id=187828#add_comment Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating for flkay test 2019-05-23 Shawn Roberts fast/css/sticky/sticky-left-percentage.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=198195 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating for flaky test 2019-05-23 Youenn Fablet CacheStorageConnection callbacks should be completed on network connection close https://bugs.webkit.org/show_bug.cgi?id=195757 Reviewed by Alex Christensen. * http/wpt/cache-storage/cache-storage-networkprocess-crash-expected.txt: Added. * http/wpt/cache-storage/cache-storage-networkprocess-crash.html: Added. 2019-05-23 Youenn Fablet Multiple videos (with audios) with autoplay & playinline not working. Only one video play at a time. https://bugs.webkit.org/show_bug.cgi?id=193312 Reviewed by Jer Noble. * webrtc/concurrentVideoPlayback-expected.txt: Added. * webrtc/concurrentVideoPlayback.html: Added. 2019-05-23 Shawn Roberts Updating test expectations for failing tests. Unreviewed test gardening. * platform/mac/TestExpectations: 2019-05-23 Antoine Quint [Pointer Events] Compatibility mouse events can only be prevented while the pointer is pressed https://bugs.webkit.org/show_bug.cgi?id=198178 Reviewed by Dean Jackson. Add a test that listens "mousemove" events and checks it is not dispatched after preventDefault() is called when handling "pointerdown" but it is dispatched after releasing the mouse pointer and moving it again. * pointerevents/mouse/compatibility-mouse-events-prevention-mouse-released-expected.txt: Added. * pointerevents/mouse/compatibility-mouse-events-prevention-mouse-released.html: Added. 2019-05-23 Antoine Quint [Pointer Events] The mouseover, mouseout, mouseenter, and mouseleave events should not be prevented while the pointer is down https://bugs.webkit.org/show_bug.cgi?id=198177 Reviewed by Dean Jackson. Add a test that listens to all mouse events and checks which are dispatched in the case preventDefault() is called when handling "pointerdown" and when it isn't. * platform/mac-wk1/TestExpectations: Skipping the test on WK1 where the sequence of dispatched mouse events does not match. * pointerevents/mouse/compatibility-mouse-events-prevention-mouse-pressed-expected.txt: Added. * pointerevents/mouse/compatibility-mouse-events-prevention-mouse-pressed.html: Added. 2019-05-23 Truitt Savell Add Mojave+ back to media/track/track-cue-rendering-vertical.html expectation https://bugs.webkit.org/show_bug.cgi?id=136627 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-05-23 Simon Fraser Create scrolling tree nodes for descendants of position:absolute inside stacking-context overflow https://bugs.webkit.org/show_bug.cgi?id=198154 Reviewed by Antti Koivisto. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/composited-in-absolute-in-stacking-context-overflow-expected.txt: Copied from LayoutTests/platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: * scrollingcoordinator/scrolling-tree/composited-in-absolute-in-stacking-context-overflow-expected.txt: Copied from LayoutTests/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt. * scrollingcoordinator/scrolling-tree/composited-in-absolute-in-stacking-context-overflow.html: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: 2019-05-23 Myles C. Maxfield [WHLSL] Implement property resolver https://bugs.webkit.org/show_bug.cgi?id=195925 Reviewed by Saam Barati and Robin Morisset. * webgpu/whlsl-dot-expressions-expected.html: Added. * webgpu/whlsl-dot-expressions.html: Added. 2019-05-22 Myles C. Maxfield font-optical-sizing applies the wrong variation value https://bugs.webkit.org/show_bug.cgi?id=197528 Reviewed by Antti Koivisto. * fast/text/variations/optical-sizing-trak-2-expected-mismatch.html: Added. * fast/text/variations/optical-sizing-trak-2.html: Added. * fast/text/variations/optical-sizing-trak-expected.html: Added. * fast/text/variations/optical-sizing-trak.html: Added. * fast/text/variations/optical-sizing-units-2-expected-mismatch.html: Added. * fast/text/variations/optical-sizing-units-2.html: Added. * fast/text/variations/optical-sizing-units-expected.html: Added. * fast/text/variations/optical-sizing-units.html: Added. * fast/text/variations/resources/Amstelvar/Amstelvar-Roman-VF104.ttf: Added. This font havariations/s been approved by the lawyers to add for layout tests. * fast/text/variations/resources/Amstelvar/COPYRIGHT.md: Added. * fast/text/variations/resources/Amstelvar/OFL.txt: Added. * platform/win/TestExpectations: 2019-05-22 Antti Koivisto Subselectors not searched when determining property whitelist for selector https://bugs.webkit.org/show_bug.cgi?id=198147 Reviewed by Zalan Bujtas. * fast/lists/marker-style-subselector-whitelist-expected.txt: Added. * fast/lists/marker-style-subselector-whitelist.html: Added. 2019-05-22 Wenson Hsieh [iOS] The shouldIgnoreMetaViewport test option incorrectly persists across layout tests https://bugs.webkit.org/show_bug.cgi?id=198135 Reviewed by Alexey Proskuryakov. Attempt to fix a handful of viewport tests that currently try to wait for the next visible content rect update, but end up timing out in the process. Instead, only wait for the presentation update, which is guaranteed to happen. * fast/viewport/ios/constant-width-viewport-after-changing-view-scale.html: * fast/viewport/ios/device-width-viewport-after-changing-view-scale.html: * fast/viewport/ios/initial-scale-after-changing-view-scale.html: * fast/viewport/ios/minimum-scale-after-changing-view-scale.html: 2019-05-22 Saam barati WHLSL: fix enum parsing https://bugs.webkit.org/show_bug.cgi?id=198087 Reviewed by Myles Maxfield. * webgpu/whlsl-dont-crash-parsing-enum-expected.html: Added. * webgpu/whlsl-dont-crash-parsing-enum.html: Added. 2019-05-22 Ryosuke Niwa REGRESSION(r245148): Removing inputmode="none" does not bring up software keyboard https://bugs.webkit.org/show_bug.cgi?id=198141 Reviewed by Geoffrey Garen. Added a regression test. * fast/forms/ios/inputmode-removing-none-expected.txt: Added. * fast/forms/ios/inputmode-removing-none.html: Added. 2019-05-22 Simon Fraser REGRESSION (r243347) Layout tests fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on* are failing Unreviewed test gardening. I confirmed that “cancelable” is no longer true because WebPageProxy::handleTouchEventSynchronously() is dispatching the events asynchronously, so setCanPreventNativeGestures is set to false. The exception is because the “touchEnd” event has no touches. * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-block-expected.txt: * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-block.html: * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-document-expected.txt: * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-document.html: 2019-05-22 Simon Fraser Fix scrolling tree state for more obscure combinations of positioning and paint order https://bugs.webkit.org/show_bug.cgi?id=198139 Reviewed by Antti Koivisto. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/absolute-in-nested-sc-scrollers-expected.txt: Added. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/composited-in-absolute-in-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/absolute-in-nested-sc-scrollers-expected.txt: Added. * scrollingcoordinator/scrolling-tree/absolute-in-nested-sc-scrollers.html: Added. * scrollingcoordinator/scrolling-tree/composited-in-absolute-in-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/composited-in-absolute-in-overflow.html: Added. 2019-05-22 Simon Fraser Inner scroller of nested overflow:scrolls jitters when scrolling https://bugs.webkit.org/show_bug.cgi?id=198131 Reviewed by Antti Koivisto. * fast/scrolling/ios/overflow-scroll-overlap-6-expected.txt: Progression * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-overflow-scroll-expected.txt: Added. * scrollingcoordinator/scrolling-tree/nested-overflow-scroll-expected.txt: Added. * scrollingcoordinator/scrolling-tree/nested-overflow-scroll.html: Added. 2019-05-22 Ryan Haddad Unreviewed, rolling out r245598. Breaks watchOS build. Reverted changeset: "font-optical-sizing applies the wrong variation value" https://bugs.webkit.org/show_bug.cgi?id=197528 https://trac.webkit.org/changeset/245598 2019-05-22 Antoine Quint [iOS] Compatibility mouse events aren't prevented by calling preventDefault() on pointerdown https://bugs.webkit.org/show_bug.cgi?id=198124 Reviewed by Tim Horton. We're adding an iOS-specific expectation since this test prints out the pointer type detected while it runs, which is "touch" on iOS and "mouse" in the expectation that already exists for macOS. * platform/ios/imported/w3c/web-platform-tests/pointerevents/pointerevent_suppress_compat_events_on_click-expected.txt: Added. 2019-05-22 Jiewen Tan [WebAuthN] Support Attestation Conveyance Preference https://bugs.webkit.org/show_bug.cgi?id=192722 Reviewed by Brent Fulgham. * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-success-hid.https.html: * http/wpt/webauthn/public-key-credential-create-success-local.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-success-local.https.html: * http/wpt/webauthn/public-key-credential-create-success-u2f.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-success-u2f.https.html: 2019-05-22 Jer Noble Hide MediaCapabilities.encodingInfo() when the platform does not support it. https://bugs.webkit.org/show_bug.cgi?id=197476 Reviewed by Eric Carlson. * platform/ios/media/mediacapabilities/mediacapabilities-encodingInfo-undefined-expected.txt: Added. * platform/ios/media/mediacapabilities/mediacapabilities-encodingInfo-undefined.html: Added. * platform/ios/media/mediacapabilities/mediacapabilities-types-expected.txt: Added. * platform/mac/media/mediacapabilities/mediacapabilities-encodingInfo-undefined-expected.txt: Added. * platform/mac/media/mediacapabilities/mediacapabilities-encodingInfo-undefined.html: Added. * platform/mac/media/mediacapabilities/mediacapabilities-types-expected.txt: Added. 2019-05-22 Youenn Fablet Implement Feature policy self/none/* parsing https://bugs.webkit.org/show_bug.cgi?id=198078 Reviewed by Eric Carlson. * http/tests/media/media-stream/get-display-media-iframe-allow-attribute-expected.txt: * http/tests/media/media-stream/get-display-media-iframe-allow-attribute.html: 2019-05-22 Alicia Boya García [GTK] Unreviewed test gardening https://bugs.webkit.org/show_bug.cgi?id=198128 * TestExpectations: * platform/gtk/TestExpectations: * platform/gtk/fast/forms/input-align-expected.png: * platform/gtk/fast/forms/input-align-expected.txt: * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: * platform/gtk/media/controls-after-reload-expected.txt: * platform/gtk/printing/page-with-10mm-left-margin-expected.txt: * platform/gtk/printing/page-with-zero-margin-expected.txt: * platform/wpe/js/dom/dom-static-property-for-in-iteration-expected.txt: 2019-05-22 Youenn Fablet Layout Test http/wpt/cache-storage/cache-put-stream.https.any.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=181107 Unreviewed. * platform/mac-wk2/TestExpectations: Marking more tests as slow. 2019-05-22 Per Arne Vollan Layout Test http/tests/security/showModalDialog-sync-cross-origin-page-load2.html is failing https://bugs.webkit.org/show_bug.cgi?id=198112 Unreviewed test gardening. * platform/win/TestExpectations: 2019-05-21 Myles C. Maxfield font-optical-sizing applies the wrong variation value https://bugs.webkit.org/show_bug.cgi?id=197528 Reviewed by Antti Koivisto. * fast/text/variations/optical-sizing-trak-2-expected-mismatch.html: Added. * fast/text/variations/optical-sizing-trak-2.html: Added. * fast/text/variations/optical-sizing-trak-expected.html: Added. * fast/text/variations/optical-sizing-trak.html: Added. * fast/text/variations/optical-sizing-units-2-expected-mismatch.html: Added. * fast/text/variations/optical-sizing-units-2.html: Added. * fast/text/variations/optical-sizing-units-expected.html: Added. * fast/text/variations/optical-sizing-units.html: Added. * fast/text/variations/resources/Amstelvar/Amstelvar-Roman-VF104.ttf: Added. This font havariations/s been approved by the lawyers to add for layout tests. * fast/text/variations/resources/Amstelvar/COPYRIGHT.md: Added. * fast/text/variations/resources/Amstelvar/OFL.txt: Added. 2019-05-21 Simon Fraser Layer flashing and poor perf during scrolling of message list on gmail.com and hotmail.com - overlap testing needs to constrained to clipping scopes https://bugs.webkit.org/show_bug.cgi?id=198091 Reviewed by Antti Koivisto. * TestExpectations: * compositing/layer-creation/clipping-scope/nested-scroller-overlap-expected.txt: Added. * compositing/layer-creation/clipping-scope/nested-scroller-overlap.html: Added. * compositing/layer-creation/clipping-scope/overlap-constrained-inside-scroller-expected.txt: Added. * compositing/layer-creation/clipping-scope/overlap-constrained-inside-scroller.html: Added. * compositing/layer-creation/clipping-scope/overlap-constrained-inside-stacking-context-scroller-expected.txt: Added. * compositing/layer-creation/clipping-scope/overlap-constrained-inside-stacking-context-scroller.html: Added. * compositing/layer-creation/clipping-scope/scroller-with-negative-z-children-expected.txt: Added. * compositing/layer-creation/clipping-scope/scroller-with-negative-z-children.html: Added. * compositing/layer-creation/clipping-scope/shared-layers-in-scroller-expected.txt: Added. * compositing/layer-creation/clipping-scope/shared-layers-in-scroller.html: Added. * platform/ios-wk2/TestExpectations: * platform/ios-wk2/compositing/layer-creation/clipping-scope/nested-scroller-overlap-expected.txt: Added. * platform/ios-wk2/compositing/layer-creation/clipping-scope/overlap-constrained-inside-scroller-expected.txt: Added. * platform/ios-wk2/compositing/layer-creation/clipping-scope/overlap-constrained-inside-stacking-context-scroller-expected.txt: Added. * platform/ios-wk2/compositing/layer-creation/clipping-scope/scroller-with-negative-z-children-expected.txt: Added. * platform/ios-wk2/compositing/layer-creation/clipping-scope/shared-layers-in-scroller-expected.txt: Added. * platform/mac-wk2/TestExpectations: 2019-05-21 Antti Koivisto RTL/overflow scroll tests fail with async overflow enabled https://bugs.webkit.org/show_bug.cgi?id=196013 Reviewed by Simon Fraser. * compositing/ios/rtl-overflow-scrolling-2-expected.html: Added. * compositing/ios/rtl-overflow-scrolling-2.html: Added. Add a reftest version for better coverage. * compositing/rtl/rtl-overflow-scrolling.html: * platform/ios-wk1/TestExpectations: * platform/ios-wk2/TestExpectations: * platform/ios-wk2/compositing/rtl/rtl-overflow-scrolling-expected.txt: Added. 2019-05-21 Carlos Garcia Campos [WPE] Add initial accessibility support using ATK https://bugs.webkit.org/show_bug.cgi?id=197413 Reviewed by Michael Catanzaro. Unskip accessibility tests that are passing now and add platform specific results. * platform/wpe/TestExpectations: * platform/wpe/accessibility/add-children-pseudo-element-expected.txt: Added. * platform/wpe/accessibility/aria-fallback-roles-expected.txt: Added. * platform/wpe/accessibility/aria-hidden-negates-no-visibility-expected.txt: Added. * platform/wpe/accessibility/aria-label-on-label-element-expected.txt: Added. * platform/wpe/accessibility/aria-labelledby-overrides-aria-label-expected.txt: Added. * platform/wpe/accessibility/aria-labelledby-overrides-label-expected.txt: Added. * platform/wpe/accessibility/aria-option-role-expected.txt: Added. * platform/wpe/accessibility/aria-roledescription-expected.txt: Added. * platform/wpe/accessibility/aria-switch-sends-notification-expected.txt: Added. * platform/wpe/accessibility/aria-tab-roles-expected.txt: Added. * platform/wpe/accessibility/aria-table-attributes-expected.txt: Added. * platform/wpe/accessibility/aria-table-content-expected.txt: Added. * platform/wpe/accessibility/aria-toggle-button-with-title-expected.txt: Added. * platform/wpe/accessibility/auto-fill-crash-expected.txt: Added. * platform/wpe/accessibility/button-with-aria-haspopup-role-expected.txt: Added. * platform/wpe/accessibility/color-well-expected.txt: Added. * platform/wpe/accessibility/deleting-iframe-destroys-axcache-expected.txt: Added. * platform/wpe/accessibility/dimensions-include-descendants-expected.txt: Added. * platform/wpe/accessibility/double-nested-inline-element-missing-from-tree-expected.txt: Added. * platform/wpe/accessibility/empty-image-with-title-expected.txt: Added. * platform/wpe/accessibility/file-upload-button-stringvalue-expected.txt: Added. * platform/wpe/accessibility/help-text-expected.txt: Added. * platform/wpe/accessibility/image-link-expected.txt: Added. * platform/wpe/accessibility/image-map1-expected.txt: Added. * platform/wpe/accessibility/image-map2-expected.txt: Added. * platform/wpe/accessibility/inline-continuations-expected.txt: Added. * platform/wpe/accessibility/label-with-pseudo-elements-expected.txt: Added. * platform/wpe/accessibility/list-detection-expected.txt: Added. * platform/wpe/accessibility/lists-expected.txt: Added. * platform/wpe/accessibility/math-multiscript-attributes-expected.txt: Added. * platform/wpe/accessibility/media-emits-object-replacement-expected.txt: Added. * platform/wpe/accessibility/menu-list-crash2-expected.txt: Added. * platform/wpe/accessibility/minimal-table-with-aria-is-data-table-expected.txt: Added. * platform/wpe/accessibility/press-targets-center-point-expected.txt: Added. * platform/wpe/accessibility/radio-button-title-label-expected.txt: Added. * platform/wpe/accessibility/render-counter-text-expected.txt: Added. * platform/wpe/accessibility/roles-computedRoleString-expected.txt: Added. * platform/wpe/accessibility/roles-exposed-expected.txt: Added. * platform/wpe/accessibility/set-selected-text-range-contenteditable-expected.txt: Added. * platform/wpe/accessibility/svg-remote-element-expected.txt: Added. * platform/wpe/accessibility/tabindex-elements-are-accessible-expected.txt: Added. * platform/wpe/accessibility/table-attributes-expected.txt: Added. * platform/wpe/accessibility/table-cell-spans-expected.txt: Added. * platform/wpe/accessibility/table-cells-expected.txt: Added. * platform/wpe/accessibility/table-cells-roles-expected.txt: Added. * platform/wpe/accessibility/table-column-headers-with-captions-expected.txt: Added. * platform/wpe/accessibility/table-one-cell-expected.txt: Added. * platform/wpe/accessibility/table-roles-hierarchy-expected.txt: Added. * platform/wpe/accessibility/table-sections-expected.txt: Added. * platform/wpe/accessibility/table-with-rules-expected.txt: Added. * platform/wpe/accessibility/text-alternative-calculation-hidden-nodes-expected.txt: Added. * platform/wpe/accessibility/transformed-element-expected.txt: Added. 2019-05-20 Wenson Hsieh [iOS] Layout viewport size on google.com increases after rotating to landscape and back https://bugs.webkit.org/show_bug.cgi?id=198062 Reviewed by Maciej Stachowiak. Add a UIHelper method to simulate device rotation to a given orientation, and use it in a new layout test that simulates rotation to and from landscape orientation, and verifies that the initial scale did not change from its expected value of 1. * fast/events/ios/rotation/do-not-shrink-to-fit-content-after-rotation-expected.txt: Added. * fast/events/ios/rotation/do-not-shrink-to-fit-content-after-rotation.html: Added. * resources/ui-helper.js: (window.UIHelper.rotateDevice.return.new.Promise.): (window.UIHelper.rotateDevice): (window.UIHelper): 2019-05-20 Chris Dumez Fix security check in ScriptController::canAccessFromCurrentOrigin() https://bugs.webkit.org/show_bug.cgi?id=196730 Reviewed by Ryosuke Niwa. Add layout test coverage. * http/tests/security/showModalDialog-sync-cross-origin-page-load2-expected.txt: Added. * http/tests/security/showModalDialog-sync-cross-origin-page-load2.html: Added. 2019-05-20 Gabe Giosia Range getBoundingClientRect returning zero rect on simple text node with
before it https://bugs.webkit.org/show_bug.cgi?id=182181 Reviewed by Antti Koivisto. Test getBoundingClientRect with a Range that contains a line break. * fast/dom/Range/getBoundingClientRect-expected.txt: * fast/dom/Range/getBoundingClientRect.html: 2019-05-20 Ryan Haddad Unreviewed test gardening after r245482. * platform/mac/TestExpectations: Explicitly mark webgl/2.0.0/conformance2/textures/misc/copy-texture-image-luma-format.html as slow for High Sierra. 2019-05-20 Andres Gonzalez Hitpoint for link which spans two lines in web content is incorrect https://bugs.webkit.org/show_bug.cgi?id=197511 Reviewed by Chris Fleizach. * accessibility/ios-simulator/links-activation.html: * accessibility/links-activation-expected.txt: * accessibility/links-activation.html: 2019-05-20 Sihui Liu [ Mac WK2 iOS Sim] Layout Test http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196307 Reviewed by Alex Christensen. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: 2019-05-19 Brent Fulgham Wait to get frame until after layout has been run https://bugs.webkit.org/show_bug.cgi?id=197999 Reviewed by Alex Christensen. * fast/dom/window-inner-width-crash-expected.txt: Added. * fast/dom/window-inner-width-crash.html: Added. 2019-05-19 Antoine Quint [Pointer Events] Listening to a "pointerover", "pointerenter", "pointerout" or "pointerleave" event alone does not fire the event on iOS https://bugs.webkit.org/show_bug.cgi?id=197882 Reviewed by Dean Jackson. Add new tests that check that adding a "pointerover", "pointerenter", "pointerout" or "pointerleave" event listener alone dispatches the event as expected. * pointerevents/ios/pointerenter-alone-expected.txt: Added. * pointerevents/ios/pointerenter-alone.html: Added. * pointerevents/ios/pointerleave-alone-expected.txt: Added. * pointerevents/ios/pointerleave-alone.html: Added. * pointerevents/ios/pointerout-alone-expected.txt: Added. * pointerevents/ios/pointerout-alone.html: Added. * pointerevents/ios/pointerover-alone-expected.txt: Added. * pointerevents/ios/pointerover-alone.html: Added. 2019-05-19 Antoine Quint [Pointer Events] The pointerup, pointerout and pointerleave events may be fired twice https://bugs.webkit.org/show_bug.cgi?id=198028 Reviewed by Dean Jackson. Add a new test that checks that we're firing a "pointermove" event when the touch pressure changes, even when the touch is stationary, and that a single "pointerup" event is fired as the touch ends and the pressure changes. The relevant code change is done in WebKitAdditions. * pointerevents/ios/pressure-change-expected.txt: Added. * pointerevents/ios/pressure-change.html: Added. * pointerevents/utils.js: (prototype._handlePointerEvent): (prototype.stationary): (prototype._action): 2019-05-19 Antoine Quint [Pointer Events] A pointer should be marked as primary for all of its events https://bugs.webkit.org/show_bug.cgi?id=197909 Reviewed by Dean Jackson. Update tests to match expectations that only the first touch of a sequence is the primary pointer, which applies to all of its events, even after the even is no longer touching the digitizer. * pointerevents/ios/over-enter-out-leave.html: * pointerevents/ios/pointer-event-order.html: * pointerevents/ios/pointer-events-implicit-capture.html: * pointerevents/ios/pointer-events-is-primary-expected.txt: * pointerevents/ios/pointer-events-is-primary.html: 2019-05-19 Simon Fraser Layers painting into shared backing need to contribute to overlap https://bugs.webkit.org/show_bug.cgi?id=198021 Reviewed by Zalan Bujtas. * compositing/shared-backing/sharing-child-contributes-to-overlap-expected.html: Added. * compositing/shared-backing/sharing-child-contributes-to-overlap.html: Added. 2019-05-18 Jiewen Tan [WebAuthN] Allow authenticators that support both CTAP and U2F to try U2F if CTAP fails in authenticatorGetAssertion https://bugs.webkit.org/show_bug.cgi?id=197974 Reviewed by Brent Fulgham. * http/wpt/webauthn/public-key-credential-get-failure-hid-silent.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-failure-hid-silent.https.html: * http/wpt/webauthn/public-key-credential-get-failure-hid.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-failure-hid.https.html: * http/wpt/webauthn/public-key-credential-get-success-u2f.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-success-u2f.https.html: * http/wpt/webauthn/resources/util.js: 2019-05-17 Joonghun Park Implement CSS `display: flow-root` (modern clearfix) https://bugs.webkit.org/show_bug.cgi?id=165603 Reviewed by Zalan Bujtas. This change follows https://drafts.csswg.org/css-display-3/#valdef-display-flow-root as below. 'display: flow-root' generates a block container box, and lays out its contents using flow layout. It always establishes a new block formatting context for its contents. * TestExpectations: 2019-05-17 Antoine Quint Add a website policy to disable the legacy -webkit-overflow-scrolling:touch behavior https://bugs.webkit.org/show_bug.cgi?id=197943 Reviewed by Brent Fulgham. * fast/scrolling/ipad/overflow-scrolling-touch-enabled-stacking-modern-compatibility-mode-expected.html: Added. * fast/scrolling/ipad/overflow-scrolling-touch-enabled-stacking-modern-compatibility-mode.html: Added. * platform/ipad/fast/css/webkit-overflow-scrolling-parsing-modern-compatibility-mode-expected.txt: Added. * platform/ipad/fast/css/webkit-overflow-scrolling-parsing-modern-compatibility-mode.html: Added. * platform/ios/TestExpectations: Skip the new tests since they depend on code in WebKitAdditions. 2019-05-17 Rob Buis Implement imagesrcset and imagesizes attributes on link rel=preload https://bugs.webkit.org/show_bug.cgi?id=192950 Reviewed by Youenn Fablet. Write special expectation for link-header-preload-imagesrcset.html because test runner uses different dimensions on iOS. * platform/ios-simulator-12-wk2/imported/w3c/web-platform-tests/preload/dynamic-adding-preload-imagesrcset-expected.txt: Added. * platform/ios-simulator-12-wk2/imported/w3c/web-platform-tests/preload/link-header-preload-imagesrcset-expected.txt: Added. 2019-05-17 Shawn Roberts media/controls-after-reload.html failing on iOS after unskip Unreviewed test gardening. * platform/ios/TestExpectations: Skipping in iOS 2019-05-17 Simon Fraser REGRESSION (r245170): gmail.com inbox table header flickers https://bugs.webkit.org/show_bug.cgi?id=198005 Reviewed by Antti Koivisto. * compositing/shared-backing/overlap-after-end-sharing-expected.html: Added. * compositing/shared-backing/overlap-after-end-sharing.html: Added. 2019-05-17 Simon Fraser REGRESSION (r245170): gmail.com header flickers when hovering over the animating buttons https://bugs.webkit.org/show_bug.cgi?id=197975 Reviewed by Antti Koivisto. * compositing/shared-backing/overlap-after-shared-to-composited-expected.html: Added. * compositing/shared-backing/overlap-after-shared-to-composited.html: Added. 2019-05-16 Said Abou-Hallawa SVGElement should detach itself from all its properties before it is deleted https://bugs.webkit.org/show_bug.cgi?id=197954 Reviewed by Simon Fraser. * svg/dom/svg-properties-detach-change-expected.txt: Added. * svg/dom/svg-properties-detach-change.html : Added. 2019-05-17 Eric Carlson Allow sequential playback of media files when initial playback started with a user gesture https://bugs.webkit.org/show_bug.cgi?id=197959 Reviewed by Youenn Fablet. * media/media-fullscreen.js: Insert a pause between tests to clear the user gesture used in the first test. * media/playlist-inherits-user-gesture-expected.txt: Added. * media/playlist-inherits-user-gesture.html: Added. 2019-05-17 Truitt Savell Unmark several skipped tests in wk2 https://bugs.webkit.org/show_bug.cgi?id=197987 Unreviewed test gardening * platform/wk2/TestExpectations: 2019-05-17 Antti Koivisto [iOS] Respect scrolling="no" on composited frames https://bugs.webkit.org/show_bug.cgi?id=197972 Reviewed by Simon Fraser. * fast/scrolling/ios/body-overflow-hidden-frame-expected.html: * fast/scrolling/ios/body-overflow-hidden-frame.html: Also fix overflow:hidden test so that the frame content forces composition. * fast/scrolling/ios/frame-scrolling-no-expected.html: Added. * fast/scrolling/ios/frame-scrolling-no.html: Added. 2019-05-16 Greg Doolittle AX: Unship some ARIA string reflectors that are to-be-replaced by element reflection https://bugs.webkit.org/show_bug.cgi?id=197764 Reviewed by Chris Fleizach. Specifically these: - ariaActiveDescendant - ariaControls - ariaDescribedBy - ariaDetails - ariaErrorMessage - ariaFlowTo - ariaLabelledBy - ariaOwns * accessibility/ARIA-reflection-expected.txt: Updated. * accessibility/ARIA-reflection.html: Updated. 2019-05-16 John Wilander Storage Access API: Call completion handlers in NetworkConnectionToWebProcess::hasStorageAccess() and NetworkConnectionToWebProcess::requestStorageAccess() when feature is off https://bugs.webkit.org/show_bug.cgi?id=197967 Reviewed by Brent Fulgham. * http/tests/storageAccess/has-storage-access-true-if-feature-off.html: * platform/mac-wk2/TestExpectations: Test case marked as [ Pass ]. 2019-05-16 Ross Kirsling [JSC] Invalid AssignmentTargetType should be an early error. https://bugs.webkit.org/show_bug.cgi?id=197603 Reviewed by Keith Miller. * fast/events/window-onerror4-expected.txt: * ietestcenter/Javascript/11.13.1-1-1-expected.txt: * ietestcenter/Javascript/11.13.1-1-2-expected.txt: * ietestcenter/Javascript/11.13.1-1-3-expected.txt: * ietestcenter/Javascript/11.13.1-1-4-expected.txt: * js/basic-strict-mode-expected.txt: * js/dom/assign-expected.txt: * js/dom/line-column-numbers-expected.txt: * js/dom/line-column-numbers.html: * js/dom/postfix-syntax-expected.txt: * js/dom/prefix-syntax-expected.txt: * js/dom/script-tests/line-column-numbers.js: * js/function-toString-parentheses-expected.txt: * js/parser-syntax-check-expected.txt: * js/parser-xml-close-comment-expected.txt: * js/script-tests/function-toString-parentheses.js: * js/script-tests/parser-syntax-check.js: Update tests & expectations to reflect new SyntaxErrors. * js/script-tests/toString-prefix-postfix-preserve-parens.js: * js/toString-prefix-postfix-preserve-parens-expected.txt: None of the prefix/postfix tests make sense here now that they're all SyntaxErrors; remove them and just leave the typeof tests. 2019-05-16 Youenn Fablet Layout Test http/wpt/cache-storage/cache-quota-add.any.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197952 Unreviewed. * platform/ios-simulator-wk2/TestExpectations: Mark test as slow as per flakiness dashboard. 2019-05-16 Daniel Bates [iOS] Unable to commit search on MSN.com, qq.com, or sina.com.cn using enter key (hardware or software keyboard) https://bugs.webkit.org/show_bug.cgi?id=197632 Add missing file that was inadvertently omitted from the patch. * fast/events/ios/resources/submit-form-target-blank-using-return-key.html: Added. 2019-05-16 Ali Juma [IntersectionObserver] Regression: No initial observation when nothing else triggers rendering https://bugs.webkit.org/show_bug.cgi?id=197891 Reviewed by Simon Fraser. Add a test where other timers that can schedule rendering updates are disabled, in order to verify that IntersectionObserver is scheduling rendering updates itself. * intersection-observer/initial-observation.html: Added. 2019-05-15 Devin Rousso Web Inspector: user gesture toggle should also force user interaction flag https://bugs.webkit.org/show_bug.cgi?id=197269 Reviewed by Joseph Pecoraro. * inspector/runtime/evaluate-userGestureEmulation-userIsInteracting.html: Added. * inspector/runtime/evaluate-userGestureEmulation-userIsInteracting-expected.txt: Added. * TestExpectations: * platform/wk2/TestExpectations: Only enable the above test on WK2, as the user interaction state is only supported by WK2. 2019-05-15 Devin Rousso REGRESSION (r240644): Layout Test inspector/page/overrideSetting-ICECandidateFilteringEnabled.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=194437 Reviewed by Joseph Pecoraro. * inspector/page/overrideSetting-ICECandidateFilteringEnabled.html: * inspector/page/overrideSetting-ICECandidateFilteringEnabled-expected.txt: 2019-05-15 Devin Rousso REGRESSION (r242741) [Mac WK1 Debug] Layout Test inspector/timeline/exception-in-injected-script-while-recording.html is a flaky crash https://bugs.webkit.org/show_bug.cgi?id=197442 Reviewed by Joseph Pecoraro. Ever since r198774, we don't allow a timeline recording to be active at the same time as the debugger being paused. As such, these tests are unnecessary. * inspector/timeline/debugger-paused-while-recording.html: Removed. * inspector/timeline/debugger-paused-while-recording-expected.txt: Removed. * inspector/timeline/exception-in-injected-script-while-recording.html: Removed. * inspector/timeline/exception-in-injected-script-while-recording-expected.txt: Removed. * inspector/timeline/resources/timeline-helper.js: Removed. * TestExpectations: 2019-05-15 Zalan Bujtas Do not create a shape object outside of the layout context https://bugs.webkit.org/show_bug.cgi?id=197926 Reviewed by Simon Fraser. * fast/block/float/float-with-shape-outside-crash-expected.txt: Added. * fast/block/float/float-with-shape-outside-crash.html: Added. 2019-05-15 Shawn Roberts Layout tests http/wpt/webauthn/public-key-credential-create-success-hid.https.html http/wpt/webauthn/public-key-credential-get-success-hid.https.html are flaky crashes https://bugs.webkit.org/show_bug.cgi?id=197917 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Skipping tests on Debug 2019-05-15 Youenn Fablet getUserMedia sandbox extensions should not be revoked when a getUserMedia allowed request is being processed https://bugs.webkit.org/show_bug.cgi?id=197851 Reviewed by Alex Christensen. * fast/mediastream/gum-stop-track-expected.txt: Added. * fast/mediastream/gum-stop-track.html: Added. 2019-05-15 Fujii Hironori Unreviewed test gardening for WinCairo * platform/wincairo-wk1/TestExpectations: Moved accessibility expectations to this file. * platform/wincairo/TestExpectations: Skip accessibility because WinCairo WK2 doesn't support it yet. Skip http/tests/resourceLoadStatistics for WK2 because all tests are timing out. 2019-05-14 Wenson Hsieh Missing cursor/caret showing in search field on google.com https://bugs.webkit.org/show_bug.cgi?id=197862 Reviewed by Simon Fraser. Add a new layout test that represents a reduced test case version of google.com's search field. * editing/selection/ios/do-not-hide-selection-in-visible-field.html: Added. 2019-05-14 Megan Gardner Fix flakey test fast/events/autoscroll-when-input-is-offscreen.html https://bugs.webkit.org/show_bug.cgi?id=197897 Reviewed by Wenson Hsieh. Programmatic scrolls are included in the transaction and we want to ensure that they've been applied. Then we can be sure that the page has finished scrolling and it's appropriate to test the page offset. * fast/events/autoscroll-when-input-is-offscreen.html: 2019-05-14 Shawn Roberts storage/indexeddb/modern/deletedatabase-2-private.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196445 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Not flaky on iOS * platform/mac-wk2/TestExpectations: Updating expectations for Mac 2019-05-14 Ali Juma [IntersectionObserver] Update expectations for tests that are no longer flaky Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2019-05-14 Truitt Savell Rebaseline inspector/model/remote-object.html after r245288 https://bugs.webkit.org/show_bug.cgi?id=197833 Unreviewed test gardening. * inspector/model/remote-object-expected.txt: 2019-05-14 Zalan Bujtas Do not try to issue repaint while the render tree is being destroyed. https://bugs.webkit.org/show_bug.cgi?id=197461 Reviewed by Simon Fraser. * http/tests/svg/crash-on-reload-with-filter-expected.txt: Added. * http/tests/svg/crash-on-reload-with-filter.html: Added. * http/tests/svg/resources/finishTest.html: Added. 2019-05-14 Youenn Fablet A service worker process should app nap when all its clients app nap https://bugs.webkit.org/show_bug.cgi?id=185626 Reviewed by Alex Christensen. * http/wpt/service-workers/mac/throttleable-worker.js: Added. * http/wpt/service-workers/mac/throttleable.https-expected.txt: Added. * http/wpt/service-workers/mac/throttleable.https.html: Added. * platform/ios-wk2/TestExpectations: 2019-05-14 Oriol Brufau [css-grid] Update grid when changing auto repeat type https://bugs.webkit.org/show_bug.cgi?id=197849 Reviewed by Javier Fernandez. Remove the test which has been upstreamed to WPT. * fast/css-grid-layout/grid-change-auto-repeat-tracks-expected.txt: Removed. * fast/css-grid-layout/grid-change-auto-repeat-tracks.html: Removed. 2019-05-14 Antti Koivisto Event region computation should respect transforms https://bugs.webkit.org/show_bug.cgi?id=197836 Reviewed by Darin Adler. * fast/scrolling/ios/event-region-scale-transform-shared-expected.txt: * fast/scrolling/ios/event-region-translate-transform-shared-expected.txt: 2019-05-14 Said Abou-Hallawa Unreviewed: fix test failures after r245280. * platform/mac-wk2/TestExpectations: Animating HEICS images is supported only on post macOS Mojave. So these tests should be skipped in WebKit for now. 2019-05-14 Youenn Fablet Video frame resizing should be using Trim https://bugs.webkit.org/show_bug.cgi?id=197722 Reviewed by Eric Carlson. * fast/mediastream/resize-trim-expected.txt: Renamed from LayoutTests/fast/mediastream/resize-letterbox-expected.txt. * fast/mediastream/resize-trim.html: Renamed from LayoutTests/fast/mediastream/resize-letterbox.html. * platform/gtk/TestExpectations: 2019-05-14 Antoine Quint [Pointer Events] The pointerenter and pointerleave events target the wrong element on iOS https://bugs.webkit.org/show_bug.cgi?id=197881 Reviewed by Dean Jackson. Add a test where we tap an element that is the child of another element where the parent is the element with the "pointerenter" and "pointerleave" events registered. The test shows that we correctly set the target to the parent element and not the child. * pointerevents/ios/enter-leave-target-expected.txt: Added. * pointerevents/ios/enter-leave-target.html: Added. 2019-05-14 Daniel Bates [iOS] Cannot scroll to beginning of document after scrolling to end of document and vice versa via key commands https://bugs.webkit.org/show_bug.cgi?id=197848 Reviewed by Brent Fulgham. Add a test to ensure that key commands can be used to scroll to the end of the page and then to the beginning of the page. * fast/scrolling/ios/scroll-to-beginning-and-end-of-document-expected.txt: Added. * fast/scrolling/ios/scroll-to-beginning-and-end-of-document.html: Added. * resources/ui-helper.js: (window.UIHelper.callFunctionAndWaitForScrollToFinish): Added. Convenience function that invokes the specified function and returns a Promise that is resolved once the page has finished scrolling. To know if the page has finished scrolling we listen for DOM scroll events and repeatedly reset a 300ms timer. The delay of 300ms was chosen to be > 250ms (to give some margin of error), which is the upper bound delay between scroll event firings, last I recall. When the timer expires we assume that page has finished scrolling. (window.UIHelper): 2019-05-14 Said Abou-Hallawa [CG] Adding support for HEIF-sequence ('public.heics') images https://bugs.webkit.org/show_bug.cgi?id=197384 Reviewed by Simon Fraser. Disable the tests for all ports and enable it only for [ Mojave+ WK2] because of . * TestExpectations: * fast/images/animated-heics-draw-expected.txt: Added. * fast/images/animated-heics-draw.html: Added. * fast/images/animated-heics-verify-expected.txt: Added. * fast/images/animated-heics-verify.html: Added. * fast/images/resources/sea_animation.heics: Added. * fast/images/resources/sticker.heics: Added. * platform/mac-wk2/TestExpectations: 2019-05-14 Per Arne Vollan [Win10] Some tests are failing only on specific machines https://bugs.webkit.org/show_bug.cgi?id=197509 Unreviewed test gardening. * platform/win/TestExpectations: 2019-05-14 Javier Fernandez Implement "line-break: anywhere" https://bugs.webkit.org/show_bug.cgi?id=181169 Reviewed by Myles C. Maxfield. Some of the new tests added to verify the new 'line-break: anywhere' feature and its different behavior to what 'word-break: break-all' may provide, fail due to several bugs present in current WebKit's trunk. * TestExpectations: - webkit.org/b/197409 - webkit.org/b/197411 - webkit.org/b/197411 - webkit.org/b/197430 2019-05-13 Wenson Hsieh [iOS] When running layout tests that tap in the same location, subsequent tests fail to fire click handlers https://bugs.webkit.org/show_bug.cgi?id=197821 Reviewed by Tim Horton. Removes workarounds in a couple of existing layout tests. * editing/selection/ios/clear-selection-after-tapping-on-element-with-no-click-handler.html: * editing/selection/ios/persist-selection-after-tapping-on-element-with-click-handler.html: 2019-05-13 Jiewen Tan [WebAuthN] InvalidStateError should be reported to sites https://bugs.webkit.org/show_bug.cgi?id=193269 Reviewed by Brent Fulgham. * http/wpt/webauthn/ctap-hid-failure.https.html: * http/wpt/webauthn/public-key-credential-create-failure-hid-silent.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-failure-hid-silent.https.html: * http/wpt/webauthn/public-key-credential-create-failure-hid.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-failure-hid.https.html: * http/wpt/webauthn/public-key-credential-create-failure-u2f-silent.https.html: * http/wpt/webauthn/resources/util.js: 2019-05-13 Devin Rousso [ Mac Debug ] Layout Test inspector/audit/basic.html is a flaky timeout on bots https://bugs.webkit.org/show_bug.cgi?id=196448 Reviewed by Alex Christensen. Split inspector/audit/basic.html into separate tests so each part can run without timing out. * inspector/audit/basic-async.html: Added. * inspector/audit/basic-async-expected.txt: Added. * inspector/audit/basic-boolean.html: Added. * inspector/audit/basic-boolean-expected.txt: Added. * inspector/audit/basic-debugger.html: Added. * inspector/audit/basic-debugger-expected.txt: Added. * inspector/audit/basic-error.html: Added. * inspector/audit/basic-error-expected.txt: Added. * inspector/audit/basic-object.html: Added. * inspector/audit/basic-object-expected.txt: Added. * inspector/audit/basic-promise.html: Added. * inspector/audit/basic-promise-expected.txt: Added. * inspector/audit/basic-string.html: Added. * inspector/audit/basic-string-expected.txt: Added. * inspector/audit/basic-timeout.html: Added. * inspector/audit/basic-timeout-expected.txt: Added. * inspector/audit/basic.html: Removed. * inspector/audit/basic-expected.txt: Removed. * platform/mac-wk1/TestExpectations: * platform/mac-wk2/TestExpectations: 2019-05-13 Devin Rousso [ Mac WK2 ] Layout Test js/dom/unhandled-promise-rejection-bindings-type-error.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=195969 Reviewed by Alex Christensen. * js/dom/unhandled-promise-rejection-bindings-type-error.html: 2019-05-13 Megan Gardner Alter Conic Gradient tests to be less subject to noise https://bugs.webkit.org/show_bug.cgi?id=197806 Reviewed by Wenson Hsieh. There is a currently a bug where there's a lot of detectable noise in the green gradients. Replace them with the less noisy magenta or blue. * fast/gradients/conic-extended-stops-expected.html: * fast/gradients/conic-extended-stops.html: * fast/gradients/conic-from-angle-expected.html: * fast/gradients/conic-from-angle.html: * fast/gradients/conic-gradient-expected.html: * fast/gradients/conic-gradient-extended-stops-expected.html: * fast/gradients/conic-gradient-extended-stops.html: * fast/gradients/conic-gradient.html: * fast/gradients/conic-off-center-expected.html: * fast/gradients/conic-off-center.html: * fast/gradients/conic-two-hints-expected.html: * fast/gradients/conic-two-hints.html: 2019-05-13 Antti Koivisto REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html asserts https://bugs.webkit.org/show_bug.cgi?id=197818 Reviewed by Simon Fraser. * fast/scrolling/ios/event-region-scale-transform-shared-expected.txt: Added. * fast/scrolling/ios/event-region-scale-transform-shared.html: Added. * fast/scrolling/ios/event-region-translate-transform-shared-expected.txt: Added. * fast/scrolling/ios/event-region-translate-transform-shared.html: Added. * platform/ios-wk2/TestExpectations: 2019-05-13 Wenson Hsieh [macOS] Font formatting options don't work when composing a message in Yahoo mail https://bugs.webkit.org/show_bug.cgi?id=197813 Reviewed by Darin Adler. Add a new layout test to verify that DOM selection is preserved after clicking a button that hides itself upon mousedown. * editing/selection/preserve-selection-when-clicking-button-expected.txt: Added. * editing/selection/preserve-selection-when-clicking-button.html: Added. 2019-05-13 Sihui Liu [ Mojave Debug ] REGRESSION (r242975) Layout Test imported/w3c/IndexedDB-private-browsing/idbobjectstore_createIndex7-event_order.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=195961 Reviewed by Youenn Fablet. r244674 should have fixed this regression. * platform/mac-wk2/TestExpectations: 2019-05-12 Simon Fraser REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html asserts https://bugs.webkit.org/show_bug.cgi?id=197818 Approved by Jon Lee. Skip this test until a fix for bug 197818 lands. * platform/ios-wk2/TestExpectations: 2019-05-12 Simon Fraser When the set of backing-sharing layers changes, we need to issue a repaint https://bugs.webkit.org/show_bug.cgi?id=197825 Reviewed by Zalan Bujtas. * compositing/shared-backing/overflow-scroll/repaint-shared-on-scroll-expected.html: Added. * compositing/shared-backing/overflow-scroll/repaint-shared-on-scroll.html: Added. 2019-05-12 Takashi Komori [Curl] Suppress extra didReceiveAuthenticationChallenge call when accessing a server which checks basic auth. https://bugs.webkit.org/show_bug.cgi?id=197650 Reviewed by Fujii Hironori. * TestExpectations: * http/tests/resources/basic-auth.php: Added. * http/tests/ssl/curl/certificate-and-authentication-expected.txt: Added. * http/tests/ssl/curl/certificate-and-authentication.html: Added. * platform/wincairo-wk1/TestExpectations: * platform/wincairo/TestExpectations: 2019-05-11 Simon Fraser Overflow scroll that becomes non-scrollable should stop being composited https://bugs.webkit.org/show_bug.cgi?id=197817 Reviewed by Antti Koivisto. Put in a compositing/scrolling/async-overflow-scrolling dir so we can enable it only for platforms that have async overflow scrolling. * TestExpectations: * compositing/scrolling/async-overflow-scrolling/become-non-scrollable-expected.txt: Added. * compositing/scrolling/async-overflow-scrolling/become-non-scrollable.html: Added. * platform/ios-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: 2019-05-11 Alexey Proskuryakov Cleaning up results for legacy-animation-engine tests Two tests were fixed in bug 188357. The third one is still broken, and we have bug 184611 tracking it. * platform/mac-wk1/TestExpectations: 2019-05-11 Alexey Proskuryakov Removing flaky expectation for fast/repaint/canvas-object-fit.html https://bugs.webkit.org/show_bug.cgi?id=188910 * platform/mac-wk1/TestExpectations: 2019-05-11 Alexey Proskuryakov Removing flaky expectation for fast/animation/request-animation-frame.html https://bugs.webkit.org/show_bug.cgi?id=190888 * platform/ios-wk2/TestExpectations: 2019-05-11 Simon Fraser Layer bounds are incorrect for sharing layers that paint with transforms https://bugs.webkit.org/show_bug.cgi?id=197768 Reviewed by Zalan Bujtas. Tests for backing-shared layer bounds in various configurations. * compositing/shared-backing/sharing-bounds-clip-expected.txt: Added. * compositing/shared-backing/sharing-bounds-clip.html: Added. * compositing/shared-backing/sharing-bounds-expected.txt: Added. * compositing/shared-backing/sharing-bounds-non-clipping-shared-layer-expected.txt: Added. * compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html: Added. * compositing/shared-backing/sharing-bounds-transformed-sharing-layer-expected.txt: Added. * compositing/shared-backing/sharing-bounds-transformed-sharing-layer.html: Added. * compositing/shared-backing/sharing-bounds.html: Added. 2019-05-11 Simon Fraser Translucent gradient rendering bug due to will-change transform https://bugs.webkit.org/show_bug.cgi?id=197654 Reviewed by Dean Jackson. * compositing/contents-opaque/background-change-to-transparent-expected.txt: Added. * compositing/contents-opaque/background-change-to-transparent.html: Added. 2019-05-11 Simon Fraser When the scroller hosting a shared layer becomes non-scrollable, content disappears https://bugs.webkit.org/show_bug.cgi?id=197766 Reviewed by Zalan Bujtas. * compositing/shared-backing/overflow-scroll/sharing-layer-becomes-non-scrollable-expected.html: Added. * compositing/shared-backing/overflow-scroll/sharing-layer-becomes-non-scrollable.html: Added. 2019-05-11 Simon Fraser Backing-sharing layers with transforms render incorrectly https://bugs.webkit.org/show_bug.cgi?id=197692 Reviewed by Antti Koivisto. Ref tests for effects on sharing layers. The references make "clipping" be stacking context via z-index, which eliminates sharing. * compositing/shared-backing/nested-shared-layers-with-opacity-expected.html: Added. * compositing/shared-backing/nested-shared-layers-with-opacity.html: Added. * compositing/shared-backing/shared-layer-has-blending-expected.html: Added. * compositing/shared-backing/shared-layer-has-blending.html: Added. * compositing/shared-backing/shared-layer-has-filter-expected.html: Added. * compositing/shared-backing/shared-layer-has-filter.html: Added. * compositing/shared-backing/shared-layer-has-opacity-expected.html: Added. * compositing/shared-backing/shared-layer-has-opacity.html: Added. * compositing/shared-backing/shared-layer-has-reflection-expected.html: Added. * compositing/shared-backing/shared-layer-has-reflection.html: Added. * compositing/shared-backing/shared-layer-has-transform-expected.html: Added. * compositing/shared-backing/shared-layer-has-transform.html: Added. * compositing/shared-backing/shared-layer-isolates-blending-expected.html: Added. * compositing/shared-backing/shared-layer-isolates-blending.html: Added. 2019-05-10 Zalan Bujtas [iOS] baidu.com: Synthetic bold renders too far apart, appears doubled. https://bugs.webkit.org/show_bug.cgi?id=197781 Reviewed by Simon Fraser. * fast/text/large-synthetic-bold-with-scale-transform-expected.html: Added. * fast/text/large-synthetic-bold-with-scale-transform.html: Added. 2019-05-10 Simon Fraser ASSERT(isSelfPaintingLayer() || hasSelfPaintingLayerDescendant()) on nytimes.com after r245170 https://bugs.webkit.org/show_bug.cgi?id=197776 Reviewed by Zalan Bujtas. * compositing/shared-backing/overflow-scroll/non-self-painting-layer-should-not-share-expected.txt: Added. * compositing/shared-backing/overflow-scroll/non-self-painting-layer-should-not-share.html: Added. 2019-05-10 Chris Fleizach AX: Crash at WebKit: WebKit::WebSpeechSynthesisClient::speak https://bugs.webkit.org/show_bug.cgi?id=197761 Reviewed by Per Arne Vollan. * fast/speechsynthesis/speech-synthesis-real-client-version-expected.txt: Added. * fast/speechsynthesis/speech-synthesis-real-client-version.html: Added. 2019-05-10 Antti Koivisto Event region generation needs to know about backing-sharing https://bugs.webkit.org/show_bug.cgi?id=197694 Reviewed by Simon Fraser. * platform/ios-wk2/TestExpectations: * pointerevents/ios/touch-action-region-backing-sharing-expected.txt: Added. * pointerevents/ios/touch-action-region-backing-sharing.html: Added. 2019-05-10 Ryan Haddad [iOS Debug] Layout Test webgl/2.0.0/conformance2/attribs/gl-vertexattribipointer.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=197778 Unreviewed test gardening. * platform/ios/TestExpectations: Mark test as slow. 2019-05-09 Simon Fraser Implement backing-sharing in compositing layers, allowing overlap layers to paint into the backing store of another layer https://bugs.webkit.org/show_bug.cgi?id=197561 Reviewed by Antti Koivisto. New tests for backing sharing, and new baselines of tests whose behavior is changed. Scrolling tree tests that would be invalidate by sharing are changed to defeat sharing by adding compositing layers early in stacking order. * TestExpectations: * compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: * compositing/layer-creation/overflow-scroll-overlap-expected.txt: * compositing/layer-creation/overflow-scroll-overlap.html: * compositing/overflow/scrolling-content-clip-to-viewport.html: * compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt: * compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller.html: Added. * compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller-expected.txt: Added. * compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller.html: Added. * compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow-expected.txt: Added. * compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow.html: Copied from LayoutTests/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow.html. * compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness-expected.txt: Added. * compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness.html: Added. * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping-expected.txt: Added. * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping.html: Added. * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt: Added. * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping.html: Added. * compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll.html: Added. * compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content.html: Added. * compositing/shared-backing/overflow-scroll/scrolled-contents-unconstrained-clip-expected.html: Added. * compositing/shared-backing/overflow-scroll/scrolled-contents-unconstrained-clip.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-clipping-expected.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-clipping.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-composited-bounds-expected.txt: Added. * compositing/shared-backing/overflow-scroll/shared-layer-composited-bounds.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-nested-relative-stacking-expected.txt: Added. * compositing/shared-backing/overflow-scroll/shared-layer-nested-relative-stacking.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-repaint-expected.txt: Added. * compositing/shared-backing/overflow-scroll/shared-layer-repaint.html: Added. * compositing/shared-backing/partial-compositing-update-expected.txt: Added. * compositing/shared-backing/partial-compositing-update.html: Added. * compositing/shared-backing/partial-compositing-update2-expected.txt: Added. * compositing/shared-backing/partial-compositing-update2.html: Added. * compositing/shared-backing/remove-sharing-layer-expected.txt: Added. * compositing/shared-backing/remove-sharing-layer.html: Added. * compositing/shared-backing/sharing-cached-clip-rects-expected.txt: Added. * compositing/shared-backing/sharing-cached-clip-rects.html: Added. * platform/ios-wk2/TestExpectations: * platform/ios-wk2/compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt: * platform/ios/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt: * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt: * platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: * platform/mac-wk1/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: * platform/mac-wk2/TestExpectations: * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt: * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt: * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt: * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow.html: * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt: * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow.html: * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow.html: * scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt: * scrollingcoordinator/scrolling-tree/positioned-nodes-complex.html: 2019-05-09 Daniel Bates [iOS] Right command key has wrong value for property code https://bugs.webkit.org/show_bug.cgi?id=193876 Reviewed by Brent Fulgham. Update test result. * fast/events/ios/keydown-keyup-special-keys-in-non-editable-element-expected.txt: 2019-05-09 Daniel Bates [iOS] Numpad comma key has incorrect keyIdentifier property https://bugs.webkit.org/show_bug.cgi?id=197753 Reviewed by Brent Fulgham. Update test results. * fast/events/ios/keydown-keyup-special-keys-in-non-editable-element-expected.txt: * fast/events/ios/keydown-keyup-special-keys-in-non-editable-element.html: 2019-05-08 Zalan Bujtas Do not mix inline and block level boxes. https://bugs.webkit.org/show_bug.cgi?id=197462 Reviewed by Antti Koivisto. * fast/ruby/continuation-and-column-spanner-crash-expected.txt: Added. * fast/ruby/continuation-and-column-spanner-crash.html: Added. 2019-05-09 Ryan Haddad Unreviewed, rebaseline test that is now passing after r245088. * platform/ios-simulator/webgl/2.0.0/conformance/glsl/misc/shaders-with-invariance-expected.txt: 2019-05-09 Daniel Bates [iOS] Unable to commit search on MSN.com, qq.com, or sina.com.cn using enter key (hardware or software keyboard) https://bugs.webkit.org/show_bug.cgi?id=197632 Reviewed by Brent Fulgham. Add tests to ensure we fire input and keypress events in the correct order and that we can submit a
with target = "_blank" using the Return key. * fast/events/ios/fire-input-and-keypress-on-return-key-expected.txt: Added. * fast/events/ios/fire-input-and-keypress-on-return-key.html: Added. * fast/events/ios/submit-form-target-blank-using-return-key-expected.txt: Added. * fast/events/ios/submit-form-target-blank-using-return-key.html: Added. * platform/ios/TestExpectations: Skip the test until we have the UIKit SPI added in . 2019-05-09 Per Arne Vollan [Win10] Some tests are failing only on specific machines https://bugs.webkit.org/show_bug.cgi?id=197509 Unreviewed test gardening. * platform/win/TestExpectations: 2019-05-09 Antoine Quint pointerevents/ios/touch-action-none-in-overflow-scrolling-touch.html is a timeout https://bugs.webkit.org/show_bug.cgi?id=197738 Reviewed by Antti Koivisto. To pass, this test must also disable the legacy "-webkit-overflow-scrolling: touch" behavior. * pointerevents/ios/touch-action-none-in-overflow-scrolling-touch.html: 2019-05-09 Antti Koivisto Elements with "display: inline-block" don't have a touch-action region https://bugs.webkit.org/show_bug.cgi?id=197281 Reviewed by Antoine Quint. * pointerevents/ios/touch-action-region-inline-block-expected.txt: Added. * pointerevents/ios/touch-action-region-inline-block.html: Added. 2019-05-08 Antoine Quint [iOS] Correctly handle overlapping regions for elements with a touch-action property https://bugs.webkit.org/show_bug.cgi?id=194813 Reviewed by Antti Koivisto. Add new tests that check that an element overlapping another element with a "touch-action" property is not affected by the property set on that underlying element. * pointerevents/ios/touch-action-none-overlap-expected.txt: Added. * pointerevents/ios/touch-action-none-overlap.html: Added. * pointerevents/ios/touch-action-pan-x-overlap-expected.txt: Added. * pointerevents/ios/touch-action-pan-x-overlap.html: Added. * pointerevents/ios/touch-action-pan-y-overlap-expected.txt: Added. * pointerevents/ios/touch-action-pan-y-overlap.html: Added. * pointerevents/ios/touch-action-pinch-zoom-overlap-expected.txt: Added. * pointerevents/ios/touch-action-pinch-zoom-overlap.html: Added. 2019-05-08 Chris Dumez [iOS Debug] ASSERTION FAILED: !m_originalNode in WebCore::JSLazyEventListener::checkValidityForEventTarget(WebCore::EventTarget &) https://bugs.webkit.org/show_bug.cgi?id=197696 Reviewed by Simon Fraser. Add layout test coverage. * fast/events/ios/rotation/orientationchange-event-listener-on.body-expected.txt: Added. * fast/events/ios/rotation/orientationchange-event-listener-on.body.html: Added. 2019-05-08 Ryan Haddad Unreviewed, rolling out r245058. Causes crashes under ASan / GuardMalloc Reverted changeset: "Implement backing-sharing in compositing layers, allowing overlap layers to paint into the backing store of another layer" https://bugs.webkit.org/show_bug.cgi?id=197561 https://trac.webkit.org/changeset/245058 2019-05-08 Tim Horton Unreviewed test rebaselines. * platform/ios/editing/deleting/smart-delete-paragraph-003-expected.txt: * platform/ios/editing/pasteboard/smart-paste-paragraph-003-expected.txt: I over-did it with my rebaselines earlier. 2019-05-08 Alicia Boya García [GTK] Unreviewed test gardening https://bugs.webkit.org/show_bug.cgi?id=197717 * platform/gtk/TestExpectations: * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: * platform/gtk/inspector/css/shadow-scoped-style-expected.txt: Removed. * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: 2019-05-08 Tim Horton iOS: Selection is dismissed even if click is preventDefault()'d https://bugs.webkit.org/show_bug.cgi?id=197686 Reviewed by Wenson Hsieh. * editing/selection/ios/clear-selection-after-tapping-on-element-with-no-click-handler-expected.txt: Added. * editing/selection/ios/clear-selection-after-tapping-on-element-with-no-click-handler.html: Added. * editing/selection/ios/persist-selection-after-tapping-on-element-with-click-handler-expected.txt: Added. * editing/selection/ios/persist-selection-after-tapping-on-element-with-click-handler.html: Added. New tests. * platform/ios/editing/deleting/smart-delete-paragraph-003-expected.txt: * platform/ios/editing/pasteboard/smart-paste-paragraph-003-expected.txt: Rebaseline since we changed the timing of editing callbacks by changing where the selection happens. 2019-05-08 Wenson Hsieh [iOS] Add a quirk to synthesize mouse events when modifying the selection https://bugs.webkit.org/show_bug.cgi?id=197683 Reviewed by Tim Horton. Adds a new layout test to enable the site-specific quirk and verify that mouse events are dispatched when changing selection, both via the callout menu and by moving the selection grabber using gestures. * editing/selection/ios/dispatch-mouse-events-when-modifying-selection-quirk-expected.txt: Added. * editing/selection/ios/dispatch-mouse-events-when-modifying-selection-quirk.html: Added. * resources/ui-helper.js: (window.UIHelper.waitForMenuToHide.return.new.Promise): (window.UIHelper.waitForMenuToHide): Introduce a new helper method to wait for the menu to hide (on iOS, this refers to the callout menu). 2019-05-07 Ryan Haddad Unreviewed test gardening for Mojave. * platform/mac-wk2/TestExpectations: Skip two webgl tests that time out very frequently. 2019-05-08 Simon Fraser Implement backing-sharing in compositing layers, allowing overlap layers to paint into the backing store of another layer https://bugs.webkit.org/show_bug.cgi?id=197561 Reviewed by Antti Koivisto. New tests for backing sharing, and new baselines of tests whose behavior is changed. Scrolling tree tests that would be invalidate by sharing are changed to defeat sharing by adding compositing layers early in stacking order. * TestExpectations: * compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: * compositing/layer-creation/overflow-scroll-overlap-expected.txt: * compositing/layer-creation/overflow-scroll-overlap.html: * compositing/overflow/scrolling-content-clip-to-viewport.html: * compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt: * compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller.html: Added. * compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller-expected.txt: Added. * compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller.html: Added. * compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow-expected.txt: Added. * compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow.html: Copied from LayoutTests/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow.html. * compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness-expected.txt: Added. * compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness.html: Added. * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping-expected.txt: Added. * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping.html: Added. * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt: Added. * compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping.html: Added. * compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll.html: Added. * compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content.html: Added. * compositing/shared-backing/overflow-scroll/scrolled-contents-unconstrained-clip-expected.html: Added. * compositing/shared-backing/overflow-scroll/scrolled-contents-unconstrained-clip.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-clipping-expected.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-clipping.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-composited-bounds-expected.txt: Added. * compositing/shared-backing/overflow-scroll/shared-layer-composited-bounds.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-nested-relative-stacking-expected.txt: Added. * compositing/shared-backing/overflow-scroll/shared-layer-nested-relative-stacking.html: Added. * compositing/shared-backing/overflow-scroll/shared-layer-repaint-expected.txt: Added. * compositing/shared-backing/overflow-scroll/shared-layer-repaint.html: Added. * compositing/shared-backing/partial-compositing-update-expected.txt: Added. * compositing/shared-backing/partial-compositing-update.html: Added. * compositing/shared-backing/partial-compositing-update2-expected.txt: Added. * compositing/shared-backing/partial-compositing-update2.html: Added. * compositing/shared-backing/remove-sharing-layer-expected.txt: Added. * compositing/shared-backing/remove-sharing-layer.html: Added. * compositing/shared-backing/sharing-cached-clip-rects-expected.txt: Added. * compositing/shared-backing/sharing-cached-clip-rects.html: Added. * platform/ios-wk2/TestExpectations: * platform/ios-wk2/compositing/shared-backing/overflow-scroll/absolute-in-stacking-relative-in-scroller-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/composited-absolute-in-absolute-in-relative-in-scroller-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/nested-absolute-with-clipping-in-stacking-overflow-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-clipping-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-clipping-in-scroller-in-relative-clipping-expected.txt: Added. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/relative-in-div-in-overflow-scroll-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * platform/ios-wk2/compositing/shared-backing/overflow-scroll/scrolled-contents-has-painted-content-expected.txt: Copied from LayoutTests/platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt: * platform/ios/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt: * platform/ios/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt: * platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: * platform/mac-wk1/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: * platform/mac-wk2/TestExpectations: * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants-expected.txt: * platform/mac/compositing/overflow/clipping-behaviour-change-is-not-propagated-to-descendants2-expected.txt: * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt: * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow.html: * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt: * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow.html: * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow.html: * scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt: * scrollingcoordinator/scrolling-tree/positioned-nodes-complex.html: 2019-05-08 Wenson Hsieh TestRunnerWKWebView's menu callbacks should be cleared upon UI script completion https://bugs.webkit.org/show_bug.cgi?id=197685 Reviewed by Alex Christensen. Adjust a couple of existing layout tests such that they don't rely on didShowMenuCallback and didHideMenuCallback sticking around across UI scripts. Currently, these layout tests do the following: 1. Run a UI script that registers menu callback handlers. 2. Run a subsequent UI script that will cause the callback handlers to be fired (e.g. clicking on an element). After making the change in the test runner to clear menu callbacks upon script completion, callbacks registered in step (1) are now unregistered when step (2) completes. Instead, we can rewrite this test logic so that they're driven by a single UI script. * editing/pasteboard/ios/dom-paste-consecutive-confirmations.html: * editing/pasteboard/ios/dom-paste-requires-user-gesture.html: Instead of using internals.withUserGesture, put the test logic under a click handler (which is inside the scope of a user gesture token), and then use requestAnimationFrame to schedule a second programmatic paste that is outside the scope of user interaction. As opposed to setTimeout, requestAnimationFrame does not propagate the current user gesture token. * editing/pasteboard/ios/resources/dom-paste-helper.js: (return.new.Promise.): (async._waitForOrTriggerPasteMenu): 2019-05-08 Rob Buis Link prefetch not useful for top-level navigation https://bugs.webkit.org/show_bug.cgi?id=195623 Reviewed by Youenn Fablet. Verify that prefetching a cross-domain top-level main resource is cached in the prefetch cache and only loaded once, and that non top-level prefetches keep the old behavior. * http/tests/cache/link-prefetch-main-resource-expected.txt: Added. * http/tests/cache/link-prefetch-main-resource-iframe-expected.txt: Added. * http/tests/cache/link-prefetch-main-resource-iframe.html: Added. * http/tests/cache/link-prefetch-main-resource.html: Added. * http/tests/cache/resources/prefetched-main-resource-iframe.php: Added. * http/tests/cache/resources/prefetched-main-resource.php: Added. * http/tests/contentextensions/prefetch-blocked-expected.txt: Added. * http/tests/contentextensions/prefetch-blocked.html: Added. * http/tests/contentextensions/prefetch-blocked.html.json: Added. * platform/mac-wk1/TestExpectations: * platform/win/TestExpectations: 2019-05-08 Jiewen Tan Unreviewed, a build fix after r245043 * http/wpt/webauthn/public-key-credential-create-success-hid.https.html: * http/wpt/webauthn/public-key-credential-get-success-hid.https.html: 2019-05-07 Jiewen Tan [WebAuthN] A new request should always suppress the pending request if any https://bugs.webkit.org/show_bug.cgi?id=191517 Reviewed by Brent Fulgham. * http/wpt/webauthn/public-key-credential-create-failure.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-failure.https.html: * http/wpt/webauthn/public-key-credential-create-success-hid.https-expected.txt: * http/wpt/webauthn/public-key-credential-create-success-hid.https.html: * http/wpt/webauthn/public-key-credential-get-failure.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-failure.https.html: * http/wpt/webauthn/public-key-credential-get-success-hid.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-success-hid.https.html: * http/wpt/webauthn/resources/new-page.html: Added. 2019-05-07 Youenn Fablet Video stream freeze on front camera orientation changing https://bugs.webkit.org/show_bug.cgi?id=197227 Reviewed by Eric Carlson. * webrtc/video-rotation-expected.txt: * webrtc/video-rotation.html: 2019-05-07 Brent Fulgham Correct JSON parser to address unterminated escape character https://bugs.webkit.org/show_bug.cgi?id=197582 Reviewed by Alex Christensen. * applicationmanifest/display-mode-bad-manifest-expected.txt: * applicationmanifest/display-mode-bad-manifest.html: * applicationmanifest/resources/bad.manifest: Added. * js/resources/JSON-parse.js: Add test case for unterminated escape. * js/dom/JSON-parse-expected.txt: Add new test case. * TestWebKitAPI/Tests/WTF/JSONValue.cpp: Add new false test case for unterminated escape character. 2019-05-07 John Wilander Storage Access API: Make two changes requested by developers and complete refactoring and cleanup https://bugs.webkit.org/show_bug.cgi?id=197648 Reviewed by Chris Dumez. The changed test cases have had calls to WebCore::Internals::setUserGrantsStorageAccess() removed since it was dead code. One of the new tests, deny-with-prompt-does-not-preserve-gesture.html, is marked [ Skip ] for now since we lack the ability to click "Don't allow" in the prompt. I wanted to include the test anyway so that we have it. I have done a manual test to make sure the code does the right thing for this case. * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture-expected.txt: Added. * http/tests/storageAccess/deny-with-prompt-does-not-preserve-gesture.html: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html. * http/tests/storageAccess/deny-without-prompt-preserves-gesture-expected.txt: Added. * http/tests/storageAccess/deny-without-prompt-preserves-gesture.html: Copied from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html. * http/tests/storageAccess/grant-with-prompt-preserves-gesture-expected.txt: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window-expected.txt. * http/tests/storageAccess/grant-with-prompt-preserves-gesture.html: Renamed from LayoutTests/http/tests/storageAccess/request-and-grant-access-cross-origin-non-sandboxed-iframe-pop-window.html. * http/tests/storageAccess/has-storage-access-true-if-feature-off-expected.txt: Added. * http/tests/storageAccess/has-storage-access-true-if-feature-off.html: Added. * http/tests/storageAccess/resources/request-storage-access-and-immediately-postmessage-iframe.html: * http/tests/storageAccess/resources/request-storage-access-iframe-and-pop-window.html: * http/tests/storageAccess/resources/request-storage-access-iframe.html: * http/tests/storageAccess/resources/request-storage-access-without-user-gesture-iframe.html: * http/tests/storageAccess/resources/self-navigating-frame-after-granted-access.html: * platform/mac-wk2/TestExpectations: Added expectations for the new tests. 2019-05-07 Antti Koivisto with overflow:hidden shouldn't be keyboard scrollable on iOS https://bugs.webkit.org/show_bug.cgi?id=197659 Reviewed by Antoine Quint. * fast/scrolling/ios/body-overflow-hidden-keyboard-expected.html: Added. * fast/scrolling/ios/body-overflow-hidden-keyboard.html: Added. 2019-05-07 Ryan Haddad media/W3C/video/events/event_progress.html is flaky. https://bugs.webkit.org/show_bug.cgi?id=175678 Unreviewed test gardening. * platform/ios/TestExpectations: Mark test as flaky. * platform/mac/TestExpectations: Ditto. * platform/wk2/TestExpectations: Remove old WK2-only expectation. 2019-05-07 Chris Dumez fast/dom/frame-src-javascript-url-async.html is flaky https://bugs.webkit.org/show_bug.cgi?id=197664 Unreviewed, tweak test so that it is no longer flaky. * fast/dom/frame-src-javascript-url-async-expected.txt: * fast/dom/frame-src-javascript-url-async.html: 2019-05-07 Ryan Haddad [macOS / iOS Debug] Layout Test imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-getStats.https.html a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197662 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: Mark test as flaky. * platform/mac-wk2/TestExpectations: Ditto. 2019-05-07 Antti Koivisto with overflow:hidden CSS is scrollable on iOS https://bugs.webkit.org/show_bug.cgi?id=153852 Reviewed by Antoine Quint. * fast/scrolling/ios/body-overflow-hidden-expected.html: Added. * fast/scrolling/ios/body-overflow-hidden-frame-expected.html: Added. * fast/scrolling/ios/body-overflow-hidden-frame.html: Added. * fast/scrolling/ios/body-overflow-hidden.html: Added. 2019-05-07 Youenn Fablet Import WPT referrer-policy tests https://bugs.webkit.org/show_bug.cgi?id=197321 Reviewed by Alex Christensen. fix-197321 * TestExpectations: 2019-05-06 Andres Gonzalez Hitpoint for link which spans two lines in web content is incorrect https://bugs.webkit.org/show_bug.cgi?id=197511 Reviewed by Chris Fleizach. - Added LayoutTest. * accessibility/ios-simulator/links-activation-expected.txt: Added. * accessibility/ios-simulator/links-activation.html: Added. * accessibility/links-activation-expected.txt: Added. * accessibility/links-activation.html: Added. 2019-05-06 Youenn Fablet WebAudio Node JS wrappers should not be collected if events can be fired https://bugs.webkit.org/show_bug.cgi?id=197533 Reviewed by Jer Noble. * webaudio/webaudio-gc-expected.txt: Added. * webaudio/webaudio-gc.html: Added. 2019-05-06 Ryan Haddad REGRESSION: Layout test imported/w3c/web-platform-tests/resource-timing/resource-timing-level1.sub.html is frequently failing on EWS https://bugs.webkit.org/show_bug.cgi?id=197473 Unreviewed test gardening. * platform/ios/TestExpectations: Mark test as flaky on iOS. 2019-05-06 Antoine Quint Tests under pointerevents/ios are flaky https://bugs.webkit.org/show_bug.cgi?id=197624 Reviewed by Dean Jackson. Tests under pointerevents/ios generate touches that use UIScriptController may not succeed if ran in multiple iterations or in a specific order due to not ensuring that all touches are released when the test completes. We now ensure that we do when running swipes, taps, and pinches. * pointerevents/ios/pointer-events-dispatch-on-stylus.html: Use the new ui.tapStylus() method to generate a tap with the stylus which ensures all touches are removed upon completion. * pointerevents/ios/pointer-events-dispatch-on-touch.html: Use a tap to ensure all touches are removed upon completion. * pointerevents/ios/pointer-events-implicit-capture-has-pointer-capture-in-pointer-down.html: Use a tap to ensure all touches are removed upon completion. * pointerevents/ios/pointer-events-implicit-capture-release-exception.html: Use a tap to ensure all touches are removed upon completion. * pointerevents/ios/pointer-events-implicit-capture-release.html: Use a tap to ensure all touches are removed upon completion. * pointerevents/ios/pointer-events-prevent-default-allows-click-event.html: Ensure both the "click" event and the tap generation have succeeded before marking the test as complete. * pointerevents/ios/pointer-events-set-pointer-capture-exceptions.html: Use a tap to ensure all touches are removed upon completion. * pointerevents/ios/touch-action-none-link-traversal.html: Ensure both the "load" event and the tap generation have succeeded before marking the test as complete. * pointerevents/ios/touch-action-pan-x-pan-y.html: Remove the requestAnimationFrame() call since ui.swipe() now resolves its promise once all touches have completed. * pointerevents/ios/touch-action-pan-x.html: Remove the requestAnimationFrame() call since ui.swipe() now resolves its promise once all touches have completed. * pointerevents/ios/touch-action-pan-y.html: Remove the requestAnimationFrame() call since ui.swipe() now resolves its promise once all touches have completed. * pointerevents/ios/touch-action-pinch-zoom-allows-zooming.html: Remove the requestAnimationFrame() call since ui.pinchOut() now resolves its promise once all touches have completed. * pointerevents/ios/touch-action-pointercancel-pan-x.html: We don't need to track "pointermove" events since dispatch of "pointercancel" is asynchronous and the number of "pointermove" events prior to its dispatch can legitimately vary. * pointerevents/ios/touch-action-pointercancel-pan-y.html: We don't need to track "pointermove" events since dispatch of "pointercancel" is asynchronous and the number of "pointermove" events prior to its dispatch can legitimately vary. * pointerevents/utils.js: (const.ui.new.UIController.prototype.swipe): Wait until the swipe is complete before resolving the promise. (const.ui.new.UIController.prototype.pinchOut): Use a custom sequence to ensure that the pinch releases touches upon completion. (const.ui.new.UIController.prototype.tapStylus): Introduce this new method to perform a stylus tap which ensures all touches are complete before resolving the promise. (const.ui.new.UIController.prototype.beginTouches): Deleted. (const.ui.new.UIController.prototype.beginStylus): Deleted. 2019-05-06 Truitt Savell Fix typo in https://trac.webkit.org/changeset/244962/webkit https://bugs.webkit.org/show_bug.cgi?id=136627 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-05-06 Truitt Savell mark media/track/track-cue-rendering-vertical.html as failing for Mojave after r244891 unmarked it. https://bugs.webkit.org/show_bug.cgi?id=136627 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-05-04 Tadeu Zagallo TypedArrays should not store properties that are canonical numeric indices https://bugs.webkit.org/show_bug.cgi?id=197228 Reviewed by Saam Barati. * fast/canvas/canvas-ImageData-behaviour-expected.txt: * fast/canvas/canvas-ImageData-behaviour.js: 2019-05-04 Per Arne Vollan [Win10] Some tests are failing only on specific machines https://bugs.webkit.org/show_bug.cgi?id=197509 Unreviewed test gardening. * platform/win/TestExpectations: 2019-05-03 Simon Fraser [macOS] Fix programmatic scrolling with async overflow scroll https://bugs.webkit.org/show_bug.cgi?id=197590 Reviewed by Sam Weinig. Tests for programmatic scrolling of overflow and iframes. * scrollingcoordinator/mac/programmatic-frame-scroll-expected.html: Added. * scrollingcoordinator/mac/programmatic-frame-scroll.html: Added. * scrollingcoordinator/mac/programmatic-overflow-scroll-expected.html: Added. * scrollingcoordinator/mac/programmatic-overflow-scroll.html: Added. 2019-05-03 Jiewen Tan [WebAuthN] A focused document should be required https://bugs.webkit.org/show_bug.cgi?id=197543 Reviewed by Brent Fulgham. * http/wpt/webauthn/public-key-credential-same-origin-with-ancestors.https.html: * http/wpt/webauthn/public-key-credential-unfocused-document.https-expected.txt: Added. * http/wpt/webauthn/public-key-credential-unfocused-document.https.html: Copied from LayoutTests/http/wpt/webauthn/public-key-credential-same-origin-with-ancestors.https.html. * http/wpt/webauthn/resources/last-layer-frame.https.html: * http/wpt/webauthn/resources/second-layer-frame.https.html: 2019-05-03 Youenn Fablet [iOS] set the default maximum camera count to 1 for enumerateDevices https://bugs.webkit.org/show_bug.cgi?id=197566 Reviewed by Eric Carlson. * fast/mediastream/get-user-media-device-id.html: 2019-05-03 Youenn Fablet Cache.add and Cache.addAll should compute a correct response body size https://bugs.webkit.org/show_bug.cgi?id=197464 Reviewed by Chris Dumez. * http/wpt/cache-storage/cache-quota-add.any-expected.txt: Added. * http/wpt/cache-storage/cache-quota-add.any.html: Added. * http/wpt/cache-storage/cache-quota-add.any.js: Added. 2019-05-03 Youenn Fablet LayoutTest imported/w3c/web-platform-tests/xhr/event-upload-progress-crossorigin.htm is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=182849 Reviewed by Alex Christensen. * platform/mac-wk2/TestExpectations: 2019-05-03 Devin Rousso Web Inspector: Record actions performed on WebGL2RenderingContext https://bugs.webkit.org/show_bug.cgi?id=176008 Reviewed by Joseph Pecoraro. * inspector/canvas/recording-webgl2.html: Added. * inspector/canvas/recording-webgl2-expected.txt: Added. * inspector/canvas/recording-webgl2-snapshots.html: Added. * inspector/canvas/recording-webgl2-snapshots-expected.txt: Added. * TestExpectations: * platform/gtk/TestExpectations: * platform/mac/TestExpectations: * platform/win/TestExpectations: * platform/wincairo/TestExpectations: 2019-05-02 Ryosuke Niwa Make focusing-element-with-tabindex-by-tap-or-click.html more robust on iOS https://bugs.webkit.org/show_bug.cgi?id=197548 Reviewed by Wenson Hsieh. There was a race between the time the editable element was focused and the keyboard was brought up to when the next non-editable element was focused. Made the test explicitly wait for the keyboard to come up and go down between test cases to make it more robust. * fast/events/focusing-element-with-tabindex-by-tap-or-click.html: 2019-05-02 Chris Dumez Add test coverage for https://bugs.webkit.org/show_bug.cgi?id=196730 Reviewed by Ryosuke Niwa. * http/tests/security/showModalDialog-sync-cross-origin-page-load-expected.txt: Added. * http/tests/security/showModalDialog-sync-cross-origin-page-load.html: Added. 2019-05-02 Chris Dumez Setting a frame's src to a javascript URL should not run it synchronously https://bugs.webkit.org/show_bug.cgi?id=197466 Reviewed by Darin Adler. * fast/dom/frame-src-javascript-url-async-expected.txt: Added. * fast/dom/frame-src-javascript-url-async.html: Added. Add layout test coverage for the fact that the javascript URL is executed asynchronously whether set during parsing or later via JS. Also makes sure that executing the javascript URL asynchronously does not replace the frame's window. This test passes in both Chrome and Firefox. * imported/blink/fast/frames/navigation-in-pagehide.html: Re-sync this test from the Blink repository. * fast/dom/Element/id-in-frameset-expected.txt: * fast/dom/Element/id-in-frameset.html: * fast/dom/insertedIntoDocument-iframe-expected.txt: * fast/dom/javascript-url-exception-isolation-expected.txt: * fast/dom/javascript-url-exception-isolation.html: * fast/dom/no-assert-for-malformed-js-url-attribute-expected.txt: * fast/dom/resources/javascript-url-crash-function-iframe.html: * fast/frames/adopt-from-created-document.html: * fast/frames/out-of-document-iframe-has-child-frame.html: * fast/loader/javascript-url-iframe-remove-on-navigate-async-delegate.html: * fast/loader/javascript-url-iframe-remove-on-navigate.html: * fast/loader/unload-mutation-crash.html: * fast/parser/resources/set-parent-to-javascript-url.html: * fast/parser/xml-error-adopted.xml: * http/tests/navigation/lockedhistory-iframe-expected.txt: * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: * http/tests/security/contentSecurityPolicy/javascript-url-allowed-expected.txt: * http/tests/security/contentSecurityPolicy/javascript-url-blocked-by-default-src-star-expected.txt: * http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt: * http/tests/security/javascriptURL/xss-ALLOWED-from-javascript-url-sub-frame-2-level.html: * http/tests/security/javascriptURL/xss-ALLOWED-from-javascript-url-sub-frame.html: * http/tests/security/javascriptURL/xss-ALLOWED-to-javascript-url-from-javscript-url.html: * imported/blink/loader/iframe-sync-loads-expected.txt: * js/dom/call-base-resolution.html: * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Update / Rebaseline existing tests to reflect behavior change. I ran those tests in Firefox and Chrome to confirm that our behavior is indeed aligned. 2019-05-02 Gary Katsevman WebVTT: vertical cue text alignment is the wrong way around https://bugs.webkit.org/show_bug.cgi?id=136627 Reviewed by Eric Carlson. * platform/ios/media/track/track-cue-rendering-vertical-expected.txt: * platform/mac/TestExpectations: Unskipped test. * platform/mac/media/track/track-cue-rendering-vertical-expected.png: Removed. * platform/mac/media/track/track-cue-rendering-vertical-expected.txt: 2019-05-02 Truitt Savell [ Sierra Release WK2 ] Layout Test fast/workers/worker-cloneport.html is flaky https://bugs.webkit.org/show_bug.cgi?id=191644 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Remove expectation. 2019-05-02 Miguel Gomez Unreviewed GTK+ gardening after r244868. * platform/gtk/TestExpectations: 2019-05-02 Per Arne Vollan [Win10] Some tests are failing only on specific machines https://bugs.webkit.org/show_bug.cgi?id=197509 Unreviewed test gardening. * platform/win/TestExpectations: 2019-05-01 Devin Rousso Unreviewed, fix test failures after r242992. * inspector/console/console-screenshot.html: * inspector/console/console-screenshot-expected.txt: Don't print the dataURL in the expectation file. 2019-05-01 Jiewen Tan [WebAuthN] Adopt SecurityOrigin::isMatchingRegistrableDomainSuffix() https://bugs.webkit.org/show_bug.cgi?id=197481 Reviewed by Brent Fulgham. * http/wpt/webauthn/public-key-credential-create-failure.https.html: * http/wpt/webauthn/public-key-credential-get-failure.https.html: * http/wpt/webauthn/public-key-credential-ip-address-expected.txt: Added. * http/wpt/webauthn/public-key-credential-ip-address.html: Added. * http/wpt/webauthn/resources/public-key-credential-ip-address.https.html: Added. 2019-05-01 Devin Rousso Unreviewed, fix test failures after r242809. * inspector/canvas/recording-html-2d.html: * inspector/canvas/recording-html-2d-expected.txt: Don't print the dataURL in the expectation file. 2019-05-01 Justin Fan Update WebGPU class names based on sketch.idl https://bugs.webkit.org/show_bug.cgi?id=194260 Reviewed by Dean Jackson. Update all exposed Web GPU interface names to GPU* prefix. * webgpu/adapter-options.html: * webgpu/bind-groups-expected.txt: * webgpu/bind-groups.html: * webgpu/buffer-resource-triangles.html: * webgpu/js/webgpu-functions.js: (beginBasicRenderPass): * webgpu/map-read-buffers.html: * webgpu/map-write-buffers.html: * webgpu/pipeline-layouts-expected.txt: * webgpu/pipeline-layouts.html: * webgpu/queue-creation-expected.txt: * webgpu/queue-creation.html: * webgpu/render-command-encoding-expected.txt: * webgpu/render-command-encoding.html: * webgpu/render-pipelines-expected.txt: * webgpu/render-pipelines.html: * webgpu/textures-textureviews.html: * webgpu/webgpu-enabled.html: 2019-05-01 Zalan Bujtas [iOS] Unreviewed test gardening. * platform/ios-wk2/fast/block/margin-collapse/103-expected.txt: * platform/ios/compositing/overflow/theme-affects-visual-overflow-expected.txt: * platform/ios/fast/block/margin-collapse/103-expected.txt: * platform/ios/fast/parser/bad-xml-slash-expected.txt: * platform/ios/tables/mozilla/bugs/bug4527-expected.txt: 2019-05-01 Wenson Hsieh REGRESSION(r244494): editing/pasteboard/5761530-1.html is flaky due to a simple line layout bug https://bugs.webkit.org/show_bug.cgi?id=197438 Reviewed by Zalan Bujtas. Work around the simple line layout bug in the flaky layout test by disabling simple line layout. * editing/pasteboard/5761530-1.html: 2019-05-01 Ryosuke Niwa [iOS] Element::focus and Element::scrollIntoView do not clamp scroll positions https://bugs.webkit.org/show_bug.cgi?id=197211 Reviewed by Simon Fraser. Added tests for scrolling via Element.prototype.focus and Element.prototype.scrollIntoView. * fast/scrolling/ios/programmatic-scroll-via-focus-should-clamp-top-expected.txt: Added. * fast/scrolling/ios/programmatic-scroll-via-focus-should-clamp-top.html: Added. * fast/scrolling/ios/programmatic-scroll-via-scrollIntoView-inside-iframe-should-clamp-top-expected.txt: Added. * fast/scrolling/ios/programmatic-scroll-via-scrollIntoView-inside-iframe-should-clamp-top.html: Added. * fast/scrolling/ios/programmatic-scroll-via-scrollIntoView-should-clamp-top-expected.txt: Added. * fast/scrolling/ios/programmatic-scroll-via-scrollIntoView-should-clamp-top.html: Added. * platform/ios-wk2/fast/dom/focus-contenteditable-expected.txt: Rebaselined the output now that the scroll position is properly clamped. * platform/ios-wk2/imported/w3c/web-platform-tests/css/cssom-view/elementFromPoint-expected.txt: Rebaselined as one more test case is passing. 2019-05-01 Wenson Hsieh [iOS] Add a version of viewport shrink-to-fit heuristics that preserves page layout https://bugs.webkit.org/show_bug.cgi?id=197342 Reviewed by Tim Horton. Introduces new layout tests, and adjusts some existing tests. See comments below. * fast/viewport/ios/shrink-to-fit-content-constant-width-expected.txt: Added. * fast/viewport/ios/shrink-to-fit-content-constant-width.html: Added. Add a new layout test to exercise the scenario where a constant width viewport narrower than the view is used. * fast/viewport/ios/shrink-to-fit-content-large-width-breakpoint-expected.txt: Added. * fast/viewport/ios/shrink-to-fit-content-large-width-breakpoint.html: Added. Add a new layout test to exercise the scenario where a responsive website that lays out larger than the view width ends up with even more horizontal scrolling when laying out at the initial content width. In this scenario, we shouldn't try to expand the viewport to try and encompass the content width, since that would only induce even worse horizontal scrolling. * fast/viewport/ios/shrink-to-fit-content-no-viewport-expected.txt: Added. * fast/viewport/ios/shrink-to-fit-content-no-viewport.html: Added. Add a new layout test for the case where there is no viewport, but content lays out wider than the view. * fast/viewport/ios/shrink-to-fit-content-responsive-viewport-with-horizontal-overflow-expected.txt: Added. * fast/viewport/ios/shrink-to-fit-content-responsive-viewport-with-horizontal-overflow.html: Added. Add a new layout test for the case where the page has opted for a responsive viewport (device-width, initial scale 1), but has laid out wider than the viewport anyways. In this case, we want to shrink the contents down to fit inside the view. * fast/viewport/ios/shrink-to-fit-content-temporary-overflow-expected.txt: Added. * fast/viewport/ios/shrink-to-fit-content-temporary-overflow.html: Added. Add a new layout test to exercise the case where, during page load, content width temporarily increases, and then decreases such that it once again fits within the viewport. In this case, we don't want to expand the viewport to be as wide as the large temporary width of the page. * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt: * fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden.html: * fast/viewport/ios/width-is-device-width-overflowing-expected.txt: * fast/viewport/ios/width-is-device-width-overflowing.html: Tweak these 2 existing layout tests to include "shrink-to-fit=no", to prevent the new heuristics from shrinking the page to fit on device classes that use native viewports by default. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt: * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-expected.txt: 2019-05-01 Zalan Bujtas [iOS] Star rating is covered with a black circle when writing a review on Yelp https://bugs.webkit.org/show_bug.cgi?id=197469 Reviewed by Dean Jackson. * fast/forms/radio-and-checkbox-checked-with-no-appearance-expected.html: Added. * fast/forms/radio-and-checkbox-checked-with-no-appearance.html: Added. 2019-05-01 Ryan Haddad REGRESSION: Layout test imported/w3c/web-platform-tests/resource-timing/resource-timing-level1.sub.html is frequently failing on Mac-ews https://bugs.webkit.org/show_bug.cgi?id=197473 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-05-01 Truitt Savell Win10 failing or flakey tests need to be given expectations to allow for new EWS https://bugs.webkit.org/show_bug.cgi?id=197471 Unreviewed test Gardening * platform/win/TestExpectations: 2019-05-01 Darin Adler WebKit has too much of its own UTF-8 code and should rely more on ICU's UTF-8 support https://bugs.webkit.org/show_bug.cgi?id=195535 Reviewed by Alexey Proskuryakov. * css3/escape-dom-api-expected.txt: * fast/text/dangling-surrogates-expected.txt: * js/dom/webidl-type-mapping-expected.txt: * js/invalid-utf8-in-syntax-error-expected.txt: Updated expected results to have the Unicode replacement character in cases where the text contains unpaired surrogates. The tests are still doing the same operations, and still getting the same results, but the text output no longer includes illegal UTF-8. * js/invalid-utf8-in-syntax-error.html: Added. Before adding this, the test was run, but unlike the rest of the tests in this directory, was only run as part of run-javascriptcore-tests. There are two reasons for adding this. One is to be consistent with the rest of the tests here and run a second time as part of the broader WebKit tests. The second is that we can now use "--reset-results" to generate new expected results, something that run-webkit-tests has but run-javascriptcore-tests does not have. 2019-05-01 Shawn Roberts Unreviewed, rolling out r244821. Causing 4 Test262 failures on JSC Release and Debug Reverted changeset: "WebKit has too much of its own UTF-8 code and should rely more on ICU's UTF-8 support" https://bugs.webkit.org/show_bug.cgi?id=195535 https://trac.webkit.org/changeset/244821 2019-05-01 Youenn Fablet Reject/throw when calling AudioContext methods on a stopped AudioContext https://bugs.webkit.org/show_bug.cgi?id=197391 Reviewed by Eric Carlson. * http/wpt/webaudio/audiocontext-stopped-expected.txt: Added. * http/wpt/webaudio/audiocontext-stopped.html: Added. * http/wpt/webaudio/resources/audiocontext-stopped-iframe.html: Added. * platform/win/TestExpectations: Skip test for win. 2019-05-01 Youenn Fablet Enable Fetch Keep Alive by default https://bugs.webkit.org/show_bug.cgi?id=197331 Reviewed by Alex Christensen. * platform/mac-wk1/imported/w3c/web-platform-tests/fetch/api/basic/keepalive-expected.txt: Added. 2019-05-01 Eric Carlson XMLHttpRequest should propagate user gestures for media playback https://bugs.webkit.org/show_bug.cgi?id=197428 Reviewed by Jer Noble. * fast/events/popup-blocking-timers5-expected.txt: * fast/events/popup-blocking-timers5.html: Decrease the timer interval from 1000 to 900 because the user gesture is invalidated based on wall clock time. * fast/events/popup-blocking-timers6-expected.txt: * fast/events/popup-blocking-timers6.html: Increase the timer interval from 1001 to 1100 because the user gesture is invalidated based on wall clock time. * http/tests/media/user-gesture-preserved-across-xmlhttprequest-expected.txt: Added. * http/tests/media/user-gesture-preserved-across-xmlhttprequest.html: Added. 2019-04-29 Darin Adler WebKit has too much of its own UTF-8 code and should rely more on ICU's UTF-8 support https://bugs.webkit.org/show_bug.cgi?id=195535 Reviewed by Alexey Proskuryakov. * css3/escape-dom-api-expected.txt: * fast/text/dangling-surrogates-expected.txt: * js/dom/webidl-type-mapping-expected.txt: * js/invalid-utf8-in-syntax-error-expected.txt: Updated expected results to have the Unicode replacement character in cases where the text contains unpaired surrogates. The tests are still doing the same operations, and still getting the same results, but the text output no longer includes illegal UTF-8 because the WTF changes affect the code path that DumpRenderTree and WebKitTestRunner use to produce the text output. * js/invalid-utf8-in-syntax-error.html: Added. Before adding this, the test was run, but unlike the rest of the tests in this directory, was only run as part of run-javascriptcore-tests. There are two reasons for adding this. One is to be consistent with the rest of the tests here and run a second time as part of the broader WebKit tests. The second is that we can now use "--reset-results" to generate new expected results, something that run-webkit-tests has but run-javascriptcore-tests does not have. 2019-04-30 Myles C. Maxfield font-weight: 1000 is not parsed successfully https://bugs.webkit.org/show_bug.cgi?id=197427 Reviewed by Dean Jackson. * platform/win/TestExpectations: Windows disables variation fonts, so requires values to be divisible by 100 * fast/text/font-weight-1-1000-expected.txt: Added. * fast/text/font-weight-1-1000.html: Added. 2019-04-30 Commit Queue Unreviewed, rolling out r244806. https://bugs.webkit.org/show_bug.cgi?id=197446 Causing Test262 and JSC test failures on multiple builds (Requested by ShawnRoberts on #webkit). Reverted changeset: "TypeArrays should not store properties that are canonical numeric indices" https://bugs.webkit.org/show_bug.cgi?id=197228 https://trac.webkit.org/changeset/244806 2019-04-30 Youenn Fablet [macOS WK1] ASSERTION FAILED: formData in WebCore::ResourceRequest::doUpdateResourceHTTPBody() https://bugs.webkit.org/show_bug.cgi?id=196864 Reviewed by Alex Christensen. * platform/mac-wk1/TestExpectations: 2019-04-30 Shawn Roberts imported/w3c/web-platform-tests/xhr/event-upload-progress-crossorigin.htm is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=182849 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating expectations for flaky failure on iOS 2019-04-30 Tadeu Zagallo TypeArrays should not store properties that are canonical numeric indices https://bugs.webkit.org/show_bug.cgi?id=197228 Reviewed by Darin Adler. * fast/canvas/canvas-ImageData-behaviour-expected.txt: * fast/canvas/canvas-ImageData-behaviour.js: 2019-04-30 Commit Queue Unreviewed, rolling out r244774. https://bugs.webkit.org/show_bug.cgi?id=197431 Causing assertion failures on debug queues (Requested by ShawnRoberts on #webkit). Reverted changeset: "Reject/throw when calling AudioContext methods on a stopped AudioContext" https://bugs.webkit.org/show_bug.cgi?id=197391 https://trac.webkit.org/changeset/244774 2019-04-30 Alex Christensen Add WKContentRuleList ping resource-type https://bugs.webkit.org/show_bug.cgi?id=197325 Reviewed by Geoff Garen. * http/tests/contentextensions/block-ping-resource-type-raw--expected.txt: Copied from LayoutTests/http/tests/contentextensions/block-ping-expected.txt. * http/tests/contentextensions/block-ping-resource-type-raw.html: Copied from LayoutTests/http/tests/contentextensions/block-ping.html. * http/tests/contentextensions/block-ping-resource-type-raw.html.json: Copied from LayoutTests/http/tests/contentextensions/block-ping.html.json. * http/tests/contentextensions/block-ping-resource-type-ping-expected.txt: Copied from LayoutTests/http/tests/contentextensions/block-ping-expected.txt. * http/tests/contentextensions/block-ping-resource-type-ping.html: Copied from LayoutTests/http/tests/contentextensions/block-ping.html. * http/tests/contentextensions/block-ping-resource-type-ping.html.json: Copied from LayoutTests/http/tests/contentextensions/block-ping.html.json. 2019-04-30 Shawn Roberts Fixing typo in https://trac.webkit.org/changeset/244780/webkit. Unreviewed test gardening. * platform/mac/TestExpectations: 2019-04-30 Shawn Roberts scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197425 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating expectations for flaky failure 2019-04-30 Shawn Roberts animations/play-state-in-shorthand.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=192501 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating expectations for flaky failure * platform/mac/TestExpectations: Ditto 2019-04-30 Justin Fan [WebGPU] Move 'gpu' API entry point from DOMWindow to Navigator https://bugs.webkit.org/show_bug.cgi?id=197348 Reviewed by Myles C. Maxfield. WebGPU is now accessed through navigator.gpu instead of window.gpu. Add webgpu-enabled-in-worker to ensure workers can access WebGPU. * webgpu/adapter-options.html: * webgpu/js/create-worker-device.js: Added. (async.tryCreateDevice): * webgpu/js/webgpu-functions.js: (async.getBasicDevice): * webgpu/queue-creation.html: * webgpu/webgpu-enabled-in-worker-expected.txt: Added. * webgpu/webgpu-enabled-in-worker.html: Added. * webgpu/webgpu-enabled.html: * webgpu/whlsl.html: Add navigator.gpu to expectations for navigator-detached-no-crash. * fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-highsierra/fast/dom/navigator-detached-no-crash-expected.txt: * platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt: 2019-04-30 Youenn Fablet Update WPT service-worker resource-timing test to use hosts[alt] https://bugs.webkit.org/show_bug.cgi?id=197329 Reviewed by Chris Dumez. * TestExpectations: 2019-04-30 Zalan Bujtas Double-tapping a post to like doesn't work on Instagram.com (needs 'dblclick' event) https://bugs.webkit.org/show_bug.cgi?id=197347 Reviewed by Wenson Hsieh. * fast/events/touch/ios/double-tap-for-double-click1-expected.txt: Added. * fast/events/touch/ios/double-tap-for-double-click1.html: Added. * fast/events/touch/ios/double-tap-for-double-click2-expected.txt: Added. * fast/events/touch/ios/double-tap-for-double-click2.html: Added. 2019-04-30 Youenn Fablet Reject/throw when calling AudioContext methods on a stopped AudioContext https://bugs.webkit.org/show_bug.cgi?id=197391 Reviewed by Eric Carlson. * http/wpt/webaudio/audiocontext-stopped-expected.txt: Added. * http/wpt/webaudio/audiocontext-stopped.html: Added. * http/wpt/webaudio/resources/audiocontext-stopped-iframe.html: Added. * platform/win/TestExpectations: Skip test for win. 2019-04-30 Carlos Garcia Campos [GTK] Support prefers-color-scheme media query https://bugs.webkit.org/show_bug.cgi?id=196685 Reviewed by Michael Catanzaro. Unskip css-dark-mode tests and add platform specific results for some of the tests using the supported color scheme feature. * platform/gtk/TestExpectations: * platform/gtk/css-dark-mode/color-scheme-css-expected.txt: Added. * platform/gtk/css-dark-mode/color-scheme-meta-expected.txt: Added. * platform/gtk/css-dark-mode/default-colors-expected.txt: Added. * platform/gtk/css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt: Added. * platform/gtk/css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt: Added. * platform/gtk/css-dark-mode/prefers-color-scheme-expected.txt: Added. 2019-04-30 Carlos Garcia Campos Unreviewed GTK gardening. Rebaseline tests after r244635. * platform/gtk/css3/selectors3/html/css3-modsel-24-expected.png: * platform/gtk/css3/selectors3/html/css3-modsel-24-expected.txt: * platform/gtk/css3/selectors3/html/css3-modsel-68-expected.png: * platform/gtk/css3/selectors3/html/css3-modsel-68-expected.txt: * platform/gtk/css3/selectors3/xhtml/css3-modsel-24-expected.png: * platform/gtk/css3/selectors3/xhtml/css3-modsel-24-expected.txt: * platform/gtk/css3/selectors3/xhtml/css3-modsel-68-expected.png: * platform/gtk/css3/selectors3/xhtml/css3-modsel-68-expected.txt: * platform/gtk/css3/selectors3/xml/css3-modsel-24-expected.png: * platform/gtk/css3/selectors3/xml/css3-modsel-24-expected.txt: * platform/gtk/css3/selectors3/xml/css3-modsel-68-expected.png: * platform/gtk/css3/selectors3/xml/css3-modsel-68-expected.txt: * platform/gtk/fast/forms/basic-inputs-expected.png: * platform/gtk/fast/forms/basic-inputs-expected.txt: * platform/gtk/fast/forms/basic-textareas-expected.png: * platform/gtk/fast/forms/basic-textareas-expected.txt: * platform/gtk/fast/forms/basic-textareas-quirks-expected.png: * platform/gtk/fast/forms/basic-textareas-quirks-expected.txt: * platform/gtk/fast/forms/disabled-select-change-index-expected.png: * platform/gtk/fast/forms/disabled-select-change-index-expected.txt: * platform/gtk/fast/forms/file/file-input-disabled-expected.png: * platform/gtk/fast/forms/file/file-input-disabled-expected.txt: * platform/gtk/fast/forms/input-appearance-disabled-expected.png: * platform/gtk/fast/forms/input-appearance-disabled-expected.txt: * platform/gtk/fast/forms/input-disabled-color-expected.png: * platform/gtk/fast/forms/input-disabled-color-expected.txt: * platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt: * platform/gtk/fast/forms/textarea-placeholder-pseudo-style-expected.txt: 2019-04-29 Truitt Savell Unreviewed, rolling out r244755. Casued several test failures on iOS Reverted changeset: "Double-tapping a post to like doesn't work on Instagram.com (needs 'dblclick' event)" https://bugs.webkit.org/show_bug.cgi?id=197347 https://trac.webkit.org/changeset/244755 2019-04-29 Zalan Bujtas Double-tapping a post to like doesn't work on Instagram.com (needs 'dblclick' event) https://bugs.webkit.org/show_bug.cgi?id=197347 Reviewed by Wenson Hsieh. * fast/events/touch/ios/double-tap-for-double-click1-expected.txt: Added. * fast/events/touch/ios/double-tap-for-double-click1.html: Added. * fast/events/touch/ios/double-tap-for-double-click2-expected.txt: Added. * fast/events/touch/ios/double-tap-for-double-click2.html: Added. 2019-04-30 Simon Fraser Transform is sometimes left in a bad state after an animation https://bugs.webkit.org/show_bug.cgi?id=197401 rdar://problem/48179186 Reviewed by Dean Jackson. Share code between all the overlap tests that work by creating dot matrices, and strip out the transforms from the layer tree dumps, because they can vary with timing in these tests. * compositing/animation/transform-after-animation-expected.html: Added. * compositing/animation/transform-after-animation.html: Added. * compositing/backing/backing-store-attachment-empty-keyframe-expected.txt: * compositing/layer-creation/animation-overlap-with-children.html: * compositing/layer-creation/mismatched-rotated-transform-animation-overlap-expected.txt: * compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html: * compositing/layer-creation/mismatched-rotated-transform-transition-overlap.html: * compositing/layer-creation/mismatched-transform-transition-overlap.html: * compositing/layer-creation/multiple-keyframes-animation-overlap-expected.txt: * compositing/layer-creation/multiple-keyframes-animation-overlap.html: * compositing/layer-creation/resources/compositing-overlap-utils.js: Added. (makeDots): (layerTreeWithoutTransforms): (dumpLayers): * compositing/layer-creation/scale-rotation-animation-overlap-expected.txt: * compositing/layer-creation/scale-rotation-animation-overlap.html: * compositing/layer-creation/scale-rotation-transition-overlap.html: * compositing/layer-creation/translate-animation-overlap-expected.txt: * compositing/layer-creation/translate-animation-overlap.html: * compositing/layer-creation/translate-scale-animation-overlap-expected.txt: * compositing/layer-creation/translate-scale-animation-overlap.html: * compositing/layer-creation/translate-scale-transition-overlap.html: * compositing/layer-creation/translate-transition-overlap.html: * legacy-animation-engine/compositing/backing/backing-store-attachment-empty-keyframe-expected.txt: * legacy-animation-engine/compositing/backing/backing-store-attachment-empty-keyframe.html: * legacy-animation-engine/compositing/backing/transform-transition-from-outside-view-expected.txt: * legacy-animation-engine/compositing/layer-creation/animation-overlap-with-children.html: * legacy-animation-engine/compositing/layer-creation/mismatched-rotated-transform-animation-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/mismatched-rotated-transform-animation-overlap.html: * legacy-animation-engine/compositing/layer-creation/mismatched-rotated-transform-transition-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/mismatched-rotated-transform-transition-overlap.html: * legacy-animation-engine/compositing/layer-creation/mismatched-transform-transition-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/mismatched-transform-transition-overlap.html: * legacy-animation-engine/compositing/layer-creation/multiple-keyframes-animation-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/multiple-keyframes-animation-overlap.html: * legacy-animation-engine/compositing/layer-creation/scale-rotation-animation-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/scale-rotation-animation-overlap.html: * legacy-animation-engine/compositing/layer-creation/scale-rotation-transition-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/scale-rotation-transition-overlap.html: * legacy-animation-engine/compositing/layer-creation/translate-animation-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/translate-animation-overlap.html: * legacy-animation-engine/compositing/layer-creation/translate-scale-animation-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/translate-scale-animation-overlap.html: * legacy-animation-engine/compositing/layer-creation/translate-scale-transition-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/translate-scale-transition-overlap.html: * legacy-animation-engine/compositing/layer-creation/translate-transition-overlap-expected.txt: * legacy-animation-engine/compositing/layer-creation/translate-transition-overlap.html: * platform/ios/compositing/layer-creation/scale-rotation-animation-overlap-expected.txt: 2019-04-29 Javier Fernandez line should not be broken before the first space after a word https://bugs.webkit.org/show_bug.cgi?id=197278 Reviewed by Myles C. Maxfield. Added a few Skip (due to unimplemented features) and Failure (break-all related issues) entries for some of the tests added by this patch. * TestExpectations: 2019-04-29 Youenn Fablet getDisplayMedia should be called on user gesture https://bugs.webkit.org/show_bug.cgi?id=197356 Reviewed by Eric Carlson. * fast/mediastream/media-stream-page-muted.html: * fast/mediastream/screencapture-user-gesture-expected.txt: Added. * fast/mediastream/screencapture-user-gesture.html: Added. * http/tests/media/media-stream/get-display-media-iframe-allow-attribute-expected.txt: * http/tests/media/media-stream/get-display-media-iframe-allow-attribute.html: * http/tests/media/media-stream/get-display-media-prompt.html: * http/tests/media/media-stream/resources/get-display-media-devices-iframe.html: * resources/testharnessreport.js: 2019-04-29 Simon Fraser REGRESSION (r238090): animation on https://www.robotodyssey.online gets stuck; site broken https://bugs.webkit.org/show_bug.cgi?id=197381 Reviewed by Zalan Bujtas. * compositing/style-change/clip-path-change-expected.html: Added. * compositing/style-change/clip-path-change.html: Added. 2019-04-29 Youenn Fablet RTCTrackEvent should be delayed until the whole remote description is set https://bugs.webkit.org/show_bug.cgi?id=196808 Reviewed by Eric Carlson. * webrtc/video-addTrack.html: 2019-04-29 Javier Fernandez Update the CSS Text WPT test suite https://bugs.webkit.org/show_bug.cgi?id=197326 Unreviewed test gardening. * TestExpectations: - The break-spaces-008.html fails due to bug 197277 2019-04-26 Youenn Fablet Use normal loading path for ping loads https://bugs.webkit.org/show_bug.cgi?id=196807 Reviewed by Alex Christensen. * TestExpectations: * http/tests/blink/sendbeacon/beacon-cross-origin.https-expected.txt: * http/tests/blink/sendbeacon/connect-src-beacon-allowed.html: * http/tests/security/contentSecurityPolicy/connect-src-beacon-allowed.html: * http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked-expected.txt: * http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked.php: * http/tests/security/contentSecurityPolicy/user-style-sheet-font-crasher-expected.txt: * http/wpt/beacon/beacon-async-error-logging-expected.txt: * http/wpt/beacon/beacon-async-error-logging.html: * http/wpt/beacon/connect-src-beacon-redirect-blocked.sub-expected.txt: * http/wpt/beacon/contentextensions/beacon-redirect-blocked-expected.txt: * http/wpt/beacon/resources/beacon-preflight.py: (respondToCORSPreflight): (main): * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt: 2019-04-26 Youenn Fablet Mark some cache-storage as slow on iOS-simulator https://bugs.webkit.org/show_bug.cgi?id=197316 Unreviewed. * platform/ios-simulator-wk2/TestExpectations: 2019-04-26 Shawn Roberts Removing test expectation changes for tests no longer timing out https://bugs.webkit.org/show_bug.cgi?id=195719 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2019-04-26 Said Abou-Hallawa propertyRegistry() was not overridden for SVGFEFloodElement and SVGFEMergeElement https://bugs.webkit.org/show_bug.cgi?id=197303 Reviewed by Alex Christensen. * svg/dom/SVGFEFloodElement-filter-standard-attributes-expected.svg: Added. * svg/dom/SVGFEFloodElement-filter-standard-attributes.svg: Added. 2019-04-26 Youenn Fablet [Mac WK2 iOS Sim] Layout Test imported/w3c/web-platform-tests/webrtc/RTCRtpReceiver-getSynchronizationSources.https.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196633 Reviewed by Alex Christensen. * platform/mac-wk2/TestExpectations: 2019-04-26 Per Arne Vollan Layout Test fast/harness/render-tree-as-text-options.html is failing https://bugs.webkit.org/show_bug.cgi?id=197310 Unreviewed test gardening. * platform/win/TestExpectations: 2019-04-26 Takashi Komori [Curl] Fix Curl Request Scheduler not to release wrong Curl handle when request is cancelled. https://bugs.webkit.org/show_bug.cgi?id=191650 Reviewed by Fujii Hironori. * http/tests/misc/repeat-open-cancel-expected.txt: Added. * http/tests/misc/repeat-open-cancel.html: Added. 2019-04-25 Myles C. Maxfield [iOS] Implement idempotent mode for text autosizing https://bugs.webkit.org/show_bug.cgi?id=197250 Reviewed by Jon Lee. Add two simple tests that make sure that fonts get autosized > 1x when the layout viewport is wide, and that fonts don't get autosized when the layout viewport isn't wide. We don't want to add tons of tests to test exact values because the curve will likely be tweaked in the future. * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-expected.txt: Added. * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-identity-expected.txt: Added. * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing-identity.html: Added. * fast/text-autosizing/ios/idempotentmode/idempotent-autosizing.html: Added. 2019-04-25 Sihui Liu [ iOS Sim ] REGRESSION (r242986) Layout Test storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196357 Reviewed by Geoffrey Garen. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: * platform/mac/TestExpectations: 2019-04-25 Shawn Roberts fast/harness/render-tree-as-text-options.html Rebaselined test for windows https://bugs.webkit.org/show_bug.cgi?id=197290 Unreviewed test gardening. * platform/win/fast/render-tree-as-text-options-expected.txt: Added. 2019-04-25 Frederic Wang Add more tests for ios programmatic iframe scrolling with fixed/sticky layers https://bugs.webkit.org/show_bug.cgi?id=197280 This commit adds iOS tests for scrolling iframes containing fixed/sticky layers. They are extracted from earlier experimental patches for iOS frame scrolling but failed with the alternative patches initially landed in bug 193539 and follow-up bugs. They now pass again on trunk, so we can finally import them. Reviewed by Darin Adler. * fast/scrolling/ios/programmatic-scroll-iframe-010-expected.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-010.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-011-expected.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-011.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-012-expected.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-012.html: Added. 2019-04-25 Shawn Roberts imported/w3c/web-platform-tests/visual-viewport/viewport-resize-event-on-load-overflowing-page.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197286 Unreviewed test gardening * platform/mac-wk2/TestExpectations: Updating test expectations for flaky failure 2019-04-25 Shawn Roberts http/wpt/resource-timing/rt-resources-per-frame.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197207 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Updating test expectations for flaky failure 2019-04-25 Shawn Roberts http/tests/resourceLoadStatistics/prune-statistics.html is a flaky failure on Debug testers https://bugs.webkit.org/show_bug.cgi?id=197285 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating expectations for flaky failure 2019-04-25 Shawn Roberts fast/css-custom-paint/animate-repaint.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197283 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating expectations for flaky failure 2019-04-25 Antti Koivisto Visited link hash should be computed only once https://bugs.webkit.org/show_bug.cgi?id=197229 Reviewed by Alex Christensen. * fast/history/visited-href-mutation-expected.html: Added. * fast/history/visited-href-mutation.html: Added. 2019-04-25 Philippe Normand [GStreamer] gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed in WebCore::MediaPlayerPrivateGStreamer::paused https://bugs.webkit.org/show_bug.cgi?id=196691 Reviewed by Eric Carlson. Unflag test no longer crashing. * platform/gtk/TestExpectations: * platform/gtk/fast/replaced/border-radius-clip-expected.txt: 2019-04-24 Carlos Garcia Campos [GTK] Hardcoded text color in input fields https://bugs.webkit.org/show_bug.cgi?id=126907 Reviewed by Michael Catanzaro. Remove expectations for tests that are passing again. * platform/gtk/TestExpectations: 2019-04-24 Simon Fraser REGRESSION (r242132): Nested position:sticky elements move incorrectly https://bugs.webkit.org/show_bug.cgi?id=197255 rdar://problem/50137744 Reviewed by Zalan Bujtas. * scrollingcoordinator/mac/nested-sticky-expected.html: Added. * scrollingcoordinator/mac/nested-sticky.html: Added. 2019-04-24 Alicia Boya García Unreviewed GTK test gardening https://bugs.webkit.org/show_bug.cgi?id=197261 * platform/gtk/TestExpectations: * platform/gtk/http/tests/inspector/network/har/har-page-expected.txt: * platform/gtk/imported/blink/media/track/media-element-move-to-new-document-assert-expected.txt: Removed. 2019-04-24 Commit Queue Unreviewed, rolling out r244228. https://bugs.webkit.org/show_bug.cgi?id=197262 Causes compat issues (Requested by smfr on #webkit). Reverted changeset: "Unreviewed test gardening for Windows." https://trac.webkit.org/changeset/244228 2019-04-24 John Wilander Age out unconverted Ad Click Attributions after one week. https://bugs.webkit.org/show_bug.cgi?id=197238 Reviewed by Chris Dumez. * http/tests/adClickAttribution/expired-attributions-removed-expected.txt: Added. * http/tests/adClickAttribution/expired-attributions-removed.html: Added. 2019-04-24 Simon Fraser REGRESSION (iOS 12.2): CSS perspective property value can only be set correctly once https://bugs.webkit.org/show_bug.cgi?id=197105 Reviewed by Zalan Bujtas. * compositing/style-change/backface-visibility-change-expected.html: Added. * compositing/style-change/backface-visibility-change.html: Added. * compositing/style-change/perspective-change-expected.html: Added. * compositing/style-change/perspective-change.html: Added. * compositing/style-change/perspective-origin-change-expected.html: Added. * compositing/style-change/perspective-origin-change.html: Added. * compositing/style-change/transform-origin-change-expected.html: Added. * compositing/style-change/transform-origin-change.html: Added. * compositing/style-change/transform-style-change-expected.html: Added. * compositing/style-change/transform-style-change.html: Added. 2019-04-24 Simon Fraser Make it possible to control the renderTreeAsText output by setting options on testRunner https://bugs.webkit.org/show_bug.cgi?id=197133 Reviewed by Sam Weinig. Add testRunner.setRenderTreeDumpOptions() and expose the subset of RenderAsTextFlag flags that make sense in testing (those that don't dump unstable data like addresses), and plumb these flags through the various framework layers. Convert RenderAsTextBehavior to an OptionSet. Fix code generation in WebKitTestRunner to generate bindings for IDL const values, and hand-code DumpRenderTree bindings. Some cleanup of the TestRunners, using member initializers. * fast/harness/render-tree-as-text-options-expected.txt: Added. * fast/harness/render-tree-as-text-options.html: Added. * resources/testrunner-constants.js: Added. 2019-04-24 Antoine Quint [iOS] Calling preventDefault() when handling a pointerdown event should not prevent panning, zooming or click event dispatch https://bugs.webkit.org/show_bug.cgi?id=195839 Reviewed by Brent Fulgham. Modify the existing test to check that we *have* scrolled after performing a swipe gesture and calling preventDefault() while handling the pointerdown handling. We also add a new test that checks that the click event is indeed dispatched when tapping on an element and calling preventDefault() while handling the pointerdown event. * pointerevents/ios/pointer-events-prevent-default-allows-click-event-expected.txt: Added. * pointerevents/ios/pointer-events-prevent-default-allows-click-event.html: Added. * pointerevents/ios/pointer-events-prevent-default-allows-scrolling-expected.txt: Added. * pointerevents/ios/pointer-events-prevent-default-allows-scrolling.html: Renamed from LayoutTests/pointerevents/ios/pointer-events-prevent-default.html. * pointerevents/ios/pointer-events-prevent-default-expected.txt: Removed. 2019-04-24 Frederic Wang With async scrolling enabled, this MathML test asserts https://bugs.webkit.org/show_bug.cgi?id=196123 Reviewed by Rob Buis. Add a test for each MathML layoutBlock functions/classes. * mathml/mathml-overflow-crash-expected.txt: Added. * mathml/mathml-overflow-crash.html: Added. 2019-04-24 Cathie Chen [Mac Debug] Layout Test resize-observer/observe-element-from-other-frame.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197063 Reviewed by Ryosuke Niwa. RenderingUpdate timer might be fired after ResizeTestHelper's. This would produce a flaky failure. In order to reduce this failure, extend ResizeTestHelper.TIMEOUT like in bug 177484. * resize-observer/resources/resizeTestHelper.js: 2019-04-24 Truitt Savell Rebaseline js/dom/dom-static-property-for-in-iteration.html after r244581 https://bugs.webkit.org/show_bug.cgi?id=197218 Unreviewed test gardening. * platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt: 2019-04-24 Chris Dumez X-Frame-Options header should be ignored when frame-ancestors CSP directive is present https://bugs.webkit.org/show_bug.cgi?id=197226 Reviewed by Alex Christensen. Add layout test coverage. * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-overrides-X-Frames-Options-expected.txt: Added. * http/tests/security/contentSecurityPolicy/1.1/frame-ancestors/frame-ancestors-overrides-X-Frames-Options.html: Added. * http/tests/security/contentSecurityPolicy/resources/frame-ancestors-self-x-frame-options-deny.pl: Added. 2019-04-24 chris fleizach AX: Remove deprecated Accessibility Object Model events https://bugs.webkit.org/show_bug.cgi?id=197073 Reviewed by Ryosuke Niwa. * accessibility/mac/AOM-event-accessiblesetvalue-expected.txt: Removed. * accessibility/mac/AOM-event-accessiblesetvalue.html: Removed. * accessibility/mac/AOM-events-all-expected.txt: Removed. * accessibility/mac/AOM-events-all.html: Removed. * accessibility/mac/AOM-events-expected.txt: Removed. * accessibility/mac/AOM-events-webarea-crash-expected.txt: Removed. * accessibility/mac/AOM-events-webarea-crash.html: Removed. * accessibility/mac/AOM-events.html: Removed. * accessibility/mac/replace-text-with-range-expected.txt: Replaced. * accessibility/mac/replace-text-with-range.html: Replaced. 2019-04-23 John Wilander Move Ad Click Attribution from internal feature to experimental feature https://bugs.webkit.org/show_bug.cgi?id=197218 Reviewed by Brent Fulgham. This patch removes the TestRunner instruction for turning on the internal feature. * http/tests/adClickAttribution/anchor-tag-attributes-validation.html: * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority.html: * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html: * http/tests/adClickAttribution/second-attribution-converted-with-higher-priority.html: * http/tests/adClickAttribution/second-attribution-converted-with-lower-priority.html: * http/tests/adClickAttribution/second-conversion-with-higher-priority.html: * http/tests/adClickAttribution/second-conversion-with-lower-priority.html: * http/tests/adClickAttribution/send-attribution-conversion-request.html: * http/tests/adClickAttribution/store-ad-click-attribution.html: * http/tests/adClickAttribution/store-disabled-in-ephemeral-session.html: * http/tests/contentextensions/block-ad-click-attribution.html: 2019-04-23 John Wilander Remove Ad Click Attribution data when removing website data https://bugs.webkit.org/show_bug.cgi?id=197215 Reviewed by Chris Dumez. * http/tests/adClickAttribution/clear-through-website-data-removal-expected.txt: Added. * http/tests/adClickAttribution/clear-through-website-data-removal.html: Added. 2019-04-23 Devin Rousso ContentSecurityPolicy::logToConsole should include line/column number and source location https://bugs.webkit.org/show_bug.cgi?id=114317 Reviewed by Timothy Hatcher. * inspector/debugger/csp-exceptions.html: 2019-04-23 Andres Gonzalez Accessibility text search and selection API enhancements. https://bugs.webkit.org/show_bug.cgi?id=197095 Reviewed by Chris Fleizach. - Added new test for AccessibilitySearchTextWithCriteria API. - Updated bounds-for-range expected file that includes a list of available APIs. * accessibility/mac/bounds-for-range-expected.txt: * accessibility/mac/search-text/search-text-expected.txt: Added. * accessibility/mac/search-text/search-text.html: Added. 2019-04-23 Guy Lewin Multiple File Input Icon Set Regardless of File List https://bugs.webkit.org/show_bug.cgi?id=195537 Add a layout test to verify file input icon resets on change event (iOS) Change expectations according to file-reset-in-change-using-open-panel.html Reviewed by Alexey Proskuryakov. * fast/forms/file/file-reset-in-change-using-open-panel-with-icon-expected.html: Added. * fast/forms/file/file-reset-in-change-using-open-panel-with-icon.html: Added. * platform/win/TestExpectations: * platform/wincairo/TestExpectations: 2019-04-23 Devin Rousso Unreviewed, speculative fix for failing inspector/canvas/ tests. * inspector/canvas/resources/recording-utilities.js: 2019-04-23 Ryosuke Niwa [iOS] element.focus() sometimes fails to reveal the focused element when it becomes editable dynamically https://bugs.webkit.org/show_bug.cgi?id=197188 Reviewed by Wenson Hsieh. Added a regression test. * editing/selection/ios/scrolling-to-focused-element-inside-iframe-expected.txt: Added. * editing/selection/ios/scrolling-to-focused-element-inside-iframe.html: Added. 2019-04-23 John Wilander Ad Click Attribution redirects to well-known location should not trigger a conversion if they are blocked by content blockers https://bugs.webkit.org/show_bug.cgi?id=197183 Reviewed by Alex Christensen. * http/tests/contentextensions/block-ad-click-attribution-expected.txt: Added. * http/tests/contentextensions/block-ad-click-attribution.html: Added. * http/tests/contentextensions/block-ad-click-attribution.html.json: Added. 2019-04-23 Shawn Roberts fast/selectors/matches-backtracking.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=197068 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating expectations for flaky test 2019-04-23 Youenn Fablet REGRESSION (r240727) [ Mac iOS ] Layout Test http/tests/workers/service/basic-register-exceptions.html is flaky https://bugs.webkit.org/show_bug.cgi?id=194368 Reviewed by Alex Christensen. Test was exiting sooner than the last registration was rejected. Make sure that the test is run until the end in a more ordered way. * http/tests/workers/service/basic-register-exceptions-expected.txt: * http/tests/workers/service/resources/basic-register-exceptions.js: (async.doTest): (then): Deleted. (catch): Deleted. * platform/mac-wk2/TestExpectations: 2019-04-23 Carlos Garcia Campos [ATK] Implement AtkComponentIface scroll_to methods https://bugs.webkit.org/show_bug.cgi?id=196856 Reviewed by Michael Catanzaro. Remove expectations for tests that are passing now. * platform/gtk/TestExpectations: 2019-04-22 Zalan Bujtas [ContentChangeObserver] Some dropdown menus may close without user gesture on americanexpress.com https://bugs.webkit.org/show_bug.cgi?id=197175 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/mouse-out-event-should-not-fire-on-click-when-default-prevented-expected.txt: Added. * fast/events/touch/ios/content-observation/mouse-out-event-should-not-fire-on-click-when-default-prevented.html: Added. 2019-04-22 Justin Fan [WebGPU] Move swap chain methods from GPUDevice to GPUCanvasContext https://bugs.webkit.org/show_bug.cgi?id=197126 Reviewed by Dean Jackson. GPUSwapChains are now configured via GPUCanvasContext instead of GPUDevice. * webgpu/blend-triangle-strip.html: * webgpu/js/webgpu-functions.js: (createBasicSwapChain): * webgpu/whlsl.html: 2019-04-22 Carlos Garcia Campos REGRESSION(r241289): [GTK] accessibility/removed-continuation-element-causes-crash.html and accessibility/removed-anonymous-block-child-causes-crash.html crashes https://bugs.webkit.org/show_bug.cgi?id=194630 Reviewed by Michael Catanzaro. Remove expectations for tests that are passing now. * platform/gtk/TestExpectations: 2019-04-20 Said Abou-Hallawa REGRESSION (r243137): SVGViewElement.viewTarget should not return a new object https://bugs.webkit.org/show_bug.cgi?id=197137 Reviewed by Darin Adler. * svg/dom/SVGViewElement-viewTarget-expected.txt: Added. * svg/dom/SVGViewElement-viewTarget.html: Added. 2019-04-19 Megan Gardner Fix Long Press Image Test https://bugs.webkit.org/show_bug.cgi?id=197130 Reviewed by Wenson Hsieh. Fixing up test to reflect changes in https://bugs.webkit.org/show_bug.cgi?id=196833 * fast/events/touch/ios/long-press-on-image-expected.txt: * fast/events/touch/ios/long-press-on-image.html: 2019-04-19 John Wilander Disable Ad Click Attribution in ephemeral sessions and make sure conversion requests use an ephemeral, stateless session https://bugs.webkit.org/show_bug.cgi?id=197108 Reviewed by Alex Christensen. Except for the details below, this patch introduces the utility functions prepareTest() and tearDownAndFinish() and all applicable tests now make use of them. * http/tests/adClickAttribution/attribution-conversion-through-cross-site-image-redirect.html: * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority.html: * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority.html: * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session-expected.txt: Added. * http/tests/adClickAttribution/conversion-disabled-in-ephemeral-session.html: Copied from LayoutTests/http/tests/adClickAttribution/send-attribution-conversion-request.html. * http/tests/adClickAttribution/resources/conversionReport.php: Now tries to set a cookie in the response. * http/tests/adClickAttribution/resources/util.js: Added. (prepareTest): (tearDownAndFinish): * http/tests/adClickAttribution/second-attribution-converted-with-higher-priority.html: * http/tests/adClickAttribution/second-attribution-converted-with-lower-priority.html: * http/tests/adClickAttribution/second-conversion-with-higher-priority.html: * http/tests/adClickAttribution/second-conversion-with-lower-priority.html: * http/tests/adClickAttribution/send-attribution-conversion-request-expected.txt: * http/tests/adClickAttribution/send-attribution-conversion-request.html: * http/tests/adClickAttribution/store-ad-click-attribution.html: Now sets a cookie which is checked for it in the conversion report. * http/tests/adClickAttribution/store-disabled-in-ephemeral-session-expected.txt: Added. * http/tests/adClickAttribution/store-disabled-in-ephemeral-session.html: Copied from LayoutTests/http/tests/adClickAttribution/store-ad-click-attribution.html. 2019-04-19 Timothy Hatcher Standardize the `` separator. https://bugs.webkit.org/show_bug.cgi?id=193931 rdar://problem/49995929 Reviewed by Darin Adler. * css-dark-mode/color-scheme-meta-expected.txt: * css-dark-mode/color-scheme-meta.html: Test other types of spaces like tab, newline and vertical tab. 2019-04-19 Ryosuke Niwa [Mac WK2] REGRESSION (r244182) editing/execCommand/change-list-type.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=197065 Reviewed by Wenson Hsieh. Like r244461, this test was errornosuly assuming that rAF would be enough to close the undo group in the UI process. Fixed the test by explicitly waiting for the runloop in the ui process to run by executing a UI script. * editing/execCommand/change-list-type.html: 2019-04-19 Ryosuke Niwa REGRESSION: (r244182) Layout Test editing/execCommand/insert-nested-lists.html is flaky https://bugs.webkit.org/show_bug.cgi?id=196985 Reviewed by Wenson Hsieh. The flakiness was caused by the test incorrectly assuming that rAF would be enough to close the undo group in the UI process. Fixed the test by explicitly waiting for the runloop in the ui process to run by executing a UI script. * editing/execCommand/insert-nested-lists.html: 2019-04-18 Megan Gardner Update autoscroll test to lift at the end and be less flakey https://bugs.webkit.org/show_bug.cgi?id=197084 Test not lifting at the end caused issues for other tests. Also the positions were a bit too exact and caused the test to be flakey. These new positions should result in more consistent behaviour. Reviewed by Tim Horton. * fast/events/touch/ios/drag-to-autoscroll-in-single-line-editable.html: 2019-04-18 Justin Fan [WebGPU] Implement API default values https://bugs.webkit.org/show_bug.cgi?id=197032 Reviewed by Myles C. Maxfield. Update WebGPU tests to use default values wherever applicable. * webgpu/bind-groups.html: * webgpu/blend-triangle-strip.html: * webgpu/blit-commands.html: * webgpu/buffer-command-buffer-races.html: * webgpu/buffer-resource-triangles.html: * webgpu/color-write-mask-triangle-strip.html: * webgpu/compute-squares.html: * webgpu/depth-enabled-triangle-strip.html: * webgpu/draw-indexed-triangles.html: * webgpu/js/webgpu-functions.js: (createBasicDepthTexture): * webgpu/texture-triangle-strip.html: * webgpu/textures-textureviews.html: * webgpu/vertex-buffer-triangle-strip.html: * webgpu/whlsl.html: 2019-04-18 Sihui Liu Blob type cannot be stored correctly in IDB when IDBObjectStore has autoIncrement and keyPath options https://bugs.webkit.org/show_bug.cgi?id=196128 Reviewed by Geoffrey Garen. * storage/indexeddb/modern/objectstore-autoincrement-types-expected.txt: Added. * storage/indexeddb/modern/objectstore-autoincrement-types.html: Added. * storage/indexeddb/modern/resources/objectstore-autoincrement-types.js: Added. (prepareDatabase.event.target.onsuccess): (prepareDatabase): (compare): (runGetTest): (runGetAllTest): (get store): (testSteps): 2019-04-18 Timothy Hatcher Unreviewed test gardening. * css-dark-mode/older-systems/color-scheme-css-expected.txt: Rebaselined. * css-dark-mode/older-systems/color-scheme-meta-expected.txt: Rebaselined. * fast/css/style-enumerate-properties.html: Updated count to work on Windows. * platform/mac-highsierra/css-dark-mode/prefers-color-scheme-picture-element-expected.txt: Removed. * platform/mac-sierra/css-dark-mode/prefers-color-scheme-picture-element-expected.txt: Removed. 2019-04-18 Shawn Roberts Unreviewed manual rollout of r244248 and r244409 Causing assertion failures on Mac WK2 Debug builds https://bugs.webkit.org/show_bug.cgi?id=195623 * http/tests/cache/link-prefetch-main-resource-expected.txt: Removed. * http/tests/cache/link-prefetch-main-resource-iframe-expected.txt: Removed. * http/tests/cache/link-prefetch-main-resource-iframe.html: Removed. * http/tests/cache/link-prefetch-main-resource.html: Removed. * http/tests/cache/resources/prefetched-main-resource-iframe.php: Removed. * http/tests/cache/resources/prefetched-main-resource.php: Removed. * platform/mac-wk1/TestExpectations: * platform/win/TestExpectations: 2019-04-18 Antoine Quint [Mac] Unreviewed test gardening. The test imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_in_frame.html is flaky on bots. * platform/mac/TestExpectations: 2019-04-18 Antoine Quint [Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/pointerevent_lostpointercapture_for_disconnected_node.html https://bugs.webkit.org/show_bug.cgi?id=197004 Reviewed by Antti Koivisto. * platform/mac/TestExpectations: 2019-04-17 Antoine Quint [Pointer Events WPT] Unskip imported/w3c/web-platform-tests/pointerevents/pointerevent_on_event_handlers.html https://bugs.webkit.org/show_bug.cgi?id=197006 Reviewed by Antti Koivisto. * js/dom/dom-static-property-for-in-iteration-expected.txt: * platform/mac-wk2/js/dom/dom-static-property-for-in-iteration-expected.txt: * platform/mac/TestExpectations: 2019-04-17 Fujii Hironori Unreviewed test gardening for WinCairo port Following tests expected to fail but passed constantly. - css3/masking/clip-path-inset-corners.html - fast/box-shadow/box-shadow-with-zero-radius.html - storage/indexeddb/database-odd-names.html - storage/indexeddb/lazy-index-population.html * platform/wincairo/TestExpectations: Unmarked them. 2019-04-17 Timothy Hatcher Standardize the `` separator. https://bugs.webkit.org/show_bug.cgi?id=193931 Reviewed by Simon Fraser. * css-dark-mode/color-scheme-meta-expected.txt: * css-dark-mode/color-scheme-meta.html: * css-dark-mode/older-syntax/supported-color-scheme-meta-expected.txt: * css-dark-mode/older-syntax/supported-color-schemes-meta.html: 2019-04-17 Timothy Hatcher Rename `supported-color-schemes` to `color-scheme`. https://bugs.webkit.org/show_bug.cgi?id=197016 rdar://problem/49980259 Reviewed by Simon Fraser. * css-dark-mode/color-scheme-css-expected.txt: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-css-expected.txt. * css-dark-mode/color-scheme-css.html: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-css.html. * css-dark-mode/color-scheme-meta-expected.txt: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-expected.txt. * css-dark-mode/color-scheme-meta.html: Renamed from LayoutTests/css-dark-mode/supported-color-schemes.html. * css-dark-mode/color-scheme-parse-expected.txt: Renamed from LayoutTests/css-dark-mode/parse-supported-color-schemes-expected.txt. * css-dark-mode/color-scheme-parse.html: Renamed from LayoutTests/css-dark-mode/parse-supported-color-schemes.html. * css-dark-mode/color-scheme-priority-expected.txt: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-priority-expected.txt. * css-dark-mode/color-scheme-priority.html: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-priority.html. * css-dark-mode/color-scheme-scrollbar-expected.txt: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-scrollbar-expected.txt. * css-dark-mode/color-scheme-scrollbar.html: Renamed from LayoutTests/css-dark-mode/supported-color-schemes-scrollbar.html. * css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt: Copied from LayoutTests/css-dark-mode/supported-color-schemes-css-expected.txt. * css-dark-mode/older-syntax/supported-color-schemes-css.html: Copied from LayoutTests/css-dark-mode/supported-color-schemes-css.html. * css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt: Copied from LayoutTests/css-dark-mode/supported-color-schemes-expected.txt. * css-dark-mode/older-syntax/supported-color-schemes-meta.html: Copied from LayoutTests/css-dark-mode/supported-color-schemes.html. * css-dark-mode/older-systems/color-scheme-css-expected.txt: Renamed from LayoutTests/css-dark-mode/older-systems/supported-color-schemes-css-expected.txt * css-dark-mode/older-systems/color-scheme-css.html: Renamed from LayoutTests/css-dark-mode/older-systems/supported-color-schemes-css.html. * css-dark-mode/older-systems/color-scheme-meta-expected.txt: Renamed from LayoutTests/css-dark-mode/older-systems/supported-color-schemes-expected.txt. * css-dark-mode/older-systems/color-scheme-meta.html: Renamed from LayoutTests/css-dark-mode/older-systems/supported-color-schemes.html. * fast/css/style-enumerate-properties.html: Updated property count. 2019-04-17 Justin Fan [Web GPU] GPUComputePassEncoder::dispatch number of thread groups, not grid size https://bugs.webkit.org/show_bug.cgi?id=196984 Reviewed by Myles C. Maxfield. * webgpu/compute-squares.html: One thread group is enough to process the data in a single pass. 2019-04-17 John Wilander Add prioritization of ad click conversions and cleaning of sent ad click conversions https://bugs.webkit.org/show_bug.cgi?id=196934 Reviewed by Chris Dumez. * http/tests/adClickAttribution/attribution-conversion-through-cross-site-image-redirect-expected.txt: * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority-expected.txt: * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority-expected.txt: * http/tests/adClickAttribution/resources/getConversionData.php: * http/tests/adClickAttribution/resources/redirectToConversion.php: * http/tests/adClickAttribution/second-attribution-converted-with-higher-priority-expected.txt: Added. * http/tests/adClickAttribution/second-attribution-converted-with-higher-priority.html: Added. * http/tests/adClickAttribution/second-attribution-converted-with-lower-priority-expected.txt: Added. * http/tests/adClickAttribution/second-attribution-converted-with-lower-priority.html: Added. * http/tests/adClickAttribution/second-conversion-with-higher-priority-expected.txt: Added. * http/tests/adClickAttribution/second-conversion-with-higher-priority.html: Added. * http/tests/adClickAttribution/second-conversion-with-lower-priority-expected.txt: Added. * http/tests/adClickAttribution/second-conversion-with-lower-priority.html: Added. * http/tests/adClickAttribution/send-attribution-conversion-request-expected.txt: * http/tests/adClickAttribution/send-attribution-conversion-request.html: * http/tests/adClickAttribution/store-ad-click-attribution-expected.txt: 2019-04-17 Wenson Hsieh REGRESSION (r244220): fast/forms/ios/inputmode-change-update-keyboard.html times out https://bugs.webkit.org/show_bug.cgi?id=197027 Reviewed by Megan Gardner. Recently, r244220 added a mechanism to disconnect or connect the hardware keyboard from layout tests; adopt this to fix several tests that require the software keyboard to be present. * fast/events/autoscroll-when-input-is-offscreen.html: * fast/forms/ios/inputmode-change-update-keyboard.html: 2019-04-17 Antoine Quint [Pointer Events WPT] Update WPT tests and provide macOS testdriver https://bugs.webkit.org/show_bug.cgi?id=197011 Reviewed by Dean Jackson. * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_boundary_events_at_implicit_release_hoverable_pointers-expected.txt: Added. * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_capture_change_hover-expected.txt: Added. * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_mouse_pointercapture_in_frame-expected.txt: Added. * platform/mac-wk1/imported/w3c/web-platform-tests/pointerevents/pointerevent_setpointercapture_relatedtarget-expected.txt: Added. * platform/mac/TestExpectations: 2019-04-17 Zalan Bujtas [ContentChangeObserver] Use aria role as a hint whether a tap should result in a synthetic click https://bugs.webkit.org/show_bug.cgi?id=196988 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/tap-on-input-looking-div-with-role-expected.txt: Added. * fast/events/touch/ios/content-observation/tap-on-input-looking-div-with-role.html: Added. 2019-04-17 Wenson Hsieh REGRESSION (r243926): [iOS] Release assertion when computing editor state during an overflow scroll triggered by layout https://bugs.webkit.org/show_bug.cgi?id=197012 Reviewed by Simon Fraser. Adds a new layout test to exercise the crash. * editing/selection/overflow-scroll-while-selecting-text-expected.txt: Added. * editing/selection/overflow-scroll-while-selecting-text.html: Added. 2019-04-17 Alex Christensen [Mac iOS WK2] Layout Test http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=196974 Reviewed by Brady Eidson. * http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html: Make test do one thing at a time to avoid race conditions. Clean up state on the server after test is finished to prevent corrupting future test state. 2019-04-17 Zalan Bujtas [iOS] Unreviewed gardening. 2 single taps in fast loading subsequent tests are recognized as double tap. Turn off double taps for content observation tests. * fast/events/touch/ios/content-observation/0ms-delay-0ms-transition-on-mousemove.html: * fast/events/touch/ios/content-observation/0ms-transition-on-touch-start.html: * fast/events/touch/ios/content-observation/100ms-delay-10ms-transition-on-mousemove.html: * fast/events/touch/ios/content-observation/100ms-transition-on-touch-start.html: * fast/events/touch/ios/content-observation/10ms-delay-0ms-transition-on-mousemove.html: * fast/events/touch/ios/content-observation/10ms-delay-0ms-transition-on-touch-start.html: * fast/events/touch/ios/content-observation/10ms-delay-transition-on-touch-start-with-non-0px-end.html: * fast/events/touch/ios/content-observation/10ms-delay-transition-on-touch-start.html: * fast/events/touch/ios/content-observation/350ms-hover-intent.html: * fast/events/touch/ios/content-observation/400ms-hover-intent.html: * fast/events/touch/ios/content-observation/click-instead-of-hover-simple.html: * fast/events/touch/ios/content-observation/clickable-content-is-inside-a-container.html: * fast/events/touch/ios/content-observation/crash-on-anonymous-renderer.html: * fast/events/touch/ios/content-observation/hover-when-style-change-is-async.html: * fast/events/touch/ios/content-observation/hover-while-loading-subframe.html: * fast/events/touch/ios/content-observation/iframe-is-shown-on-hover.html: * fast/events/touch/ios/content-observation/mouse-out-event-should-fire-on-click.html: * fast/events/touch/ios/content-observation/move-content-from-offscreen.html: * fast/events/touch/ios/content-observation/new-content-covers-tap-target.html: * fast/events/touch/ios/content-observation/non-visible-becomes-visible-and-gains-new-renderer.html: * fast/events/touch/ios/content-observation/non-visible-content-gains-new-renderer.html: * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-with-opacity-and-left.html: * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-with-transition.html: * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove.html: * fast/events/touch/ios/content-observation/opacity-change-happens-on-touchstart-with-transition.html: * fast/events/touch/ios/content-observation/opacity-change-happens-on-touchstart.html: * fast/events/touch/ios/content-observation/remove-subframe-while-observing.html: * fast/events/touch/ios/content-observation/stuck-with-hover-state.html: * fast/events/touch/ios/content-observation/style-recalc-schedule-and-force-relalc.html: * fast/events/touch/ios/content-observation/tap-on-input-type-button-element.html: * fast/events/touch/ios/content-observation/tap-on-input-type-text-element.html: * fast/events/touch/ios/content-observation/transition-on-touch-start-and-remove.html: * fast/events/touch/ios/content-observation/visibility-change-after-touch-end.html: * fast/events/touch/ios/content-observation/visibility-change-happens-at-the-second-timer.html: * fast/events/touch/ios/content-observation/visibility-change-happens-on-timer-hops.html: * fast/events/touch/ios/content-observation/visibility-change-happens-while-in-mousemoved.html: * fast/events/touch/ios/content-observation/visibility-change-is-max-height-change.html: * fast/events/touch/ios/content-observation/visibility-change-on-touch-start-simple.html: * fast/events/touch/ios/content-observation/visibility-change-with-image-content.html: * fast/events/touch/ios/content-observation/visible-content-gains-new-renderer.html: 2019-04-17 Cathie Chen Update the test result of resize-observer/eventloop.html. https://bugs.webkit.org/show_bug.cgi?id=197001 Reviewed by Frédéric Wang. Since 177484 has landed, the order of requestAnimationFrame and resizeobserver callback is right. No need to mark eventloop.html as flaky. * TestExpectations: 2019-04-16 Wenson Hsieh [iOS] [WebKit2] Add support for honoring -[UIMenuItem dontDismiss] https://bugs.webkit.org/show_bug.cgi?id=196919 Reviewed by Tim Horton. Add a new iOS layout test that installs a custom, non-dismissing action in the callout menu that enlarges text. The test then activates this custom menu item and checks that the selection rects after triggering this custom action are updated, and the callout bar is still showing. * editing/selection/ios/selection-after-changing-text-with-callout-menu-expected.txt: Added. * editing/selection/ios/selection-after-changing-text-with-callout-menu.html: Added. This test additionally suppresses all callout bar menu items except for the custom "Embiggen" action, to ensure that the "Embiggen" option can be tapped from the layout test without having to navigate callout bar items by tapping on the "Next" and "Show styles" buttons. This latter approach is very challenging to make reliable in automation; when navigating submenus in the callout bar, the next button can't be tapped until the current callout bar transition animation is complete, but there's no delegate method invoked or notification posted when this happens. * resources/ui-helper.js: (window.UIHelper.isShowingMenu): (window.UIHelper.isDismissingMenu): (window.UIHelper.rectForMenuAction): (window.UIHelper.async.chooseMenuAction): Additionally add a few more UIHelper methods. (window.UIHelper): 2019-04-16 John Wilander Set test conditions closer to conversion redirect in LayoutTests/http/tests/adClickAttribution/send-attribution-conversion-request.html https://bugs.webkit.org/show_bug.cgi?id=196983 Unreviewed test gardening. * http/tests/adClickAttribution/resources/redirectToConversion.php: * http/tests/adClickAttribution/send-attribution-conversion-request.html: 2019-04-16 Devin Rousso Unprefix -webkit-sticky https://bugs.webkit.org/show_bug.cgi?id=196962 Reviewed by Simon Fraser. * compositing/layer-creation/no-compositing-for-sticky.html: * editing/pasteboard/copy-paste-converts-sticky.html: * editing/pasteboard/copy-paste-converts-sticky-expected.txt: * fast/block/positioning/fixed-container-with-sticky-parent.html: * fast/block/sticky-position-containing-block-crash.html: * fast/css/sticky/inflow-sticky.html: * fast/css/sticky/inline-sticky-abspos-child.html: * fast/css/sticky/inline-sticky.html: * fast/css/sticky/multiple-layers-sticky-crash.html: * fast/css/sticky/parsing-position-sticky-expected.txt: * fast/css/sticky/remove-inline-sticky-crash.html: * fast/css/sticky/remove-sticky-crash.html: * fast/css/sticky/replaced-sticky.html: * fast/css/sticky/resources/parsing-position-sticky.js: * fast/css/sticky/sticky-as-positioning-container.html: * fast/css/sticky/sticky-both-sides.html: * fast/css/sticky/sticky-bottom-overflow-padding.html: * fast/css/sticky/sticky-left-percentage.html: * fast/css/sticky/sticky-left.html: * fast/css/sticky/sticky-margins.html: * fast/css/sticky/sticky-overflowing.html: * fast/css/sticky/sticky-side-margins.html: * fast/css/sticky/sticky-stacking-context.html: * fast/css/sticky/sticky-stacking-context-expected.html: * fast/css/sticky/sticky-table-row-top.html: * fast/css/sticky/sticky-table-thead-top.html: * fast/css/sticky/sticky-top-margins.html: * fast/css/sticky/sticky-top-overflow-container-overflow.html: * fast/css/sticky/sticky-top-overflow.html: * fast/css/sticky/sticky-top-zoomed.html: * fast/css/sticky/sticky-top-zoomed-expected.html: * fast/css/sticky/sticky-top.html: * fast/css/sticky/sticky-writing-mode-horizontal-bt.html: * fast/css/sticky/sticky-writing-mode-vertical-lr.html: * fast/css/sticky/sticky-writing-mode-vertical-rl.html: * fast/multicol/newmulticol/table-section-crash.html: * fast/scrolling/ios/reconcile-layer-position-recursive.html: * fast/scrolling/rtl-scrollbars-sticky-document-2.html: * fast/scrolling/rtl-scrollbars-sticky-document.html: * fast/scrolling/rtl-scrollbars-sticky-iframe-2.html: * fast/scrolling/rtl-scrollbars-sticky-iframe.html: * fast/scrolling/rtl-scrollbars-sticky-overflow-scroll-2.html: * fast/scrolling/rtl-scrollbars-sticky-overflow-scroll.html: * fast/scrolling/sticky-to-fixed.html: * legacy-animation-engine/fast/multicol/newmulticol/table-section-crash.html: * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html: * svg/text/select-text-inside-non-static-position.html: * tiled-drawing/scrolling/sticky/negative-scroll-offset.html: * tiled-drawing/scrolling/sticky/sticky-horizontal.html: * tiled-drawing/scrolling/sticky/sticky-layers.html: * tiled-drawing/scrolling/sticky/sticky-vertical.html: 2019-04-16 John Wilander Increase timeout threshold in http/tests/adClickAttribution/send-attribution-conversion-request.html to address flakiness https://bugs.webkit.org/show_bug.cgi?id=196970 Unreviewed test gardening. * http/tests/adClickAttribution/send-attribution-conversion-request.html: Increased test timeout from 2 seconds to 4. 2019-04-16 Joseph Pecoraro Unreviewed test gardening, rebaseline HAR test after r244294. * http/tests/inspector/network/har/har-page-expected.txt: * http/tests/inspector/network/har/har-page.html: Update for stricter SameSite parsing. 2019-04-16 Shawn Roberts media/W3C/video/events/event_progress_manual.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=177663 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: * platform/mac/TestExpectations: Updating test expectations 2019-04-16 Ryan Haddad Unreviewed test gardening. * platform/mac-wk1/TestExpectations: Correct a typo in bug URL. 2019-04-16 Philippe Normand Unreviewed, GTK gardening * platform/gtk/TestExpectations: media/media-controls-accessibility.html times out since r244182. 2019-04-15 Antoine Quint [iOS] Redundant pointer events causes material design buttons to flush twice https://bugs.webkit.org/show_bug.cgi?id=196914 Reviewed by Dean Jackson. Add a new test that listens to all pointer event types as well as click, which forces the dispatch of compatibility mouse events along with the click which would trigger duplicated pointer events prior to the source changes. To ensure the new test added runs smoothly with a preceeding test that also uses ui.tap(), we add a delay to guarantee that no double-taps are seen rather two successive single taps. * pointerevents/ios/pointer-event-order-expected.txt: Added. * pointerevents/ios/pointer-event-order.html: Added. * pointerevents/utils.js: (const.ui.new.UIController.prototype.tap): 2019-04-15 John Wilander Add a query string nonce to LayoutTests/http/tests/adClickAttribution/send-attribution-conversion-request.html to address flakiness https://bugs.webkit.org/show_bug.cgi?id=196955 Unreviewed test gardening. * http/tests/adClickAttribution/resources/conversionFilePath.php: * http/tests/adClickAttribution/resources/conversionReport.php: * http/tests/adClickAttribution/resources/getConversionData.php: * http/tests/adClickAttribution/send-attribution-conversion-request.html: 2019-04-15 Devin Rousso Web Inspector: fake value descriptors for promises add a catch handler, preventing "rejectionhandled" events from being fired https://bugs.webkit.org/show_bug.cgi?id=196484 Reviewed by Joseph Pecoraro. * inspector/runtime/promise-native-getter.html: Added. * inspector/runtime/promise-native-getter-expected.txt: Added. 2019-04-15 Shawn Roberts storage/indexeddb/modern/gc-closes-database-private.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=194450 Unreviewed test gardening. * platform/win/TestExpectations: Updating test expectations 2019-04-15 Shawn Roberts imported/w3c/web-platform-tests/hr-time/test_cross_frame_start.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196944 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating test expecations for flaky failure 2019-04-15 Joseph Pecoraro Web Inspector: SameSite parsing should be stricter https://bugs.webkit.org/show_bug.cgi?id=196927 Reviewed by Devin Rousso. * inspector/unit-tests/cookie.html: * inspector/unit-tests/cookie-expected.txt: 2019-04-15 John Wilander Send delayed Ad Click Attribution conversion requests to the click source https://bugs.webkit.org/show_bug.cgi?id=196838 Reviewed by Chris Dumez and Youenn Fablet. * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority-expected.txt: * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority-expected.txt: * http/tests/adClickAttribution/resources/conversionFilePath.php: Added. * http/tests/adClickAttribution/resources/conversionReport.php: Added. * http/tests/adClickAttribution/resources/getConversionData.php: Added. * http/tests/adClickAttribution/send-attribution-conversion-request-expected.txt: Added. * http/tests/adClickAttribution/send-attribution-conversion-request.html: Added. 2019-04-15 Devin Rousso REGRESSION (r240644): Layout Test inspector/page/overrideSetting-ICECandidateFilteringEnabled.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=194437 Reviewed by Joseph Pecoraro. * inspector/page/overrideSetting-ICECandidateFilteringEnabled.html: * inspector/page/overrideSetting-ICECandidateFilteringEnabled-expected.txt: 2019-04-15 Said Abou-Hallawa ASSERT fires when removing a disallowed clone from the shadow tree without reseting its corresponding element https://bugs.webkit.org/show_bug.cgi?id=196895 Reviewed by Darin Adler. * svg/custom/use-disallowed-element-clear-corresponding-element-expected.txt: Added. * svg/custom/use-disallowed-element-clear-corresponding-element.html: Added. 2019-04-15 Devin Rousso Web Inspector: DOMDebugger: "Attribute Modified" breakpoints pause after the modification occurs for the style attribute https://bugs.webkit.org/show_bug.cgi?id=196556 Reviewed by Timothy Hatcher. * inspector/dom-debugger/attribute-modified-style.html: Added. * inspector/dom-debugger/attribute-modified-style-expected.txt: Added. 2019-04-15 Devin Rousso Web Inspector: Elements: event listener change events should only be fired for the selected node and it's ancestors https://bugs.webkit.org/show_bug.cgi?id=196887 Reviewed by Timothy Hatcher. * inspector/dom/event-listener-inspected-node.html: Added. * inspector/dom/event-listener-inspected-node-expected.txt: Added. * inspector/dom/event-listener-add-remove.html: * inspector/dom/event-listener-add-remove-expected.txt: 2019-04-15 Shawn Roberts inspector/canvas/recording-webgl-snapshots.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196875 Unreviewed test gardening. * platform/mac/TestExpectations: Updating test expectations 2019-04-15 Shawn Roberts inspector/timeline/timeline-recording.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196915 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: Updating test expectations for flaky failure 2019-04-15 Shawn Roberts Layout tests inspector/heap/imported-snapshot.html inspector/heap/snapshot.html are flaky failures https://bugs.webkit.org/show_bug.cgi?id=155607 Unreviewed test gardening * platform/mac/TestExpectations: Updating expectations for flaky failures 2019-04-11 Antoine Quint Ensure iOS layout traits are used for media controls in modern compatibility mode https://bugs.webkit.org/show_bug.cgi?id=196812 Reviewed by Dean Jackson. Add a new test that enforces modern compatibility mode and checks that the iOS controls are used. * media/modern-media-controls/media-controller/ios/media-controller-ios-layout-traits-modern-compatibility-mode-expected.txt: Added. * media/modern-media-controls/media-controller/ios/media-controller-ios-layout-traits-modern-compatibility-mode.html: Added. 2019-04-14 Fujii Hironori [WinCairo][WKL] Unreviewed test gardening. * platform/wincairo-wk1/TestExpectations: Skip animation tests. 2019-04-14 Rob Buis Link prefetch not useful for top-level navigation https://bugs.webkit.org/show_bug.cgi?id=195623 Reviewed by Youenn Fablet. Verify that prefetching a cross-domain top-level main resource is cached in the prefetch cache and only loaded once, and that non top-level prefetches keep the old behavior. * http/tests/cache/link-prefetch-main-resource-expected.txt: Added. * http/tests/cache/link-prefetch-main-resource-iframe-expected.txt: Added. * http/tests/cache/link-prefetch-main-resource-iframe.html: Added. * http/tests/cache/link-prefetch-main-resource.html: Added. * http/tests/cache/resources/prefetched-main-resource-iframe.php: Added. * http/tests/cache/resources/prefetched-main-resource.php: Added. * platform/mac-wk1/TestExpectations: * platform/win/TestExpectations: 2019-04-12 Ross Kirsling [WinCairo][WKL] Unreviewed test gardening. * platform/wincairo-wk1/TestExpectations: r244182 causes all animations tests to time out. 2019-04-12 Ryan Haddad Unreviewed test gardening for Windows. * platform/win/TestExpectations: 2019-04-12 Simon Fraser [iOS WK2] Make -webkit-overflow-scrolling be a no-op https://bugs.webkit.org/show_bug.cgi?id=196803 rdar://problem/49078202 Reviewed by Antti Koivisto. Rebase some tests, if I thought that non-stacking context overflow was interesting. For others, make overflow be stacking context by adding z-index. Add to those that need it. * compositing/overflow/scrolling-content-clip-to-viewport.html: * compositing/rtl/rtl-scrolling-with-transformed-descendants.html: * fast/scrolling/ios/change-scrollability-on-content-resize-nested.html: * fast/scrolling/ios/overflow-scroll-inherited-expected.txt: * fast/scrolling/ios/overflow-scrolling-ancestor-clip-size.html: * fast/scrolling/ios/overflow-scrolling-ancestor-clip.html: * fast/scrolling/ios/reconcile-layer-position-recursive-expected.txt: * fast/scrolling/ios/reconcile-layer-position-recursive.html: * fast/scrolling/ios/scrolling-content-clip-to-viewport.html: * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor.html: * fast/scrolling/ios/touch-scroll-pointer-events-none.html: * fast/scrolling/ios/touch-scroll-visibility-hidden.html: * platform/ios/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: * platform/ios/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt: * scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor.html: * scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed.html: * scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor.html: * scrollingcoordinator/scrolling-tree/coordinated-frame.html: * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html: 2019-04-12 Wenson Hsieh [iOS] Software keyboard is shown too frequently on some websites https://bugs.webkit.org/show_bug.cgi?id=195856 Reviewed by Darin Adler. Fix a failing layout test, which (among other reasons) is currently failing because support for inputmode="none" is disabled. * fast/forms/ios/inputmode-none-expected.txt: * fast/forms/ios/inputmode-none.html: * resources/ui-helper.js: Add a UIHelper method for attaching or detaching the hardware keyboard. (window.UIHelper.setHardwareKeyboardAttached): (window.UIHelper): 2019-04-12 Ryan Haddad [macOS WK1] ASSERTION FAILED: formData in WebCore::ResourceRequest::doUpdateResourceHTTPBody() https://bugs.webkit.org/show_bug.cgi?id=196864 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: Skip test since it consistently crashes, update bug number. 2019-04-11 Simon Fraser [iOS WK2] Wrong scrolling behavior for nested absolute position elements inside overflow scroll https://bugs.webkit.org/show_bug.cgi?id=196146 Reviewed by Antti Koivisto. Dump the scrolling tree for various configurations of positioned, overflow and stacking context elements. * fast/scrolling/ios/overflow-scroll-overlap-6-expected.txt: Progressed results. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt: Added. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-overflow-expected.txt: Added. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt: Added. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-absolute-overflow.html: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-overflow.html: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-relative-in-overflow.html: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow-expected.txt: Added. * scrollingcoordinator/scrolling-tree/nested-absolute-in-sc-overflow.html: Added. 2019-04-12 Manuel Rego Casasnovas [css-flex][css-grid] Fix synthesized baseline https://bugs.webkit.org/show_bug.cgi?id=196312 Reviewed by Javier Fernandez. Some of the tests were not checking the right behavior changed them to test the expected one. We need new rebaselines for some tests. * TestExpectations: * css3/flexbox/flexbox-baseline-margins.html: * fast/css-grid-layout/grid-baseline-expected.html: * fast/css-grid-layout/grid-baseline-margins-1-expected.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-margins-expected.html. * fast/css-grid-layout/grid-baseline-margins-1.html: Renamed from LayoutTests/fast/css-grid-layout/grid-baseline-margins.html. * fast/css-grid-layout/grid-baseline-margins-2-expected.html: Added. * fast/css-grid-layout/grid-baseline-margins-2.html: Added. * fast/css-grid-layout/grid-baseline.html: This test is modified and split in two parts as it doesn't fit in the viewport. * platform/gtk/css3/flexbox/flexbox-baseline-margins-expected.png: * platform/gtk/css3/flexbox/flexbox-baseline-margins-expected.txt: * platform/ios/css3/flexbox/flexbox-baseline-margins-expected.png: Added. * platform/ios/css3/flexbox/flexbox-baseline-margins-expected.txt: * platform/mac/css3/flexbox/flexbox-baseline-margins-expected.png: Added. * platform/mac/css3/flexbox/flexbox-baseline-margins-expected.txt: * platform/win/css3/flexbox/flexbox-baseline-margins-expected.png: Added. * platform/win/css3/flexbox/flexbox-baseline-margins-expected.txt: 2019-04-11 Carlos Garcia Campos [GTK] REGRESSION(r243860): Many tests failing https://bugs.webkit.org/show_bug.cgi?id=196791 Reviewed by Joanmarie Diggs. Remove expectations for tests that pass now. * platform/gtk/TestExpectations: 2019-04-11 Megan Gardner Fix flaky LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html https://bugs.webkit.org/show_bug.cgi?id=196840 Reviewed by Tim Horton. Use more stable test infrastructure to conduct input tests. * fast/events/autoscroll-when-input-is-offscreen.html: 2019-04-11 Zalan Bujtas Add @page margin support https://bugs.webkit.org/show_bug.cgi?id=196680 Reviewed by Tim Horton. * printing/page-with-10mm-left-margin-expected.pdf: Added. * printing/page-with-10mm-left-margin.html: Added. * printing/page-with-zero-margin-expected.pdf: Added. * printing/page-with-zero-margin.html: Added. 2019-04-09 Ryosuke Niwa [iOS] Moving backwards by word granularity does not work if the previous line was inside another block element https://bugs.webkit.org/show_bug.cgi?id=196670 Reviewed by Wenson Hsieh. Added a test for moving and extending backwards from the beginning of a line with word & sentence granularities, and a basic set of tests forSimplifiedBackwardsTextIterator. * editing/selection/extend-selection-backward-at-beginning-of-line-by-sentence-granularity-expected.txt: Added. * editing/selection/extend-selection-backward-at-beginning-of-line-by-sentence-granularity.html: Added. * editing/selection/extend-selection-backward-at-beginning-of-line-by-word-granularity-expected.txt: Added. * editing/selection/extend-selection-backward-at-beginning-of-line-by-word-granularity.html: Added. * editing/selection/move-selection-backward-at-beginning-of-line-by-sentence-granularity-expected.txt: Added. * editing/selection/move-selection-backward-at-beginning-of-line-by-sentence-granularity.html: Added. * editing/selection/move-selection-backward-at-beginning-of-line-by-word-granularity-expected.txt: Added. * editing/selection/move-selection-backward-at-beginning-of-line-by-word-granularity.html: Added. * editing/text-iterator/backwards-text-iterator-basic-expected.txt: Added. * editing/text-iterator/backwards-text-iterator-basic.html: Added. 2019-04-11 Wenson Hsieh Allow the MediaSource API to be enabled via website policy https://bugs.webkit.org/show_bug.cgi?id=196429 Reviewed by Tim Horton. Add an on-device layout test to ensure that enabling modern compability mode also enables MSE. * TestExpectations: * fast/media/ios/ipad/enable-MediaSource-API-in-modern-compatibility-mode-expected.txt: Added. * fast/media/ios/ipad/enable-MediaSource-API-in-modern-compatibility-mode.html: Added. * platform/ios-simulator/TestExpectations: * platform/ios/TestExpectations: 2019-04-11 Devin Rousso Web Inspector: Timelines: can't reliably stop/start a recording https://bugs.webkit.org/show_bug.cgi?id=196778 Reviewed by Timothy Hatcher. * inspector/timeline/debugger-paused-while-recording.html: * inspector/timeline/exception-in-injected-script-while-recording.html: * inspector/timeline/line-column.html: * inspector/timeline/recording-start-stop-timestamps.html: * inspector/timeline/resources/timeline-event-utilities.js: * inspector/timeline/setInstruments-programmatic-capture.html: * inspector/timeline/setInstruments-programmatic-capture-expected.txt: * inspector/timeline/timeline-recording.html: 2019-04-11 Carlos Garcia Campos [GTK] Layout test accessibility/aria-hidden-false-works-in-subtrees.html fails after r184890 https://bugs.webkit.org/show_bug.cgi?id=146718 Reviewed by Joanmarie Diggs. Update test to ATK behavior, rebaseline it and remove the expectations. * accessibility/aria-hidden-false-works-in-subtrees.html: * platform/gtk/TestExpectations: * platform/gtk/accessibility/aria-hidden-false-works-in-subtrees-expected.txt: 2019-04-10 Said Abou-Hallawa requestAnimationFrame should execute before the next frame https://bugs.webkit.org/show_bug.cgi?id=177484 Reviewed by Simon Fraser. * TestExpectations: There is a slight difference between the actual DRT and the expected DRT due to animation timing change. But these two tests are not animating correctly if they are opened in Safari with web animation turned on. * accessibility/mac/selection-notification-focus-change-expected.txt: * accessibility/mac/selection-notification-focus-change.html: Remove the debug statements form notificationCallback() since the number of times this function is called back and the order of notifications are not defined. This test has been flaky and some trials were made to make it more reliable. With this change it became flaky again. * animations/animation-multiple-callbacks-timestamp.html: Fix variable names used by an error message. * animations/no-style-recalc-during-accelerated-animation-expected.txt: * animations/no-style-recalc-during-accelerated-animation.html: One extra styleReclc was incurred due to the document styleRecalcTimer. I think this timer is not needed anymore. I will look at removing it in a separate patch. * animations/resources/animation-test-helpers.js: (waitForAnimationToStart): The expectation that animation will start at the beginning of the next event loop is not true anymore. The animation will start at the time the requestAnimationFrame fires. * compositing/video/video-clip-change-src.html: This test loads a video data and pushes it to the encoder. Originally it used to wait 150 ms after receiving the second canplaythrough. I had to change this timing to 250 ms. * css3/filters/composited-during-animation.html: Ditto. setTimeout({...}, 0) versus requestAnimationFrame. * media/media-controls-accessibility.html: Updating the accessibility button happens asynchronously, see [WebAccessibilityObjectWrapper accessibilityPerformPressAction]. Due to changing the page update timing, this test became flaky. Originally it used to setTimeout({...}, 10) to ensure the stringValue of the mutate button was changed after it was pressed. The fix is to loop using rAF till the stringValue changes. * platform/mac-wk2/accessibility/mac/selection-notification-focus-change-expected.txt: Removed. The number of time notificationCallback() is called and the order of notifications are not defined. And this is why we have two expected files: one for WK1 and the other for WK2. Since the test is now simplified, we can get rid of this duplication. We will test the minimum reliable thing we can test. 2019-04-10 Ryosuke Niwa Nullptr crash in CompositeEditCommand::moveParagraphs when root editable element goes away https://bugs.webkit.org/show_bug.cgi?id=193027 Reviewed by Wenson Hsieh. Added a regression test. Note that the test works around debug assertions in moveParagraphs. These assertions are generally correct & useful unless the website does something crazy like removing the contenteditable content attribute during editing operations. * editing/deleting/merge-paragraphs-null-root-editable-element-crash-expected.txt: Added. * editing/deleting/merge-paragraphs-null-root-editable-element-crash.html: Added. 2019-04-10 Alicia Boya García [GTK] Unreviewed test gardening https://bugs.webkit.org/show_bug.cgi?id=196800 * platform/gtk/TestExpectations: * platform/gtk/fast/forms/auto-fill-button/input-auto-fill-button-expected.txt: 2019-04-10 Youenn Fablet [ Mojave WK2 iOS Sim ] Layout Test http/wpt/cache-storage/quota-third-party.https.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196358 Unreviewed. * platform/ios-simulator-wk2/TestExpectations: Mark test as slow. 2019-04-10 Youenn Fablet SWClientConnection should not double hop to fire some events https://bugs.webkit.org/show_bug.cgi?id=196735 Reviewed by Alex Christensen. * platform/mac-wk2/TestExpectations: 2019-04-10 Devin Rousso Web Inspector: REGRESSION (r238602): Elements: deleting the last child of a collapsed parent selects the parent's next sibling https://bugs.webkit.org/show_bug.cgi?id=192711 Reviewed by Timothy Hatcher. Original patch by Matt Baker . * inspector/table/table-remove-rows.html: * inspector/table/table-remove-rows-expected.txt: 2019-04-10 Devin Rousso Web Inspector: Elements tab: multiple selection lost after navigating to another tab https://bugs.webkit.org/show_bug.cgi?id=192681 Reviewed by Timothy Hatcher. Orginal patch by Matt Baker . * inspector/tree-outline/tree-outline-selection.html: Added. * inspector/tree-outline/tree-outline-selection-expected.txt: Added. Add `TreeOutline` tests for single and multiple selection. * inspector/unit-tests/set-utilities.html: * inspector/unit-tests/set-utilities-expected.txt: Add tests for `Set.prototype.lastValue`. 2019-04-10 Youenn Fablet Layout Test http/wpt/fetch/response-opaque-clone.html is sometimes timing out on iOS simulator https://bugs.webkit.org/show_bug.cgi?id=194525 Reviewed by Alex Christensen. Test is no longer flaky on MacOS. As per flakiness dashboard, it sometimes times out on iOS simulator. It sometimes passes after running for 20 seconds. Mark it as Slow and improve the test to output more sub-tests. Removed unnecessary removal of cache since test runner will clear them at the end of the test. * http/wpt/fetch/response-opaque-clone-expected.txt: * http/wpt/fetch/response-opaque-clone.html: * platform/ios-simulator-wk2/TestExpectations: 2019-04-10 Justin Fan [Web GPU] Indexed drawing and GPUCommandEncoder crash prevention https://bugs.webkit.org/show_bug.cgi?id=196758 Reviewed by Dean Jackson. Add draw-indexed-triangles to test drawing a green square using GPURenderPassEncoder::setIndexBuffer and drawIndexed. * webgpu/draw-indexed-triangles-expected.html: Added. * webgpu/draw-indexed-triangles.html: Added. 2019-04-10 Megan Gardner Fix text autoscrolling when typing in modern webkit https://bugs.webkit.org/show_bug.cgi?id=196718 Reviewed by Tim Horton. * fast/events/autoscroll-when-input-is-offscreen-expected.txt: Added. * fast/events/autoscroll-when-input-is-offscreen.html: Added. * fast/events/autoscroll-with-software-keyboard-expected.txt: Added. * fast/events/autoscroll-with-software-keyboard.html: Added. 2019-04-10 Youenn Fablet Delay initialization of quota users until the first quota request https://bugs.webkit.org/show_bug.cgi?id=196467 Reviewed by Chris Dumez. Unflake cache storage tests. * TestExpectations: * platform/mac-wk2/TestExpectations: 2019-04-10 Philippe Normand there is no vp8 support in youtube.com/html5 page with libwebkit2gtk 2.24 (MSE enabled) https://bugs.webkit.org/show_bug.cgi?id=196615 Reviewed by Xabier Rodriguez-Calvar. Update WPE baselines and add/unskip the imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType.html test in GTK. * platform/gtk/TestExpectations: * platform/gtk/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: Copied from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: 2019-04-10 Carlos Garcia Campos [ATK] Defer the emision of AtkObject::children-changed signal after layout is done https://bugs.webkit.org/show_bug.cgi?id=187948 Reviewed by Michael Catanzaro. Remove expectations of accessibility/children-changed-sends-notification.html that passes now. * platform/gtk/TestExpectations: 2019-04-10 Carlos Garcia Campos [ATK] Test accessibility/insert-children-assert.html is crashing since added in r216980 https://bugs.webkit.org/show_bug.cgi?id=172281 Reviewed by Joanmarie Diggs. Update the test to expect the whole content text on atk and remove the test expectations. * accessibility/insert-children-assert.html: * platform/gtk/TestExpectations: 2019-04-09 John Wilander Add Resource Load Statistics test case for Ping https://bugs.webkit.org/show_bug.cgi?id=196748 Reviewed by Alex Christensen. * http/tests/resourceLoadStatistics/ping-to-prevalent-resource-expected.txt: Added. * http/tests/resourceLoadStatistics/ping-to-prevalent-resource.html: Added. 2019-04-09 Megan Gardner Turn on editing test that should pass now https://bugs.webkit.org/show_bug.cgi?id=196747 Reviewed by Tim Horton. Just turning on a test that needed to be turns off for a while due to compatibility changes with the system. * platform/ios-wk2/TestExpectations: 2019-04-09 Zalan Bujtas [AutoSizing] Avoid making text paragraphs scroll horizontally when there is a wide table https://bugs.webkit.org/show_bug.cgi?id=196743 Reviewed by Tim Horton. * css3/viewport-percentage-lengths/vh-auto-size-expected.html: * css3/viewport-percentage-lengths/vh-auto-size.html: * fast/dynamic/crash-subtree-layout-when-auto-size-enabled.html: * fast/dynamic/mail-autosize-viewport-unit.html: 2019-04-09 Daniel Bates [iPad] Should open popover when the spacebar is pressed https://bugs.webkit.org/show_bug.cgi?id=196360 Reviewed by Brent Fulgham. Add an iPad-specific test to ensure that pressing the spacebar opens the popover and scrolls the form control into view. * fast/forms/ios/ipad/open-picker-using-keyboard-expected.txt: Added. * fast/forms/ios/ipad/open-picker-using-keyboard.html: Added. * platform/ios/TestExpectations: Skip tests in fast/forms/ios/ipad. We will unskip for iPad below. * platform/ipad/TestExpectations: Mark tests in fast/forms/ios/ipad as PASS so we run them. * resources/ui-helper.js: (window.UIHelper.waitForPopoverToPresent): (window.UIHelper.waitForPopoverToDismiss): 2019-04-09 Youenn Fablet Refresh WPT service worker expectations https://bugs.webkit.org/show_bug.cgi?id=196732 Reviewed by Alex Christensen. * TestExpectations: 2019-04-09 Justin Fan [Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect https://bugs.webkit.org/show_bug.cgi?id=196719 Reviewed by Myles C. Maxfield. Add blend-color-triangle-strip to set and blend with a custom blend color on the renderpass encoder. Add viewport-scissor-rect-triangle-strip to draw a checkerboard by restricting the drawing viewport or scissor rectangle. * webgpu/blend-color-triangle-strip.html: Added. * webgpu/js/webgpu-functions.js: (beginBasicRenderPass): * webgpu/viewport-scissor-rect-triangle-strip-expected.html: Added. * webgpu/viewport-scissor-rect-triangle-strip.html: Added. 2019-04-09 Devin Rousso Unreviewed, fix test failures after r239698. * http/tests/inspector/network/resource-security-connection.html: Security connection information is sent as part of the metrics, not the response. 2019-04-09 John Wilander Pick up Ad Click Attribution conversions in NetworkResourceLoader::willSendRedirectedRequest() https://bugs.webkit.org/show_bug.cgi?id=196558 Reviewed by Youenn Fablet. * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt: Enhanced the use of AdClickAttribution::MaxEntropy. * http/tests/adClickAttribution/attribution-conversion-through-cross-site-image-redirect-expected.txt: Added. * http/tests/adClickAttribution/attribution-conversion-through-cross-site-image-redirect.html: Added. * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority-expected.txt: Added. * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-with-priority.html: Added. * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority-expected.txt: Added. * http/tests/adClickAttribution/attribution-conversion-through-image-redirect-without-priority.html: Added. * http/tests/adClickAttribution/resources/redirectToConversion.php: Added. * http/tests/adClickAttribution/resources/redirectToConversionOnIPAddress.php: Added. * platform/ios-wk2/http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt: Enhanced the use of AdClickAttribution::MaxEntropy. 2019-04-09 Shawn Roberts inspector/canvas/css-canvas-clients.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=174272 Unreviewed test gardening * platform/mac/TestExpectations: Updating expectations to unskip test and just mark as a flaky failure 2019-04-09 Shawn Roberts inspector/console/console-time.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=158006 Unreviewed test gardening. * platform/mac/TestExpectations: Updating expecations for flaky failure 2019-04-09 Antoine Quint [ Mac ] REGRESSION (r237587) Layout Test compositing/visible-rect/animated-from-none.html is flaky text diff failure https://bugs.webkit.org/show_bug.cgi?id=194798 Reviewed by Dean Jackson. When using the Web Animations engine, the best way to run code as an animation start is to use the "ready" promise, whereas DOM events are dispatched asynchronously and, in the case of this test, might have an animation progress that is greater than 0 and yield an animated transform that isn't quite the identity matrix. * compositing/visible-rect/animated-from-none.html: 2019-04-09 Jer Noble Add test for fix of #196095 https://bugs.webkit.org/show_bug.cgi?id=196097 Reviewed by Eric Carlson. * media/track/track-in-band-metadata-display-order-expected.txt: Added. * media/track/track-in-band-metadata-display-order.html: Added. 2019-04-08 Chris Fleizach AX: Automatically compute accessibility labels for Apple Pay buttons https://bugs.webkit.org/show_bug.cgi?id=196661 Reviewed by Joanmarie Diggs. * accessibility/mac/apple-pay-labels-expected.txt: Added. * accessibility/mac/apple-pay-labels.html: Added. * accessibility/mac/apple-pay-session-v4-expected.txt: Added. * accessibility/mac/apple-pay-session-v4.html: Added. 2019-04-08 Youenn Fablet Add a test to check for the service worker process name https://bugs.webkit.org/show_bug.cgi?id=196621 Reviewed by Chris Dumez. * http/wpt/service-workers/online-worker.js: (async.doTest): 2019-04-08 Shawn Roberts fast/parser/xml-error-adopted.xml is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=186581 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: 2019-04-08 Shawn Roberts Fixed a typo on a test expectation https://bugs.webkit.org/show_bug.cgi?id=187391 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating test expectations 2019-04-08 Shawn Roberts inspector/canvas/css-canvas-clients.html is a constant timeout/failure https://bugs.webkit.org/show_bug.cgi?id=174272 Unreviewed test gardening. * platform/mac/TestExpectations: Updating test expectations to skip test 2019-04-08 Yusuke Suzuki Unreviewed, rolling in r243948 with test fix https://bugs.webkit.org/show_bug.cgi?id=196486 The test relied on the wrong EOF token's offset. This patch also fixes the test. * inspector/runtime/parse-expected.txt: * inspector/runtime/parse.html: 2019-04-08 Antti Koivisto Update touch-action region on property changes https://bugs.webkit.org/show_bug.cgi?id=196608 Reviewed by Simon Fraser. * pointerevents/ios/touch-action-region-dynamic-expected.txt: Added. * pointerevents/ios/touch-action-region-dynamic.html: Added. 2019-04-08 Javier Fernandez Implement white-space:break-spaces value https://bugs.webkit.org/show_bug.cgi?id=177327 Reviewed by Myles Maxfield and Zalan Bujtas. Removed many failure expectations of tests that pass now thanks to this change. The overflow-wrap-break-word-003.html tests fails in mac and iOS platforms due to an issue related to how we compute widths using 'ch' units and 'monospace' fonts. I filed bug #196169 to report the specific case of this test (break-word+pre-wrap) but the root cause it's probably the bug #196353. I have submitted a PR [1] to the Web Platform Tests to change several tests that failed only if the monospace font is used, but pass with the Ahem font. Additionally, I've requested another PR [2] to add new layout tests, with the same case than overflow-wrap-break-word-003.html but using the Ahem font. [1] https://github.com/web-platform-tests/wpt/pull/16137 [2] https://github.com/web-platform-tests/wpt/pull/16124 * TestExpectations: Removed many Failure entries on tests that pass now thanks to this change. * platform/mac/TestExpectations: Added one Failure entry and filed the corresponding bug report. 2019-04-08 Antoine Quint [Web Animations] JS wrapper may be deleted while animation is yet to dispatch its finish event https://bugs.webkit.org/show_bug.cgi?id=196118 Reviewed by Chris Dumez. Add a test that starts a short animation, sets a custom property on it, registers a "finish" event listener on it and deletes the sole reference to it in the JS world before triggering garbage collection. Prior to this fix, this test would time out because the JS wrapper would be garbage-collected prior to the animation completing and thus the event listener would not be called. To complete successfully, this test checks that it receives the event and its target is the same animation object that was originally created by checking the custom property is still set. We also make sure that a test, which was found to have regressed with a previous version of this patch, uses the animation engine that it is expected to be testing. * legacy-animation-engine/animations/resume-after-page-cache.html: * webanimations/js-wrapper-kept-alive-expected.txt: Added. * webanimations/js-wrapper-kept-alive.html: Added. 2019-04-08 Eric Liang AX: elements with labels and no accessible contents are exposed as empty AXGroups https://bugs.webkit.org/show_bug.cgi?id=156774 Reviewed by Chris Fleizach. Added tests that verify svgs shapes that are labelled are exposed as images. * accessibility/resources/apple-logo.svg: Added. * accessibility/svg-shape-labelled-expected.txt: Added. * accessibility/svg-shape-labelled.html: Added. 2019-04-08 Shawn Roberts Layout tests imported/w3c/IndexedDB-private-browsing/idbobjectstore_createIndex7-event_order.html imported/w3c/IndexedDB-private-browsing/idbobjectstore_createIndex6-event_order.html are flaky failures https://bugs.webkit.org/show_bug.cgi?id=195961 Unreviewed test gardening * platform/mac-wk2/TestExpectations: Updating test expectations for Debug flaky failure 2019-04-06 Antti Koivisto Combine event and touch action regions into a single class https://bugs.webkit.org/show_bug.cgi?id=196644 Reviewed by Darin Adler. * pointerevents/ios/touch-action-region-basic-expected.txt: * pointerevents/ios/touch-action-region-layers-expected.txt: * pointerevents/ios/touch-action-region-pan-x-y-expected.txt: 2019-04-05 Yongjun Zhang We should pass minimumEffectiveDeviceWidth to web process on new page creation. https://bugs.webkit.org/show_bug.cgi?id=196077 Reviewed by Chris Dumez. Add a layout test to verify the page shrinks to fit the window width when ignoreMetaViewport flag is turned on. * fast/viewport/ios/shrink-to-fit-for-page-without-viewport-meta-expected.txt: Added. * fast/viewport/ios/shrink-to-fit-for-page-without-viewport-meta.html: Added. 2019-04-05 Jer Noble [Cocoa] Deactivate the audio session before the WebProcess suspends. https://bugs.webkit.org/show_bug.cgi?id=196658 Reviewed by Eric Carlson. * platform/mac/media/audio-session-deactivated-when-suspended-expected.txt: Added. * platform/mac/media/audio-session-deactivated-when-suspended.html: Added. 2019-04-05 Devin Rousso Web Inspector: TestSuite test cases should have their own timeout to ensure tests fail with output instead of timeout by test runner https://bugs.webkit.org/show_bug.cgi?id=162814 Reviewed by Brian Burg. * inspector/unit-tests/async-test-suite.html: * inspector/unit-tests/async-test-suite-expected.txt: * inspector/unit-tests/sync-test-suite.html: * inspector/unit-tests/sync-test-suite-expected.txt: * http/tests/inspector/network/set-resource-caching-disabled-disk-cache-expected.txt: * inspector/canvas/recording-2d.html: * inspector/canvas/recording-webgl-snapshots.html: * inspector/canvas/recording-webgl.html: * inspector/canvas/resources/shaderProgram-utilities.js: (TestPage.registerInitializer.whenProgramAdded): Added. (TestPage.registerInitializer.whenProgramRemoved): Added. (TestPage.registerInitializer.window.initializeTestSuite): (TestPage.registerInitializer.window.addSimpleTestCase): (TestPage.registerInitializer.window.addParentCanvasRemovedTestCase): (TestPage.registerInitializer.awaitProgramAdded): Added. (TestPage.registerInitializer.awaitProgramRemoved): Added. * inspector/console/command-line-api-expected.txt: * inspector/console/heap-snapshot.html: * inspector/debugger/async-stack-trace-truncate-expected.txt: * inspector/debugger/pause-for-internal-scripts-expected.txt: * inspector/formatting/resources/utilities.js: (TestPage.registerInitializer.window.addFormattingTests): 2019-04-05 Ryan Haddad [Mac WK2 iOS Sim] Layout Test imported/w3c/web-platform-tests/webrtc/RTCRtpReceiver-getSynchronizationSources.https.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196633 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: Mark test as flaky. * platform/mac-wk2/TestExpectations: Ditto. 2019-04-05 Shawn Roberts editing/execCommand/print.html is crashing on iOS Debug https://bugs.webkit.org/show_bug.cgi?id=196654 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Skipping test on iOS Debug while waiting for a fix 2019-04-05 Diego Pino Garcia [WPE] Unreviewed gardening, update unexpected passes * platform/wpe/TestExpectations: 2019-04-04 Simon Fraser Simple iframe scrolling test fails to get a composited scrolling frame in WebKitTestRunnerApp https://bugs.webkit.org/show_bug.cgi?id=196635 Reviewed by Antti Koivisto. * scrollingcoordinator/ios/programmatic-frame-scroll-expected.html: Added. * scrollingcoordinator/ios/programmatic-frame-scroll.html: Added. 2019-04-04 Simon Fraser [iOS WK2] REGRESSION (r242687): Programmatic scroll of overflow scroll results in bad rendering https://bugs.webkit.org/show_bug.cgi?id=195584 Reviewed by Zalan Bujtas. Testing of programmatic scrolls in frames is prevented by webkit.org/b/196635. * scrollingcoordinator/ios/programmatic-overflow-scroll-expected.html: Added. * scrollingcoordinator/ios/programmatic-overflow-scroll.html: Added. * scrollingcoordinator/ios/programmatic-page-scroll-expected.html: Added. * scrollingcoordinator/ios/programmatic-page-scroll.html: Added. 2019-04-04 Shawn Roberts Unreviewed, rolling out r243868. Causing timeouts failures on several queues Reverted changeset: "[Web Animations] JS wrapper may be deleted while animation is yet to dispatch its finish event" https://bugs.webkit.org/show_bug.cgi?id=196118 https://trac.webkit.org/changeset/243868 2019-04-04 Commit Queue Unreviewed, rolling out r243807 and r243824. https://bugs.webkit.org/show_bug.cgi?id=196611 Test added is a flaky timeout on iOS Simulator, 3 tests unskipped are flaky failures (Requested by ShawnRoberts on #webkit). Reverted changesets: "Blob type cannot be stored correctly in IDB when IDBObjectStore has autoIncrement and keyPath options" https://bugs.webkit.org/show_bug.cgi?id=196128 https://trac.webkit.org/changeset/243807 "Follow up fix for r243807: Use MarkedArgumentBuffer instead of Vector for JSValue" https://bugs.webkit.org/show_bug.cgi?id=196547 https://trac.webkit.org/changeset/243824 2019-04-04 Eric Carlson [MediaStream] Host should be able to mute screen capture and camera/microphone independently https://bugs.webkit.org/show_bug.cgi?id=196555 Reviewed by Youenn Fablet. * fast/mediastream/media-stream-page-muted-expected.txt: Added. * fast/mediastream/media-stream-page-muted.html: Added. * fast/mediastream/media-stream-track-interrupted.html: Read page muted state before interrupting capture track because the page state now changes immediately. * fast/mediastream/media-stream-track-muted.html: Ditto, for muting. 2019-04-04 Antti Koivisto Compute accurate regions for touch-action https://bugs.webkit.org/show_bug.cgi?id=196536 Reviewed by Simon Fraser. * pointerevents/ios/touch-action-region-basic-expected.txt: Added. * pointerevents/ios/touch-action-region-basic.html: Added. * pointerevents/ios/touch-action-region-layers-expected.txt: Added. * pointerevents/ios/touch-action-region-layers.html: Added. * pointerevents/ios/touch-action-region-pan-x-y-expected.txt: Added. * pointerevents/ios/touch-action-region-pan-x-y.html: Added. 2019-04-04 Manuel Rego Casasnovas [css-grid] Scroll reset position when updating inner html on content https://bugs.webkit.org/show_bug.cgi?id=191506 Unreviewed gardening. The problem described in this bug was fixed in r243687 (webkit.org/b/191506). This test was still marked as Failure but it has been passing since then. * TestExpectations: Remove fast/css-grid-layout/grid-item-scroll-position.html as it's passing now. 2019-04-04 Shawn Roberts scrollingcoordinator/ios/ui-scroll-fixed.html is a flakky failure https://bugs.webkit.org/show_bug.cgi?id=196612 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Changing expectations for flaky image failure 2019-04-04 Antoine Quint [macOS WK1] Layout Test webanimations/accelerated-transition-interrupted-on-composited-element.html is a flaky image failure https://bugs.webkit.org/show_bug.cgi?id=189678 Reviewed by Dean Jackson. We make the test sturdier by waiting for two rAFs instead of just one to wait until animations have been updated (one rAF) and accelerated animations have been committed (two rAFs). We also use the "transitioncancel" event to determine the transition has been interrupted rather than using a rAF callback. * webanimations/accelerated-transition-interrupted-on-composited-element.html: 2019-04-04 Diego Pino Garcia [WPE] Unreviewed gardening Remove tests that are expected to fail but pass. * platform/wpe/TestExpectations: 2019-04-04 Antoine Quint REGRESSION (r236501?): Layout Test compositing/geometry/limit-layer-bounds-opacity-transition.html is flaky https://bugs.webkit.org/show_bug.cgi?id=190210 Unreviewed. The flakiness dashboard shows that this test hasn't been flaky for a few weeks, reverting the flaky expectation. * platform/mac/TestExpectations: 2019-04-04 Antoine Quint [Web Animations] JS wrapper may be deleted while animation is yet to dispatch its finish event https://bugs.webkit.org/show_bug.cgi?id=196118 Reviewed by Ryosuke Niwa. Add a test that starts a short animation, sets a custom property on it, registers a "finish" event listener on it and deletes the sole reference to it in the JS world before triggering garbage collection. Prior to this fix, this test would time out because the JS wrapper would be garbage-collected prior to the animation completing and thus the event listener would not be called. To complete successfully, this test checks that it receives the event and its target is the same animation object that was originally created by checking the custom property is still set. * legacy-animation-engine/animations/resume-after-page-cache.html: * webanimations/js-wrapper-kept-alive-expected.txt: Added. * webanimations/js-wrapper-kept-alive.html: Added. 2019-04-03 Timothy Hatcher Update AutoFill field icons to be SVG instead of PNG images. https://bugs.webkit.org/show_bug.cgi?id=196557 rdar://problem/48292514 Reviewed by Tim Horton. * platform/ios/fast/forms/auto-fill-button/input-auto-fill-button-expected.txt: * platform/mac/fast/forms/auto-fill-button/input-contacts-auto-fill-button-expected.txt: * platform/win/fast/forms/auto-fill-button/input-auto-fill-button-expected.txt: 2019-04-03 Said Abou-Hallawa REGRESSION (r220717): Assertion fires when animating an SVG rounded corner rect till it collapses https://bugs.webkit.org/show_bug.cgi?id=196518 Reviewed by Simon Fraser. * svg/animations/animate-rounded-corner-rect-zero-height-expected.txt: Added. * svg/animations/animate-rounded-corner-rect-zero-height.svg: Added. 2019-04-03 Myles C. Maxfield -apple-trailing-word is needed for browser detection https://bugs.webkit.org/show_bug.cgi?id=196575 Unreviewed. * fast/text/trailing-word-detection-expected.txt: Added. * fast/text/trailing-word-detection.html: Added. * platform/gtk/TestExpectations: * platform/win/TestExpectations: 2019-04-03 Shawn Roberts tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe.html is a flaky failure and timeout https://bugs.webkit.org/show_bug.cgi?id=196115 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating test expectations for flaky test 2019-04-03 Michael Saboff REGRESSION (r243642): com.apple.JavaScriptCore crash in JSC::RegExpObject::execInline https://bugs.webkit.org/show_bug.cgi?id=196477 Reviewed by Keith Miller. Updated the test with a couple more test cases to test a few variants of this bug. Also added a couple of non-greedy counted non-BMP character class tests that don't have the bug just to be sure. * js/regexp-unicode-expected.txt: * js/script-tests/regexp-unicode.js: 2019-04-03 Myles C. Maxfield Documents can be destroyed before their CSSFontFaceSet is destroyed https://bugs.webkit.org/show_bug.cgi?id=195830 Reviewed by Darin Adler. * fast/text/font-face-set-destroy-document-expected.html: Added. * fast/text/font-face-set-destroy-document.html: Added. 2019-04-03 Shawn Roberts http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction-but-access-from-wrong-frame.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=194164 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating test expectations for flaky timeout 2019-04-03 Shawn Roberts Rebaseline scrollingcoordinator/scrolling-tree/fixed-inside-frame.html https://bugs.webkit.org/show_bug.cgi?id=195254 Unreviewed test gardening. * scrollingcoordinator/scrolling-tree/fixed-inside-frame-expected.txt: Rebaselined test 2019-04-03 Myles C. Maxfield Remove support for -apple-trailing-word https://bugs.webkit.org/show_bug.cgi?id=196525 Reviewed by Zalan Bujtas. This CSS property is nonstandard and not used. * fast/text/trailing-word-expected.html: Removed. * fast/text/trailing-word.html: Removed. * platform/gtk/TestExpectations: * platform/mac/fast/text/trailing-word-parse-expected.txt: Removed. * platform/mac/fast/text/trailing-word-parse.html: Removed. * platform/win/TestExpectations: 2019-04-03 Chris Dumez Remove legacy webkitRequestAnimationFrame time quirk https://bugs.webkit.org/show_bug.cgi?id=196458 Reviewed by Simon Fraser. Rebaseline webkitRequestAnimationFrame layout test now that we log a deprecation warning. * fast/animation/request-animation-frame-prefix-expected.txt: 2019-04-03 Alex Christensen Resurrect and fix layout test http/tests/adClickAttribution/store-ad-click-attribution.html https://bugs.webkit.org/show_bug.cgi?id=196476 Reviewed by Chris Dumez. * http/tests/adClickAttribution/store-ad-click-attribution-expected.txt: 2019-04-03 Daniel Bates [iOS] Should be able to dismiss picker or popover using the keyboard https://bugs.webkit.org/show_bug.cgi?id=196272 Reviewed by Wenson Hsieh. Add test to ensure that pressing Escape or Command + . dismisses a picker. * fast/forms/ios/dismiss-picker-using-keyboard-expected.txt: Added. * fast/forms/ios/dismiss-picker-using-keyboard.html: Added. 2019-04-03 Sihui Liu Blob type cannot be stored correctly in IDB when IDBObjectStore has autoIncrement and keyPath options https://bugs.webkit.org/show_bug.cgi?id=196128 Reviewed by Geoffrey Garen. * TestExpectations: * storage/indexeddb/modern/objectstore-autoincrement-types-expected.txt: Added. * storage/indexeddb/modern/objectstore-autoincrement-types.html: Added. * storage/indexeddb/modern/resources/objectstore-autoincrement-types.js: Added. (next): (prepareDatabase.event.target.onsuccess): (prepareDatabase): (testSteps): 2019-04-03 Youenn Fablet Resetting quota should take into account third party origins https://bugs.webkit.org/show_bug.cgi?id=196462 Reviewed by Geoffrey Garen. * http/wpt/cache-storage/quota-third-party.https-expected.txt: * http/wpt/cache-storage/quota-third-party.https.html: * platform/mac-wk2/TestExpectations: 2019-04-03 Diego Pino Garcia [GTK] Unreviewed gardening, update test expectations * platform/gtk/TestExpectations: 2019-04-03 Michael Catanzaro Get rid of HTMLInputElement::setEditingValue https://bugs.webkit.org/show_bug.cgi?id=196402 Reviewed by Darin Adler. * fast/forms/editing-value-expected.txt: Removed. * fast/forms/editing-value-null-renderer-expected.txt: Removed. * fast/forms/editing-value-null-renderer.html: Removed. * fast/forms/editing-value.html: Removed. 2019-04-03 Shawn Roberts The following layout tests are flaky failures imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/sizes/parse-a-sizes-attribute-width-1000px.html imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/ready-states/autoplay.html imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/error-codes/error.html https://bugs.webkit.org/show_bug.cgi?id=195466 Unreviewed test gardening. * platform/ios-simulator/TestExpectations: Updating test expectations for flaky failures 2019-04-03 Shawn Roberts Layout Test http/wpt/resource-timing/rt-resources-per-worker.html is flaky https://bugs.webkit.org/show_bug.cgi?id=180260 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-04-02 Simon Fraser REGRESSION (r238266): Exchange 2013 Outlook Web Access displays partially blank page when creating new e-mail https://bugs.webkit.org/show_bug.cgi?id=196522 Reviewed by Zalan Bujtas. * compositing/backing/foreground-layer-no-paints-into-ancestor-expected.html: Added. * compositing/backing/foreground-layer-no-paints-into-ancestor.html: Added. 2019-04-02 Said Abou-Hallawa SVG Animation (SMIL) on or doesn't work on second run https://bugs.webkit.org/show_bug.cgi?id=150388 Reviewed by Simon Fraser. The bug is fixed by removing the SVG tear off objects. See https://bugs.webkit.org/show_bug.cgi?id=191237. We need to add a layout test to ensure that no code change will break this scenario in the future. * svg/animations/smil-multiple-animate-list-expected.svg: Added. * svg/animations/smil-multiple-animate-list.svg: Added. 2019-04-02 Shawn Roberts imported/w3c/web-platform-tests/mst-content-hint/MediaStreamTrack-contentHint.html is a flaky crash https://bugs.webkit.org/show_bug.cgi?id=196517 Unreviewed test gardening. * platform/mac/TestExpectations: Skipping test for flaky crashing 2019-04-02 Ryan Haddad [Mojave] Layout test fast/text/complex-initial-advance.html is failing https://bugs.webkit.org/show_bug.cgi?id=196512 Unreviewed test gardening. * platform/mac/TestExpectations: Mark test as failing. 2019-04-02 Alex Christensen Fix assertion in http/tests/adClickAttribution/store-ad-click-attribution.html https://bugs.webkit.org/show_bug.cgi?id=196503 Reviewed by Chris Dumez. * http/tests/adClickAttribution/store-ad-click-attribution-expected.txt: * http/tests/adClickAttribution/store-ad-click-attribution.html: * platform/wk2/TestExpectations: 2019-04-02 Devin Rousso Web Inspector: Canvas: add support for showing WebGPU contexts https://bugs.webkit.org/show_bug.cgi?id=196413 Reviewed by Timothy Hatcher. * inspector/canvas/create-context-webgpu.html: Added. * inspector/canvas/create-context-webgpu-expected.txt: Added. * inspector/canvas/resolveCanvasContext-webgpu.html: Added. * inspector/canvas/resolveCanvasContext-webgpu-expected.txt: Added. * inspector/canvas/resources/create-context-utilities.js: (createDetachedCanvas): (createCSSCanvas): (destroyCanvases): (TestPage.registerInitializer.InspectorTest.CreateContextUtilities.initializeTestSuite): Added. (TestPage.registerInitializer.InspectorTest.CreateContextUtilities.addSimpleTestCase): Added. (TestPage.registerInitializer.InspectorTest.CreateContextUtilities.addCSSCanvasTestCase): Added. (TestPage.registerInitializer.window.initializeTestSuite): Deleted. (TestPage.registerInitializer.window.addSimpleTestCase): Deleted. (TestPage.registerInitializer.window.addCSSCanvasTestCase): Deleted. * inspector/canvas/create-context-2d.html: * inspector/canvas/create-context-2d-expected.txt: * inspector/canvas/create-context-bitmaprenderer.html: * inspector/canvas/create-context-bitmaprenderer-expected.txt: * inspector/canvas/create-context-webgl.html: * inspector/canvas/create-context-webgl-expected.txt: * inspector/canvas/create-context-webgl2.html: * inspector/canvas/create-context-webgl2-expected.txt: * platform/gtk/TestExpectations: * platform/ios/TestExpectations: * platform/mac-wk1/TestExpectations: * platform/mac/TestExpectations: * platform/win/TestExpectations: * platform/wincairo/TestExpectations: * platform/wpe/TestExpectations: 2019-04-02 Chris Dumez [WK2] Add support for Window's beforeprint / afterprint events https://bugs.webkit.org/show_bug.cgi?id=196478 Reviewed by Alex Christensen. Add layout test coverage. * TestExpectations: * platform/wk2/TestExpectations: * printing/printing-events-expected.txt: Added. * printing/printing-events.html: Added. 2019-04-02 Zalan Bujtas [ContentChangeObserver] Hover menus do not function on fidelity.com https://bugs.webkit.org/show_bug.cgi?id=196507 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/400ms-hover-intent-expected.txt: Added. * fast/events/touch/ios/content-observation/400ms-hover-intent.html: Added. 2019-04-02 Chris Dumez Unreviewed, rolling out r243551. Seems to have broken file uploads to SoundCloud Reverted changeset: "XMLHttpRequestUpload's loadstart event not correct initialized" https://bugs.webkit.org/show_bug.cgi?id=196174 https://trac.webkit.org/changeset/243551 2019-04-02 Justin Fan [Web GPU] Implement blend states and color write mask for GPUColorStateDescriptor https://bugs.webkit.org/show_bug.cgi?id=196474 Reviewed by Myles C. Maxfield. Add blend-triangle-strip to test color blending and color-write-mask-triangle-strip.html to test color write mask. Update other tests to specify blend states when creating a GPURenderPipeline. * webgpu/blend-triangle-strip-expected.html: Added. * webgpu/blend-triangle-strip.html: Added. * webgpu/buffer-command-buffer-races.html: * webgpu/buffer-resource-triangles.html: * webgpu/color-write-mask-triangle-strip-expected.html: Added. * webgpu/color-write-mask-triangle-strip.html: Added. * webgpu/depth-enabled-triangle-strip.html: * webgpu/js/webgpu-functions.js: * webgpu/render-pipelines.html: * webgpu/texture-triangle-strip.html: * webgpu/vertex-buffer-triangle-strip.html: * webgpu/whlsl.html: 2019-04-02 Zalan Bujtas [ContentChangeObserver] Ignore reconstructed renderers when checking for visibility change https://bugs.webkit.org/show_bug.cgi?id=196483 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/visible-content-gains-new-renderer-expected.txt: Added. * fast/events/touch/ios/content-observation/visible-content-gains-new-renderer.html: Added. 2019-04-02 Shawn Roberts accessibility/mac/press-not-work-for-disabled-menu-list.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196505 Unreviewed test gardening. * platform/mac/TestExpectations: Updating test expectations for flaky failure 2019-04-02 Shawn Roberts media/video-background-tab-playback.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196502 Unreviewed test gardening * platform/mac-wk1/TestExpectations: Updating test expectations for flaky failure 2019-04-02 Shawn Roberts inspector/audit/basic.html is a flaky timeout on bots https://bugs.webkit.org/show_bug.cgi?id=196448 Unreviewed test gardening * platform/mac-wk1/TestExpectations: * platform/mac-wk2/TestExpectations: Updating test expectaions for flaky timeout 2019-04-02 Shawn Roberts fast/viewport/ios/constant-width-viewport-after-changing-view-scale.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=195341 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating test expecations for flaky failure 2019-04-02 Shawn Roberts fast/viewport/ios/viewport-shrink-to-fit-on-new-navigation.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196495 Unreviewed test gardening * platform/ios-simulator-wk2/TestExpectations: Updating test expectations for flaky failure 2019-04-02 Diego Pino Garcia REGRESSION(r243512): Change locale of test in intl-datetimeformat.js https://bugs.webkit.org/show_bug.cgi?id=196395 r243512 modifes Intl.DateTimeFormat to obey 2-digit hour. A test was added to test 2-digit hour in Russian using 12-hour setting as true and false. In the former case, the expected string appends the string 'AM' in Russian. This localised string made GTK-based ports fail since according to Glib the 'am_pm' values in Russian are not localised. This patch keeps the same test but changes locale to 'en' to prevent the test from failing. Reviewed by Michael Catanzaro. * js/intl-datetimeformat-expected.txt: * js/script-tests/intl-datetimeformat.js: * platform/gtk/js/intl-datetimeformat-expected.txt: 2019-04-01 Ryosuke Niwa Skip the tests added in r236519 on iOS. This feature was never implemented in iOS. * platform/ios/TestExpectations: 2019-04-01 Said Abou-Hallawa Remove the SVG tear off objects for SVGMatrix, SVGTransfrom, SVGTransformList and SVGAnimatedTransformList https://bugs.webkit.org/show_bug.cgi?id=196086 Reviewed by Simon Fraser. * svg/dom/SVGTransformList-basics-expected.txt: * svg/dom/SVGTransformList-basics.xhtml: These changes are required because SVGTransfromList will be following the SVG2 specs regarding adding new items to the list. See https://www.w3.org/TR/SVG/types.html#TermListInterface. 2019-04-01 Devin Rousso Web Inspector: DOMDebugger: breakpoints for attribute modifications still fire when breakpoints are disabled https://bugs.webkit.org/show_bug.cgi?id=196456 Reviewed by Joseph Pecoraro. * inspector/dom-debugger/dom-breakpoints.html: * inspector/dom-debugger/dom-breakpoints-expected.txt: 2019-04-01 Per Arne Vollan [Win10] Look into platform specific layout test failures https://bugs.webkit.org/show_bug.cgi?id=196463 Unreviewed test gardening. * platform/win/TestExpectations: 2019-04-01 Shawn Roberts accessibility/Mac/async-increment-decrement-action.html is crashing and blaming other tests on bots https://bugs.webkit.org/show_bug.cgi?id=187391 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating test expectations to skip crashing test 2019-04-01 Antti Koivisto Update event region when toggling pointer-events:none https://bugs.webkit.org/show_bug.cgi?id=195902 Reviewed by Simon Fraser. * fast/scrolling/ios/event-region-pointer-events-expected.txt: Added. * fast/scrolling/ios/event-region-pointer-events.html: Added. 2019-04-01 Chris Dumez Support "noreferrer" for window.open() https://bugs.webkit.org/show_bug.cgi?id=194533 Reviewed by Geoffrey Garen. Add equivalent test to imported/w3c/web-platform-tests/html/browsers/the-window-object/window-open-noopener.html but which relies on localStorage instead of BroadcastChannel so that it works with WebKit. * http/wpt/html/browsers/the-window-object/support/noreferrer-target-webkit.html: Added. * http/wpt/html/browsers/the-window-object/window-open-noopener-webkit-expected.txt: Added. * http/wpt/html/browsers/the-window-object/window-open-noopener-webkit.html: Added. 2019-04-01 Said Abou-Hallawa SVGMatrix.IDL methods do not conform to the specs https://bugs.webkit.org/show_bug.cgi?id=196263 Reviewed by Simon Fraser. * svg/dom/SVGMatrix-expected.txt: * svg/dom/SVGMatrix.html: Clean this test. Make it test the case when valid arguments are passed to the methods of the SVGMatrix. Make sure the methods are read-only. All of them should be making a copy of the matrix, applying the transform and returning the copy. 2019-04-01 Shawn Roberts storage/indexeddb/modern/deletedatabase-2-private.html is a flaky failure on Mac Debug https://bugs.webkit.org/show_bug.cgi?id=196445 Unreviewed test gardening * platform/ios-simulator-wk2/TestExpectations: Updating test expectations for flaky test 2019-04-01 Antti Koivisto Trying to scroll the compose pane on gmail.com scrolls the message list behind https://bugs.webkit.org/show_bug.cgi?id=196426 Reviewed by Darin Adler. * fast/scrolling/ios/event-region-visibility-hidden-expected.txt: Added. * fast/scrolling/ios/event-region-visibility-hidden.html: Added. 2019-04-01 Cathie Chen Change expectation for imported/w3c/web-platform-tests/resize-observer/eventloop.html. https://bugs.webkit.org/show_bug.cgi?id=196422 Reviewed by Frédéric Wang. At current implement, notifyResizeObservers is not synchronized to requestAnimationFrame, so the test would be flaky. * TestExpectations: eventloop.html is flaky because it depend on the order of requestAnimationFrame and ResizeObserver timer. 2019-03-31 Manuel Rego Casasnovas Scroll position gets reset when overflow:scroll is inside grid https://bugs.webkit.org/show_bug.cgi?id=196337 Reviewed by Simon Fraser. Fix scroll position when there are changes inside a grid item with "overflow: scroll". * fast/css-grid-layout/grid-item-content-scroll-position-expected.txt: Added. * fast/css-grid-layout/grid-item-content-scroll-position.html: Added. 2019-03-31 Wenson Hsieh [iOS] Crash when changing inputmode for certain types of focusable elements https://bugs.webkit.org/show_bug.cgi?id=196431 Reviewed by Tim Horton. Add a layout test that exercises the edge case; see WebKit ChangeLogs for more details. * fast/forms/change-inputmode-crash-expected.txt: Added. * fast/forms/change-inputmode-crash.html: Added. 2019-03-29 Dean Jackson gl.readPixels with type gl.FLOAT does not work https://bugs.webkit.org/show_bug.cgi?id=171432 Reviewed by Antoine Quint. New test that exercises reading a framebuffer object with a floating point texture attached. * platform/ios/TestExpectations: Skip this test on iOS, where floating-point FBOs are not supported. * fast/canvas/webgl/readPixels-float-expected.txt: Added. * fast/canvas/webgl/readPixels-float.html: Added. 2019-03-30 Zalan Bujtas [ContentChangeObserver] Add iFrame elements to the list of "considered clickable" elements. https://bugs.webkit.org/show_bug.cgi?id=196410 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/iframe-is-shown-on-hover-expected.txt: Added. * fast/events/touch/ios/content-observation/iframe-is-shown-on-hover.html: Added. 2019-03-30 Zalan Bujtas [ContentChangeObserver] Subframe load should not reset content observation on the mainframe https://bugs.webkit.org/show_bug.cgi?id=196408 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/hover-while-loading-subframe-expected.txt: Added. * fast/events/touch/ios/content-observation/hover-while-loading-subframe.html: Added. 2019-03-30 Antti Koivisto Hit-testing of boxes over scrollers should account for border-radius https://bugs.webkit.org/show_bug.cgi?id=195374 Reviewed by Simon Fraser. * fast/scrolling/ios/border-radius-event-region-expected.txt: Added. * fast/scrolling/ios/border-radius-event-region.html: Added. * fast/scrolling/ios/overflow-scroll-overlap-2-expected.txt: 2019-03-29 Zalan Bujtas [ContentChangeObserver] Expand DOM timer observation to 350ms https://bugs.webkit.org/show_bug.cgi?id=196411 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/350ms-hover-intent-expected.txt: Added. * fast/events/touch/ios/content-observation/350ms-hover-intent.html: Added. 2019-03-29 John Wilander Move WebResourceLoadStatisticsStore IPC calls from the UI process to the network process https://bugs.webkit.org/show_bug.cgi?id=196407 Reviewed by Brent Fulgham. * http/tests/storageAccess/deny-storage-access-under-opener-expected.txt: * http/tests/storageAccess/deny-storage-access-under-opener-if-auto-dismiss-expected.txt: * http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture-expected.txt: Added. * http/tests/storageAccess/grant-storage-access-under-opener-at-popup-user-gesture.html: Added. * http/tests/storageAccess/resources/get-cookies.php: * http/tests/storageAccess/resources/produce-user-gesture-set-cookie-and-report-back.html: Added. 2019-03-29 Chris Dumez Make someWindow.frames, .self, .window always return someWindow https://bugs.webkit.org/show_bug.cgi?id=195406 Reviewed by Alex Christensen. Update / rebaseline existing test to reflect behavior change. * fast/frames/detached-frame-property-expected.txt: * fast/frames/detached-frame-property.html: 2019-03-29 Myles C. Maxfield Delete WebMetal implementation in favor of WebGPU https://bugs.webkit.org/show_bug.cgi?id=195418 Reviewed by Dean Jackson. * fast/canvas/webmetal/webmetal-dispatch-expected.txt: Removed. * fast/canvas/webmetal/webmetal-dispatch.html: Removed. * fast/canvas/webmetal/webmetal-runtime-flag-expected.txt: Removed. * fast/canvas/webmetal/webmetal-runtime-flag.html: Removed. * inspector/canvas/create-context-webmetal-expected.txt: Removed. * inspector/canvas/create-context-webmetal.html: Removed. * inspector/canvas/resolveCanvasContext-webmetal-expected.txt: Removed. * inspector/canvas/resolveCanvasContext-webmetal.html: Removed. * platform/gtk/TestExpectations: * platform/ios/TestExpectations: * platform/mac/TestExpectations: * platform/win/TestExpectations: * platform/wincairo/TestExpectations: * platform/wpe/TestExpectations: 2019-03-29 Zalan Bujtas [Simple line layout] Turn off inline boxtree generation for multiline content https://bugs.webkit.org/show_bug.cgi?id=196404 Reviewed by Simon Fraser. * fast/text/simple-line-layout-and-multiline-inlineboxtree-expected.html: Added. * fast/text/simple-line-layout-and-multiline-inlineboxtree.html: Added. 2019-03-29 Shawn Roberts imported/w3c/web-platform-tests/mediacapture-record/MediaRecorder-stop.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196403 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Updating test expectations for flaky test 2019-03-29 Chris Dumez REGRESSION (r243523): Six form-related watchOS layout tests are timing out https://bugs.webkit.org/show_bug.cgi?id=196405 Reviewed by Wenson Hsieh. * fast/forms/ios/file-upload-panel.html: 2019-03-29 Wenson Hsieh REGRESSION (r243250): Text interactions are no longer suppressed when editing in some websites https://bugs.webkit.org/show_bug.cgi?id=196378 Reviewed by Simon Fraser. Add a new layout test to exercise the scenario in which a transformed textarea is hidden inside an empty overflow: hidden container. * editing/selection/ios/hide-selection-in-textarea-with-transform-expected.txt: Added. * editing/selection/ios/hide-selection-in-textarea-with-transform.html: Added. 2019-03-29 Alex Christensen Unreviewed test gardening for imported/w3c/web-platform-tests/xhr/send-redirect-post-upload.htm https://bugs.webkit.org/show_bug.cgi?id=159724 * TestExpectations: * platform/ios-wk1/TestExpectations: * platform/ios-wk2/TestExpectations: * platform/mac-wk1/TestExpectations: * platform/mac/TestExpectations: * platform/wpe/TestExpectations: This test asserts on Cocoa WebKitLegacy platforms. A patch I uploaded to https://bugs.webkit.org/show_bug.cgi?id=159724 shows why we do not intend to fix this. This test crashes on iOS12 and Mojave because of rdar://problem/28233746 This test should not crash anywhere else, but it is flaky in WebKit and Gecko. This is being taken care of in https://github.com/w3c/web-platform-tests/issues/8191 Updated test expectations to reflect the sad state of things. 2019-03-29 Takashi Komori [Curl] Add Server Trust Evaluation Support. https://bugs.webkit.org/show_bug.cgi?id=191646 Reviewed by Fujii Hironori. * platform/wincairo-wk1/TestExpectations: * platform/wincairo/TestExpectations: 2019-03-29 Ryosuke Niwa Pasting a table from Confluence strip of table cell content https://bugs.webkit.org/show_bug.cgi?id=196390 Reviewed by Antti Koivisto. Added a regression test. * editing/pasteboard/paste-content-with-overflow-auto-parent-across-origin-expected.txt: Added. * editing/pasteboard/paste-content-with-overflow-auto-parent-across-origin.html: Added. 2019-03-29 Shawn Roberts fast/mediastream/MediaStreamTrack-getSettings.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196400 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating test expectations for flaky failure 2019-03-29 Michael Catanzaro HTMLInputElement::setEditingValue should not fail if renderer doesn't exist https://bugs.webkit.org/show_bug.cgi?id=195708 Reviewed by Wenson Hsieh. This is a copy of fast/forms/editing-value.html, except the form is not displayed. The input value should still change. * fast/forms/editing-value-null-renderer-expected.txt: Added. * fast/forms/editing-value-null-renderer.html: Added. 2019-03-28 Antoine Quint All PointerEvent.isTrusted is always false. https://bugs.webkit.org/show_bug.cgi?id=196075 Reviewed by Chris Dumez. Add tests to the macOS and iOS series of tests that check that isTrusted is indeed true. This uncovered a couple of issues with how some tests were written. * pointerevents/ios/pointer-events-is-primary.html: Ensure we end both touches so that further tests run cleanly. * pointerevents/ios/pointer-events-is-trusted-expected.txt: Added. * pointerevents/ios/pointer-events-is-trusted.html: Added. * pointerevents/mouse/pointer-event-basic-properties.html: Ensure we wait for the event to be handled before finishing the test. * pointerevents/utils.js: (prototype._handlePointerEvent): 2019-03-29 Cathie Chen Implement ResizeObserver. https://bugs.webkit.org/show_bug.cgi?id=157743 Reviewed by Simon Fraser. Add tests for resize-observer of multiframe. * resize-observer/modify-frametree-in-callback-expected.txt: Added. * resize-observer/modify-frametree-in-callback.html: Added. * resize-observer/multi-frames-expected.txt: Added. * resize-observer/multi-frames.html: Added. * resize-observer/observe-element-from-other-frame-expected.txt: Added. * resize-observer/observe-element-from-other-frame.html: Added. * resize-observer/resources/frame1.html: Added. * resize-observer/resources/frame2.html: Added. * resize-observer/resources/frame3.html: Added. * resize-observer/resources/frame4.html: Added. * resize-observer/resources/frameset1.html: Added. * resize-observer/resources/frameset2.html: Added. * resize-observer/resources/iframe1.html: Added. * resize-observer/resources/resizeTestHelper.js: Added. (ResizeTestHelper): (ResizeTestHelper.prototype.get _currentStep): (ResizeTestHelper.prototype._nextStep): (ResizeTestHelper.prototype._handleNotification): (ResizeTestHelper.prototype._handleTimeout): (ResizeTestHelper.prototype._done): (ResizeTestHelper.prototype.start): (ResizeTestHelper.prototype.get rafCount): (ResizeTestHelper.prototype._incrementRaf): (ResizeTestHelper.prototype.startCountingRaf): 2019-03-28 Chris Dumez Support .contentWindow https://bugs.webkit.org/show_bug.cgi?id=195562 Reviewed by Sam Weinig. Update existing test to extend test coverage. * fast/dom/HTMLObjectElement/object-as-frame-expected.txt: * fast/dom/HTMLObjectElement/object-as-frame.html: 2019-03-28 Myles C. Maxfield FontFace constructor throws an exception when there is a name which starts with a number https://bugs.webkit.org/show_bug.cgi?id=196232 Reviewed by Ryosuke Niwa. * fast/text/font-face-family-expected.txt: Added. * fast/text/font-face-family.html: Added. 2019-03-28 Ryosuke Niwa getBoundingClientRect always returns empty rect on a collapsed range https://bugs.webkit.org/show_bug.cgi?id=196380 Reviewed by Wenson Hsieh. Added a regression test. * fast/dom/Range/getBoundingClientRect-on-collapsed-selection-range-expected.txt: Added. * fast/dom/Range/getBoundingClientRect-on-collapsed-selection-range.html: Added. 2019-03-28 Chris Dumez Re-sync web-platform-tests/html/browsers/the-window-object/ from upstream https://bugs.webkit.org/show_bug.cgi?id=196379 Reviewed by Ryosuke Niwa. * tests-options.json: 2019-03-28 John Wilander Resource Load Statistics: IPC to the WebsiteDataStore in the UI process from NetworkProcess::deleteWebsiteDataForRegistrableDomains() https://bugs.webkit.org/show_bug.cgi?id=196281 Reviewed by Alex Christensen. This test now covers LocalStorage too. * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-expected.txt: * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html: 2019-03-28 Shawn Roberts The following layout tests are flaky failures http/wpt/webauthn/public-key-credential-get-success-hid.https.html http/wpt/webauthn/public-key-credential-create-success-hid.https.html https://bugs.webkit.org/show_bug.cgi?id=194780 https://bugs.webkit.org/show_bug.cgi?id=196377 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Updating test expectations for flaky failures 2019-03-28 Shawn Roberts storage/domstorage/localstorage/private-browsing-affects-storage.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196376 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Updating test expectations for flaky failure 2019-03-28 Justin Fan [Web GPU] Prototype compute pipeline with MSL https://bugs.webkit.org/show_bug.cgi?id=196107 Reviewed by Myles Maxfield. Add a basic test to create, execute, and verify the results of a Web GPU compute pipeline. * webgpu/compute-squares-expected.txt: Added. * webgpu/compute-squares.html: Added. * webgpu/whlsl.html: Update some function names to match API changes. 2019-03-28 Shawn Roberts Fixed typing error I made in https://trac.webkit.org/changeset/243612/webkit https://bugs.webkit.org/show_bug.cgi?id=196357 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Fixing error in test expectations file 2019-03-28 Ryosuke Niwa Debug assert in DOMSelection::containsNode when node belongs to a different tree https://bugs.webkit.org/show_bug.cgi?id=196342 Reviewed by Antti Koivisto. Added a regression test to catch the debug assertion failure. The test always passed in release builds. * editing/selection/containsNode-with-no-common-ancestor-expected.txt: Added. * editing/selection/containsNode-with-no-common-ancestor.html: Added. 2019-03-28 Shawn Roberts http/wpt/cache-storage/quota-third-party.https.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196358 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Updating test expectations for flaky failure 2019-03-28 Shawn Roberts storage/indexeddb/modern/idbtransaction-objectstore-failures-private.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196357 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating test expectations for flaky failure 2019-03-28 Simon Fraser [macOS WK2] Overlays on instagram.com are shifted if you click on a photo after scrolling https://bugs.webkit.org/show_bug.cgi?id=196330 rdar://problem/49100304 Reviewed by Antti Koivisto. * scrollingcoordinator/mac/fixed-scrolled-body-expected.html: Added. * scrollingcoordinator/mac/fixed-scrolled-body.html: Added. 2019-03-28 Zalan Bujtas [SimpleLineLayout] Disable SLL when text-underline-position is not auto. https://bugs.webkit.org/show_bug.cgi?id=196338 Reviewed by Daniel Bates. * fast/text/simple-line-layout-with-text-underline-position-expected.html: Added. * fast/text/simple-line-layout-with-text-underline-position.html: Added. 2019-03-28 Carlos Garcia Campos [FreeType] Incorrect application of glyph positioning in the Y direction https://bugs.webkit.org/show_bug.cgi?id=161493 Reviewed by Michael Catanzaro. Rebaseline fast/text/international/hebrew-vowels.html. * platform/gtk/fast/text/international/hebrew-vowels-expected.png: * platform/gtk/fast/text/international/hebrew-vowels-expected.txt: 2019-03-27 Ryosuke Niwa [macOS] Select element doesn't show popup if select element had lost focus while popup was previosuly shown https://bugs.webkit.org/show_bug.cgi?id=196336 Reviewed by Tim Horton. Added regression tests for dismissing the select element's popup menu by bluring the element then re-opening the popup. Unfortunately these tests are only enabled in WebKit2 since intenals.isSelectPopupVisible would always return false in WebKit1. * TestExpectations: * fast/forms/select/mac-wk2: Added. * fast/forms/select/mac-wk2/blur-dismisses-select-popup-expected.html: Added. * fast/forms/select/mac-wk2/blur-dismisses-select-popup.html: Added. * fast/forms/select/mac-wk2/open-select-popup-after-dismissing-by-blur-expected.txt: Added. * fast/forms/select/mac-wk2/open-select-popup-after-dismissing-by-blur.html: Added. * platform/mac-wk2/TestExpectations: 2019-03-27 Alicia Boya García [GTK] Unreviewed test gardening https://bugs.webkit.org/show_bug.cgi?id=196329 * platform/gtk/TestExpectations: * platform/gtk/http/tests/inspector/network/har/har-page-expected.txt: * platform/gtk/http/tests/inspector/network/resource-sizes-network-expected.txt: * platform/gtk/js/intl-datetimeformat-expected.txt: Added. * platform/wpe/TestExpectations: 2019-03-27 Shawn Roberts The following layout tests are flaky Image Only Failures imported/w3c/web-platform-tests/mathml/relations/css-styling/mathvariant-bold.html imported/w3c/web-platform-tests/mathml/relations/css-styling/mathvariant-double-struck.html imported/w3c/web-platform-tests/mathml/relations/css-styling/mathvariant-italic.html https://bugs.webkit.org/show_bug.cgi?id=196112 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: * platform/mac/TestExpectations: Marking tests as flaky 2019-03-27 Justin Fan [Web GPU] Standardize Web GPU object reference counting and creation logic https://bugs.webkit.org/show_bug.cgi?id=196183 Reviewed by Dean Jackson. GPUShaderModule is no longer nullable. * webgpu/shader-modules.html: 2019-03-27 Shawn Roberts Unreviewed, rolling out r243346. Causing timeouts in animation tests across 10 builds Reverted changeset: "[Web Animations] JS wrapper may be deleted while animation is yet to dispatch its finish event" https://bugs.webkit.org/show_bug.cgi?id=196118 https://trac.webkit.org/changeset/243346 2019-03-27 Chris Dumez [ iOS Simulator ] REGRESSION (r237702) Layout Test http/tests/security/xss-DENIED-script-inject-into-inactive-window.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=195385 Reviewed by Alex Christensen. Before r237702, the test used to detect that _openedWindowDocument had become frameless (i.e. lost its browsing context) by checking if _openedWindowDocument.location.href is the empty String. However, r237702 updating Location to return "about:blank" instead of "" when frameless, to match the latest specification. As a result, I had updated the test to expect _openedWindowDocument.location.href to be "about:blank". However, I had not noticed that the document's initial URL (while it had a browsing context) was also "about:blank". Therefore, checking that location.href is "about:blank" would actually not guarantee that the document has no browsing context. To address the issue, check that _openedWindowDocument.defaultView is null instead since this is guaranteed to be null for Documents that do not have a browsing context as per: - https://html.spec.whatwg.org/multipage/window-object.html#dom-document-defaultview * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html: 2019-03-27 Zalan Bujtas [ContentChangeObserver] Stop using the global _WKContentChange https://bugs.webkit.org/show_bug.cgi?id=196288 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/remove-subframe-while-observing-expected.txt: Added. * fast/events/touch/ios/content-observation/remove-subframe-while-observing.html: Added. * fast/events/touch/ios/content-observation/subframe.html: Added. * platform/ios-device-wk1/TestExpectations: * platform/ios-simulator-wk1/TestExpectations: 2019-03-27 Said Abou-Hallawa Remove the SVG tear off objects for SVGPathSeg, SVGPathSegList and SVGAnimatedPathSegList https://bugs.webkit.org/show_bug.cgi?id=196085 Reviewed by Simon Fraser. * svg/dom/SVGPathSegList-appendItem-expected.txt: * svg/dom/SVGPathSegList-appendItem.xhtml: * svg/dom/SVGPathSegList-clear-and-initialize-expected.txt: * svg/dom/SVGPathSegList-clear-and-initialize.xhtml: * svg/dom/SVGPathSegList-insertItemBefore-expected.txt: * svg/dom/SVGPathSegList-insertItemBefore.xhtml: * svg/dom/SVGPathSegList-replaceItem-expected.txt: * svg/dom/SVGPathSegList-replaceItem.xhtml: These changes are required because SVGPathSegList will be following the SVG2 specs regarding adding new items to the list. See https://www.w3.org/TR/SVG/types.html#TermListInterface. 2019-03-27 Shawn Roberts http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196307 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Marking test as flaky while waiting for a fix 2019-03-27 Simon Fraser REGRESSION (r242687): Fullscreen YouTube videos show blank white space at top https://bugs.webkit.org/show_bug.cgi?id=196304 rdar://problem/49175760 Reviewed by Zalan Bujtas. * scrollingcoordinator/mac/top-content-inset-to-zero-expected.html: Added. * scrollingcoordinator/mac/top-content-inset-to-zero.html: Added. 2019-03-27 Shawn Roberts http/tests/cache/disk-cache/memory-cache-revalidation-updates-disk-cache.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=16297 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updated test expectations to include iOS Simulator 2019-03-27 Shawn Roberts fast/viewport/ios/use-minimum-device-width-for-page-without-viewport-meta.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196298 Unreviewed test gardening * platform/ios-simulator-wk2/TestExpectations: Updating test expectation for flaky failure 2019-03-27 Shawn Roberts fast/visual-viewport/ios/min-scale-greater-than-one.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196300 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating test expectation for flaky failure 2019-03-27 Per Arne Vollan Layout Test js/math-clz32.html is failing https://bugs.webkit.org/show_bug.cgi?id=196209 Reviewed by Ross Kirsling. * platform/win/TestExpectations: 2019-03-26 Simon Fraser [iOS WK2] Fixed elements in frames can be misplaced sometimes https://bugs.webkit.org/show_bug.cgi?id=196290 Reviewed by Frédéric Wang. * scrollingcoordinator/ios/fixed-in-frame-layer-reconcile-layer-position-expected.txt: Added. * scrollingcoordinator/ios/fixed-in-frame-layer-reconcile-layer-position.html: Added. 2019-03-26 Chris Dumez Add basic layout test coverage for File Picker on iOS https://bugs.webkit.org/show_bug.cgi?id=196265 Reviewed by Wenson Hsieh. Add new layout test. * fast/forms/ios/file-upload-panel-expected.txt: Added. * fast/forms/ios/file-upload-panel.html: Added. 2019-03-26 Shawn Roberts Layout tests editing/deleting/delete-emoji-1.html editing/deleting/delete-emoji-9.html editing/deleting/delete-emoji.html are failing webkit.org/b/191709 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating test expectations waiting for rebaseline 2019-03-26 Shawn Roberts imported/w3c/web-platform-tests/xhr/send-redirect-post-upload.htm is a flaky crash and a failing test https://bugs.webkit.org/show_bug.cgi?id=196274 Unreviewed test gardening. * TestExpectations: * platform/mac/TestExpectations: Updating test expectaion for flaky crash 2019-03-26 Shawn Roberts Layout tests http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource.html http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource.html http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource.html http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource.html are flaky time outs https://bugs.webkit.org/show_bug.cgi?id=196269 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Updating test expectations for flaky tests * platform/ios-wk2/TestExpectations: Updatiting test expectations for flaky tests 2019-03-26 Said Abou-Hallawa Remove the SVG tear off objects for SVGLength, SVGLengthList and SVGAnimatedLengthList https://bugs.webkit.org/show_bug.cgi?id=196083 Reviewed by Simon Fraser. * platform/win/TestExpectations: * svg/animations/svglength-element-removed-crash.svg: * svg/dom/SVGLengthList-appendItem-expected.txt: * svg/dom/SVGLengthList-appendItem.xhtml: * svg/dom/SVGLengthList-basics-expected.txt: * svg/dom/SVGLengthList-basics.xhtml: * svg/dom/SVGLengthList-initialize-expected.txt: * svg/dom/SVGLengthList-initialize.xhtml: * svg/dom/SVGLengthList-insertItemBefore-expected.txt: * svg/dom/SVGLengthList-insertItemBefore.xhtml: * svg/dom/SVGLengthList-removeItem-expected.txt: * svg/dom/SVGLengthList-removeItem.xhtml: * svg/dom/SVGLengthList-replaceItem-expected.txt: * svg/dom/SVGLengthList-replaceItem.xhtml: This changes are required because SVGLengthList will be following the SVG2 specs regarding adding new items to the list. See https://www.w3.org/TR/SVG/types.html#TermListInterface. 2019-03-26 Simon Fraser [iOS WK2] position:fixed inside oveflow:scroll is jumpy https://bugs.webkit.org/show_bug.cgi?id=196238 Reviewed by Antti Koivisto. fixed-in-overflow-scroll-scrolling-tree.html actually tests the fix. For some reason fixed-in-overflow-scroll.html doesn't show the jumpiness, but it's a good test to have nonetheless. Other minor cleanup. * resources/ui-helper.js: (window.UIHelper.immediateScrollElementAtContentPointToOffset): * scrollingcoordinator/ios/fixed-in-overflow-scroll-expected.html: Added. * scrollingcoordinator/ios/fixed-in-overflow-scroll-scrolling-tree-expected.txt: Added. * scrollingcoordinator/ios/fixed-in-overflow-scroll-scrolling-tree.html: Copied from LayoutTests/scrollingcoordinator/ios/ui-scrolling-tree.html. * scrollingcoordinator/ios/fixed-in-overflow-scroll.html: Added. * scrollingcoordinator/ios/ui-scrolling-tree.html: 2019-03-26 Andy VanWagoner Intl.DateTimeFormat should obey 2-digit hour https://bugs.webkit.org/show_bug.cgi?id=195974 Reviewed by Keith Miller. * js/intl-datetimeformat-expected.txt: * js/script-tests/intl-datetimeformat.js: 2019-03-26 Dean Jackson vertexAttribPointer must restrict offset parameter https://bugs.webkit.org/show_bug.cgi?id=196261 Reviewed by Antoine Quint. Add a test where the offset parameter is out of bounds. * fast/canvas/webgl/vertexAttribPointer-with-bad-offset-expected.txt: Added. * fast/canvas/webgl/vertexAttribPointer-with-bad-offset.html: Added. 2019-03-26 Zalan Bujtas [ContentChangeObserver] Skip anonymous renderers when checking for "willRespondToMouseClickEvents" https://bugs.webkit.org/show_bug.cgi?id=196259 Reviewed by Dean Jackson. * fast/events/touch/ios/content-observation/crash-on-anonymous-renderer-expected.txt: Added. * fast/events/touch/ios/content-observation/crash-on-anonymous-renderer.html: Added. 2019-03-26 Shawn Roberts Layout tests fast/events/wheel-event-destroys-overflow.html fast/events/wheelevent-mousewheel-interaction.html fast/events/wheel-event-destroys-frame.html fast/events/wheelevent-basic.html fast/events/wheelevent-in-text-node.html are a flaky timeouts https://bugs.webkit.org/show_bug.cgi?id=195719 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: Marking tests as flaky 2019-03-26 Per Arne Vollan Layout Test js/math-clz32.html is failing https://bugs.webkit.org/show_bug.cgi?id=196209 Unreviewed test gardening. * platform/win/TestExpectations: 2019-03-26 Diego Pino Garcia [GTK] Unreviewed gardening, update test expectations and baselines * platform/gtk/TestExpectations: * platform/gtk/compositing/overflow/textarea-scroll-touch-expected.txt: New expected results after r243031. * platform/gtk/http/tests/inspector/network/har/har-page-expected.txt: New expected results after r243347. 2019-03-26 Philippe Normand [GStreamer] Sound loop with Google Hangouts and WhatsApp notifications https://bugs.webkit.org/show_bug.cgi?id=189471 Reviewed by Xabier Rodriguez-Calvar. * platform/gtk/TestExpectations: * platform/gtk/media/video-playing-and-pause-expected.txt: 2019-03-26 Antti Koivisto Hit-testing on layers overlapping scrollers should hit-test on text boxes https://bugs.webkit.org/show_bug.cgi?id=195373 Reviewed by Simon Fraser. * fast/scrolling/ios/overflow-scroll-overlap-3.html: 2019-03-25 Fujii Hironori Unreviewed, rolling out r243450. AppleWin and WinCairo port builds get broken. Reverted changeset: "Add test for fix of #196095" https://bugs.webkit.org/show_bug.cgi?id=196097 https://trac.webkit.org/changeset/243450 2019-03-25 Said Abou-Hallawa Remove the SVG tear off objects for SVGAngle, SVGAnimatedAngle and SVGAnimatedEnumeration https://bugs.webkit.org/show_bug.cgi?id=196087 Reviewed by Simon Fraser. * svg/dom/SVGAnimatedEnumeration-SVGMarkerElement-expected.txt: * svg/dom/SVGAnimatedEnumeration-SVGMarkerElement.html: Fixes cases that the tear off objects could not handle correctly for the paired { angle, orientType }. Also when setting the orient type to "auto" or "auto-start-reverse", the orient angle should be reset to SVG_ANGLETYPE_UNSPECIFIED and is not suppsed to keep its original value. 2019-03-25 Shawn Roberts fast/visual-viewport/ios/min-scale-greater-than-one.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196236 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Changing expectations due to test being flaky 2019-03-25 Shawn Roberts fast/viewport/ios/initial-scale-after-changing-view-scale.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=196233 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Changing expectations due to test being flaky 2019-03-25 Shawn Roberts http/tests/cache-storage/cache-clearing-origin.https.html http/tests/cache-storage/cache-records-persistency.https.html are flaky failures https://bugs.webkit.org/show_bug.cgi?id=196228 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Changing expectations due to flaky tests 2019-03-25 Shawn Roberts performance-api/performance-observer-periodic.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=196218 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: Changing expectations due to flaky test 2019-03-25 Truitt Savell Unreviewed, rolling out r243419. Caused Mac WK2 testers to crash and become unresponsive. Reverted changeset: "[Web GPU] Prototype compute pipeline with MSL" https://bugs.webkit.org/show_bug.cgi?id=196107 https://trac.webkit.org/changeset/243419 2019-03-25 Truitt Savell Unreviewed, rolling out r243438. 243319 Caused Mac WK2 testers to crash and become unresponsive. Reverted changeset: "Update WebGPU class names based on sketch.idl" https://bugs.webkit.org/show_bug.cgi?id=194260 https://trac.webkit.org/changeset/243438 2019-03-25 Joseph Pecoraro Web Inspector: Page Weight indicator clears on pages with zero length resources (macrumors.com) https://bugs.webkit.org/show_bug.cgi?id=196170 Reviewed by Timothy Hatcher. * http/tests/inspector/network/resource-sizes-network.html: * http/tests/inspector/network/resources/empty.txt: Added. * platform/mac/http/tests/inspector/network/resource-sizes-network-expected.txt: 2019-03-25 Eric Carlson Delete MetadataPreloadingNotPermitted, it is unused https://bugs.webkit.org/show_bug.cgi?id=196202 Reviewed by Jer Noble. * media/video-restricted-no-preload-metadata-expected.txt: Removed. * media/video-restricted-no-preload-metadata.html: Removed. 2019-03-25 Jer Noble Add test for fix of #196095 https://bugs.webkit.org/show_bug.cgi?id=196097 Reviewed by Eric Carlson. * media/track/track-in-band-metadata-display-order-expected.txt: Added. * media/track/track-in-band-metadata-display-order.html: Added. 2019-03-25 Antti Koivisto Toggling "display: contents" to "display: none" fails to hide the element https://bugs.webkit.org/show_bug.cgi?id=188259 Reviewed by Simon Fraser. * fast/css/display-contents-to-none-expected.html: Added. * fast/css/display-contents-to-none.html: Added. 2019-03-25 Diego Pino Garcia [GTK] Gardening, update expected results for several smart-delete-paragraph tests Unreviewed test gardening. * platform/gtk/editing/deleting/smart-delete-paragraph-001-expected.txt: Added. * platform/gtk/editing/deleting/smart-delete-paragraph-002-expected.txt: Added. * platform/gtk/editing/deleting/smart-delete-paragraph-004-expected.txt: Added. 2019-03-25 Justin Fan Update WebGPU class names based on sketch.idl https://bugs.webkit.org/show_bug.cgi?id=194260 Reviewed by Dean Jackson. Update all exposed Web GPU interface names to GPU* prefix. * webgpu/adapter-options.html: * webgpu/bind-groups.html: * webgpu/map-read-buffers.html: * webgpu/map-write-buffers.html: * webgpu/pipeline-layouts.html: * webgpu/queue-creation.html: * webgpu/render-command-encoding.html: * webgpu/render-pipelines.html: * webgpu/textures-textureviews.html: * webgpu/webgpu-enabled.html: 2019-03-25 Javier Fernandez A single leading space is not considered as a word break even when word-break: break-all is set https://bugs.webkit.org/show_bug.cgi?id=195361 Reviewed by Ryosuke Niwa. Removed some entries from the GTK expectation file. Added tests to verify the codepath with SimpleLineLayout disabled. * fast/text/overflow-wrap-break-word-004-expected.html: Added. * fast/text/overflow-wrap-break-word-004.html: Added. * fast/text/overflow-wrap-break-word-005-expected.html: Added. * fast/text/overflow-wrap-break-word-005.html: Added. * fast/text/overflow-wrap-break-word-007-expected.html: Added. * fast/text/overflow-wrap-break-word-007.html: Added. * fast/text/whitespace/pre-wrap-008-expected.html: Added. * fast/text/whitespace/pre-wrap-008.html: Added. * fast/text/whitespace/pre-wrap-015-expected.html: Added. * fast/text/whitespace/pre-wrap-015.html: Added. * fast/text/whitespace/pre-wrap-016-expected.html: Added. * fast/text/whitespace/pre-wrap-016.html: Added. * fast/text/word-break-break-all-010-expected.html: Added. * fast/text/word-break-break-all-010.html: Added. * fast/text/word-break-break-all-011-expected.html: Added. * fast/text/word-break-break-all-011.html: Added. * fast/text/word-break-break-all-015-expected.html: Added. * fast/text/word-break-break-all-015.html: Added. * platform/gtk/TestExpectations: - word-break-break-all-010.html passes now thanks to this change. 2019-03-25 Diego Pino Garcia [GTK][WPE] Gardening, update test expectations. Unreviewed test gardening. * platform/gtk/TestExpectations: * platform/gtk/fast/text/ja-sans-serif-expected.png: Removed. Test harnessing suggested to remove this file as it was not being used. * platform/wpe/TestExpectations: 2019-03-25 Rob Buis Reflect HTMLLinkElement.as according to the spec https://bugs.webkit.org/show_bug.cgi?id=196189 Reviewed by Youenn Fablet. Update improved test result. * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-metadata-expected.txt: 2019-03-25 Gyuyoung Kim Remove NavigatorContentUtils in WebCore/Modules https://bugs.webkit.org/show_bug.cgi?id=196070 Reviewed by Alex Christensen. NavigatorContentUtils was to support the custom scheme spec [1]. However, in WebKit side, no port has supported the feature in WebKit layer after EFL port was removed. So there has been the only IDL implementation of the NavigatorContentUtils in WebCore. So we don't need to keep the implementation in WebCore anymore. [1] https://html.spec.whatwg.org/multipage/system-state.html#custom-handlers * fast/dom/NavigatorContentUtils/is-protocol-handler-registered-expected.txt: Removed. * fast/dom/NavigatorContentUtils/is-protocol-handler-registered.html: Removed. * fast/dom/NavigatorContentUtils/register-protocol-handler-expected.txt: Removed. * fast/dom/NavigatorContentUtils/register-protocol-handler.html: Removed. * fast/dom/NavigatorContentUtils/unregister-protocol-handler-expected.txt: Removed. * fast/dom/NavigatorContentUtils/unregister-protocol-handler.html: Removed. * platform/gtk/TestExpectations: * platform/ios/TestExpectations: * platform/mac/TestExpectations: * platform/wincairo/TestExpectations: * platform/wpe/TestExpectations: 2019-03-23 Mark Lam Rolling out r243032 and r243071 because the fix is incorrect. https://bugs.webkit.org/show_bug.cgi?id=195892 Not reviewed. * platform/mac/TestExpectations: 2019-03-23 Justin Fan [Web GPU] Prototype compute pipeline with MSL https://bugs.webkit.org/show_bug.cgi?id=196107 Reviewed by Myles Maxfield. Add a basic test to create, execute, and verify the results of a Web GPU compute pipeline. * webgpu/compute-squares-expected.txt: Added. * webgpu/compute-squares.html: Added. * webgpu/whlsl.html: Update some function names to match API changes. 2019-03-23 Simon Fraser REGRESSION (iOS 8): Scrollbar can't be hidden when webkit-overflow-scrolling is set to touch https://bugs.webkit.org/show_bug.cgi?id=137043 rdar://problem/16595330 Reviewed by Zalan Bujtas. Test that dumps the UI-side scrolling tree, showing e.g. "horizontal scrollbar hidden by style" in the dump. This test was previously a render tree dump, which did not test whether scrollbars were visible. * fast/scrolling/ios/scrollbar-hiding-expected.txt: * fast/scrolling/ios/scrollbar-hiding.html: * platform/ios/fast/scrolling/ios/scrollbar-hiding-expected.txt: Removed. 2019-03-23 Zalan Bujtas [ContentChangeObserver] Taping on a form control should always result in click. https://bugs.webkit.org/show_bug.cgi?id=196177 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/tap-on-input-type-button-element-expected.txt: Added. * fast/events/touch/ios/content-observation/tap-on-input-type-button-element.html: Added. * fast/events/touch/ios/content-observation/tap-on-input-type-text-element-expected.txt: Added. * fast/events/touch/ios/content-observation/tap-on-input-type-text-element.html: Added. 2019-03-23 Zalan Bujtas [ContentChangeObserver] Add support for observing opacity. https://bugs.webkit.org/show_bug.cgi?id=196172 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-expected.txt: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-with-opacity-and-left-expected.txt: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-with-opacity-and-left.html: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-with-transition-expected.txt: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove-with-transition.html: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-mousemove.html: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-touchstart-expected.txt: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-touchstart-with-transition-expected.txt: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-touchstart-with-transition.html: Added. * fast/events/touch/ios/content-observation/opacity-change-happens-on-touchstart.html: Added. 2019-03-23 Zalan Bujtas [ContentChangeObserver] Check if the transitioned content is visible at onAnimationEnd https://bugs.webkit.org/show_bug.cgi?id=196171 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/10ms-delay-transition-on-touch-start-with-non-0px-end-expected.txt: Added. * fast/events/touch/ios/content-observation/10ms-delay-transition-on-touch-start-with-non-0px-end.html: Added. 2019-03-22 Devin Rousso Unreviewed, fix test failures after r243269. In debug builds, it's possible that the Web Inspector frontend is told to stop a timeline recording before all of the recorded records have had a chance to be completed/processed. As an example ``` setTimeout(() => { }); ``` it may happen that the "stop recording" event will be dispatched before the timeout has finished executing, meaning that the event that contains the recorded data for that timeout will be ignored by the frontend. Rework the tests so that they don't dispatch the "stop recording" event until the expected record is received by the frontend, rather than having the test code itself say when to stop. * inspector/timeline/resources/timeline-event-utilities.js: (savePageData): Added. (TestPage.registerInitializer.InspectorTest.TimelineEvent.captureTimelineWithScript): (finishRecording): Deleted. * inspector/timeline/timeline-event-CancelAnimationFrame.html: * inspector/timeline/timeline-event-CancelAnimationFrame-expected.txt: * inspector/timeline/timeline-event-EventDispatch.html: * inspector/timeline/timeline-event-EventDispatch-expected.txt: * inspector/timeline/timeline-event-FireAnimationFrame.html: * inspector/timeline/timeline-event-FireAnimationFrame-expected.txt: * inspector/timeline/timeline-event-RequestAnimationFrame.html: * inspector/timeline/timeline-event-RequestAnimationFrame-expected.txt: * inspector/timeline/timeline-event-TimerFire.html: * inspector/timeline/timeline-event-TimerFire-expected.txt: * inspector/timeline/timeline-event-TimerInstall.html: * inspector/timeline/timeline-event-TimerInstall-expected.txt: * inspector/timeline/timeline-event-TimerRemove.html: * inspector/timeline/timeline-event-TimerRemove-expected.txt: 2019-03-22 Devin Rousso Web Inspector: Safari Canvas Inspector seems to show the canvas being rendered twice per frame. https://bugs.webkit.org/show_bug.cgi?id=196082 Reviewed by Dean Jackson. * inspector/canvas/recording-2d.html: * inspector/canvas/recording-bitmaprenderer.html: * inspector/canvas/recording-html-2d.html: * inspector/canvas/recording-webgl.html: * inspector/canvas/setRecordingAutoCaptureFrameCount.html: 2019-03-22 Ryan Haddad Unreviewed, rolling out r243356. Causes assertion failures with WebGL layout tests on macOS and iOS. Reverted changeset: "Web Inspector: Safari Canvas Inspector seems to show the canvas being rendered twice per frame." https://bugs.webkit.org/show_bug.cgi?id=196082 https://trac.webkit.org/changeset/243356 2019-03-22 Antti Koivisto Handle UI side hit testing for ScrollPositioningBehavior::Stationary positioned nodes https://bugs.webkit.org/show_bug.cgi?id=196100 Reviewed by Simon Fraser. * fast/scrolling/ios/overflow-scroll-overlap-6-expected.txt: Added. * fast/scrolling/ios/overflow-scroll-overlap-6.html: Added. 2019-03-22 Simon Fraser Unreviewed test gardening of plugin tests https://bugs.webkit.org/show_bug.cgi?id=196150 For reasons unknown, my machine and bots produce different results for these plug-in tests. My machine behaves like the test plug-in does not exist. * platform/mac-wk1/compositing/plugins/composited-plugin-expected.txt: Removed. * platform/mac-wk1/compositing/plugins/no-backing-store-expected.txt: Removed. * platform/mac-wk1/compositing/plugins/small-to-large-composited-plugin-expected.txt: Removed. 2019-03-22 Alicia Boya García [MSE][GStreamer] Don't construct segments on PlaybackPipeline::flush https://bugs.webkit.org/show_bug.cgi?id=195867 Reviewed by Xabier Rodriguez-Calvar. Drawing an MSE video in a canvas seems to be failing in Mac. That functionality is necessary for the tests introduced with this patch, therefore they fail there. Marking them as Skip. * platform/mac/TestExpectations: 2019-03-21 Said Abou-Hallawa Remove the SVG tear off objects for SVGNumber, SVGNumberList and SVGAnimatedNumberList https://bugs.webkit.org/show_bug.cgi?id=196084 Reviewed by Simon Fraser. * svg/dom/SVGNumberList-basics-expected.txt: * svg/dom/SVGNumberList-basics.xhtml: This change is required because SVGNumberList will be following the SVG2 specs regarding adding new items to the list. See https://www.w3.org/TR/SVG/types.html#TermListInterface. 2019-03-21 Simon Fraser WebKit1 test gardening. * platform/mac-wk1/TestExpectations: * platform/mac-wk1/compositing/clipping/border-radius-async-overflow-clipping-layer-expected.txt: Added. * platform/mac-wk1/compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt: Added. * platform/mac-wk1/compositing/overflow/overflow-auto-with-touch-expected.txt: Added. * platform/mac-wk1/compositing/overflow/overflow-auto-with-touch-toggle-expected.txt: Added. * platform/mac-wk1/compositing/overflow/overflow-overlay-with-touch-expected.txt: Added. * platform/mac-wk1/compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: Added. * platform/mac-wk1/compositing/overflow/textarea-scroll-touch-expected.txt: Added. * platform/mac-wk1/compositing/plugins/composited-plugin-expected.txt: Added. * platform/mac-wk1/compositing/plugins/no-backing-store-expected.txt: Added. * platform/mac-wk1/compositing/plugins/small-to-large-composited-plugin-expected.txt: Added. * platform/mac-wk1/compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt: Added. * platform/mac-wk1/compositing/scrolling/overflow-scrolling-layers-are-self-painting-expected.txt: Added. 2019-03-21 Simon Fraser REGRESSION: (r242132) tiled-drawing/scrolling/scroll-snap/scroll-snap-proximity-mainframe.html is a timeout https://bugs.webkit.org/show_bug.cgi?id=196115 Unreviewed test gardening. Scroll snap doesn't work on macOS with async overflow scrolling, so revert the changes to these tests. * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html: * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html: 2019-03-21 Devin Rousso Web Inspector: Safari Canvas Inspector seems to show the canvas being rendered twice per frame. https://bugs.webkit.org/show_bug.cgi?id=196082 Reviewed by Dean Jackson. * inspector/canvas/recording-2d.html: * inspector/canvas/recording-bitmaprenderer.html: * inspector/canvas/recording-html-2d.html: * inspector/canvas/recording-webgl.html: * inspector/canvas/setRecordingAutoCaptureFrameCount.html: 2019-03-21 Joseph Pecoraro Web Inspector: Timelines - Cannot export on about:blank - suggested filename containing a colon silently fails https://bugs.webkit.org/show_bug.cgi?id=196109 Reviewed by Timothy Hatcher. * inspector/unit-tests/file-utilities-expected.txt: Added. * inspector/unit-tests/file-utilities.html: Added. Tests for FileUtilities.js * inspector/unit-tests/object-utilities.html: * inspector/unit-tests/promise-utilities.html: 2019-03-21 Chris Dumez [ Mac WK2 ] Layout Test http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=194350 Reviewed by Alex Christensen. Bypass the HTMLPreloadScanner in the test or compass.jpg resource may end up getting loaded twice and log extra lines in the test output. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php: * platform/mac-wk2/TestExpectations: * platform/wk2/http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: 2019-03-21 Simon Fraser Unreviewed test gardening. Fix this test by turning on async scrolling so that mock scrollbars don't show up. * fast/scrolling/ios/overflow-scrolling-touch-disabled-stacking-expected.html: 2019-03-21 Simon Fraser Unreviewed test gardening. Revert some iOS layout test results that were rebaselined with async scrolling enabled. * platform/ios-wk2/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt: Removed. * platform/ios-wk2/compositing/layer-creation/overflow-scroll-overlap-expected.txt: Removed. * platform/ios-wk2/compositing/layer-creation/scroll-partial-update-expected.txt: Removed. * platform/ios-wk2/compositing/overflow/content-gains-scrollbars-expected.txt: Removed. * platform/ios-wk2/compositing/overflow/overflow-scroll-expected.txt: * platform/ios-wk2/compositing/overflow/overflow-scrollbar-layer-positions-expected.txt: Removed. * platform/ios-wk2/compositing/overflow/overflow-scrollbar-layers-expected.txt: Removed. * platform/ios-wk2/compositing/overflow/remove-overflow-crash2-expected.txt: * platform/ios-wk2/compositing/overflow/scrollbar-painting-expected.txt: * platform/ios/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: * platform/ios/compositing/layers-inside-overflow-scroll-expected.txt: * platform/ios/compositing/overflow/scroll-ancestor-update-expected.txt: * platform/ios/compositing/reflections/nested-reflection-on-overflow-expected.txt: * platform/ios/compositing/self-painting-layers-expected.txt: 2019-03-21 Sihui Liu Fix key path extraction code in IndexedDB to check own property https://bugs.webkit.org/show_bug.cgi?id=196099 Reviewed by Ryosuke Niwa. Rebaseline the tests because we will have same exception but different exception messages after the patch. * storage/indexeddb/clone-exception-expected.txt: * storage/indexeddb/clone-exception-private-expected.txt: * storage/indexeddb/exceptions-expected.txt: * storage/indexeddb/exceptions-private-expected.txt: * storage/indexeddb/objectstore-basics-expected.txt: * storage/indexeddb/objectstore-basics-private-expected.txt: * storage/indexeddb/objectstore-basics-workers-expected.txt: * storage/indexeddb/structured-clone-expected.txt: * storage/indexeddb/structured-clone-private-expected.txt: * storage/indexeddb/wasm-exceptions-expected.txt: 2019-03-21 Simon Fraser [iOS WK2] Turn on async overflow scrolling by default https://bugs.webkit.org/show_bug.cgi?id=196011 rdar://problem/48453859 Reviewed by Antti Koivisto. Explicitly turn on async overflow scrolling in any test that: 1. Used -webkit-overflow-scrolling:touch 2. Called settings.setAsyncOverflowScrollingEnabled(true) * accessibility/ios-simulator/scroll-in-overflow-div.html: * compositing/clipping/border-radius-async-overflow-clipping-layer.html: * compositing/clipping/border-radius-async-overflow-non-stacking.html: * compositing/clipping/border-radius-async-overflow-stacking.html: * compositing/geometry/fixed-inside-overflow-scroll.html: * compositing/ios/overflow-scroll-touch-tiles.html: * compositing/ios/overflow-scroll-update-overlap.html: * compositing/layer-creation/absolute-in-async-overflow-scroll.html: * compositing/overflow/absolute-in-overflow-expected.html: * compositing/overflow/absolute-in-overflow.html: * compositing/overflow/clipping-ancestor-with-accelerated-scrolling-ancestor.html: * compositing/overflow/iframe-inside-overflow-clipping.html: * compositing/overflow/nested-scrolling.html: * compositing/overflow/overflow-auto-with-touch-expected.txt: * compositing/overflow/overflow-auto-with-touch-no-overflow.html: * compositing/overflow/overflow-auto-with-touch-toggle.html: * compositing/overflow/overflow-auto-with-touch.html: * compositing/overflow/overflow-clip-with-accelerated-scrolling-ancestor.html: * compositing/overflow/overflow-hidden-with-touch.html: * compositing/overflow/overflow-overlay-with-touch-expected.txt: * compositing/overflow/overflow-overlay-with-touch-no-overflow.html: * compositing/overflow/overflow-overlay-with-touch.html: * compositing/overflow/overflow-scroll-with-touch-no-overflow.html: * compositing/overflow/overflow-scroll.html: * compositing/overflow/overflow-visible-with-touch.html: * compositing/overflow/remove-overflow-crash.html: * compositing/overflow/scrolling-content-clip-to-viewport-expected.txt: * compositing/overflow/scrolling-content-clip-to-viewport.html: * compositing/overflow/scrolling-without-painting.html: * compositing/overflow/should-not-override-z-index-for-element-with-non-auto-z-index-and-overflow-scroll-and-touch.html: * compositing/overflow/subpixel-overflow.html: * compositing/overflow/textarea-scroll-touch-expected.txt: * compositing/overflow/textarea-scroll-touch.html: * compositing/overflow/updating-scrolling-content.html: * compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt: * compositing/rtl/rtl-scrolling-with-transformed-descendants.html: * compositing/scrolling/fixed-inside-scroll-expected.html: * compositing/scrolling/fixed-inside-scroll.html: * compositing/scrolling/overflow-scrolling-layers-are-self-painting.html: * compositing/scrolling/touch-scroll-to-clip.html: * compositing/scrolling/touch-scrolling-repaint-expected.html: * compositing/scrolling/touch-scrolling-repaint-spans-expected.html: * compositing/scrolling/touch-scrolling-repaint-spans.html: * compositing/scrolling/touch-scrolling-repaint.html: * css3/scroll-snap/nested-elements.html: * css3/scroll-snap/scroll-snap-children-with-overflow.html: * css3/scroll-snap/scroll-snap-offsets.html: * css3/scroll-snap/scroll-snap-positions.html: * css3/scroll-snap/scroll-snap-programmatic-overflow-scroll.html: * css3/scroll-snap/scroll-snap-style-changed-align.html: * fast/events/ios/no-touch-events-when-stopping-momentum-scroll-in-overflow.html: * fast/events/ios/touch-events-during-scroll-deceleration-in-overflow.html: * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-block.html: * fast/events/touch/ios/drag-block-without-overflow-scroll-and-passive-observer-on-document.html: * fast/events/touch/ios/drag-block-without-overflow-scroll.html: * fast/scrolling/ios/change-scrollability-on-content-resize-nested.html: * fast/scrolling/ios/change-scrollability-on-content-resize.html: * fast/scrolling/ios/clipping-ancestor-with-accelerated-scrolling-ancestor.html: * fast/scrolling/ios/fixed-inside-overflow-inside-iframe-expected.html: * fast/scrolling/ios/fixed-inside-overflow-inside-iframe.html: * fast/scrolling/ios/iframe-inside-overflow-clipping.html: * fast/scrolling/ios/overflow-clip-with-accelerated-scrolling-ancestor.html: * fast/scrolling/ios/overflow-scroll-inherited.html: * fast/scrolling/ios/overflow-scroll-overlap-2.html: * fast/scrolling/ios/overflow-scroll-overlap-3.html: * fast/scrolling/ios/overflow-scroll-overlap-4.html: * fast/scrolling/ios/overflow-scroll-overlap-5.html: * fast/scrolling/ios/overflow-scroll-overlap.html: * fast/scrolling/ios/overflow-scroll-touch.html: * fast/scrolling/ios/overflow-scrolling-ancestor-clip-size.html: * fast/scrolling/ios/overflow-scrolling-ancestor-clip.html: * fast/scrolling/ios/overflow-scrolling-touch-disabled-stacking.html: * fast/scrolling/ios/overflow-scrolling-touch-enabled-stacking-expected.html: * fast/scrolling/ios/overflow-scrolling-touch-enabled-stacking.html: * fast/scrolling/ios/reconcile-layer-position-recursive.html: * fast/scrolling/ios/remove-overflow-crash.html: * fast/scrolling/ios/scroll-into-view-with-top-content-inset.html: * fast/scrolling/ios/scrollbar-hiding.html: * fast/scrolling/ios/scrolling-content-clip-to-viewport.html: * fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor.html: * fast/scrolling/ios/table-cell-touch-scrolling.html: * fast/scrolling/ios/textarea-scroll-touch.html: * fast/scrolling/ios/touch-scroll-back-forward.html: * fast/scrolling/ios/touch-scroll-pointer-events-none.html: * fast/scrolling/ios/touch-stacking.html: * platform/ios-wk2/TestExpectations: * platform/ios-wk2/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt: Added. * platform/ios-wk2/compositing/layer-creation/overflow-scroll-overlap-expected.txt: Added. * platform/ios-wk2/compositing/layer-creation/scroll-partial-update-expected.txt: Added. * platform/ios-wk2/compositing/overflow/content-gains-scrollbars-expected.txt: Added. * platform/ios-wk2/compositing/overflow/overflow-scroll-expected.txt: * platform/ios-wk2/compositing/overflow/overflow-scrollbar-layer-positions-expected.txt: Added. * platform/ios-wk2/compositing/overflow/overflow-scrollbar-layers-expected.txt: Added. * platform/ios-wk2/compositing/overflow/remove-overflow-crash2-expected.txt: * platform/ios-wk2/compositing/overflow/scrollbar-painting-expected.txt: * platform/ios/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: * platform/ios/compositing/layers-inside-overflow-scroll-expected.txt: * platform/ios/compositing/overflow/scroll-ancestor-update-expected.txt: * platform/ios/compositing/reflections/nested-reflection-on-overflow-expected.txt: * platform/ios/compositing/self-painting-layers-expected.txt: * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit.html: * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position.html: * platform/ios/fast/scrolling/find-text-in-overflow-node.html: * platform/ios/media/video-play-glyph-composited-outside-overflow-scrolling-touch-container.html: * platform/mac/compositing/overflow/overflow-auto-with-touch-toggle-expected.txt: * pointerevents/ios/touch-action-none-in-overflow-scrolling-touch.html: * scrollingcoordinator/ios/absolute-layer-should-not-move-with-scroll-expected.html: * scrollingcoordinator/ios/absolute-layer-should-not-move-with-scroll.html: * scrollingcoordinator/ios/relative-layer-should-move-with-scroll-expected.html: * scrollingcoordinator/ios/relative-layer-should-move-with-scroll.html: * scrollingcoordinator/ios/scroll-element-at-point.html: * scrollingcoordinator/scrolling-tree/gain-scrolling-node-parent.html: * scrollingcoordinator/scrolling-tree/lose-scrolling-node-parent.html: * scrollingcoordinator/scrolling-tree/overflow-in-fixed.html: * scrollingcoordinator/scrolling-tree/positioned-nodes-complex.html: * scrollingcoordinator/scrolling-tree/positioned-nodes.html: * scrollingcoordinator/scrolling-tree/remove-scrolling-role.html: * scrollingcoordinator/scrolling-tree/reparent-across-compositing-layers.html: * scrollingcoordinator/scrolling-tree/reparent-with-layer-removal.html: * scrollingcoordinator/scrolling-tree/resources/doc-with-sticky.html: * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-2d-overflow.html: * tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-borders.html: 2019-03-21 Antoine Quint [Web Animations] JS wrapper may be deleted while animation is yet to dispatch its finish event https://bugs.webkit.org/show_bug.cgi?id=196118 Reviewed by Ryosuke Niwa. Add a test that starts a short animation, sets a custom property on it, registers a "finish" event listener on it and deletes the sole reference to it in the JS world before triggering garbage collection. Prior to this fix, this test would time out because the JS wrapper would be garbage-collected prior to the animation completing and thus the event listener would not be called. To complete successfully, this test checks that it receives the event and its target is the same animation object that was originally created by checking the custom property is still set. * webanimations/js-wrapper-kept-alive-expected.txt: Added. * webanimations/js-wrapper-kept-alive.html: Added. 2019-03-21 Youenn Fablet Cache API and IDB space usages should be initialized on first quota check https://bugs.webkit.org/show_bug.cgi?id=195707 Reviewed by Chris Dumez. * TestExpectations: Marking http/tests/cache-storage/cache-clearing-origin.https.html as flaky on iOS as it is already marked flaky in MacOS. * platform/mac-wk2/TestExpectations: * http/tests/IndexedDB/storage-limit-1.https-expected.txt: Added. * http/tests/IndexedDB/storage-limit-1.https.html: Added. * http/tests/IndexedDB/storage-limit-2.https-expected.txt: Added. * http/tests/IndexedDB/storage-limit-2.https.html: Added. * http/tests/IndexedDB/storage-limit.https.html: * platform/mac-wk1/TestExpectations: * platform/win/TestExpectations: 2019-03-21 Said Abou-Hallawa Remove the SVG tear off objects for SVGPoint, SVGPointList and SVGAnimatedPointList https://bugs.webkit.org/show_bug.cgi?id=195905 Reviewed by Simon Fraser. * svg/dom/SVGPointList-basics-expected.txt: * svg/dom/SVGPointList-basics.xhtml: This change is required because SVGPointList will be following the SVG2 specs regarding adding new items to the list. See https://www.w3.org/TR/SVG/types.html#TermListInterface. 2019-03-21 Zalan Bujtas Do not insert the first-letter anonymous container until after we've constructed the first-letter renderer. https://bugs.webkit.org/show_bug.cgi?id=195919 Reviewed by Brent Fulgham. * fast/css/first-letter-and-float-crash-expected.txt: Added. * fast/css/first-letter-and-float-crash.html: Added. * platform/mac/TestExpectations: 2019-03-21 Eric Carlson Add UI process WebRTC runtime logging. https://bugs.webkit.org/show_bug.cgi?id=196020 Reviewed by Youenn Fablet. * inspector/console/webcore-logging.html: * inspector/console/webcore-logging-expected.txt: 2019-03-21 Alex Christensen Add SPI to inform applications of WKContentRuleList actions https://bugs.webkit.org/show_bug.cgi?id=195965 Reviewed by Geoff Garen. * http/tests/contentextensions/popups-expected.txt: Because popups now use UserContentProvider.processContentRuleListsForLoad like everything else, it now prints messages to the debug console. That is a desired improvement, so expectations are updated accordingly. 2019-03-21 Simon Fraser Add an internal feature flag to disable the -webkit-overflow-scrolling CSS property https://bugs.webkit.org/show_bug.cgi?id=196058 rdar://problem/49078202 Reviewed by Antti Koivisto. Add tests testing that the stacking-context side-effects -webkit-overflow-scrolling:touch go away when it's disabled. * fast/scrolling/ios/overflow-scrolling-touch-disabled-stacking-expected.html: Added. * fast/scrolling/ios/overflow-scrolling-touch-disabled-stacking.html: Added. * fast/scrolling/ios/overflow-scrolling-touch-enabled-stacking-expected.html: Added. * fast/scrolling/ios/overflow-scrolling-touch-enabled-stacking.html: Added. 2019-03-21 Devin Rousso Unreviewed, fix test failures after r243269. * inspector/timeline/line-column-expected.txt: 2019-03-21 Antti Koivisto UI-process hit-testing needs to know about containing block relationships https://bugs.webkit.org/show_bug.cgi?id=195845 Reviewed by Simon Fraser. * fast/scrolling/ios/overflow-scroll-overlap-5-expected.txt: Added. * fast/scrolling/ios/overflow-scroll-overlap-5.html: Added. 2019-03-21 Shawn Roberts Unreviewed, rebaseline test after failure in 243211. https://bugs.webkit.org/show_bug.cgi?id=195934. * scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt: 2019-03-21 Zalan Bujtas [ContentChangeObserver] Start tracking implicit transitions at mousemove https://bugs.webkit.org/show_bug.cgi?id=196054 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/0ms-delay-0ms-transition-on-mousemove-expected.txt: Added. * fast/events/touch/ios/content-observation/0ms-delay-0ms-transition-on-mousemove.html: Added. * fast/events/touch/ios/content-observation/100ms-delay-10ms-transition-on-mousemove-expected.txt: Added. * fast/events/touch/ios/content-observation/100ms-delay-10ms-transition-on-mousemove.html: Added. * fast/events/touch/ios/content-observation/10ms-delay-0ms-transition-on-mousemove-expected.txt: Added. * fast/events/touch/ios/content-observation/10ms-delay-0ms-transition-on-mousemove.html: Added. * fast/events/touch/ios/content-observation/10ms-delay-0ms-transition-on-touch-start-expected.txt: Added. * fast/events/touch/ios/content-observation/10ms-delay-0ms-transition-on-touch-start.html: Added. 2019-03-21 Simon Fraser Absolute in stacking-context scroller jiggles when scrolled https://bugs.webkit.org/show_bug.cgi?id=196010 Reviewed by Zalan Bujtas. * compositing/overflow/absolute-in-overflow-expected.html: Added. * compositing/overflow/absolute-in-overflow.html: Added. 2019-03-21 Zalan Bujtas [ContentChangeObserver] Start tracking implicit transitions at touchStart https://bugs.webkit.org/show_bug.cgi?id=196051 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/0ms-transition-on-touch-start-expected.txt: Added. * fast/events/touch/ios/content-observation/0ms-transition-on-touch-start.html: Added. * fast/events/touch/ios/content-observation/100ms-transition-on-touch-start-expected.txt: Added. * fast/events/touch/ios/content-observation/100ms-transition-on-touch-start.html: Added. * fast/events/touch/ios/content-observation/10ms-delay-transition-on-touch-start-expected.txt: Added. * fast/events/touch/ios/content-observation/10ms-delay-transition-on-touch-start.html: Added. * fast/events/touch/ios/content-observation/transition-on-touch-start-and-remove-expected.txt: Added. * fast/events/touch/ios/content-observation/transition-on-touch-start-and-remove.html: Added. 2019-03-21 Shawn Roberts Unreviewed, rolling out r243250. Causing 109 Failures and 2 crashes on iOS Sim Debug OpenSource/Internal queues Reverted changeset: "[iOS WK2] Turn on async overflow scrolling by default" https://bugs.webkit.org/show_bug.cgi?id=196011 https://trac.webkit.org/changeset/243250 2019-03-21 Miguel Gomez Unreviewed GTK+ and WPE gardening after r243278. * platform/gtk/TestExpectations: * platform/wpe/TestExpectations: 2019-03-21 Antti Koivisto Use immediateScrollElementAtContentPointToOffset for scroll overlap tests https://bugs.webkit.org/show_bug.cgi?id=195943 Reviewed by Simon Fraser. This is much faster and simpler than simulated touch events. * fast/scrolling/ios/overflow-scroll-overlap-2.html: * fast/scrolling/ios/overflow-scroll-overlap-3.html: * fast/scrolling/ios/overflow-scroll-overlap-4.html: * fast/scrolling/ios/overflow-scroll-overlap.html: This API doesn't respect touch-action property, so stop using it. Instead restore the main scrollview to the initial position explicitly after scroll. * fast/scrolling/resources/overflow-scroll-overlap.js: (async.runTest): * resources/ui-helper.js: (return.new.Promise.): (return.new.Promise): Add a Promise returning helper. 2019-03-20 Youenn Fablet Compute quota after network process restart based on default quota and space used https://bugs.webkit.org/show_bug.cgi?id=195804 Reviewed by Chris Dumez. * http/wpt/cache-storage/cache-quota-after-restart.any-expected.txt: Added. * http/wpt/cache-storage/cache-quota-after-restart.any.html: Added. * http/wpt/cache-storage/cache-quota-after-restart.any.js: Added. (promise_test.async): 2019-03-20 Youenn Fablet Include WAL and SHM file size in IDB database size computation https://bugs.webkit.org/show_bug.cgi?id=195688 Reviewed by Brady Eidson. * storage/websql/open-database-creation-callback.html: Bump quota for this test since WAL files are not included in quota computation. 2019-03-20 Devin Rousso Web Inspector: Timeline should show when events preventDefault() was called on an event or not https://bugs.webkit.org/show_bug.cgi?id=176824 Reviewed by Timothy Hatcher. Original patch by Joseph Pecoraro . * inspector/timeline/resources/timeline-event-utilities.js: Added. (finishRecording): (TestPage.registerInitializer.InspectorTest.TimelineEvent.captureTimelineWithScript): (TestPage.registerInitializer): Helper code for creating a recording from a function. * inspector/timeline/timeline-event-CancelAnimationFrame.html: Added. * inspector/timeline/timeline-event-CancelAnimationFrame-expected.txt: Added. * inspector/timeline/timeline-event-EventDispatch.html: Added. * inspector/timeline/timeline-event-EventDispatch-expected.txt: Added. * inspector/timeline/timeline-event-FireAnimationFrame.html: Added. * inspector/timeline/timeline-event-FireAnimationFrame-expected.txt: Added. * inspector/timeline/timeline-event-RequestAnimationFrame.html: Added. * inspector/timeline/timeline-event-RequestAnimationFrame-expected.txt: Added. * inspector/timeline/timeline-event-TimerFire.html: Added. * inspector/timeline/timeline-event-TimerFire-expected.txt: Added. * inspector/timeline/timeline-event-TimerInstall.html: Added. * inspector/timeline/timeline-event-TimerInstall-expected.txt: Added. * inspector/timeline/timeline-event-TimerRemove.html: Added. * inspector/timeline/timeline-event-TimerRemove-expected.txt: Added. 2019-03-20 Devin Rousso Web Inspector: Styles Redesign: Editing selector should not hide the rule https://bugs.webkit.org/show_bug.cgi?id=178489 Reviewed by Timothy Hatcher. * inspector/unit-tests/multimap.html: Added. * inspector/unit-tests/multimap-expected.txt: Added. 2019-03-20 Ryan Haddad Unreviewed, rebaseline two tests after r243241. * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt: * http/tests/security/anchor-download-block-crossorigin-expected.txt: 2019-03-20 Ryan Haddad [ iOS WK2 ] Layout Test imported/w3c/web-platform-tests/webrtc/simplecall.https.html is flaky crashing https://bugs.webkit.org/show_bug.cgi?id=191707 Unreviewed test gardening. * platform/ios/TestExpectations: Skip crashing test. 2019-03-20 Timothy Hatcher Unreviewed test gardening after r243229. * inspector/css/shadow-scoped-style-expected.txt: Rebaseline. * platform/mac-highsierra/inspector/css/shadow-scoped-style-expected.txt: Added. * platform/mac-highsierra/printing/width-overflow-expected.txt: Added. * platform/mac-sierra/inspector/css/shadow-scoped-style-expected.txt: Added. * platform/mac-sierra/printing/width-overflow-expected.txt: Added. * platform/mac/printing/width-overflow-expected.txt: Rebaseline. 2019-03-20 Chris Dumez [ Mac WK2 ] REGRESSION (r239333) Flaky ASSERTION FAILED: m_uncommittedState.state == State::Committed on http/tests/cookies/same-site/fetch-after-top-level-navigation-from-cross-origin-page.html https://bugs.webkit.org/show_bug.cgi?id=194225 Unreviewed, unskip the test as it no longer appears to be flaky. * platform/mac-wk2/TestExpectations: 2019-03-20 Simon Fraser [iOS WK2] Turn on async overflow scrolling by default https://bugs.webkit.org/show_bug.cgi?id=196011 rdar://problem/48453859 Reviewed by Antti Koivisto. New baselines, and skip some RTL tests that need a bit of work (webkit.org/b/196013). * compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt: * platform/ios-wk2/TestExpectations: * platform/ios-wk2/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt: Copied from LayoutTests/compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt. * platform/ios-wk2/compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt: Copied from LayoutTests/compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt. * platform/ios-wk2/compositing/layer-creation/overflow-scroll-overlap-expected.txt: Added. * platform/ios-wk2/compositing/layer-creation/scroll-partial-update-expected.txt: Added. * platform/ios-wk2/compositing/overflow/content-gains-scrollbars-expected.txt: Added. * platform/ios-wk2/compositing/overflow/overflow-scroll-expected.txt: * platform/ios-wk2/compositing/overflow/overflow-scrollbar-layer-positions-expected.txt: Added. * platform/ios-wk2/compositing/overflow/overflow-scrollbar-layers-expected.txt: Added. * platform/ios-wk2/compositing/overflow/remove-overflow-crash2-expected.txt: * platform/ios-wk2/compositing/overflow/scrollbar-painting-expected.txt: * platform/ios/compositing/geometry/limit-layer-bounds-clipping-ancestor-expected.txt: * platform/ios/compositing/layers-inside-overflow-scroll-expected.txt: * platform/ios/compositing/overflow/scroll-ancestor-update-expected.txt: * platform/ios/compositing/reflections/nested-reflection-on-overflow-expected.txt: * platform/ios/compositing/self-painting-layers-expected.txt: * scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt: 2019-03-20 Youenn Fablet Have smaller default quotas for third party frames https://bugs.webkit.org/show_bug.cgi?id=195841 Reviewed by Geoffrey Garen. * http/wpt/cache-storage/quota-third-party.https-expected.txt: Added. * http/wpt/cache-storage/quota-third-party.https.html: Added. * http/wpt/cache-storage/resources/quota-third-party-iframe.html: Added. 2019-03-20 Devin Rousso Web Inspector: DOM: include window as part of any event listener chain https://bugs.webkit.org/show_bug.cgi?id=195730 Reviewed by Timothy Hatcher. * inspector/dom/getEventListenersForNode.html: * inspector/dom/getEventListenersForNode-expected.txt: * inspector/dom/setEventListenerDisabled.html: * inspector/dom/event-listener-add-remove.html: 2019-03-20 Devin Rousso Web Inspector: Debugger: virtualize the list of variables in the Scope sidebar https://bugs.webkit.org/show_bug.cgi?id=192648 Reviewed by Joseph Pecoraro. * inspector/unit-tests/array-utilities.html: * inspector/unit-tests/array-utilities-expected.txt: 2019-03-20 Dean Jackson [iOS] Enable fast clicking everywhere https://bugs.webkit.org/show_bug.cgi?id=196023 Reviewed by Wenson Hsieh. Add a new test for the case where "Fast Clicks Everywhere" is explicitly set to false. This required implementing a humanSpeedZoomByDoubleTappingAt variation. * fast/events/ios/ipad/fast-click-always-expected.txt: * fast/events/ios/ipad/fast-click-always.html: * fast/events/ios/ipad/fast-click-not-always-expected.txt: Added. * fast/events/ios/ipad/fast-click-not-always.html: * resources/ui-helper.js: (window.UIHelper.humanSpeedZoomByDoubleTappingAt): New helper function that pauses between double taps, and resolves when the zoom finishes. 2019-03-19 Ryosuke Niwa [CSS OM] StyledElementInlineStylePropertyMap creates a Ref cycle with its owner element https://bugs.webkit.org/show_bug.cgi?id=195987 Reviewed by Simon Fraser. Added a regression test. * css-typedom/attribute-style-map-should-not-leak-every-element-expected.txt: Added. * css-typedom/attribute-style-map-should-not-leak-every-element.html: Added. 2019-03-20 Antoine Quint REGRESSION(r240634): Element::hasPointerCapture() passes a JS-controlled value directly into a HashMap as a key https://bugs.webkit.org/show_bug.cgi?id=195683 Reviewed by Alex Christensen. Adding the test that was supposed to have landed along with r242893. * pointerevents/pointer-id-crash-expected.txt: Added. * pointerevents/pointer-id-crash.html: Added. 2019-03-20 Devin Rousso Unreviewed, fix test failures after r243161. * inspector/timeline/line-column-expected.txt: Update expected line number for code movement inside Web Inspector's injected script. 2019-03-19 Ryosuke Niwa appendChild should throw when inserting an ancestor of a template into its content adopted to another document https://bugs.webkit.org/show_bug.cgi?id=195984 Reviewed by Darin Adler. Added a regression test. * fast/dom/insert-template-parent-into-adopted-content-expected.txt: Added. * fast/dom/insert-template-parent-into-adopted-content.html: Added. 2019-03-20 Simon Fraser Unreviewed test gardening. Fix the results for absolute-in-async-overflow-scroll.html. * compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt: * platform/ios-wk2/compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt: Copied from LayoutTests/compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt. 2019-03-20 Devin Rousso Web Inspector: Debugger: move breakpoint storage to use `WI.ObjectStore` https://bugs.webkit.org/show_bug.cgi?id=192719 Reviewed by Timothy Hatcher. * inspector/unit-tests/objectStore/resources/objectStore-utilities.js: * inspector/unit-tests/objectStore/put.html: Renamed from LayoutTests/inspector/unit-tests/objectStore/add.html. * inspector/unit-tests/objectStore/put-expected.txt: Renamed from LayoutTests/inspector/unit-tests/objectStore/add-expected.txt. * inspector/unit-tests/objectStore/putObject.html: Renamed from LayoutTests/inspector/unit-tests/objectStore/addObject.html. * inspector/unit-tests/objectStore/putObject-expected.txt: Renamed from LayoutTests/inspector/unit-tests/objectStore/addObject-expected.txt. * inspector/unit-tests/objectStore/delete-expected.txt: * inspector/unit-tests/objectStore/delete.html: * inspector/unit-tests/objectStore/deleteObject-expected.txt: * inspector/unit-tests/objectStore/deleteObject.html: * inspector/unit-tests/objectStore/clear.html: Replace `add` with `put` so that if a key already exists, it is overridden. 2019-03-20 Devin Rousso Web Inspector: Database: lazily create the agent https://bugs.webkit.org/show_bug.cgi?id=195587 Reviewed by Timothy Hatcher. * inspector/protocol/backend-dispatcher-argument-errors.html: * inspector/runtime/CommandLineAPI-inspect.html: 2019-03-20 Simon Fraser Some elements lag behind async overflow scrolling on palace-games.com https://bugs.webkit.org/show_bug.cgi?id=195934 Reviewed by Zalan Bujtas. Add a test with more combinations of overflow, containing block and compositing ancestor. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt: Added. * scrollingcoordinator/scrolling-tree/positioned-nodes-complex-expected.txt: Added. * scrollingcoordinator/scrolling-tree/positioned-nodes-complex.html: Added. 2019-03-20 Simon Fraser Explicitly trigger compositing for layers that need to be moved by ScrollingTreePositionedNodes https://bugs.webkit.org/show_bug.cgi?id=195710 Reviewed by Zalan Bujtas. * compositing/layer-creation/absolute-in-async-overflow-scroll-expected.txt: Added. * compositing/layer-creation/absolute-in-async-overflow-scroll.html: Added. 2019-03-20 Devin Rousso Web Inspector: Search: allow DOM searches to be case sensitive https://bugs.webkit.org/show_bug.cgi?id=194673 Reviewed by Timothy Hatcher. * inspector/dom/dom-search-caseSensitive.html: Copied from LayoutTests/inspector/dom/dom-search.html. * inspector/dom/dom-search-caseSensitive-expected.txt: Copied from LayoutTests/inspector/dom/dom-search-expected.txt. * inspector/dom/dom-search-expected.txt: * inspector/dom/resources/dom-search-queries.js: (TestPage.registerInitializer): 2019-03-20 Zalan Bujtas Unreviewed test gardening. * TestExpectations: This test case asserts on all platforms. * platform/mac/TestExpectations: 2019-03-20 Alicia Boya García [MSE][GStreamer] Fix handling of resolution changes in AppendPipeline https://bugs.webkit.org/show_bug.cgi?id=195855 Reviewed by Xabier Rodriguez-Calvar. * media/media-source/content/test-green-6s-320x240.mp4: Added. * media/media-source/content/test-red-3s-480x360.mp4: Added. * media/media-source/media-source-samples-resolution-change-expected.txt: Added. * media/media-source/media-source-samples-resolution-change.html: Added. 2019-03-20 Joanmarie Diggs AX: Implement support for new meter ARIA role https://bugs.webkit.org/show_bug.cgi?id=195966 Reviewed by Chris Fleizach. Add new role to the existing role exposure tests and update the expectations accordingly. * accessibility/gtk/xml-roles-exposed-expected.txt: * accessibility/gtk/xml-roles-exposed.html: * accessibility/roles-computedRoleString.html: * accessibility/roles-exposed.html: * platform/gtk/accessibility/roles-computedRoleString-expected.txt: * platform/gtk/accessibility/roles-exposed-expected.txt: * platform/mac/accessibility/roles-computedRoleString-expected.txt: * platform/mac/accessibility/roles-exposed-expected.txt: * platform/mac-wk2/accessibility/roles-exposed-expected.txt: 2019-03-19 Ryan Haddad Unreviewed test gardening for macOS. * platform/mac/TestExpectations: 2019-03-19 Jiewen Tan [WebAuthN] Implement FIDO AppID extension https://bugs.webkit.org/show_bug.cgi?id=143491 Reviewed by Brent Fulgham. * http/wpt/webauthn/public-key-credential-create-success-hid.https.html: * http/wpt/webauthn/public-key-credential-create-success-local.https.html: * http/wpt/webauthn/public-key-credential-create-success-u2f.https.html: * http/wpt/webauthn/public-key-credential-get-failure-u2f.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-failure-u2f.https.html: * http/wpt/webauthn/public-key-credential-get-failure.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-failure.https.html: * http/wpt/webauthn/public-key-credential-get-success-hid.https.html: * http/wpt/webauthn/public-key-credential-get-success-local.https.html: * http/wpt/webauthn/public-key-credential-get-success-u2f.https-expected.txt: * http/wpt/webauthn/public-key-credential-get-success-u2f.https.html: 2019-03-19 Ryosuke Niwa Rebaseline the test after r243175. It got somehow landed with failing expectations. * fast/dom/replace-child-with-mutation-event-removal-and-circular-template-insertion-expected.txt: 2019-03-19 John Wilander Resource Load Statistics (experimental): Clear non-cookie website data for sites that have been navigated to, with link decoration, by a prevalent resource https://bugs.webkit.org/show_bug.cgi?id=195923 Reviewed by Alex Christensen. * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration-expected.txt: Added. * http/tests/resourceLoadStatistics/website-data-removal-for-site-navigated-to-with-link-decoration.html: Added. 2019-03-19 Ryosuke Niwa Reparenting during a mutation event inside appendChild could result in a circular DOM tree https://bugs.webkit.org/show_bug.cgi?id=192825 Reviewed by Zalan Bujtas. Added regression tests. * fast/dom/append-child-with-mutation-event-removal-and-circular-insertion-expected.txt: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-insertion.html: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-shadow-insertion-expected.txt: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-shadow-insertion.html: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-template-insertion-expected.txt: Added. * fast/dom/append-child-with-mutation-event-removal-and-circular-template-insertion.html: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-insertion-expected.txt: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-insertion.html: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-shadow-insertion-expected.txt: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-shadow-insertion.html: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-template-insertion-expected.txt: Added. * fast/dom/insert-child-with-mutation-event-removal-and-circular-template-insertion.html: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-insertion-expected.txt: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-insertion.html: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-shadow-insertion-expected.txt: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-shadow-insertion.html: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-template-insertion-expected.txt: Added. * fast/dom/replace-child-with-mutation-event-removal-and-circular-template-insertion.html: Added. 2019-03-19 Timothy Hatcher REGRESSION (r239904): Update dark mode defines in a few places that got missed. https://bugs.webkit.org/show_bug.cgi?id=195958 Reviewed by Megan Gardner. * inspector/css/shadow-scoped-style-expected.txt: Rebaseline. * platform/mac/printing/width-overflow-expected.txt: Rebaseline. 2019-03-19 Joanmarie Diggs REGRESSION(r241586:r241590): [GTK] Accessibility tests in need of rebase https://bugs.webkit.org/show_bug.cgi?id=195129 Reviewed by Žan Doberšek. * accessibility/gtk/object-attributes-expected.txt: * accessibility/gtk/xml-roles-exposed-expected.txt: * platform/gtk/TestExpectations: * platform/gtk/accessibility/image-link-expected.txt: * platform/gtk/accessibility/image-map2-expected.txt: * platform/gtk/accessibility/lists-expected.txt: * platform/gtk/accessibility/math-multiscript-attributes-expected.txt: * platform/gtk/accessibility/roles-exposed-expected.txt: * platform/gtk/accessibility/table-attributes-expected.txt: * platform/gtk/accessibility/table-cell-spans-expected.txt: * platform/gtk/accessibility/table-cells-expected.txt: * platform/gtk/accessibility/table-one-cell-expected.txt: * platform/gtk/accessibility/table-sections-expected.txt: * platform/gtk/accessibility/table-with-rules-expected.txt: * platform/gtk/accessibility/transformed-element-expected.txt: 2019-03-19 Chris Dumez media/track/track-in-band-style.html is flaky https://bugs.webkit.org/show_bug.cgi?id=195922 Reviewed by Eric Carlson. * media/track/track-in-band-style-expected.txt: * media/track/track-in-band-style.html: - Check element.style instead of getComputedStyle(element) to get the CSS colors as this seems more reliable. - For the foreground text color, check cueNode.style.color instead of cueDisplayElement given that the implementation sets the CSS attribute on the cueNode, not the cueDisplayElement. 2019-03-19 Devin Rousso Unreviewed, fix test failures after r243119. * inspector/timeline/line-column.html: * inspector/timeline/setInstruments-programmatic-capture.html: Make sure to call `enable` for any ancillary agents. 2019-03-19 Alicia Boya García [MSE] Use tolerance in eraseBeginTime https://bugs.webkit.org/show_bug.cgi?id=195911 Reviewed by Jer Noble. * media/media-source/media-source-append-twice-overlapping-sync-frame-expected.txt: Added. * media/media-source/media-source-append-twice-overlapping-sync-frame.html: Added. 2019-03-19 Antti Koivisto Layer with no backing store should still hit-test over a scroller https://bugs.webkit.org/show_bug.cgi?id=195378 Reviewed by Simon Fraser. Reorganize the tests a bit and add some new ones. * fast/scrolling/ios/overflow-scroll-overlap-2-expected.txt: * fast/scrolling/ios/overflow-scroll-overlap-2.html: * fast/scrolling/ios/overflow-scroll-overlap-3-expected.txt: Added. * fast/scrolling/ios/overflow-scroll-overlap-3.html: Added. * fast/scrolling/ios/overflow-scroll-overlap-4-expected.txt: Added. * fast/scrolling/ios/overflow-scroll-overlap-4.html: Added. * fast/scrolling/ios/overflow-scroll-overlap.html: * fast/scrolling/resources/overflow-scroll-overlap.js: Added. (sleep): (async.runTest): (logScroll): (outputCase): 2019-03-18 Commit Queue Unreviewed, rolling out r243092 and r243096. https://bugs.webkit.org/show_bug.cgi?id=195926 Caused assertions in tests (Requested by smfr on #webkit). Reverted changesets: "Layer with no backing store should still hit-test over a scroller" https://bugs.webkit.org/show_bug.cgi?id=195378 https://trac.webkit.org/changeset/243092 "Try to fix Windows build." https://trac.webkit.org/changeset/243096 2019-03-18 Megan Gardner Smart Insert for paragraphs. https://bugs.webkit.org/show_bug.cgi?id=194880 Reviewed by Ryosuke Niwa. List tests are covered by paste-list-00*. Table tests are covered by paste-table-00* and paste-into-table-*. * editing/pasteboard/smart-paste-paragraph-001-expected.txt: Added. * editing/pasteboard/smart-paste-paragraph-001.html: Added. * editing/pasteboard/smart-paste-paragraph-002-expected.txt: Added. * editing/pasteboard/smart-paste-paragraph-002.html: Added. * editing/pasteboard/smart-paste-paragraph-003-expected.txt: Added. * editing/pasteboard/smart-paste-paragraph-003.html: Added. * editing/pasteboard/smart-paste-paragraph-004-expected.txt: Added. * editing/pasteboard/smart-paste-paragraph-004.html: Added. * platform/ios-wk2/editing/pasteboard/paste-text-016-expected.txt: This needed to be rebaselined to match the new behaviour. * platform/ios/editing/pasteboard/smart-paste-paragraph-001-expected.txt: Added. * platform/ios/editing/pasteboard/smart-paste-paragraph-002-expected.txt: Added. * platform/ios/editing/pasteboard/smart-paste-paragraph-003-expected.txt: Added. * platform/ios/editing/pasteboard/smart-paste-paragraph-004-expected.txt: Added. 2019-03-18 Jer Noble Add experimental "alphaChannel" property to VideoConfiguration https://bugs.webkit.org/show_bug.cgi?id=195853 Reviewed by Eric Carlson. * media/mediacapabilities/mock-decodingInfo-alphaChannel-expected.txt: Added. * media/mediacapabilities/mock-decodingInfo-alphaChannel.html: Added. 2019-03-18 Myles C. Maxfield [WHLSL] Hook up the compiler to our WebGPU implementation https://bugs.webkit.org/show_bug.cgi?id=195509 Unreviewed. Update after r243091. * webgpu/whlsl.html: 2019-03-18 Wenson Hsieh [iOS] Native selection views sometimes appear in hidden editable areas after losing focus https://bugs.webkit.org/show_bug.cgi?id=195894 Reviewed by Tim Horton. Add a test to verify that moving focus away from a hidden editable element doesn't cause platform selection views in the element to appear. See WebKit ChangeLog for more details. * editing/selection/ios/hide-selection-in-non-focused-element-expected.txt: Added. * editing/selection/ios/hide-selection-in-non-focused-element.html: Added. 2019-03-18 Antti Koivisto Layer with no backing store should still hit-test over a scroller https://bugs.webkit.org/show_bug.cgi?id=195378 Reviewed by Simon Fraser. Reorganize the tests a bit and add some new ones. * fast/scrolling/ios/overflow-scroll-overlap-2-expected.txt: * fast/scrolling/ios/overflow-scroll-overlap-2.html: * fast/scrolling/ios/overflow-scroll-overlap-3-expected.txt: Added. * fast/scrolling/ios/overflow-scroll-overlap-3.html: Added. * fast/scrolling/ios/overflow-scroll-overlap-4-expected.txt: Added. * fast/scrolling/ios/overflow-scroll-overlap-4.html: Added. * fast/scrolling/ios/overflow-scroll-overlap.html: * fast/scrolling/resources/overflow-scroll-overlap.js: Added. (sleep): (async.runTest): (logScroll): (outputCase): 2019-03-18 Myles C. Maxfield [WHLSL] Hook up the compiler to our WebGPU implementation https://bugs.webkit.org/show_bug.cgi?id=195509 Reviewed by Dean Jackson. * webgpu/whlsl-expected.html: Added. * webgpu/whlsl.html: Added. 2019-03-18 Justin Fan [Web GPU] GPUAdapter.createDevice -> GPUAdapter.requestDevice https://bugs.webkit.org/show_bug.cgi?id=195781 Reviewed by Myles C. Maxfield. Update affected Web GPU tests. * webgpu/adapter-options.html: * webgpu/js/webgpu-functions.js: (async.getBasicDevice): * webgpu/queue-creation.html: * webgpu/webgpu-enabled.html: 2019-03-18 Justin Fan [Web GPU] API updates: GPUTexture.createDefaultView and type-safe GPURenderPassEncoder.setPipeline https://bugs.webkit.org/show_bug.cgi?id=195896 Reviewed by Jon Lee. Rename createDefaultTextureView -> createDefaultView. * webgpu/buffer-command-buffer-races.html: * webgpu/depth-enabled-triangle-strip.html: * webgpu/js/webgpu-functions.js: (beginBasicRenderPass): * webgpu/texture-triangle-strip.html: * webgpu/textures-textureviews.html: 2019-03-18 Joseph Pecoraro Web Inspector: HAR Extension for `serverIPAddress` port number https://bugs.webkit.org/show_bug.cgi?id=195695 Reviewed by Matt Baker. * http/tests/inspector/network/har/har-basic-expected.txt: * http/tests/inspector/network/har/har-page-expected.txt: 2019-03-18 Joseph Pecoraro Unreviewed test gardening after r243024. * inspector/timeline/timeline-recording-expected.txt: * inspector/timeline/timeline-recording.html: Filter out the markers, but keep the display as an array. 2019-03-18 Daniel Bates [iOS] No DOM keypress event emitted for cursor key commands when non-editable element is focused https://bugs.webkit.org/show_bug.cgi?id=195626 Reviewed by Wenson Hsieh. Add some tests. These tests depend on UIKit work. * fast/events/ios/key-events-control-expected.txt: Added. * fast/events/ios/key-events-control.html: Copied from LayoutTests/fast/events/ios/key-events-meta-alt-combinations.html. * fast/events/ios/key-events-meta-expected.txt: Added. * fast/events/ios/key-events-meta.html: Copied from LayoutTests/fast/events/ios/key-events-meta-alt-combinations.html. 2019-03-18 Daniel Bates Fix bad substitution made in r241282 Revert substitution of "computeSubsets(modifierKeys)" back to "modiferKeySubsetsToTest" so that the test only checks key commands with Command and Option modifiers as opposed to all modifiers. That will make what the test actually tests match the checked-in expected resutls. * fast/events/ios/key-events-meta-alt-combinations.html: 2019-03-18 Truitt Savell REGRESSION: (r243032) inspector/model/remote-object.html is failing. https://bugs.webkit.org/show_bug.cgi?id=195892 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-03-18 Claudio Saavedra [WPE] Update test expectation Unreviewed gardening. Since iframe.referrerPolicy was implemented the WPE expectation for the test below has been out of date. * platform/wpe/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: Update. 2019-03-18 Diego Pino Garcia [WPE] Unreviewed, fix test expectation linter warnings https://bugs.webkit.org/show_bug.cgi?id=195881 * platform/wpe/TestExpectations: 2019-03-18 Claudio Saavedra [GTK][WPE] Fix webanimations test https://bugs.webkit.org/show_bug.cgi?id=189344 Reviewed by Philippe Normand. GLib-based ports will have issues with recognizing the mimetype of zero-byte files. * platform/gtk/TestExpectations: Test below should pass now. * webanimations/css-animation-effect-target-change-and-animation-removal-crash-expected.html: Make it a 1-byte empty file. 2019-03-18 Claudio Saavedra [GTK][GStreamer] Mark flaky crashing test * platform/gtk/TestExpectations: Unreviewed gardening. * platform/gtk/TestExpectations: Mark imported/w3c/web-platform-tests/media-source/mediasource-addsourcebuffer.html 2019-03-18 Philippe Normand [GStreamer] Rewrite HTTP source element using pushsrc base class https://bugs.webkit.org/show_bug.cgi?id=195631 Reviewed by Xabier Rodriguez-Calvar. * platform/gtk/TestExpectations: * platform/gtk/http/tests/media/hls/video-controls-live-stream-expected.txt: Update expectations, though it's not really related with this patch. 2019-03-18 Claudio Saavedra [GTK][GStreamer] Mark flaky crashing test Unreviewed gardening. * platform/gtk/TestExpectations: Mark imported/w3c/web-platform-tests/media-source/mediasource-addsourcebuffer-mode.html 2019-03-17 Fujii Hironori [Win][WK1] Null dereference in WebFrameNetworkingContext::storageSession https://bugs.webkit.org/show_bug.cgi?id=195741 Reviewed by Ross Kirsling. * platform/wincairo/TestExpectations: Unskipped http/tests/ssl/ping-with-unsafe-redirect.html. 2019-03-16 Jer Noble Add a new MediaCapabilitiesExtensionsEnabled setting https://bugs.webkit.org/show_bug.cgi?id=195843 Reviewed by Geoffrey Garen. * media/mediacapabilities/mock-decodingInfo-supportedConfiguration-expected.txt: * media/mediacapabilities/mock-decodingInfo-supportedConfiguration.html: 2019-03-16 Wenson Hsieh [iOS] Software keyboard never appears when editing on some websites https://bugs.webkit.org/show_bug.cgi?id=195824 Reviewed by Ryosuke Niwa. Add a layout test to verify that tapping a programmatically focused textarea that prevents touchstart still causes the keyboard to appear. * fast/events/touch/ios/show-keyboard-after-preventing-touchstart-expected.txt: Added. * fast/events/touch/ios/show-keyboard-after-preventing-touchstart.html: Added. 2019-03-16 Zalan Bujtas [iOS] Unable to close trending window on naver.com. https://bugs.webkit.org/show_bug.cgi?id=195842 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/new-content-covers-tap-target-expected.txt: Added. * fast/events/touch/ios/content-observation/new-content-covers-tap-target.html: Added. * fast/events/touch/ios/content-observation/prevent-default-on-touch-start.html: Added. 2019-03-16 Youenn Fablet Update WPT WebRTC tests up to a22a149 https://bugs.webkit.org/show_bug.cgi?id=195831 Reviewed by Eric Carlson. * tests-options.json: 2019-03-15 Joseph Pecoraro Web Inspector: HAR Extension for Resource Priority https://bugs.webkit.org/show_bug.cgi?id=195693 Reviewed by Devin Rousso. * http/tests/inspector/network/har/har-basic-expected.txt: * http/tests/inspector/network/har/har-page-expected.txt: 2019-03-15 Joseph Pecoraro Web Inspector: Timelines - Import / Export Timeline Recordings https://bugs.webkit.org/show_bug.cgi?id=195709 Reviewed by Devin Rousso. * inspector/timeline/timeline-recording-expected.txt: Added. * inspector/timeline/timeline-recording.html: Added. 2019-03-15 Zalan Bujtas [ContentChangeObserver] HTMLImageElement::willRespondToMouseClickEvents returns quirk value. https://bugs.webkit.org/show_bug.cgi?id=195657 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/visibility-change-with-image-content-expected.txt: Added. * fast/events/touch/ios/content-observation/visibility-change-with-image-content.html: Added. 2019-03-15 Dean Jackson Provide an option for an always-on fast click mode in iOS https://bugs.webkit.org/show_bug.cgi?id=195822 Reviewed by Sam Weinig. New test for "always fast click" mode. * fast/events/ios/ipad/fast-click-always-expected.txt: Added. * fast/events/ios/ipad/fast-click-always.html: Copied from LayoutTests/fast/events/ios/ipad/fast-click-double-tap-sends-click-on-insignificant-zoom.html. * fast/events/ios/ipad/fast-click-double-tap-sends-click-on-insignificant-zoom.html: 2019-03-15 Jer Noble Add a "supportedConfiguration" dictionary to MediaCapabilitiesDecodingInfo and MediaCapabilitiesEncodingInfo https://bugs.webkit.org/show_bug.cgi?id=195763 Reviewed by Jon Lee. * media/mediacapabilities/mock-decodingInfo-supportedConfiguration-expected.txt: Added. * media/mediacapabilities/mock-decodingInfo-supportedConfiguration.html: Added. 2019-03-15 Simon Fraser [Async overflow Scrolling] Update positioned node layers when overflows are scrolled https://bugs.webkit.org/show_bug.cgi?id=195733 rdar://problem/11642295 Reviewed by Antti Koivisto. New tests that use uiController.scrollUpdatesDisabled, and are the two move/stationary cases. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/positioned-nodes-expected.txt: * scrollingcoordinator/ios/absolute-layer-should-not-move-with-scroll-expected.html: Added. * scrollingcoordinator/ios/absolute-layer-should-not-move-with-scroll.html: Added. * scrollingcoordinator/ios/relative-layer-should-move-with-scroll-expected.html: Added. * scrollingcoordinator/ios/relative-layer-should-move-with-scroll.html: Added. * scrollingcoordinator/ios/ui-scrolling-tree-expected.txt: Fixed the last paren showing up. * scrollingcoordinator/scrolling-tree/positioned-nodes-expected.txt: We make positioned nodes now. 2019-03-15 Fujii Hironori Unreviewed test gardening for WinCairo port * platform/wincairo/TestExpectations: Unskipped http/tests/ssl and Marked them the current results. 2019-03-15 Devin Rousso Web Inspector: provide a way to capture a screenshot of a node from within the page https://bugs.webkit.org/show_bug.cgi?id=194279 Reviewed by Joseph Pecoraro. * js/console.html: * js/console-expected.txt: * inspector/console/console-screenshot.html: Added. * inspector/console/console-screenshot-expected.txt: Added. * http/tests/inspector/dom/cross-domain-inspected-node-access-expected.txt: 2019-03-14 Sihui Liu IndexedDB: re-enable some leak tests https://bugs.webkit.org/show_bug.cgi?id=194806 Reviewed by Geoffrey Garen. * TestExpectations: * platform/win/TestExpectations: * storage/indexeddb/connection-leak-expected.txt: * storage/indexeddb/connection-leak-private-expected.txt: * storage/indexeddb/cursor-leak-expected.txt: * storage/indexeddb/cursor-leak-private-expected.txt: * storage/indexeddb/cursor-request-cycle-expected.txt: * storage/indexeddb/cursor-request-cycle-private-expected.txt: * storage/indexeddb/request-leak-expected.txt: * storage/indexeddb/request-leak-private-expected.txt: * storage/indexeddb/resources/cursor-request-cycle.js: 2019-03-14 Simon Fraser Make it possible to test scrolling tree layer manipulation more easily https://bugs.webkit.org/show_bug.cgi?id=195780 Reviewed by Tim Horton. Add a boolean attribute 'scrollUpdatesDisabled' on UIScriptController that cuts off communication of scrolling tree scrolls back to the web process (in RemoteScrollingCoordinatorProxy::scrollingTreeNodeDidScroll()). This allows tests to trigger scrolls which run the scrolling tree layer positioning logic, but never get another commit from the web process that might mask scrolling tree bugs. WKWebView's testing protocol get @property _scrollingUpdatesDisabledForTesting, whose getters and setters are overridden by TestRunnerWKWebView. Plumbing via PageClient and WebPageProxy makes this flag reachable by RemoteScrollingCoordinatorProxy. * resources/ui-helper.js: Some 'async' functions that awaited promises should just return the promise. (window.UIHelper.immediateScrollTo): (window.UIHelper.immediateUnstableScrollTo): (window.UIHelper.async.delayFor): Deleted. (window.UIHelper.async.immediateScrollTo): Deleted. (window.UIHelper.async.immediateUnstableScrollTo): Deleted. 2019-03-14 Justin Fan [Web GPU] Updates to GPUCommandBuffer for new GPUCommandEncoder concept https://bugs.webkit.org/show_bug.cgi?id=195083 Reviewed by Dean Jackson. Fixing build error and re-introducing rolled-out changes. Update existing Web GPU tests for GPUCommandEncoder and new GPUCommandBuffer. * webgpu/blit-commands.html: * webgpu/buffer-command-buffer-races.html: * webgpu/buffer-resource-triangles.html: * webgpu/command-buffers-expected.txt: * webgpu/command-buffers.html: * webgpu/depth-enabled-triangle-strip.html: * webgpu/js/webgpu-functions.js: (beginBasicRenderPass): * webgpu/render-command-encoding.html: * webgpu/simple-triangle-strip.html: * webgpu/texture-triangle-strip.html: * webgpu/vertex-buffer-triangle-strip.html: 2019-03-14 Ryan Haddad [ iOS Sim WK2 ] Layout Test quicklook/numbers.html is failing https://bugs.webkit.org/show_bug.cgi?id=191711 Unreviewed test gardening. * platform/ios/TestExpectations: Mark test as failing. 2019-03-14 Wenson Hsieh REGRESSION (r242801): [iOS] preventDefault() on touchstart in a subframe does not prevent focusing the subframe https://bugs.webkit.org/show_bug.cgi?id=195749 Reviewed by Tim Horton. Add a test to verify that tapping a subframe doesn't move focus into it subframe if the page prevents default on touchstart. * fast/events/touch/ios/no-focus-change-when-preventing-default-on-touchstart-expected.txt: Added. * fast/events/touch/ios/no-focus-change-when-preventing-default-on-touchstart.html: Added. 2019-03-14 Shawn Roberts Unreviewed, rolling out r242931. Causing internal watch/tv OS build failures Reverted changeset: "[Web GPU] Updates to GPUCommandBuffer for new GPUCommandQueue concept" https://bugs.webkit.org/show_bug.cgi?id=195083 https://trac.webkit.org/changeset/242931 2019-03-14 Chris Dumez Device orientation's permission should only require a user gesture to prompt the user https://bugs.webkit.org/show_bug.cgi?id=195731 Reviewed by Geoffrey Garen. Update layout tests accordingly. * fast/device-orientation/device-motion-request-permission-denied.html: * fast/device-orientation/device-motion-request-permission-granted.html: * fast/device-orientation/device-motion-request-permission-user-gesture-expected.txt: * fast/device-orientation/device-orientation-request-permission-denied.html: * fast/device-orientation/device-orientation-request-permission-granted.html: * fast/device-orientation/device-orientation-request-permission-user-gesture-expected.txt: 2019-03-14 Dean Jackson Block all plugins smaller than 5x5px https://bugs.webkit.org/show_bug.cgi?id=195702 Updating some tests to account for this change. Make the plugins big enough to be created. * compositing/plugins/small-to-large-composited-plugin.html: * fast/frames/resources/sandboxed-iframe-about-blank.html: * fast/frames/resources/sandboxed-iframe-plugins-frame-applet.html: * fast/frames/resources/sandboxed-iframe-plugins-frame-embed.html: * fast/frames/resources/sandboxed-iframe-plugins-frame-object.html: 2019-03-14 Joseph Pecoraro Web Inspector: Network - HAR Import https://bugs.webkit.org/show_bug.cgi?id=195642 Reviewed by Devin Rousso. * http/tests/inspector/network/har/har-import-expected.txt: Added. * http/tests/inspector/network/har/har-import.html: Added. HAR import tests. * http/tests/inspector/network/har/resources/bad-version.har: Added. * http/tests/inspector/network/har/resources/basic.har: Added. * http/tests/inspector/network/har/resources/empty.har: Added. * http/tests/inspector/network/har/resources/webkit.org.har: Added. Sample HARs to test against. 2019-03-14 Zalan Bujtas Cleanup inline boxes when list marker gets blockified https://bugs.webkit.org/show_bug.cgi?id=195746 Reviewed by Antti Koivisto. * fast/block/float/list-marker-is-float-crash-expected.txt: Added. * fast/block/float/list-marker-is-float-crash.html: Added. 2019-03-14 Ryan Haddad Unreviewed test gardening, rebaseline tests after r241934. * fast/events/touch/ios/block-without-overflow-scroll-and-passive-observer-on-block-scrolling-state-expected.txt: * fast/events/touch/ios/block-without-overflow-scroll-and-passive-observer-on-document-scrolling-state-expected.txt: * fast/events/touch/ios/block-without-overflow-scroll-scrolling-state-expected.txt: * fast/events/touch/ios/tap-with-active-touch-end-listener-expected.txt: 2019-03-14 Devin Rousso Web Inspector: Audit: provide a way to get the contents of resources https://bugs.webkit.org/show_bug.cgi?id=195266 Reviewed by Joseph Pecoraro. * inspector/audit/resources/sample-resource.css: Added. * inspector/audit/resources/sample-resource.js: Added. * inspector/audit/run-resources.html: Added. * inspector/audit/run-resources-expected.txt: Added. 2019-03-14 Devin Rousso Web Inspector: Console: getEventListeners should work for any EventTarget https://bugs.webkit.org/show_bug.cgi?id=195713 Reviewed by Joseph Pecoraro. * inspector/console/command-line-api-getEventListeners.html: * inspector/console/command-line-api-getEventListeners-expected.txt: 2019-03-14 Devin Rousso Web Inspector: Styles: `::-webkit-scrollbar*` rules aren't shown https://bugs.webkit.org/show_bug.cgi?id=195123 Reviewed by Joseph Pecoraro. * inspector/css/getMatchedStylesForNode.html: Added. * inspector/css/getMatchedStylesForNode-expected.txt: Added. 2019-03-13 Justin Fan [Web GPU] Updates to GPUCommandBuffer for new GPUCommandQueue concept https://bugs.webkit.org/show_bug.cgi?id=195083 Reviewed by Dean Jackson. Update existing Web GPU tests for GPUCommandEncoder and new GPUCommandBuffer. * webgpu/blit-commands.html: * webgpu/buffer-command-buffer-races.html: * webgpu/buffer-resource-triangles.html: * webgpu/command-buffers-expected.txt: * webgpu/command-buffers.html: * webgpu/depth-enabled-triangle-strip.html: * webgpu/js/webgpu-functions.js: (beginBasicRenderPass): * webgpu/render-command-encoding.html: * webgpu/simple-triangle-strip.html: * webgpu/texture-triangle-strip.html: * webgpu/vertex-buffer-triangle-strip.html: 2019-03-13 Alicia Boya García [GTK] Unreviewed test gardening https://bugs.webkit.org/show_bug.cgi?id=195717 * platform/gtk/TestExpectations: * platform/wpe/TestExpectations: 2019-03-13 Dean Jackson Block all plugins smaller than 5x5px https://bugs.webkit.org/show_bug.cgi?id=195702 Reviewed by Sam Weinig. New test for some small plugins. Updated existing tests to create plugins bigger than a threshold if necessary. * plugins/clicking-missing-plugin-fires-delegate.html: * plugins/destroy-stream-twice.html: * plugins/npruntime/npruntime.html: * plugins/object-embed-plugin-scripting.html: * plugins/small-plugin-blocked-expected.txt: Added. * plugins/small-plugin-blocked.html: Added. * platform/mac-wk1/TestExpectations: Skip new test on WK1. 2019-03-13 Zalan Bujtas Use RenderBox::previousSiblingBox/nextSiblingBox in RenderMultiColumnFlow https://bugs.webkit.org/show_bug.cgi?id=195701 Reviewed by Simon Fraser. * fast/ruby/crash-when-paginated-ruby-expected.txt: Added. * fast/ruby/crash-when-paginated-ruby.html: Added. 2019-03-13 Wenson Hsieh Fix an edge case where HTMLFormElement::removeFormElement is invoked twice with the same element https://bugs.webkit.org/show_bug.cgi?id=195663 Reviewed by Ryosuke Niwa. Add a layout test to exercise the scenario described in the WebCore ChangeLog. * fast/forms/remove-associated-element-after-gc-expected.txt: Added. * fast/forms/remove-associated-element-after-gc.html: Added. 2019-03-13 Nikita Vasilyev REGRESSION(r240946): Web Inspector: Styles: removing selected property doesn't update overridden status https://bugs.webkit.org/show_bug.cgi?id=195389 Reviewed by Matt Baker. * inspector/css/overridden-property-expected.txt: Added. * inspector/css/overridden-property.html: Added. 2019-03-13 Simon Fraser Scrolling tree should reposition non-stacking order descendents of overflow:scroll https://bugs.webkit.org/show_bug.cgi?id=195608 Reviewed by Zalan Bujtas. The results of this test will change when we enable positioned nodes. It tests various combinations of overflow and stacking. * platform/ios-wk2/scrollingcoordinator/scrolling-tree/positioned-nodes-expected.txt: Added. * scrollingcoordinator/scrolling-tree/positioned-nodes-expected.txt: Added. * scrollingcoordinator/scrolling-tree/positioned-nodes.html: Added. 2019-03-13 Youenn Fablet Check IDB quota usage through QuotaManager https://bugs.webkit.org/show_bug.cgi?id=195302 Reviewed by Chris Dumez. Update IDB quota test according quota limit of 400ko. Update WK1 test expectations to skip quota check tests. * http/tests/IndexedDB/resources/shared.js: Added. * http/tests/IndexedDB/resources/storage-limit.js: Added. * http/tests/IndexedDB/storage-limit.https-expected.txt: Added. * http/tests/IndexedDB/storage-limit.https.html: Added. * platform/mac-wk1/TestExpectations: * platform/win/TestExpectations: * storage/indexeddb/resources/storage-limit.js: * storage/indexeddb/storage-limit-expected.txt: 2019-03-13 Truitt Savell (r242595) Layout Tests in imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/* are failing https://bugs.webkit.org/show_bug.cgi?id=195466 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-03-13 Joseph Pecoraro Web Inspector: Network - HAR Export duplicates blocked/send time if there was no dns/connect block https://bugs.webkit.org/show_bug.cgi?id=195655 Reviewed by Devin Rousso. * http/tests/inspector/network/har/har-basic-expected.txt: * http/tests/inspector/network/har/har-basic.html: 2019-03-13 Antoine Quint REGRESSION(r240634): Element::hasPointerCapture() passes a JS-controlled value directly into a HashMap as a key https://bugs.webkit.org/show_bug.cgi?id=195683 Reviewed by Alex Christensen. Add a new test which would crash in debug builds prior to this fix. * pointerevents/pointer-id-crash-expected.txt: Added. * pointerevents/pointer-id-crash.html: Added. 2019-03-13 Shawn Roberts http/tests/websocket/tests/hybi/handshake-ok-with-legacy-sec-websocket-response-headers.html is a flaky failure on Mac WK2 https://bugs.webkit.org/show_bug.cgi?id=173041 Unreviewed test gardening. * platform/mac/TestExpectations: Marking as flaky until a fix lands 2019-03-12 Justin Fan [Web GPU] Update GPURenderPipelineDescriptor and add GPUColorStateDescriptor.format https://bugs.webkit.org/show_bug.cgi?id=195518 Reviewed by Myles C. Maxfield. Update all tests with new enum styles and re-namings, and specify the format of the color attachment. * webgpu/blit-commands.html: * webgpu/buffer-command-buffer-races.html: * webgpu/buffer-resource-triangles.html: * webgpu/depth-enabled-triangle-strip.html: * webgpu/js/webgpu-functions.js: (createBasicSwapChain): (createBasicDepthTexture): * webgpu/render-pipelines-expected.txt: * webgpu/render-pipelines.html: Remove error cases, as createRenderPipeline no longer returns a null value on failure. * webgpu/shader-modules.html: * webgpu/texture-triangle-strip.html: * webgpu/textures-textureviews.html: * webgpu/vertex-buffer-triangle-strip.html: 2019-03-12 Wenson Hsieh [iOS] Input view sometimes flickers when blurring and refocusing an element https://bugs.webkit.org/show_bug.cgi?id=195639 Reviewed by Tim Horton. Add a test to ensure that the form control interaction doesn't stop and start again when blurring and focusing an editable element. * fast/forms/ios/keyboard-stability-when-refocusing-element-expected.txt: Added. * fast/forms/ios/keyboard-stability-when-refocusing-element.html: Added. 2019-03-12 Dean Jackson [WebGL] WebGLBuffer can be too large https://bugs.webkit.org/show_bug.cgi?id=195068 Reviewed by Antoine Quint. * fast/canvas/webgl/largeBuffer-expected.txt: Added. * fast/canvas/webgl/largeBuffer.html: Added. 2019-03-12 Ryan Haddad Unreviewed, fix a typo in TestExpecations. * platform/mac/TestExpectations: 2019-03-12 Devin Rousso Web Inspector: Canvas: export recording as HTML https://bugs.webkit.org/show_bug.cgi?id=195311 Reviewed by Joseph Pecoraro. * inspector/canvas/recording-html-2d.html: Added. * inspector/canvas/recording-html-2d-expected.txt: Added. * inspector/canvas/recording-2d-expected.txt: Added. * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer.log): (TestPage.registerInitializer.window.startRecording): * platform/ios-wk1/TestExpectations: * platform/mac-wk1/TestExpectations: 2019-03-12 Devin Rousso Web Inspector: Audit: there should be a centralized place for reusable code https://bugs.webkit.org/show_bug.cgi?id=195265 Reviewed by Joseph Pecoraro. * inspector/audit/manager-start-setup.html: Added. * inspector/audit/manager-start-setup-expected.txt: Added. * inspector/model/auditTestCase.html: * inspector/model/auditTestCase-expected.txt: * inspector/model/auditTestGroup.html: * inspector/model/auditTestGroup-expected.txt: 2019-03-12 Daniel Bates [iOS] Add test to ensure that a web page can prevent the default for Command + A https://bugs.webkit.org/show_bug.cgi?id=192425 Reviewed by Wenson Hsieh. Skip the test until we have the UIKit fix for . * fast/events/ios/key-command-select-all-prevent-default.html: Added. * platform/ios/TestExpectations: 2019-03-12 Zalan Bujtas [Synthetic Click] Dispatch mouseout soon after mouseup https://bugs.webkit.org/show_bug.cgi?id=195575 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/mouse-out-event-should-fire-on-click-expected.txt: Added. * fast/events/touch/ios/content-observation/mouse-out-event-should-fire-on-click.html: Added. 2019-03-12 Antti Koivisto Compositing layer that renders two positioned elements should not hit test https://bugs.webkit.org/show_bug.cgi?id=195371 Reviewed by Simon Fraser. * fast/scrolling/ios/overflow-scroll-overlap-2-expected.txt: Added. * fast/scrolling/ios/overflow-scroll-overlap-2.html: Added. 2019-03-12 Enrique Ocaña González [Media][MSE] Don't emit timeUpdate after play() if currentTime hasn't changed https://bugs.webkit.org/show_bug.cgi?id=195454 Reviewed by Jer Noble. This patch removes expectations for the first timeUpdate event after play(), because currentTime doesn't actually change in that scenario and the spec[1] states that a timeupdate event is fired if "The current playback position changed as part of normal playback or in an especially interesting way, for example discontinuously." [1] https://www.w3.org/TR/html52/semantics-embedded-content.html#eventdef-media-timeupdate * media/video-paused-0-rate.html: Don't require the timeUpdate event when currentTime=0 to pass the test. * media/video-play-pause-events-expected.txt: Ditto, and changed test description. * media/video-play-pause-events.html: Changed test description to reflect the new behaviour. * media/video-play-pause-exception-expected.txt: Don't require the timeUpdate event. 2019-03-11 Ryan Haddad Unreviewed, rolling out r242763. Causes layout test crashes on iOS simulator Reverted changeset: "[Synthetic Click] Dispatch mouseout soon after mouseup" https://bugs.webkit.org/show_bug.cgi?id=195575 https://trac.webkit.org/changeset/242763 2019-03-11 Ryan Haddad Unreviewed test gardening, rebaseline tests after r242757. * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt: * http/tests/security/anchor-download-block-crossorigin-expected.txt: 2019-03-11 Simon Fraser Add testing API to hit-test and scroll overflow scrollers https://bugs.webkit.org/show_bug.cgi?id=195278 Reviewed by Antti Koivisto. The test loads a scaled page with accelerated overflow:scroll, and hit-tests near the top-left and bottom-right corners to test the point conversion logic. * scrollingcoordinator/ios/scroll-element-at-point-expected.txt: Added. * scrollingcoordinator/ios/scroll-element-at-point.html: Added. 2019-03-11 Zalan Bujtas [Synthetic Click] Dispatch mouseout soon after mouseup https://bugs.webkit.org/show_bug.cgi?id=195575 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/mouse-out-event-should-fire-on-click-expected.txt: Added. * fast/events/touch/ios/content-observation/mouse-out-event-should-fire-on-click.html: Added. 2019-03-11 Justin Fan [Web GPU] Update GPUSwapChainDescriptor, GPUSwapChain and implement GPUCanvasContext https://bugs.webkit.org/show_bug.cgi?id=194406 Reviewed by Myles C. Maxfield. Update all tests for new WebGPUSwapChain and GPUCanvasContext, and window object name change from 'webgpu' to 'gpu'. In addition, all tests have been updated to WPT style. * webgpu/adapter-options.html: * webgpu/buffer-command-buffer-races.html: * webgpu/buffer-resource-triangles.html: * webgpu/command-buffers-expected.txt: * webgpu/command-buffers.html: * webgpu/depth-enabled-triangle-strip.html: * webgpu/js/basic-webgpu-functions.js: Removed. No longer needed. * webgpu/js/webgpu-functions.js: (async.getBasicDevice): (createBasicSwapChain): Renamed from createBasicContext. (beginBasicRenderPass): (createBasicContext): Deleted. (createBasicDepthStateDescriptor): Deleted. * webgpu/queue-creation.html: * webgpu/render-command-encoding-expected.txt: * webgpu/render-command-encoding.html: * webgpu/render-passes-expected.txt: Removed. * webgpu/render-passes.html: Removed for redundancy with other tests. * webgpu/shader-modules-expected.txt: * webgpu/shader-modules.html: * webgpu/simple-triangle-strip.html: * webgpu/texture-triangle-strip.html: * webgpu/textures-textureviews.html: * webgpu/vertex-buffer-triangle-strip.html: * webgpu/webgpu-basics-expected.txt: Removed. * webgpu/webgpu-basics.html: Removed for redundancy with other tests. * webgpu/webgpu-enabled-expected.txt: * webgpu/webgpu-enabled.html: 2019-03-11 Simon Fraser [iOS WK2] REGRESSION (r242687): Programmatic scroll of overflow scroll results in bad rendering https://bugs.webkit.org/show_bug.cgi?id=195584 Unreviewed test gardening. Mark compositing/ios/overflow-scroll-update-overlap.html as failing since I want to unskip and land a fix with additional tests. * platform/ios-wk2/TestExpectations: 2019-03-11 Dean Jackson [iOS] Implement a faster click detection that intercepts double-tap-to-zoom if possible https://bugs.webkit.org/show_bug.cgi?id=195473 Reviewed by Wenson Hsieh (with some help from Dan Bates). Implement a test (iPad only) that sets up a page with zoomable content but not quite at a significant scale, meaning we should dispatch a click event rather than Double Tap To Zoom. In order to do this, a humanSpeedDoubleTapAt() method was added to UIHelper that sleeps a bit between taps, otherwise the double tap gesture is recognized before the Web Process has had a chance to evaluate the potential click. * fast/events/ios/ipad/fast-click-double-tap-sends-click-on-insignificant-zoom-expected.txt: Added. * fast/events/ios/ipad/fast-click-double-tap-sends-click-on-insignificant-zoom.html: Added. * platform/ios/TestExpectations: * platform/ipad/TestExpectations: * resources/ui-helper.js: (window.UIHelper.humanSpeedDoubleTapAt): 2019-03-11 Wenson Hsieh [macOS] Dispatching reentrant "contextmenu" events may cause crashes https://bugs.webkit.org/show_bug.cgi?id=195571 Reviewed by Andy Estes. Add a test to verify that triggering reentrant "contextmenu" events from script does not cause a crash. * fast/events/contextmenu-reentrancy-crash-expected.txt: Added. * fast/events/contextmenu-reentrancy-crash.html: Added. 2019-03-11 Truitt Savell REGRESSION: Layout Test media/media-fullscreen-return-to-inline.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=193399 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-03-11 Ryan Haddad Unreviewed, fix a test expecation linter warning for macOS. * platform/mac/TestExpectations: Delete the entry for 'media/modern-media-controls/media-documents/ipad'. 2019-03-11 Ryan Haddad [ iOS Sim ] Layout Test imported/w3c/web-platform-tests/webrtc/simplecall-no-ssrcs.https.html is a flaky crash https://bugs.webkit.org/show_bug.cgi?id=195433 Unreviewed test gardening. * platform/ios/TestExpectations: Skip the test. 2019-03-11 Youenn Fablet Allow storage quota increase by default in WTR https://bugs.webkit.org/show_bug.cgi?id=195541 Reviewed by Geoffrey Garen. * http/wpt/cache-storage/cache-quota.any.js: (promise_test): 2019-03-11 Ryan Haddad Unreviewed, rolling out r242688, r242643, r242624. Caused multiple layout test failures and crashes on iOS and macOS. Reverted changeset: "requestAnimationFrame should execute before the next frame" https://bugs.webkit.org/show_bug.cgi?id=177484 https://trac.webkit.org/changeset/242624/webkit * TestExpectations: * animations/animation-multiple-callbacks-timestamp.html: * animations/no-style-recalc-during-accelerated-animation-expected.txt: * animations/no-style-recalc-during-accelerated-animation.html: * platform/mac-wk2/TestExpectations: 2019-03-11 John Wilander Resource Load Statistics: Make it possible exclude localhost from classification https://bugs.webkit.org/show_bug.cgi?id=195474 Reviewed by Brent Fulgham. This patch makes sure that all test cases that need to, call the enableFeature() function in http/tests/resourceLoadStatistics/resources/util.js. The enableFeature() now calls the new function testRunner.setStatisticsIsRunningTest(). * http/tests/resourceLoadStatistics/do-not-block-top-level-navigation-redirect.html: * http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html: * http/tests/resourceLoadStatistics/prevalent-resource-with-user-interaction.html: * http/tests/resourceLoadStatistics/resources/set-cookie-on-redirect.php: * http/tests/resourceLoadStatistics/resources/util.js: (setEnableFeature): * http/tests/storageAccess/has-storage-access-from-prevalent-domain-with-user-interaction.html: * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-with-user-interaction.html: * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe-from-prevalent-domain-without-user-interaction.html: * http/tests/storageAccess/request-and-grant-access-cross-origin-sandboxed-iframe.html: * http/tests/storageAccess/request-storage-access-cross-origin-sandboxed-iframe-with-unique-origin.html: * http/tests/storageAccess/request-storage-access-same-origin-iframe.html: * http/tests/storageAccess/request-storage-access-same-origin-sandboxed-iframe.html: * http/tests/storageAccess/request-storage-access-top-frame.html: 2019-03-11 Javier Fernandez Unreviewed GTK test gardening https://bugs.webkit.org/show_bug.cgi?id=195551 Unreviewed test gardening. Mark the text-transform-capitilize-026.html as flaky for all platforms. * TestExpectations: 2019-03-10 Zalan Bujtas [ContentChangeObserver] Fix failing test cases https://bugs.webkit.org/show_bug.cgi?id=195524 Reviewed by Simon Fraser. They've been failing ever since the 32ms fixed time window was introduced. * fast/events/touch/ios/content-observation/click-instead-of-hover-simple.html: * fast/events/touch/ios/content-observation/stuck-with-hover-state.html: 2019-03-10 Simon Fraser Mark two tests as failing after r242624 https://bugs.webkit.org/show_bug.cgi?id=195531 Unreviewed test gardening. These tests are failing: accessibility/mac/selection-notification-focus-change.html [ Failure ] compositing/video/video-clip-change-src.html [ ImageOnlyFailure ] * platform/mac-wk2/TestExpectations: 2019-03-09 Simon Fraser [iOS Simulator] LayoutTest/scrollingcoordinator/ios/nested-fixed-layer-positions.html is flaky fail https://bugs.webkit.org/show_bug.cgi?id=171628 Unreviewed test gardening. I can't reproduce flakiness for this test. Let's see if it's fixed. * platform/ios-wk2/TestExpectations: 2019-03-09 Simon Fraser [ios-simulator WK2] LayoutTest scrollingcoordinator/ios/non-stable-viewport-scroll.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=168924 Unreviewed test gardening. Let's try a new expectation for this test (it's non-flakey for me for 100 iterations). * platform/ios-wk2/TestExpectations: * scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt: 2019-03-09 Simon Fraser Add a test for scrolling tree adjustment of fixed layers (r242601) https://bugs.webkit.org/show_bug.cgi?id=195521 Reviewed by Sam Weinig. This test sets the "unstable" scrolling state (as if the user is actively scrolling) and scrolls, then changes style to trigger a scrolling tree commit with a changed offset for a fixed layer. The test shows the wrong fixed layer position before r242601. Helpers are added to UIHelper to do the scroll, and to wrap setTimeout in an async function. Sadly we have to wait about 120ms for the scrollbars to fade out. * resources/ui-helper.js: (window.UIHelper.async.delayFor): (window.UIHelper.async.immediateScrollTo): (window.UIHelper.async.immediateUnstableScrollTo): * scrollingcoordinator/ios/ui-scroll-fixed-expected.html: Added. * scrollingcoordinator/ios/ui-scroll-fixed.html: Added. 2019-03-09 Wenson Hsieh REGRESSION (r242551): Sporadic hangs when tapping to change selection on iOS https://bugs.webkit.org/show_bug.cgi?id=195475 Reviewed by Chris Dumez. Add a new layout test that taps to change selection 20 times in a contenteditable area and additionally disables IPC timeout, to ensure that any IPC deadlocks will result in the test failing due to timing out. * editing/selection/ios/change-selection-by-tapping-expected.txt: Added. * editing/selection/ios/change-selection-by-tapping.html: Added. 2019-03-09 Zalan Bujtas [ContentChangeObserver] Click event fires immediately on hover menu at seriouseats.com https://bugs.webkit.org/show_bug.cgi?id=195520 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/move-content-from-offscreen-expected.txt: Added. * fast/events/touch/ios/content-observation/move-content-from-offscreen.html: Added. 2019-03-09 Zalan Bujtas [ContentChangeObserver] Start observing for content change between touchEnd and mouseMoved start https://bugs.webkit.org/show_bug.cgi?id=195510 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/visibility-change-after-touch-end-expected.txt: Added. * fast/events/touch/ios/content-observation/visibility-change-after-touch-end.html: Added. 2019-03-08 Ryan Haddad [ iOS Simulator ] REGRESSION (r237087) Layout Test fast/viewport/ios/*-width-viewport-after-changing-view-scale.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=195341 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2019-03-08 Chris Dumez Add support for Device Orientation / Motion permission API https://bugs.webkit.org/show_bug.cgi?id=195329 Reviewed by Geoffrey Garen. Add layout test coverage. * TestExpectations: * fast/device-orientation/device-motion-request-permission-denied-expected.txt: Added. * fast/device-orientation/device-motion-request-permission-denied.html: Added. * fast/device-orientation/device-motion-request-permission-granted-expected.txt: Added. * fast/device-orientation/device-motion-request-permission-granted.html: Added. * fast/device-orientation/device-motion-request-permission-user-gesture-expected.txt: Added. * fast/device-orientation/device-motion-request-permission-user-gesture.html: Added. * fast/device-orientation/device-orientation-request-permission-denied-expected.txt: Added. * fast/device-orientation/device-orientation-request-permission-denied.html: Added. * fast/device-orientation/device-orientation-request-permission-granted-expected.txt: Added. * fast/device-orientation/device-orientation-request-permission-granted.html: Added. * fast/device-orientation/device-orientation-request-permission-user-gesture-expected.txt: Added. * fast/device-orientation/device-orientation-request-permission-user-gesture.html: Added. * http/tests/events/device-orientation-motion-non-secure-context.html: * http/tests/events/device-orientation-motion-secure-context-expected.txt: * http/tests/events/device-orientation-motion-secure-context.html: * platform/ios-wk2/TestExpectations: * platform/ios/http/tests/events/device-orientation-motion-non-secure-context-expected.txt: * platform/ios/http/tests/events/device-orientation-motion-secure-context-expected.txt: 2019-03-08 Zalan Bujtas [ContentChangeObserver] Expand "isConsideredClickable" to descendants https://bugs.webkit.org/show_bug.cgi?id=195478 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/clickable-content-is-inside-a-container-expected.txt: Added. * fast/events/touch/ios/content-observation/clickable-content-is-inside-a-container.html: Added. 2019-03-08 Truitt Savell (r242595) Layout Tests in imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/* are failing https://bugs.webkit.org/show_bug.cgi?id=195466 Unreviewed test gardening. * platform/mac/TestExpectations: 2019-03-08 Per Arne Vollan Layout Test http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html is failing https://bugs.webkit.org/show_bug.cgi?id=195461 Unreviewed test gardening. * platform/win/TestExpectations: 2019-03-07 Zalan Bujtas [ContentChangeObserver] Check if visibility change happens while dispatching mouseMoved https://bugs.webkit.org/show_bug.cgi?id=195421 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/visibility-change-happens-while-in-mousemoved-expected.txt: Added. * fast/events/touch/ios/content-observation/visibility-change-happens-while-in-mousemoved.html: Added. 2019-03-07 Zalan Bujtas [ContentChangeObserver] Check if max-height change triggers visible content change. https://bugs.webkit.org/show_bug.cgi?id=195417 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/visibility-change-is-max-height-change-expected.txt: Added. * fast/events/touch/ios/content-observation/visibility-change-is-max-height-change.html: Added. 2019-03-07 Zalan Bujtas [ContentChangeObserver] Click event fires immediately on hover menu at Ebbets.com https://bugs.webkit.org/show_bug.cgi?id=195397 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/visibility-change-on-touch-start-simple-expected.txt: Added. * fast/events/touch/ios/content-observation/visibility-change-on-touch-start-simple.html: Added. 2019-03-07 Zalan Bujtas [ContentChangeObserver] Introduce fixed duration content observation https://bugs.webkit.org/show_bug.cgi?id=195295 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/visibility-change-happens-on-timer-hops-expected.txt: Added. * fast/events/touch/ios/content-observation/visibility-change-happens-on-timer-hops.html: Added. 2019-03-07 Said Abou-Hallawa requestAnimationFrame should execute before the next frame https://bugs.webkit.org/show_bug.cgi?id=177484 Reviewed by Simon Fraser. * TestExpectations: There is a slight difference between the actual DRT and the expected DRT due to animation timing change. But these two tests are not animating correctly if they are opened in Safari with web animation turned on. * animations/animation-multiple-callbacks-timestamp.html: Fix variable names used by an error message. * animations/no-style-recalc-during-accelerated-animation-expected.txt: * animations/no-style-recalc-during-accelerated-animation.html: One extra styleReclc was incurred due to the document styleRecalcTimer. I think this timer is not needed anymore. I will look at removing it in a separate patch. 2019-03-07 Zalan Bujtas [ContentChangeObserver] Add a setting to be able to turn content change observation on/off https://bugs.webkit.org/show_bug.cgi?id=195353 Reviewed by Simon Fraser. * fast/events/touch/ios/content-observation/click-instead-of-hover-simple-expected.txt: Renamed from LayoutTests/fast/events/touch/ios/click-instead-of-hover-simple-expected.txt. * fast/events/touch/ios/content-observation/click-instead-of-hover-simple.html: Renamed from LayoutTests/fast/events/touch/ios/click-instead-of-hover-simple.html. * fast/events/touch/ios/content-observation/hover-when-style-change-is-async-expected.txt: Renamed from LayoutTests/fast/events/touch/ios/hover-when-style-change-is-async-expected.txt. * fast/events/touch/ios/content-observation/hover-when-style-change-is-async.html: Renamed from LayoutTests/fast/events/touch/ios/hover-when-style-change-is-async.html. * fast/events/touch/ios/content-observation/stuck-with-hover-state-expected.txt: Renamed from LayoutTests/fast/events/touch/ios/stuck-with-hover-state-expected.txt. * fast/events/touch/ios/content-observation/stuck-with-hover-state.html: Renamed from LayoutTests/fast/events/touch/ios/stuck-with-hover-state.html. * fast/events/touch/ios/content-observation/style-recalc-schedule-and-force-relalc-expected.txt: Renamed from LayoutTests/fast/events/touch/ios/style-recalc-schedule-and-force-relalc-expected.txt. * fast/events/touch/ios/content-observation/style-recalc-schedule-and-force-relalc.html: Renamed from LayoutTests/fast/events/touch/ios/style-recalc-schedule-and-force-relalc.html. * fast/events/touch/ios/content-observation/visibility-change-happens-at-the-second-timer-expected.txt: Renamed from LayoutTests/fast/events/touch/ios/visibility-change-happens-at-the-second-timer-expected.txt. * fast/events/touch/ios/content-observation/visibility-change-happens-at-the-second-timer.html: Renamed from LayoutTests/fast/events/touch/ios/visibility-change-happens-at-the-second-timer.html. 2019-03-07 Ross Kirsling [WinCairo] Unreviewed test gardening. * platform/wincairo/TestExpectations: 2019-03-07 Justin Fan [Web GPU] GPUSampler implementation https://bugs.webkit.org/show_bug.cgi?id=195427 Reviewed by Dean Jackson. Update texture-triangle-strip to use a GPUSampler provided through bindings instead of creating one in shader. * webgpu/texture-triangle-strip.html: 2019-03-07 Youenn Fablet REGRESSION: ( r231040 ) Layout Test http/tests/security/xss-DENIED-xsl-external-entity.xml is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=189724 Reviewed by Geoffrey Garen. Copy the flaky test into a new test for which we use DumpJSConsoleLogInStdErr. This should make the new test no longer flaky in WK1. Run this new test for WK1 only and run the original test for WK2 only. * TestExpectations: * http/tests/security/xss-DENIED-xsl-external-entity-no-logging-expected.txt: Added. * http/tests/security/xss-DENIED-xsl-external-entity-no-logging.xml: Added. * platform/ios-wk1/TestExpectations: * platform/mac-wk1/TestExpectations: * platform/wk2/TestExpectations: 2019-03-07 Devin Rousso Web Inspector: Protocol: add type checking when commands are called via invoke https://bugs.webkit.org/show_bug.cgi?id=195310 Reviewed by Joseph Pecoraro. * inspector/protocol/inspector-backend-invocation-return-value.html: * inspector/protocol/inspector-backend-invocation-return-value-expected.txt: 2019-03-07 John Wilander Resource Load Statistics: Log first-party navigations with link decoration https://bugs.webkit.org/show_bug.cgi?id=195301 Reviewed by Brent Fulgham. * http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration-expected.txt: Added. * http/tests/resourceLoadStatistics/log-cross-site-load-with-link-decoration.html: Added. 2019-03-07 John Wilander Resource Load Statistics: Make it possible to purge only script-accessible cookies https://bugs.webkit.org/show_bug.cgi?id=195383 Reviewed by Brent Fulgham. * http/tests/cookies/resources/set-http-only-cookie.php: Added. * http/tests/resourceLoadStatistics/delete-script-accessible-cookies-expected.txt: Added. * http/tests/resourceLoadStatistics/delete-script-accessible-cookies.html: Added. 2019-03-07 Frederic Wang Update WPT tests for embedded content https://bugs.webkit.org/show_bug.cgi?id=194770 Reviewed by Rob Buis. * TestExpectations: * platform/mac-wk1/TestExpectations: * platform/mac-wk1/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_allow_downloads_without_user_activation.sub.tentative-expected.txt: Added. * platform/mac-wk1/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_anchor_download_block_downloads_without_user_activation.sub.tentative-expected.txt: Added. * tests-options.json: 2019-03-06 Devin Rousso Web Inspector: DOM Debugger: event breakpoints still fire when breakpoints are disabled https://bugs.webkit.org/show_bug.cgi?id=195377 Reviewed by Joseph Pecoraro and Matt Baker. * inspector/dom-debugger/event-listener-breakpoints.html: * inspector/dom-debugger/event-listener-breakpoints-expected.txt: 2019-03-06 Wenson Hsieh Crash when attempting to change input type while dismissing datalist suggestions https://bugs.webkit.org/show_bug.cgi?id=195384 Reviewed by Brent Fulgham. Add a new layout test to exercise this scenario. * fast/forms/datalist/change-input-type-after-closing-datalist-suggestions-expected.txt: Added. * fast/forms/datalist/change-input-type-after-closing-datalist-suggestions.html: Added. 2019-03-06 Justin Fan [Web GPU] GPUTexture and GPUTextureView updates, and related GPUBindGroup updates https://bugs.webkit.org/show_bug.cgi?id=195347 Reviewed by Dean Jackson. * webgpu/blit-commands.html: * webgpu/resources/blue-checkered.png: Added. * webgpu/texture-triangle-strip-expected.html: Added. Draw a reference for blue-checkered.png with Canvas2D. * webgpu/texture-triangle-strip.html: Added. Draw blue-checkered.png as a texture on a Web GPU quad. Renaming updates, no change in behavior: * webgpu/bind-groups.html: * webgpu/buffer-resource-triangles.html: * webgpu/pipeline-layouts.html: * webgpu/render-pipelines.html: 2019-03-06 Antti Koivisto [iOS] Basic hit testing for content overlapping fast-scrollable overflow https://bugs.webkit.org/show_bug.cgi?id=195360 Reviewed by Simon Fraser. * fast/scrolling/ios/overflow-scroll-overlap-expected.txt: Added. * fast/scrolling/ios/overflow-scroll-overlap.html: Added. 2019-03-06 Joseph Pecoraro Web Inspector: CPU Usage Timeline - Statistics and Sources sections https://bugs.webkit.org/show_bug.cgi?id=195202 Reviewed by Devin Rousso. * inspector/unit-tests/map-utilities-expected.txt: Added. * inspector/unit-tests/map-utilities.html: Added. * inspector/unit-tests/set-utilities-expected.txt: * inspector/unit-tests/set-utilities.html: 2019-03-06 Wenson Hsieh [iOS] Frequent 1 second IPC deadlocks when showing a paste callout https://bugs.webkit.org/show_bug.cgi?id=195354 Reviewed by Tim Horton. Most of these tests currently encounter and rely on the 1 second IPC timeout to finish. To test this fix, force `ignoreSynchronousMessagingTimeouts=true` to make them fail if the processes encounter a deadlock. * editing/pasteboard/ios/dom-paste-confirmation.html: * editing/pasteboard/ios/dom-paste-consecutive-confirmations.html: * editing/pasteboard/ios/dom-paste-rejection.html: * editing/pasteboard/ios/dom-paste-requires-user-gesture.html: * editing/pasteboard/ios/dom-paste-same-origin.html: 2019-03-06 Javier Fernandez Import new tests from the CSS Text 3 WPT test suite https://bugs.webkit.org/show_bug.cgi?id=195275 Reviewed by Myles C. Maxfield. Imported new CSS Text tests from the WPT suite * TestExpectations: Flag tests that are not passing right now. * platform/gtk/TestExpectations: A few tests pass now. 2019-03-06 Frederic Wang Update WPT tests for the track element https://bugs.webkit.org/show_bug.cgi?id=195358 Reviewed by Rob Buis. * TestExpectations: Add expectations for new tests. 2019-03-06 Rob Buis Consider supporting the `referrerpolicy` attribute. https://bugs.webkit.org/show_bug.cgi?id=179053 Reviewed by Darin Adler. Add tests for referrerpolicy attribute based on the referrer-policy meta referrer tests. Update improved results for reflection-embedded.html. Mark some of the tests as Failure on windows. * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http-http.html: Added. * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/cross-origin-http.https.html: Added. * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin-expected.txt: Added. * http/tests/referrer-policy-iframe/no-referrer-when-downgrade/same-origin.html: Added. * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http-http.html: Added. * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy-iframe/no-referrer/cross-origin-http.https.html: Added. * http/tests/referrer-policy-iframe/no-referrer/same-origin-expected.txt: Added. * http/tests/referrer-policy-iframe/no-referrer/same-origin.html: Added. * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http-http.html: Added. * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy-iframe/origin-when-cross-origin/cross-origin-http.https.html: Added. * http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin-expected.txt: Added. * http/tests/referrer-policy-iframe/origin-when-cross-origin/same-origin.html: Added. * http/tests/referrer-policy-iframe/origin/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy-iframe/origin/cross-origin-http-http.html: Added. * http/tests/referrer-policy-iframe/origin/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy-iframe/origin/cross-origin-http.https.html: Added. * http/tests/referrer-policy-iframe/origin/same-origin-expected.txt: Added. * http/tests/referrer-policy-iframe/origin/same-origin.html: Added. * http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy-iframe/same-origin/cross-origin-http-http.html: Added. * http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy-iframe/same-origin/cross-origin-http.https.html: Added. * http/tests/referrer-policy-iframe/same-origin/same-origin-expected.txt: Added. * http/tests/referrer-policy-iframe/same-origin/same-origin.html: Added. * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http-http.html: Added. * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/cross-origin-http.https.html: Added. * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin-expected.txt: Added. * http/tests/referrer-policy-iframe/strict-origin-when-cross-origin/same-origin.html: Added. * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http-http.html: Added. * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy-iframe/strict-origin/cross-origin-http.https.html: Added. * http/tests/referrer-policy-iframe/strict-origin/same-origin-expected.txt: Added. * http/tests/referrer-policy-iframe/strict-origin/same-origin.html: Added. * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http-http.html: Added. * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy-iframe/unsafe-url/cross-origin-http.https.html: Added. * http/tests/referrer-policy-iframe/unsafe-url/same-origin-expected.txt: Added. * http/tests/referrer-policy-iframe/unsafe-url/same-origin.html: Added. * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: * platform/win/TestExpectations: 2019-03-05 Rob Buis Add referrer-policy tests https://bugs.webkit.org/show_bug.cgi?id=195269 Reviewed by Daniel Bates. The tests in http/tests/referrer-policy do not test all referrer-policy values, add the remaining values. * http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http-http.html: Added. * http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy/no-referrer-when-downgrade/cross-origin-http.https.html: Added. * http/tests/referrer-policy/no-referrer-when-downgrade/same-origin-expected.txt: Added. * http/tests/referrer-policy/no-referrer-when-downgrade/same-origin.html: Added. * http/tests/referrer-policy/no-referrer/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy/no-referrer/cross-origin-http-http.html: Added. * http/tests/referrer-policy/no-referrer/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy/no-referrer/cross-origin-http.https.html: Added. * http/tests/referrer-policy/no-referrer/same-origin-expected.txt: Added. * http/tests/referrer-policy/no-referrer/same-origin.html: Added. * http/tests/referrer-policy/origin/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy/origin/cross-origin-http-http.html: Added. * http/tests/referrer-policy/origin/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy/origin/cross-origin-http.https.html: Added. * http/tests/referrer-policy/origin/same-origin-expected.txt: Added. * http/tests/referrer-policy/origin/same-origin.html: Added. * http/tests/referrer-policy/unsafe-url/cross-origin-http-http-expected.txt: Added. * http/tests/referrer-policy/unsafe-url/cross-origin-http-http.html: Added. * http/tests/referrer-policy/unsafe-url/cross-origin-http.https-expected.txt: Added. * http/tests/referrer-policy/unsafe-url/cross-origin-http.https.html: Added. * http/tests/referrer-policy/unsafe-url/same-origin-expected.txt: Added. * http/tests/referrer-policy/unsafe-url/same-origin.html: Added. 2019-03-05 Eric Liang AX: Add remote search support for keyboard focusable element search type https://bugs.webkit.org/show_bug.cgi?id=195336 Reviewed by Chris Fleizach. Added test that verifies search with AXKeyboardFocusableSearchKey returns the default keyboard-focusable elements. * accessibility/mac/search-predicate-keyboard-focusable-expected.txt: Added. * accessibility/mac/search-predicate-keyboard-focusable.html: Added. 2019-03-05 Daniel Bates [iOS] Should not scroll when checkbox, radio, submit, reset, or button is spacebar activated https://bugs.webkit.org/show_bug.cgi?id=195281 Reviewed by Simon Fraser. Add some tests to ensure that we do not scroll when a checkbox, radio, submit, reset, or button is spacebar activated. * fast/events/ios/activating-button-should-not-scroll-page-expected.txt: Added. * fast/events/ios/activating-button-should-not-scroll-page.html: Added. * fast/events/ios/activating-checkbox-should-not-scroll-page-expected.txt: Added. * fast/events/ios/activating-checkbox-should-not-scroll-page.html: Added. * fast/events/ios/activating-radio-button-should-not-scroll-page-expected.txt: Added. * fast/events/ios/activating-radio-button-should-not-scroll-page.html: Added. * fast/events/ios/activating-reset-button-should-not-scroll-page-expected.txt: Added. * fast/events/ios/activating-reset-button-should-not-scroll-page.html: Added. * fast/events/ios/activating-submit-button-should-not-scroll-page-expected.txt: Added. * fast/events/ios/activating-submit-button-should-not-scroll-page.html: Added. * fast/events/ios/resources/press-spacebar-at-element-and-check-for-page-scroll.js: Added. (done): (handleInteraction.checkForScrollAndDone): (handleInteraction): (handleScroll): (handleFocus): (checkActivatingElementUsingSpacebarDoesNotScrollPage): * platform/ios/TestExpectations: Skip the tests for now until ENABLE(FULL_KEYBOARD_ACCESS) is enabled by default on iOS. 2019-03-05 Takashi Komori [Curl] Implement Cookie Accept Policy. https://bugs.webkit.org/show_bug.cgi?id=191645 Reviewed by Fujii Hironori. * platform/wincairo-wk1/TestExpectations: * platform/wincairo/TestExpectations: 2019-03-05 Said Abou-Hallawa SVGPathSegList.insertItemBefore() should fail if the newItem belongs to an animating animPathSegList https://bugs.webkit.org/show_bug.cgi?id=195333 Reviewed by Simon Fraser. * svg/dom/SVGPathSegList-insert-from-animating-animPathSegList-expected.txt: Added. * svg/dom/SVGPathSegList-insert-from-animating-animPathSegList.svg: Added. 2019-03-05 Ryan Haddad Unreviewed, rolling out r242403. Caused layout test crashes on iOS simulator. Reverted changeset: "[ContentChangeObserver] Introduce fixed duration content observation" https://bugs.webkit.org/show_bug.cgi?id=195295 https://trac.webkit.org/changeset/242403 2019-03-04 Diego Pino Garcia [GTK] Unreviewed test gardening https://bugs.webkit.org/show_bug.cgi?id=195272 Unreviewed test gardening. * platform/gtk/TestExpectations: 2019-03-04 Justin Fan [Web GPU] Blitting function prototypes https://bugs.webkit.org/show_bug.cgi?id=195224 Reviewed by Dean Jackson. Add basic test to copy data with all new blitting functions and verify the result. * webgpu/blit-commands-expected.html: Added. * webgpu/blit-commands.html: Added. * webgpu/buffer-command-buffer-races.html: Fixed typo. * webgpu/resources/green-400.png: Added. 2019-03-04 Zalan Bujtas [ContentChangeObserver] Introduce fixed duration content observation https://bugs.webkit.org/show_bug.cgi?id=195295 Reviewed by Simon Fraser. * fast/events/touch/ios/visibility-change-happens-on-timer-hops-expected.txt: Added. * fast/events/touch/ios/visibility-change-happens-on-timer-hops.html: Added. 2019-03-04 Wenson Hsieh Native text selection UI is incorrectly suppressed in Microsoft Visio https://bugs.webkit.org/show_bug.cgi?id=195178 Reviewed by Darin Adler. Add a new layout test that focuses several different text fields and checks whether or not editing UI is shown: 1. A text field inside an overflow: hidden container, all within an absolutely positioned iframe, such that the text field is not visible. The caret should be hidden. 2. A text field inside an absolutely positioned iframe, inside an overflow: hidden container, such that the text field is visible. The caret should be visible. 3. A text field inside a relatively positioned iframe in an overflow: hidden container, such that the text field is not visible. The caret should be hidden. 4. A text field that is position: fixed inside an overflow: hidden container, such that the text field is visible. The caret should be visible. * editing/selection/ios/do-not-hide-selection-in-visible-container-expected.txt: Added. * editing/selection/ios/do-not-hide-selection-in-visible-container.html: Added. * editing/selection/ios/hide-selection-in-empty-overflow-hidden-container.html: * resources/ui-helper.js: (window.UIHelper.activateElementAndWaitForInputSession): Add a convenience function in UIHelper that taps a given element and waits for the keyboard to show. 2019-03-04 Daniel Bates [iOS] Caret x-position in empty text area does not match text field https://bugs.webkit.org/show_bug.cgi?id=195125 Reviewed by Darin Adler. Update expected results due to changes in padding. * TestExpectations: Remove some tests that are now passing. * editing/selection/ios/show-selection-in-empty-overflow-hidden-document-expected.txt: * editing/selection/ios/show-selection-in-empty-overflow-hidden-document.html: * fast/forms/textarea/ios/caret-x-position-in-textarea-matches-textfield-expected.txt: Added. * fast/forms/textarea/ios/caret-x-position-in-textarea-matches-textfield.html: Added. * platform/ios-wk2/editing/input/reveal-caret-of-multiline-input-expected.txt: * platform/ios-wk2/editing/inserting/4960120-1-expected.txt: * platform/ios-wk2/editing/pasteboard/pasting-tabs-expected.txt: * platform/ios-wk2/fast/block/float/overhanging-tall-block-expected.txt: * platform/ios-wk2/fast/block/margin-collapse/103-expected.txt: * platform/ios-wk2/fast/dom/HTMLTextAreaElement/reset-textarea-expected.txt: * platform/ios-wk2/fast/dynamic/008-expected.txt: * platform/ios-wk2/fast/forms/basic-textareas-expected.txt: * platform/ios-wk2/fast/forms/textAreaLineHeight-expected.txt: * platform/ios-wk2/fast/forms/textarea-align-expected.txt: * platform/ios-wk2/fast/forms/textarea-placeholder-pseudo-style-expected.txt: * platform/ios-wk2/fast/forms/textarea-placeholder-visibility-1-expected.txt: * platform/ios-wk2/fast/forms/textarea-placeholder-visibility-2-expected.txt: * platform/ios-wk2/fast/forms/textarea-scroll-height-expected.txt: * platform/ios-wk2/fast/forms/textarea-scrollbar-expected.txt: * platform/ios-wk2/fast/forms/textarea-scrolled-type-expected.txt: * platform/ios-wk2/fast/forms/textarea-setinnerhtml-expected.txt: * platform/ios-wk2/fast/hidpi/resize-corner-hidpi-expected.txt: * platform/ios-wk2/fast/overflow/overflow-x-y-expected.txt: * platform/ios-wk2/fast/text/international/rtl-white-space-pre-wrap-expected.txt: * platform/ios-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt: * platform/ios/TestExpectations: * platform/ios/compositing/overflow/textarea-scroll-touch-expected.txt: * platform/ios/fast/forms/form-element-geometry-expected.txt: * platform/ios/fast/forms/linebox-overflow-in-textarea-padding-expected.txt: * platform/ios/fast/forms/negativeLineHeight-expected.txt: * platform/ios/fast/forms/text-control-intrinsic-widths-expected.txt: * platform/ios/fast/forms/textarea-width-expected.txt: * platform/ios/fast/replaced/width100percent-textarea-expected.txt: * platform/ios/fast/scrolling/ios/textarea-scroll-touch-expected.txt: * platform/ios/tables/mozilla/bugs/bug194024-expected.txt: * platform/ios/tables/mozilla/bugs/bug30559-expected.txt: * platform/ios/tables/mozilla/bugs/bug30692-expected.txt: 2019-03-03 Darin Adler Prepare to improve handling of conversion of float to strings https://bugs.webkit.org/show_bug.cgi?id=195262 Reviewed by Daniel Bates. * svg/dom/SVGAngle-expected.txt: * svg/dom/SVGAngle.html: * svg/dom/SVGLength-px-expected.txt: * svg/dom/SVGLength-px-with-context-expected.txt: * svg/dom/SVGLength-px-with-context.html: * svg/dom/SVGLength-px.html: Remove checks that depend on the precision and number of serialization. The current tests depend on behavior that we'd like to change in the future and some of them had already been updated since the behavior is different in different web browsers. Tricky issue because of the mix of single and double precision in the SVG engine and the JavaScript language, and straightforward to keep the tests useful without this unnecessary dependency. Generally we check the units of the result of valueAsString, and not the numeric result. Another idea would be to check the numeric part of the result by converting it back to a number and comparing it as a number rather than as a string. 2019-03-04 Truitt Savell webkit.org/b/195210 resolve by r242308, unskipping tests. https://bugs.webkit.org/show_bug.cgi?id=195210 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2019-03-04 Claudio Saavedra Fix typo in previous gardening commit Unreviewed. * platform/wpe/TestExpectations: 2019-03-04 Claudio Saavedra [WPE][EME] Mark two flaky EME tests Unreviewed gardening. * platform/wpe/TestExpectations: 2019-03-02 Simon Fraser Share more code for updating the state of frame scrolling nodes https://bugs.webkit.org/show_bug.cgi?id=195254 Reviewed by Antti Koivisto. New baselines. Overflow nodes get some state from ScrollableAreaParameters now, and frame nodes get the current scroll position (which is good, since they already have the new layout viewport). * fast/scrolling/ios/change-scrollability-on-content-resize-expected.txt: * fast/scrolling/ios/change-scrollability-on-content-resize-nested-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-gain-scrolling-ancestor-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-in-fixed-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/coordinated-frame-lose-scrolling-ancestor-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/gain-scrolling-node-parent-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/lose-scrolling-node-parent-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/overflow-in-fixed-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/reparent-across-compositing-layers-expected.txt: * platform/ios-wk2/scrollingcoordinator/scrolling-tree/reparent-with-layer-removal-expected.txt: * scrollingcoordinator/scrolling-tree/gain-scrolling-node-parent-expected.txt: * scrollingcoordinator/scrolling-tree/lose-scrolling-node-parent-expected.txt: * scrollingcoordinator/scrolling-tree/overflow-in-fixed-expected.txt: * scrollingcoordinator/scrolling-tree/remove-scrolling-role-expected.txt: * scrollingcoordinator/scrolling-tree/reparent-across-compositing-layers-expected.txt: * scrollingcoordinator/scrolling-tree/reparent-with-layer-removal-expected.txt: * tiled-drawing/scrolling/clamp-out-of-bounds-scrolls-expected.txt: * tiled-drawing/scrolling/fixed/absolute-inside-fixed-expected.txt: * tiled-drawing/scrolling/fixed/absolute-inside-out-of-view-fixed-expected.txt: * tiled-drawing/scrolling/fixed/fixed-in-overflow-expected.txt: * tiled-drawing/scrolling/fixed/four-bars-expected.txt: * tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer-expected.txt: * tiled-drawing/scrolling/fixed/four-bars.html: * tiled-drawing/scrolling/fixed/nested-fixed-expected.txt: * tiled-drawing/scrolling/fixed/percentage-inside-fixed-expected.txt: * tiled-drawing/scrolling/sticky/sticky-horizontal-expected.txt: * tiled-drawing/scrolling/sticky/sticky-vertical-expected.txt: 2019-03-03 Diego Pino Garcia [GTK] Unreviewed test gardening https://bugs.webkit.org/show_bug.cgi?id=195261 Unreviewed test gardening. * platform/gtk/TestExpectations: 2019-03-02 Darin Adler Retire legacy dtoa function and DecimalNumber class https://bugs.webkit.org/show_bug.cgi?id=195253 Reviewed by Daniel Bates. * fast/css/large-value-csstext-expected.txt: * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles-expected.txt: * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-volume-styles.html: Updated expected value to expect exponential syntax for super-small numbers that are formatted differently by the new code. * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: * platform/mac/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: Rebaseline still-failing parts of these tests that dump super-small numbers that are formatted differently by the new code. Still probably needs to be done for 4 other platforms. 2019-03-03 Tim Horton Remove some more unused 32-bit code https://bugs.webkit.org/show_bug.cgi?id=195255 Reviewed by Darin Adler. * platform/mac/plugins/supports-carbon-event-model-expected.txt: Removed. * platform/mac/plugins/supports-carbon-event-model.html: Removed. 2019-03-02 Zalan Bujtas [ContentChangeObserver] Introduce ContentChangeObserver::adjustObservedState https://bugs.webkit.org/show_bug.cgi?id=195244 Reviewed by Simon Fraser. * fast/events/touch/ios/visibility-change-happens-at-the-second-timer-expected.txt: Added. * fast/events/touch/ios/visibility-change-happens-at-the-second-timer.html: Added. 2019-03-02 Wenson Hsieh [iOS] Programmatic paste access should be granted when copying and pasting within the same origin https://bugs.webkit.org/show_bug.cgi?id=195053 Reviewed by Ryosuke Niwa. Adjust several existing DOM paste tests to copy text from a child frame that has a different origin as the main frame, such that we'll trigger the paste callout menu when performing a programmatic paste. Also add a new layout test that copies and programmatically pastes within the same document, to verify that no paste callout is displayed and the paste is allowed. * editing/pasteboard/ios/dom-paste-confirmation-expected.txt: * editing/pasteboard/ios/dom-paste-confirmation.html: * editing/pasteboard/ios/dom-paste-consecutive-confirmations-expected.txt: * editing/pasteboard/ios/dom-paste-consecutive-confirmations.html: * editing/pasteboard/ios/dom-paste-rejection-expected.txt: * editing/pasteboard/ios/dom-paste-rejection.html: * editing/pasteboard/ios/dom-paste-requires-user-gesture-expected.txt: * editing/pasteboard/ios/dom-paste-requires-user-gesture.html: * editing/pasteboard/ios/dom-paste-same-origin-expected.txt: Copied from LayoutTests/editing/pasteboard/ios/dom-paste-confirmation-expected.txt. * editing/pasteboard/ios/dom-paste-same-origin.html: Copied from LayoutTests/editing/pasteboard/ios/dom-paste-confirmation.html. 2019-03-02 Simon Fraser REGRESSION (r242132): Incorrect positioning with multiple position:fixed elements https://bugs.webkit.org/show_bug.cgi?id=195246 Reviewed by Frederic Wang. Test that uses eventSender to scroll (and is thus macOS-only). * platform/ios-wk2/TestExpectations: * scrollingcoordinator/mac/multiple-fixed-expected.html: Added. * scrollingcoordinator/mac/multiple-fixed.html: Added. 2019-03-01 Wenson Hsieh [Datalist] fast/forms/datalist/datalist-child-validation.html crashes with a debug assertion in isValidFormControlElement() https://bugs.webkit.org/show_bug.cgi?id=190620 Reviewed by Ryosuke Niwa. Re-enables a crashing layout test. See WebCore ChangeLog for more details. * platform/ios/TestExpectations: * platform/mac/TestExpectations: 2019-03-01 Zalan Bujtas [ContentChangeObserver] Check for pending style recalcs at the end of each timer run. https://bugs.webkit.org/show_bug.cgi?id=195220 Reviewed by Simon Fraser. * fast/events/touch/ios/style-recalc-schedule-and-force-relalc-expected.txt: Added. * fast/events/touch/ios/style-recalc-schedule-and-force-relalc.html: Added. 2019-03-01 John Wilander Resource Load Statistics: Further restrict client-side cookie persistence after cross-site navigations with link decoration https://bugs.webkit.org/show_bug.cgi?id=195196 Reviewed by Brent Fulgham. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site-expected.txt: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-decoration-same-site.html: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource-expected.txt: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-fragment-from-prevalent-resource.html: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource-expected.txt: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-and-fragment-from-prevalent-resource.html: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource-expected.txt: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-with-link-query-from-prevalent-resource.html: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource-expected.txt: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js-without-link-decoration-from-prevalent-resource.html: Added. * http/tests/resourceLoadStatistics/capped-lifetime-for-cookie-set-in-js.html: Now clears cookies after the test. 2019-03-01 Rob Buis Adjust XMLHttpRequest Content-Type handling https://bugs.webkit.org/show_bug.cgi?id=184645 Reviewed by Youenn Fablet. Fix 2 subtest expectations. * http/tests/xmlhttprequest/request-encoding2.html: 2019-03-01 Truitt Savell Continued gardening of storage/indexeddb/ crashes after r242189 https://bugs.webkit.org/show_bug.cgi?id=195210 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2019-03-01 Antoine Quint Enable WPT Pointer Events tests https://bugs.webkit.org/show_bug.cgi?id=195204 Reviewed by Dean Jackson. The touch-action property has been enabled as part of the work on webkit.org/b/195008 but the WPT tests had not been enabled yet. * platform/mac/TestExpectations: 2019-03-01 Truitt Savell REGRESSION: (r242189): Six Layout Tests in storage/indexeddb/ are crashing after r242189 https://bugs.webkit.org/show_bug.cgi?id=195210 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2019-02-28 Simon Fraser [iOS] Dark flash when opening Google AMP pages https://bugs.webkit.org/show_bug.cgi?id=195193 rdar://problem/48326442 Reviewed by Zalan Bujtas. Tests that change the size of a clipping layer with non-z-order composited descendant, with a couple of layer tree configurations. * compositing/geometry/ancestor-clip-change-expected.html: Added. * compositing/geometry/ancestor-clip-change-interleaved-stacking-context-expected.html: Added. * compositing/geometry/ancestor-clip-change-interleaved-stacking-context.html: Added. * compositing/geometry/ancestor-clip-change.html: Added. 2019-02-28 Joseph Pecoraro Web Inspector: View.removeSubview not removing the element properly when not parented https://bugs.webkit.org/show_bug.cgi?id=195146 Reviewed by Matt Baker. * inspector/view/basics-expected.txt: * inspector/view/basics.html: 2019-02-28 Myles C. Maxfield Use-after-move in RenderCombineText::combineTextIfNeeded() https://bugs.webkit.org/show_bug.cgi?id=195188 Reviewed by Zalan Bujtas. * fast/text/text-combine-crash-2-expected.html: Added. * fast/text/text-combine-crash-2.html: Added. 2019-02-28 Devin Rousso REGRESSION (r240644): Layout Test inspector/page/overrideSetting-ICECandidateFilteringEnabled.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=194437 Reviewed by Joseph Pecoraro. * inspector/page/overrideSetting-ICECandidateFilteringEnabled.html: * inspector/page/overrideSetting-ICECandidateFilteringEnabled-expected.txt: Make sure to close the peer connection and data channel after each phase of the test. Also add failure logging. 2019-02-28 Devin Rousso Web Inspector: Canvas: change tests to not print out dataURLs https://bugs.webkit.org/show_bug.cgi?id=195136 Reviewed by Matt Baker. * inspector/canvas/resources/recording-utilities.js: (TestPage.registerInitializer.async logRecording): (TestPage.registerInitializer.window.startRecording): * inspector/canvas/recording-2d-expected.txt: * inspector/canvas/recording-bitmaprenderer-expected.txt: * inspector/canvas/recording-webgl-expected.txt: * inspector/canvas/recording-webgl-snapshots.html: * inspector/canvas/recording-webgl-snapshots-expected.txt: * inspector/canvas/requestContent-2d.html: * inspector/canvas/requestContent-2d-expected.txt: * inspector/canvas/requestContent-bitmaprenderer.html: * inspector/canvas/requestContent-bitmaprenderer-expected.txt: * inspector/canvas/requestContent-webgl.html: * inspector/canvas/requestContent-webgl-expected.txt: * inspector/canvas/requestContent-webgl2.html: * inspector/canvas/requestContent-webgl2-expected.txt: * inspector/canvas/setShaderProgramHighlighted.html: * inspector/canvas/setShaderProgramHighlighted-expected.txt: 2019-02-28 Takashi Komori [Curl] HTTP Body is missing with redirection. https://bugs.webkit.org/show_bug.cgi?id=191651 Reviewed by Don Olmstead. * platform/wincairo/TestExpectations: 2019-02-28 Daniel Bates Fix timing out tests following r241747 (https://bugs.webkit.org/show_bug.cgi?id=193599) Fix up the path to ui-helper.js so that we actually load it. * fast/forms/ios/focus-button.html: * fast/forms/ios/focus-checkbox.html: * fast/forms/ios/focus-checked-checkbox.html: * fast/forms/ios/focus-checked-radio.html: * fast/forms/ios/focus-radio.html: * fast/forms/ios/focus-reset-button.html: * fast/forms/ios/focus-search-field.html: * fast/forms/ios/focus-submit-button.html: * fast/forms/ios/focus-text-field.html: * fast/forms/ios/focus-textarea.html: 2019-02-27 Simon Fraser fast/scrolling/ios/hit-testing-iframe-002.html always fails https://bugs.webkit.org/show_bug.cgi?id=195108 Reviewed by Frédéric Wang. Errant ; in this.style.background='green;' * fast/scrolling/ios/hit-testing-iframe-002.html: * platform/ios-wk2/TestExpectations: 2019-02-27 Alicia Boya García Unreviewed GTK test gardening https://bugs.webkit.org/show_bug.cgi?id=195138 * platform/gtk/TestExpectations: * platform/gtk/compositing/visibility/root-visibility-toggle-expected.txt: Added. * platform/gtk/editing/deleting/smart-delete-001-expected.txt: Removed. * platform/gtk/editing/deleting/smart-delete-002-expected.txt: Removed. * platform/gtk/editing/deleting/smart-delete-003-expected.txt: Removed. * platform/gtk/editing/deleting/smart-delete-004-expected.txt: Removed. * platform/gtk/fast/css/apple-system-colors-expected.txt: Added. * platform/gtk/fast/text/ja-sans-serif-expected.png: Added. * platform/gtk/imported/w3c/web-platform-tests/2dcontext/imagebitmap/createImageBitmap-invalid-args-expected.txt: Added. 2019-02-27 Wenson Hsieh [iOS] Web pages shouldn't be able to present a keyboard after the web view resigns first responder https://bugs.webkit.org/show_bug.cgi?id=195118 Reviewed by Tim Horton. Add a test to verify that after resigning first responder (e.g. tapping 'Done' on the keyboard, or focusing a native input field elsewhere in the app), the page cannot force the keyboard to appear by focusing an input field. * fast/events/ios/do-not-show-keyboard-when-focusing-after-blur-expected.txt: Added. * fast/events/ios/do-not-show-keyboard-when-focusing-after-blur.html: Added. 2019-02-27 John Wilander Adopt WebCore::RegistrableDomain in WebCore::ResourceLoadStatistics and WebKit::NetworkProcessProxy https://bugs.webkit.org/show_bug.cgi?id=195071 Reviewed by Alex Christensen and Brent Fulgham. * http/tests/navigation/resources/redirect-updates-history-item-done-statistics.html: Changed from window.internals.resourceLoadStatisticsForOrigin() to window.internals.resourceLoadStatisticsForURL() and now submit a URL. 2019-02-27 Justin Fan [Web GPU] Buffer updates part 2: setSubData, GPU/CPU synchronization https://bugs.webkit.org/show_bug.cgi?id=195077 Reviewed by Dean Jackson. Add tests for mapReadAysnc and setSubData calls. Nofity testRunner when done on some drawing tests that may take more time. * webgpu/buffer-command-buffer-races-expected.html: Added. * webgpu/buffer-command-buffer-races.html: Added. * webgpu/buffer-resource-triangles.html: Use setSubData. * webgpu/depth-enabled-triangle-strip.html: Ditto. * webgpu/map-read-buffers-expected.txt: Added. * webgpu/map-read-buffers.html: Added. * webgpu/vertex-buffer-triangle-strip.html: Use setSubData. 2019-02-27 Antoine Quint Support Pointer Events on macOS https://bugs.webkit.org/show_bug.cgi?id=195008 Reviewed by Dean Jackson. * platform/mac-wk1/TestExpectations: Mark select tests as failures due to webkit.org/b/195008. * platform/mac/TestExpectations: Enable the new mouse-based tests. * pointerevents/mouse/over-enter-out-leave-expected.txt: Added. * pointerevents/mouse/over-enter-out-leave.html: Added. * pointerevents/mouse/pointer-capture-expected.txt: Added. * pointerevents/mouse/pointer-capture.html: Added. * pointerevents/mouse/pointer-event-basic-properties-expected.txt: Added. * pointerevents/mouse/pointer-event-basic-properties.html: Added. * pointerevents/mouse/pointer-events-before-mouse-events-expected.txt: Added. * pointerevents/mouse/pointer-events-before-mouse-events.html: Added. * pointerevents/mouse/pointerdown-prevent-default-expected.txt: Added. * pointerevents/mouse/pointerdown-prevent-default.html: Added. * pointerevents/utils.js: (prototype.clear): 2019-02-27 Simon Fraser scrolling/ios/hit-testing-iframe* tests need to hide the tap highlight https://bugs.webkit.org/show_bug.cgi?id=195099 Reviewed by Frederic Wang. These tests were failing because the ref test captured the tap highlight, so hide it with -webkit-tap-highlight-color: transparent; * fast/scrolling/ios/hit-testing-iframe-001.html: * fast/scrolling/ios/hit-testing-iframe-002.html: * fast/scrolling/ios/hit-testing-iframe-003.html: * fast/scrolling/ios/hit-testing-iframe-004.html: * fast/scrolling/ios/hit-testing-iframe-005.html: * fast/scrolling/ios/hit-testing-iframe-006.html: * fast/scrolling/ios/mixing-user-and-programmatic-scroll-006.html: * platform/ios-wk2/TestExpectations: hit-testing-iframe-006.html passes now. 2019-02-27 Ulrich Pflueger [MSE] SourceBuffer sample time increment vs. last frame duration check is broken https://bugs.webkit.org/show_bug.cgi?id=194747 Reviewed by Jer Noble. * media/media-source/media-source-append-variable-frame-lengths-with-matching-durations-expected.txt: Added. * media/media-source/media-source-append-variable-frame-lengths-with-matching-durations.html: Added. 2019-02-26 Wenson Hsieh Remove conditional compile guard for InsertIntoTextNodeCommand::doReapply https://bugs.webkit.org/show_bug.cgi?id=195067 Reviewed by Tim Horton. Add a new layout test to verify that redoing text insertion in a non-editable element (which was previously editable) does not mutate the text nodes affected by editing. This test case currently fails on iOS, since we take a separate codepath when redoing that does not contain this additional check. * editing/undo/redo-text-insertion-in-non-editable-node-expected.txt: Added. * editing/undo/redo-text-insertion-in-non-editable-node.html: Added. 2019-02-26 Youenn Fablet Move service worker response validation from the service worker client to the service worker itself https://bugs.webkit.org/show_bug.cgi?id=194716 Reviewed by Geoffrey Garen. Rebased tests as we now report to the console log any service worker response validation erorr. * http/tests/inspector/network/resource-response-service-worker-expected.txt: * http/tests/workers/service/basic-fetch.https-expected.txt: * http/tests/workers/service/service-worker-crossorigin-fetch-expected.txt: 2019-02-26 Takashi Komori [Curl] Load HTTP body of 401 response when AuthenticationChange is cancelled. https://bugs.webkit.org/show_bug.cgi?id=191652 Reviewed by Alex Christensen. Added appropriate expected results for WebKit/WebKitLegacy of WinCairo port. * platform/wincairo-wk1/http/tests/security/401-logout/401-logout-expected.txt: Added. * platform/wincairo/TestExpectations: * platform/wincairo/http/tests/security/401-logout/401-logout-expected.txt: Added. 2019-02-26 Frederic Wang Split tests programmatic-scroll-iframe and scroll-iframe https://bugs.webkit.org/show_bug.cgi?id=195050 This patch splits some iOS frame scrolling tests into separate tests in order to make debugging and test expectations easier to manage. Reviewed by Antti Koivisto. * fast/scrolling/ios/programmatic-scroll-iframe-001-expected.html: Copied from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-001.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-002-expected.html: Copied from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-002.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-003-expected.html: Copied from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-003.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-004-expected.html: Copied from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-004.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-005-expected.html: Copied from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-005.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-006-expected.html: Copied from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-006.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-007-expected.html: Copied from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-007.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-008-expected.html: Copied from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-008.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe-009-expected.html: Renamed from LayoutTests/fast/scrolling/ios/programmatic-scroll-iframe-expected.html. * fast/scrolling/ios/programmatic-scroll-iframe-009.html: Added. * fast/scrolling/ios/programmatic-scroll-iframe.html: Removed. * fast/scrolling/ios/scroll-iframe-001-expected.html: Added. * fast/scrolling/ios/scroll-iframe-001.html: Added. * fast/scrolling/ios/scroll-iframe-002-expected.html: Added. * fast/scrolling/ios/scroll-iframe-002.html: Added. * fast/scrolling/ios/scroll-iframe-003-expected.html: Added. * fast/scrolling/ios/scroll-iframe-003.html: Added. * fast/scrolling/ios/scroll-iframe-004-expected.html: Added. * fast/scrolling/ios/scroll-iframe-004.html: Added. * fast/scrolling/ios/scroll-iframe-expected.html: Removed. * fast/scrolling/ios/scroll-iframe.html: Removed. 2019-02-26 Frederic Wang Synchronize MathML WPT tests https://bugs.webkit.org/show_bug.cgi?id=195048 This imports changes to the documentation and spec references for MathML. It also imports a new test for href currently disabled due to bug 187039. Reviewed by Manuel Rego Casasnovas. * TestExpectations: Disable the new href test since testdriver.js is not supported. 2019-02-26 Frederic Wang Export MathML fraction tests to WPT https://bugs.webkit.org/show_bug.cgi?id=194436 We removed some fraction tests that have equivalent WPT tests. Some of them were actually exported from WebKit to WPT in [1] We also move tests for crashes/asserts/hangs to the top mathml/ directory. [1] https://github.com/web-platform-tests/wpt/pull/15301 Reviewed by Manuel Rego Casasnovas. * mathml/fractions-invalid-expected.html: Moved to parent directory. * mathml/fractions-invalid.html: Ditto. * mathml/mfrac-nested-expected.txt: Ditto. * mathml/mfrac-nested.html: Ditto. * mathml/presentation/fractions-box-expected.html: Removed. This is better tested by WPT tests frac-parameters-1.html, frac-parameters-2.html, frac-1.html. * mathml/presentation/fractions-box.html: Removed. Ditto. * mathml/presentation/fractions-color-expected-mismatch.html: Removed. This is exported as frac-color-001.html. * mathml/presentation/fractions-color.html: Removed. Ditto. * mathml/presentation/fractions-linethickness-expected.html: Removed. Covered by WPT tests frac-linethickness-*.html. * mathml/presentation/fractions-linethickness.html: Removed. Ditto. * mathml/presentation/mfrac-linethickness1-expected-mismatch.html: Removed. Ditto. * mathml/presentation/mfrac-linethickness1.html: Removed. Ditto. * mathml/presentation/mfrac-linethickness2-expected.html: Removed. Ditto. * mathml/presentation/mfrac-linethickness2.html: Removed. Ditto. * mathml/presentation/mfrac-linethickness3-expected-mismatch.html: Removed. Ditto. * mathml/presentation/mfrac-linethickness3.html: Removed. Ditto. * mathml/presentation/fractions-mrow-expected.html: Removed. Exported as frac-mrow-001.html. * mathml/presentation/fractions-mrow.html: Removed. Ditto. * mathml/presentation/fractions-numalign-denomalign-expected.html: Removed. Exported as frac-numalign-denomalign-001.html. * mathml/presentation/fractions-numalign-denomalign.html: Removed. Ditto. * mathml/presentation/fractions-vertical-alignment-expected.html: Removed. This is better tests by WPT tests frac-parameters-1.html, frac-parameters-2.html, frac-1.html. * mathml/presentation/fractions-vertical-alignment.html: Removed. Ditto. 2019-02-25 Yongjun Zhang scalableNativeWebpageParameters() is not preserved on new page navigation. https://bugs.webkit.org/show_bug.cgi?id=194892 Reviewed by Wenson Hsieh. * fast/viewport/ios/resources/go-back.html: Added. * fast/viewport/ios/viewport-shrink-to-fit-on-new-navigation-expected.txt: Added. * fast/viewport/ios/viewport-shrink-to-fit-on-new-navigation.html: Added. * fast/viewport/ios/minimum-scale-after-changing-view-scale.html: When shouldIgnoreMetaViewport setting is on, for pages don't have viewport meta-tag, the default configuration is now changed to scalableNativeWebpageParameters(). The original test was under the assumption that the default configuration is always fixedNativeWebpageParameters(). To keep the test still valid, add a viewport meta-tag to it. * resources/ui-helper.js: (window.UIHelper.setAllowsViewportShrinkToFit): 2019-02-25 Wenson Hsieh [iOS] Adjust initial scale zooming heuristics when changing view scale https://bugs.webkit.org/show_bug.cgi?id=194995 Reviewed by Tim Horton. Rebaseline and adjust an existing layout test. * fast/viewport/ios/initial-scale-after-changing-view-scale-expected.txt: * fast/viewport/ios/initial-scale-after-changing-view-scale.html: * platform/ipad/fast/viewport/ios/initial-scale-after-changing-view-scale-expected.txt: Removed. Removed an iPad-specific test expectation, since initial scale zooming behavior should be the same now at both device dimensions. 2019-02-25 Frederic Wang Split iOS tests for hit testing in iframes https://bugs.webkit.org/show_bug.cgi?id=195003 This patch splits hit-testing-iframe.html into smaller tests to faciliate debugging and handling of test expectations. It also adds a new test for programmatic scrolling which was fixed after bug 194886. Reviewed by Antti Koivisto. * fast/scrolling/ios/hit-testing-iframe-001-expected.html: Copied from LayoutTests/fast/scrolling/ios/hit-testing-iframe-expected.html. * fast/scrolling/ios/hit-testing-iframe-001.html: Added. * fast/scrolling/ios/hit-testing-iframe-002-expected.html: Copied from LayoutTests/fast/scrolling/ios/hit-testing-iframe-expected.html. * fast/scrolling/ios/hit-testing-iframe-002.html: Added. * fast/scrolling/ios/hit-testing-iframe-003-expected.html: Copied from LayoutTests/fast/scrolling/ios/hit-testing-iframe-expected.html. * fast/scrolling/ios/hit-testing-iframe-003.html: Added. * fast/scrolling/ios/hit-testing-iframe-004-expected.html: Copied from LayoutTests/fast/scrolling/ios/hit-testing-iframe-expected.html. * fast/scrolling/ios/hit-testing-iframe-004.html: Added. * fast/scrolling/ios/hit-testing-iframe-005-expected.html: Copied from LayoutTests/fast/scrolling/ios/hit-testing-iframe-expected.html. * fast/scrolling/ios/hit-testing-iframe-005.html: Added. * fast/scrolling/ios/hit-testing-iframe-006-expected.html: Renamed from LayoutTests/fast/scrolling/ios/hit-testing-iframe-expected.html. * fast/scrolling/ios/hit-testing-iframe-006.html: Added. * fast/scrolling/ios/hit-testing-iframe.html: Removed. * platform/ios-wk2/TestExpectations: Set failure to the corresponding extracted test. 2019-02-25 Chris Fleizach AX:
HTML5 tag not reading as ARIA Landmark to VoiceOver https://bugs.webkit.org/show_bug.cgi?id=190138 Reviewed by Joanmarie Diggs. * accessibility/mac/footer-expected.txt: * accessibility/mac/footer-roledescription-expected.txt: * accessibility/mac/footer-roledescription.html: * accessibility/mac/footer.html: * accessibility/roles-computedRoleString-expected.txt: * accessibility/roles-computedRoleString.html: * platform/gtk/accessibility/roles-computedRoleString-expected.txt: * platform/mac-wk2/accessibility/roles-exposed-expected.txt: * platform/mac/accessibility/roles-computedRoleString-expected.txt: * platform/mac/accessibility/roles-exposed-expected.txt: 2019-02-25 Frederic Wang Add tests mixing programmatic and user frame scrolling on iOS https://bugs.webkit.org/show_bug.cgi?id=194900 This patch adds tests initially written for bug 182868 but eventually fixed by bug 194886. They involve mixing user and programmatic scrolling. Reviewed by Antti Koivisto. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-001-expected.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-001.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-002-expected.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-002.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-003-expected.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-003.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-004-expected.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-004.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-005-expected.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-005.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-006-expected.html: Added. * fast/scrolling/ios/mixing-user-and-programmatic-scroll-006.html: Added. 2019-02-25 Truitt Savell fast/mediastream/MediaStream-video-element.html is flaky after r241821, marking as failure while waiting for fix. https://bugs.webkit.org/show_bug.cgi?id=194916 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2019-02-25 Sihui Liu IndexedDB: IDBDatabase and IDBTransaction are leaked in layout tests https://bugs.webkit.org/show_bug.cgi?id=194709 Reviewed by Geoffrey Garen. * TestExpectations: * platform/wk2/TestExpectations: * storage/indexeddb/IDBObject-leak-expected.txt: Added. * storage/indexeddb/IDBObject-leak.html: Added. 2019-02-25 Zan Dobersek Unreviewed WPE gardening. Adding a few failure expectations as well as updating a couple of port-specific test baselines. * platform/wpe/TestExpectations: * platform/wpe/fast/css/apple-system-colors-expected.txt: Added. * platform/wpe/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-requestmediakeysystemaccess.https-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/mime-types/canPlayType-expected.txt: 2019-02-24 Devin Rousso Web Inspector: Change the InspectorOverlay to use native rather than canvas https://bugs.webkit.org/show_bug.cgi?id=105023 Reviewed by Brian Burg. * http/tests/inspector/dom/shapes-test.js: Removed. * inspector/dom/hideHighlight.html: Removed. * inspector/dom/hideHighlight-expected.txt: Removed. * inspector/dom/highlight-shape-outside.html: Removed. * inspector/dom/highlight-shape-outside-expected.txt: Removed. * inspector/dom/highlight-shape-outside-margin.html: Removed. * inspector/dom/highlight-shape-outside-margin-expected.txt: Removed. * inspector/dom/highlightFrame.html: Removed. * inspector/dom/highlightFrame-expected.txt: Removed. * inspector/dom/highlightNode.html: Removed. * inspector/dom/highlightNode-expected.txt: Removed. * inspector/dom/highlightNodeList.html: Removed. * inspector/dom/highlightNodeList-expected.txt: Removed. * inspector/dom/highlightSelector.html: Removed. * inspector/dom/highlightSelector-expected.txt: Removed. * platform/mac/TestExpectations: 2019-02-24 Devin Rousso Web Inspector: provide a way to make searches case sensitive or use a regular expression https://bugs.webkit.org/show_bug.cgi?id=192527 Reviewed by Joseph Pecoraro. * inspector/debugger/search-scripts.html: * inspector/debugger/search-scripts-expected.txt: * inspector/page/searchInResources.html: * inspector/page/searchInResources-expected.txt: * inspector/page/resources/search-script.js: * inspector/page/resources/search-stylesheet.css: * inspector/page/resources/search-worker.js: * inspector/page/resources/search-xhr.txt: 2019-02-24 Devin Rousso Web Inspector: make debounce Proxy into its own class https://bugs.webkit.org/show_bug.cgi?id=194721 Reviewed by Joseph Pecoraro. * inspector/unit-tests/debouncer.html: Renamed from inspector/unit-tests/debounce.html:. * inspector/unit-tests/debouncer-expected.txt: Renamed from inspector/unit-tests/debounce-expected.txt. * inspector/unit-tests/throttler.html: Renamed from inspector/unit-tests/throttle.html:. * inspector/unit-tests/throttler-expected.txt: Renamed from inspector/unit-tests/throttle-expected.txt. * platform/gtk/TestExpectations: * platform/mac/TestExpectations: 2019-02-23 Justin Fan [WebGPU] Buffer updates part 1: async mapping functions, unmap, and destroy https://bugs.webkit.org/show_bug.cgi?id=194665 Reviewed by Dean Jackson. Rewrite buffers.html -> map-write-buffers.html to test new functionality. Rewrite other affected tests to use mapWriteAsync. * webgpu/buffer-resource-triangles.html: * webgpu/buffers-expected.txt: Renamed to map-write-buffers-expected.txt. * webgpu/buffers.html: Renamed to map-write-buffers.html. * webgpu/depth-enabled-triangle-strip.html: * webgpu/map-write-buffers-expected.txt: Renamed from buffers-expected.txt. * webgpu/map-write-buffers.html: Renamed from buffers.html. * webgpu/vertex-buffer-triangle-strip.html: * platform/mac/TestExpectations: Skip all webgpu tests on macOS 10.12 bots. 2019-02-23 chris fleizach AX: WebKit is incorrectly mapping the element to progressbar https://bugs.webkit.org/show_bug.cgi?id=164051 Reviewed by Joanmarie Diggs. * platform/mac-wk2/accessibility/roles-exposed-expected.txt: * platform/mac/accessibility/meter-element-expected.txt: * platform/mac/accessibility/roles-exposed-expected.txt: 2019-02-22 Simon Fraser Fix a legacy animation test. The was inside the
or crash the Web Content process https://bugs.webkit.org/show_bug.cgi?id=194605 Reviewed by Andy Estes. * fast/replaced/encrypted-pdf-as-object-and-embed-expected.txt: Added. * fast/replaced/encrypted-pdf-as-object-and-embed.html: Added. * fast/replaced/resources/encrypted-image.pdf: Added. Add a test ensuring that we don't crash with encrypted PDF in or . 2019-02-12 Jiewen Tan Further restricting webarchive loads https://bugs.webkit.org/show_bug.cgi?id=194567 Reviewed by Youenn Fablet. * platform/mac/fast/loader/webarchive-encoding-respected.html: * webarchive/loading/cache-expired-subresource.html: * webarchive/loading/javascript-url-iframe-crash.html: * webarchive/loading/mainresource-null-mimetype-crash.html: * webarchive/loading/missing-data.html: * webarchive/loading/object.html: * webarchive/loading/test-loading-archive-subresource-null-mimetype.html: * webarchive/loading/test-loading-archive-subresource.html: * webarchive/loading/test-loading-archive.html: * webarchive/loading/test-loading-top-archive.html: * webarchive/loading/video-in-webarchive.html: 2019-02-13 John Wilander Store Ad Click Attribution requests in the network process https://bugs.webkit.org/show_bug.cgi?id=194510 Reviewed by Alex Christensen and Daniel Bates. * TestExpectations: Marked "Skip" because the feature is not applicable to WK1. * http/tests/adClickAttribution/store-ad-click-attribution-expected.txt: Added. * http/tests/adClickAttribution/store-ad-click-attribution.html: Added. * platform/wk2/TestExpectations: Marked "Pass." 2019-02-13 Sihui Liu Add two regression tests for reference cycle in IndexedDB https://bugs.webkit.org/show_bug.cgi?id=194527 Reviewed by Geoffrey Garen. * fast/dom/reference-cycle-leaks.html: * platform/win/TestExpectations: The added tests are failing on win bots for unknown reasons, propably related to webkit.org/b/193540. Skip them on win. * storage/indexeddb/resources/result-request-cycle.js: Added. (prepareDatabase): * storage/indexeddb/resources/value-cursor-cycle.js: Added. (prepareDatabase): (onOpen.cursorRequest.onsuccess): * storage/indexeddb/result-request-cycle-expected.txt: Added. * storage/indexeddb/result-request-cycle.html: Added. * storage/indexeddb/value-cursor-cycle-expected.txt: Added. * storage/indexeddb/value-cursor-cycle.html: Added. 2019-02-13 Antoine Quint Support simulated mouse events on iOS based on a PlatformTouchEvent https://bugs.webkit.org/show_bug.cgi?id=194501 Reviewed by Dean Jackson. Add a new test to check that we correctly dispatch mouse events as touches occur. * fast/events/touch/ios/mouse-events-dispatch-with-touch-expected.txt: Added. * fast/events/touch/ios/mouse-events-dispatch-with-touch.html: Added. * pointerevents/utils.js: (prototype.handleEvent): (prototype._handlePointerEvent): (prototype._handleMouseEvent): 2019-02-13 Fujii Hironori [GTK][WPE] Don't use DumpJSConsoleLogInStdErr expectation in platform TestExpectations https://bugs.webkit.org/show_bug.cgi?id=194587 Unreviewed gardening. * platform/gtk/TestExpectations: Removed DumpJSConsoleLogInStdErr markers which are marked in top TestExpectations. * platform/wpe/TestExpectations: Ditto. 2019-02-12 Justin Fan [WebGPU] Remove WebGPUBufferDescriptor/Usage and use GPU versions https://bugs.webkit.org/show_bug.cgi?id=194552 Reviewed by Dean Jackson. WebGPUBufferDescriptor/Usage have been renamed to GPUBufferDescriptor/Usage in the Web GPU API. Update affected tests to match. * webgpu/bind-groups.html: * webgpu/buffer-resource-triangles.html: * webgpu/buffers.html: * webgpu/depth-enabled-triangle-strip.html: * webgpu/vertex-buffer-triangle-strip.html: 2019-02-12 Wenson Hsieh Allow pages to trigger programmatic paste from script on iOS https://bugs.webkit.org/show_bug.cgi?id=194271 Reviewed by Tim Horton. Add new tests to exercise programmatic pasting. * TestExpectations: * editing/pasteboard/ios/dom-paste-confirmation-expected.txt: Added. * editing/pasteboard/ios/dom-paste-confirmation.html: Added. Verify that the user can tap "Paste" to allow programmatic pasting. * editing/pasteboard/ios/dom-paste-consecutive-confirmations-expected.txt: Added. * editing/pasteboard/ios/dom-paste-consecutive-confirmations.html: Added. Verify that DOM paste access isn't carried over when using `setTimeout` in a user gesture event handler. * editing/pasteboard/ios/dom-paste-rejection-expected.txt: Added. * editing/pasteboard/ios/dom-paste-rejection.html: Added. Verify that resigning first responder dismisses the callout bar and does not allow programmatic pasting. * editing/pasteboard/ios/dom-paste-requires-user-gesture-expected.txt: Added. * editing/pasteboard/ios/dom-paste-requires-user-gesture.html: Added. Verify that user gesture is required to present the callout menu for a programmatic paste request. * editing/pasteboard/ios/resources/dom-paste-helper.js: Added. (return.new.Promise.): (async._waitForOrTriggerPasteMenu): (async.triggerPasteMenuAfterTapAt): (async.waitForPasteMenu): Add helpers to summon, wait for, and interact with the callout bar when the page attempts to trigger a paste. * platform/ios-wk2/TestExpectations: * platform/win/TestExpectations: Skip editing/pasteboard/ios by default, and enable it only in the modern WebKit port of iOS. 2019-02-12 Dean Jackson BitmapRenderer should handle existing ImageBuffers https://bugs.webkit.org/show_bug.cgi?id=194555 Reviewed by Tim Horton. Test that creates a canvas, triggers an ImageBuffer to be created, then creates the bitmaprenderer context. * fast/canvas/bitmaprenderer-created-after-toBlob-expected.txt: Added. * fast/canvas/bitmaprenderer-created-after-toBlob.html: Added. 2019-02-12 Alex Christensen Remove setDefersLoading infrastructure from WebKit2 https://bugs.webkit.org/show_bug.cgi?id=194506 Reviewed by Brady Eidson. * platform/wk2/TestExpectations: 2019-02-12 Justin Fan [Web GPU] DepthStencilAttachment implementation https://bugs.webkit.org/show_bug.cgi?id=194458 Reviewed by Dean Jackson. Add test and update utility functions for depth texture attachments. Update others to specify their loadOp and storeOp for all render pass attachments, as these are no longer provided by default by the implementation. * webgpu/buffer-resource-triangles.html: * webgpu/depth-enabled-triangle-strip-expected.html: Added. * webgpu/depth-enabled-triangle-strip.html: Added. * webgpu/js/basic-webgpu-functions.js: (render): * webgpu/js/webgpu-functions.js: (createBasicDepthStateDescriptor): (createBasicDepthTexture): (beginBasicRenderPass): (createBasicPipeline): Deleted. * webgpu/render-command-encoding.html: * webgpu/render-passes.html: 2019-02-12 Chris Fleizach AX: Fix flaky accessibility/loading-iframe-sends-notification.html https://bugs.webkit.org/show_bug.cgi?id=194546 Reviewed by Zalan Bujtas. This test was relying on timing between load events being sent and accessibility events being sent. We don't need to do that, we can more directly test this interplay. * accessibility/loading-iframe-sends-notification-expected.txt: * accessibility/loading-iframe-sends-notification.html: 2019-02-12 Adrian Perez de Castro Unreviewed WPE gardening. Unskip content extensions tests after r241283 * platform/wpe/TestExpectations: Unskip content extensions tests, and list as failing those known to not pass due to missing expectaions or timeouts. 2019-02-08 Chris Fleizach AXObjectCache::childrenChanged shouldn't update layout or style during another style recalc https://bugs.webkit.org/show_bug.cgi?id=182280 Reviewed by Alan Bujtas. * accessibility/aria-hidden-update.html: * accessibility/aria-hidden-updates-alldescendants.html: * accessibility/image-load-on-delay.html: * accessibility/mac/aria-hidden-changes-for-non-ignored-elements.html: * accessibility/removed-anonymous-block-child-causes-crash.html: 2019-02-11 Myles C. Maxfield [Cocoa] Ask platform for generic font family mappings https://bugs.webkit.org/show_bug.cgi?id=187723 Reviewed by Brent Fulgham. Update the tests to work with this new model. * fast/text/international/font-fallback-to-common-script-expected.html: Removed. * fast/text/international/font-fallback-to-common-script.html: Removed. * fast/text/international/lang-sensitive-fonts-expected.html: * fast/text/international/lang-sensitive-fonts-xml-expected.html: * fast/text/international/lang-sensitive-fonts-xml.xhtml: * fast/text/international/lang-sensitive-fonts.html: * fast/text/international/locale-sensitive-fonts-expected.html: * fast/text/international/locale-sensitive-fonts.html: * fast/text/ja-sans-serif-expected-mismatch.html: Added. * fast/text/ja-sans-serif.html: Added. * platform/ios/fast/block/float/016-expected.txt: 2019-02-11 Shawn Roberts Updating for all of Mac WK2 for flaky test https://bugs.webkit.org/show_bug.cgi?id=185994 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2019-02-11 Daniel Bates [iOS] Adopt SPI to support Emacs bindings: transpose and delete to end of paragraph https://bugs.webkit.org/show_bug.cgi?id=194505 Reviewed by Tim Horton. Add tests to ensure that Control + t and Control + k perform a transpose and delete to the end of the line/paragraph. Skip the tests for now until we have the UIKit fix . * fast/events/ios/key-command-delete-to-end-of-paragraph-expected.txt: Added. * fast/events/ios/key-command-delete-to-end-of-paragraph.html: Added. * fast/events/ios/key-command-transpose-expected.txt: Added. * fast/events/ios/key-command-transpose.html: Added. * platform/ios/TestExpectations: Skip tests for now. 2019-02-11 Adrian Perez de Castro [GTK][WPE] Add content extensions support in WKTR and unskip layout tests https://bugs.webkit.org/show_bug.cgi?id=193622 Reviewed by Michael Catanzaro. * platform/gtk/TestExpectations: Un-skip tests for content extensions and add expectations. 2019-02-11 Daniel Bates [iOS] Mouse/Touch/Pointer events are missing modifier keys https://bugs.webkit.org/show_bug.cgi?id=191446 Reviewed by Tim Horton. Refactor existing iOS key events tests to share code. Add new tests to ensure touch and mouse events have accurate modifier key details. * fast/events/ios/key-events-meta-alt-combinations.html: * fast/events/ios/resources/key-tester.js: (computeSubsets.compareByModifierOrder): Deleted. * fast/events/resources/compute-subsets.js: Added. (computeSubsets.compareByOriginalArrayOrder): (computeSubsets): * fast/events/touch/ios/mouse-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/mouse-events-with-modifiers.html: Added. * fast/events/touch/ios/pointer-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/pointer-events-with-modifiers.html: Added. * fast/events/touch/ios/touch-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/touch-events-with-modifiers.html: Added. * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt: Update expected result due to changes to ui-helper.js. * http/tests/security/anchor-download-block-crossorigin-expected.txt: Ditto. * platform/ios/TestExpectations: * resources/ui-helper.js: (window.UIHelper.tapAt.return.new.Promise): (window.UIHelper.tapAt): (window.UIHelper.stylusTapAt.return.new.Promise): (window.UIHelper.stylusTapAt): 2019-02-11 Commit Queue Unreviewed, rolling out r241272 and r241276. https://bugs.webkit.org/show_bug.cgi?id=194514 Broke the Apple Internal build and the fix requires human intervention :( (Requested by dydz on #webkit). Reverted changesets: "[iOS] Mouse/Touch/Pointer events are missing modifier keys" https://bugs.webkit.org/show_bug.cgi?id=191446 https://trac.webkit.org/changeset/241272 "Fix internal iOS build after r241272" https://bugs.webkit.org/show_bug.cgi?id=191446 https://trac.webkit.org/changeset/241276 2019-02-11 Wenson Hsieh fast/forms/ios/force-gregorian-calendar-for-credit-card-expiry.html does not work on iPad https://bugs.webkit.org/show_bug.cgi?id=194313 Reviewed by Tim Horton. Adjusts an existing layout test to work on both iPhone and iPad simulators. * fast/forms/ios/force-gregorian-calendar-for-credit-card-expiry-expected.txt: * fast/forms/ios/force-gregorian-calendar-for-credit-card-expiry.html: Make this test wait after blurring the currently focused element, such that tapping to focus the next form control doesn't fail. Notably on iPad, not waiting for the popover to dismiss meant that subsequent taps would be dispatched too soon, and hit-test to the popover view being dismissed rather than WKWebView. * platform/ipad/TestExpectations: Unskip the test on iPad. * resources/ui-helper.js: Add helpers to query whether or not the keyboard is shown, and whether or not a view controller is being modally presented over the current root view controller (this is the case when interacting with date pickers on iPad). (window.UIHelper.isShowingKeyboard): (window.UIHelper.isPresentingModally): (window.UIHelper.deactivateFormControl): Add a new helper method to blur the given form control element and wait for web view chrome to finish dismissing (on iOS, this is either the date picker input view in the keyboard on iPhone, or the date picker popover view controller on iPad). (window.UIHelper.isShowingDataListSuggestions): Drive-by fix: remove an extraneous ternary conditional statement. 2019-02-11 Daniel Bates [iOS] Mouse/Touch/Pointer events are missing modifier keys https://bugs.webkit.org/show_bug.cgi?id=191446 Reviewed by Tim Horton. Refactor existing iOS key events tests to share code. Add new tests to ensure touch and mouse events have accurate modifier key details. * fast/events/ios/key-events-meta-alt-combinations.html: * fast/events/ios/resources/key-tester.js: (computeSubsets.compareByModifierOrder): Deleted. * fast/events/resources/compute-subsets.js: Added. (computeSubsets.compareByOriginalArrayOrder): (computeSubsets): * fast/events/touch/ios/mouse-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/mouse-events-with-modifiers.html: Added. * fast/events/touch/ios/pointer-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/pointer-events-with-modifiers.html: Added. * fast/events/touch/ios/touch-events-with-modifiers-expected.txt: Added. * fast/events/touch/ios/touch-events-with-modifiers.html: Added. * http/tests/adClickAttribution/anchor-tag-attributes-validation-expected.txt: Update expected result due to changes to ui-helper.js. * http/tests/security/anchor-download-block-crossorigin-expected.txt: Ditto. * platform/ios/TestExpectations: * resources/ui-helper.js: (window.UIHelper.tapAt.return.new.Promise): (window.UIHelper.tapAt): (window.UIHelper.stylusTapAt.return.new.Promise): (window.UIHelper.stylusTapAt): 2019-02-11 Youenn Fablet Filter out Overconstrainederror.constraint when getUserMedia is not granted https://bugs.webkit.org/show_bug.cgi?id=194240 Reviewed by Eric Carlson. * fast/mediastream/overconstrainederror-constraint-expected.txt: Added. * fast/mediastream/overconstrainederror-constraint.html: Added. 2019-02-11 Truitt Savell Unreviewed, rolling out r241229. Revision broke internal builds for watchOS. Reverted changeset: "[Cocoa] Ask platform for generic font family mappings" https://bugs.webkit.org/show_bug.cgi?id=187723 https://trac.webkit.org/changeset/241229 2019-02-11 Youenn Fablet Make Request constructor throw if FetchRequestInit.signal is not undefined, null or an AbortSignal object https://bugs.webkit.org/show_bug.cgi?id=194404 Reviewed by Geoffrey Garen. * http/wpt/fetch/request-abort-expected.txt: 2019-02-11 Zan Dobersek Unreviewed WPE gardening. Adding additional baselines after font variations enablement. Additionally rebaselining a couple other WPT and WebGL tests. * platform/wpe/TestExpectations: * platform/wpe/fast/css/getComputedStyle: Added. * platform/wpe/fast/css/getComputedStyle/computed-style-expected.txt: Added. * platform/wpe/fast/css/getComputedStyle/computed-style-font-family-expected.txt: Added. * platform/wpe/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: Added. * platform/wpe/fast/dom/52776-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method.any-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/fetch/api/redirect/redirect-method.any.worker-expected.txt: * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: * platform/wpe/svg/css/getComputedStyle-basic-expected.txt: Added. * platform/wpe/webgl/2.0.0/conformance/canvas/buffer-offscreen-test-expected.txt: * platform/wpe/webgl/2.0.0/conformance/canvas/buffer-preserve-test-expected.txt: * platform/wpe/webgl/2.0.0/conformance/context/context-attribute-preserve-drawing-buffer-expected.txt: 2019-02-10 Commit Queue Unreviewed, rolling out r241167. https://bugs.webkit.org/show_bug.cgi?id=194482 Broke the GTK mediastream tests (Requested by philn on #webkit). Reverted changeset: "Filter out Overconstrainederror.constraint when getUserMedia is not granted" https://bugs.webkit.org/show_bug.cgi?id=194240 https://trac.webkit.org/changeset/241167 2019-02-09 Nikita Vasilyev Web Inspector: fix typos in tests Unreviewed test gardening. * inspector/css/force-page-appearance.html: 2019-02-08 Myles C. Maxfield [Cocoa] Ask platform for generic font family mappings https://bugs.webkit.org/show_bug.cgi?id=187723 Reviewed by Brent Fulgham. Update the tests to work with this new model. * fast/text/international/font-fallback-to-common-script-expected.html: Removed. * fast/text/international/font-fallback-to-common-script.html: Removed. This test is no longer testing anything relevant. * fast/text/international/lang-sensitive-fonts-expected.html: * fast/text/international/lang-sensitive-fonts-xml-expected.html: * fast/text/international/lang-sensitive-fonts-xml.xhtml: * fast/text/international/lang-sensitive-fonts.html: * fast/text/international/locale-sensitive-fonts-expected.html: * fast/text/international/locale-sensitive-fonts.html: * fast/text/ja-sans-serif-expected-mismatch.html: Added. * fast/text/ja-sans-serif.html: Added. 2019-02-08 Joseph Pecoraro Web Inspector: Import / Export Heap Snapshots https://bugs.webkit.org/show_bug.cgi?id=194448 Reviewed by Devin Rousso. * inspector/heap/imported-snapshot-expected.txt: Added. * inspector/heap/imported-snapshot.html: Added. * platform/mac/TestExpectations: 2019-02-08 Nikita Vasilyev Web Inspector: Styles: close unbalanced quotes and parenthesis when editing values https://bugs.webkit.org/show_bug.cgi?id=182523 Reviewed by Devin Rousso. Test common cases of unmatched quotes, parenthesis, comments, and trailing backslashes. * inspector/unit-tests/css-completions-expected.txt: Added. * inspector/unit-tests/css-completions.html: Added. 2019-02-08 Per Arne Vollan Layout Test accessibility/set-value-not-work-for-disabled-sliders.html is failing https://bugs.webkit.org/show_bug.cgi?id=194451 Unreviewed test gardening. * platform/win/TestExpectations: 2019-02-08 Ryan Haddad Layout Test media/audio-concurrent-supported.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=188017 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: The test is not flaky anymore. Remove expectation. 2019-02-08 Per Arne Vollan [WebVTT] Inline WebVTT styles should start with '::cue' https://bugs.webkit.org/show_bug.cgi?id=194227 Reviewed by Eric Carlson. * media/track/captions-webvtt/css-styling.vtt: 2019-02-08 Youenn Fablet Running RTCRtpSender.getCapabilities("video") before initial offer breaks VP8 https://bugs.webkit.org/show_bug.cgi?id=194380 Reviewed by Eric Carlson. * webrtc/video-mute-vp8-expected.txt: * webrtc/video-mute-vp8.html: 2019-02-08 Andy Estes [WebIDL] Support serializing sequences and FrozenArrays of non-interfaces https://bugs.webkit.org/show_bug.cgi?id=190997 Reviewed by Brent Fulgham. * http/tests/paymentrequest/payment-address-attributes-and-toJSON-method.https.html: 2019-02-08 Eric Liang Check if receive AXPressDidFail notification when performing AXPress action on disabled MenuList. https://bugs.webkit.org/show_bug.cgi?id=193878 Reviewed by Chris Fleizach. * accessibility/mac/press-not-work-for-disabled-menu-list.html: Added. 2019-02-07 Devin Rousso PseudoElement created for any ::before/::after selector regardless of whether a content property exists https://bugs.webkit.org/show_bug.cgi?id=194423 Reviewed by Antti Koivisto. * inspector/css/pseudo-creation.html: Added. * inspector/css/pseudo-creation-expected.txt: Added. 2019-02-07 Justin Fan [Web GPU] GPUDevice::createTexture implementation prototype https://bugs.webkit.org/show_bug.cgi?id=194409 Reviewed by Myles C. Maxfield. Update textures-textureviews.html to WPT format and to test creation of textures via the GPUDevice. * webgpu/textures-textureviews-expected.txt: * webgpu/textures-textureviews.html: 2019-02-07 Shawn Roberts fast/hidpi/hidpi-long-page-with-inset-element.html is a flaky image failure https://bugs.webkit.org/show_bug.cgi?id=172384 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2019-02-07 Wenson Hsieh [iOS] Clicking links in Safari using Apple Pencil is much more difficult after r238475 https://bugs.webkit.org/show_bug.cgi?id=194415 Reviewed by Tim Horton. Add a layout test to verify that a stylus tap dispatches clicks. * fast/events/touch/ios/pencil-tap-dispatches-click-expected.txt: Added. * fast/events/touch/ios/pencil-tap-dispatches-click.html: Added. 2019-02-07 Youenn Fablet Filter out Overconstrainederror.constraint when getUserMedia is not granted https://bugs.webkit.org/show_bug.cgi?id=194240 Reviewed by Eric Carlson. * fast/mediastream/overconstrainederror-constraint-expected.txt: Added. * fast/mediastream/overconstrainederror-constraint.html: Added. 2019-02-07 Timothy Hatcher Overflow element scrollbar is light for dark mode content. https://bugs.webkit.org/show_bug.cgi?id=194407 rdar://problem/45991585 Reviewed by Beth Dakin. Updated tests to look at overflow elements and if dark apearance is used by the scrollbar directly. * css-dark-mode/supported-color-schemes-scrollbar-expected.txt: * css-dark-mode/supported-color-schemes-scrollbar.html: 2019-02-07 Nikita Vasilyev Web Inspector: Fix modify-css-property-race.html flakiness https://bugs.webkit.org/show_bug.cgi?id=194408 Reviewed by Devin Rousso. Event listener wasn't removed property, sometimes causing it to fire one more time. * inspector/css/modify-css-property-race.html: 2019-02-07 Youenn Fablet Unable to sign in leetcode. https://bugs.webkit.org/show_bug.cgi?id=194366 rdar://problem/47259025. Reviewed by Chris Dumez. * http/wpt/fetch/request-abort-expected.txt: Added. * http/wpt/fetch/request-abort.html: Added. 2019-02-07 Alex Christensen Deprecate WKBundlePageSetDefersLoading https://bugs.webkit.org/show_bug.cgi?id=191394 Reviewed by Dean Jackson. * platform/wk2/TestExpectations: 2019-02-07 Zalan Bujtas [LFC][Out-of-flow] Use the containing block's padding width when computing min/max width. https://bugs.webkit.org/show_bug.cgi?id=194391 Reviewed by Antti Koivisto. * fast/block/block-only/absolute-positioned-min-max-percentage-with-parent-padding-expected.html: Added. * fast/block/block-only/absolute-positioned-min-max-percentage-with-parent-padding.html: Added. 2019-02-07 Miguel Gomez Unreviewed GTK+ gardening after r241117. * platform/gtk/TestExpectations: * platform/gtk/compositing/iframes/invisible-nested-iframe-show-expected.txt: * platform/gtk/compositing/iframes/resizer-expected.txt: * platform/gtk/compositing/rtl/rtl-iframe-absolute-expected.txt: * platform/gtk/compositing/rtl/rtl-iframe-relative-expected.txt: 2019-02-06 Devin Rousso Web Inspector: DOM: don't send the entire function string with each event listener https://bugs.webkit.org/show_bug.cgi?id=194293 Reviewed by Joseph Pecoraro. * inspector/dom/getEventListenersForNode.html: * inspector/dom/getEventListenersForNode-expected.txt: 2019-02-06 Andy Estes [Payment Request] It should be possible to require a phonetic name for shipping contacts https://bugs.webkit.org/show_bug.cgi?id=194311 Reviewed by Alex Christensen. * http/tests/ssl/applepay/ApplePayRequestShippingContact.https-expected.txt: * http/tests/ssl/applepay/ApplePayRequestShippingContact.https.html: * http/tests/ssl/applepay/ApplePayRequestShippingContactV3.https-expected.txt: * http/tests/ssl/applepay/ApplePayRequestShippingContactV3.https.html: * http/tests/ssl/applepay/PaymentRequest.https-expected.txt: * http/tests/ssl/applepay/PaymentRequest.https.html: 2019-02-06 Yusuke Suzuki [JSC] PrivateName to PublicName hash table is wasteful https://bugs.webkit.org/show_bug.cgi?id=194277 Reviewed by Michael Saboff. * streams/readable-byte-stream-controller-expected.txt: 2019-02-06 Justin Fan [Web GPU] Implement supporting dictionaries for GPUTexture https://bugs.webkit.org/show_bug.cgi?id=194354 Reviewed by Dean Jackson. Update test files to use hyphen-case for GPUTextureFormat. * webgpu/js/basic-webgpu-functions.js: (async.setUpContexts): * webgpu/js/webgpu-functions.js: (createBasicContext): 2019-02-06 David Kilzer Revert part of r241015 that skipped all WebGL tests * TestExpectations: Revert unintended change to skip all WebGL tests. 2019-02-06 Jonathan Bedard [iPad] Initial test gardening (Part 2) https://bugs.webkit.org/show_bug.cgi?id=193767 Unreviewed test gardening. * fast/forms/ios/validation-bubble-dismiss-on-tap.html: Change tap location so test is compatible with iPads. * platform/ipad/TestExpectations: Associate iPad specific failures with bugs. 2019-02-06 Ryan Haddad Unreviewed test gardening, rebaseline some tests for iOS after r240713. * fast/events/touch/ios/block-without-overflow-scroll-and-passive-observer-on-block-scrolling-state-expected.txt: * fast/events/touch/ios/block-without-overflow-scroll-and-passive-observer-on-document-scrolling-state-expected.txt: * fast/events/touch/ios/block-without-overflow-scroll-scrolling-state-expected.txt: * fast/events/touch/ios/tap-with-active-touch-end-listener-expected.txt: 2019-02-06 Antti Koivisto RELEASE_ASSERT(!m_document.isResolvingTreeStyle()) in com.apple.WebKit.WebContent at WebCore: WebCore::StyleResolver::~StyleResolver https://bugs.webkit.org/show_bug.cgi?id=194333 Reviewed by Zalan Bujtas. * http/tests/contentextensions/css-display-none-keyframe-expected.txt: Added. * http/tests/contentextensions/css-display-none-keyframe.html: Added. * http/tests/contentextensions/css-display-none-keyframe.html.json: Added. 2019-02-05 Ryosuke Niwa REGRESSION (r240909): Release assert in FrameLoader::loadURL when navigating with a non-existent target name https://bugs.webkit.org/show_bug.cgi?id=194329 Reviewed by Geoffrey Garen. Added a regression test. * fast/loader/navigate-with-new-target-after-back-forward-navigation-expected.txt: Added. * fast/loader/navigate-with-new-target-after-back-forward-navigation.html: Added. 2019-02-05 Nikita Vasilyev Web Inspector: Styles: PropertiesChanged shouldn't fire when old and new text are both empty https://bugs.webkit.org/show_bug.cgi?id=194318 Reviewed by Devin Rousso. Fix the flaky test on Debug. * inspector/css/modify-css-property-race-expected.txt: * inspector/css/modify-css-property-race.html: 2019-02-05 Megan Gardner [iOS] Layout tests editing/pasteboard/smart-paste-007.html and editing/pasteboard/smart-paste-008.html are failing https://bugs.webkit.org/show_bug.cgi?id=194275 Reviewed by Ryosuke Niwa. Smart paste tests 7 and 8 were outputting more information that was needed to verify correct functionality. Also cleaned up test 8 to be more similar to the other smart copy paste tests. * editing/pasteboard/smart-paste-007.html: * editing/pasteboard/smart-paste-008.html: * platform/ios-wk1/editing/pasteboard/smart-paste-007-expected.txt: Removed. * platform/ios-wk1/editing/pasteboard/smart-paste-008-expected.txt: Removed. * platform/ios-wk2/editing/pasteboard/smart-paste-008-expected.txt: Removed. * platform/ios/editing/pasteboard/smart-paste-007-expected.txt: Renamed from LayoutTests/platform/ios-wk2/editing/pasteboard/smart-paste-007-expected.txt. * platform/ios/editing/pasteboard/smart-paste-008-expected.txt: Added. * platform/mac/editing/pasteboard/smart-paste-007-expected.txt: * platform/mac/editing/pasteboard/smart-paste-008-expected.txt: 2019-02-05 Wenson Hsieh Rename TestOptions.ignoreSynchronousMessagingTimeoutsForTesting https://bugs.webkit.org/show_bug.cgi?id=194324 Reviewed by Andy Estes. * fast/events/touch/ios/show-modal-alert-during-touch-start.html: 2019-02-05 Nikita Vasilyev Web Inspector: Fix modify-css-property-race.html test failures https://bugs.webkit.org/show_bug.cgi?id=194282 Reviewed by Matt Baker. Fix test failures introduced by r240946 by providing a message for expectGreaterThan assert, so it doesn't log the actual values. * inspector/css/modify-css-property-race-expected.txt: * inspector/css/modify-css-property-race.html: 2019-02-05 Andy VanWagoner REGRESSION(r238848): ICU upgrade broke jsc-layout-tests.yaml/js/script-tests/intl-numberformat.js.layout https://bugs.webkit.org/show_bug.cgi?id=193620 Reviewed by Michael Catanzaro. Update NumberFormat tests to be more tolerant of ICU version differences. * js/intl-numberformat-expected.txt: * js/script-tests/intl-numberformat.js: * platform/gtk/TestExpectations: 2019-02-05 Ryan Haddad Unreviewed, rolling out r240742. Causes crashes on iOS simulator. Reverted changeset: "[iOS] Keyups for non-modifier keys identified as "Dead" when not focused in a content-editable element" https://bugs.webkit.org/show_bug.cgi?id=192824 https://trac.webkit.org/changeset/240742 2019-02-04 Jonathan Bedard [iPad] Initial test gardening (Part 1) https://bugs.webkit.org/show_bug.cgi?id=193767 Unreviewed test gardening. A number of tests need to be re-baselined when run on iPad because of the larger screen. * fast/canvas/canvas-too-large-to-draw.html: iOS userAgent regex should match iPhones and iPads. * fast/events/touch/ios/target-taller-than-view.html: Move event listener since tabpPointY is the value we should compare against. * fast/visual-viewport/ios/min-scale-greater-than-one.html: expectedTop depends on the screen size of the device. * platform/ipad/fast/events: Added. * platform/ipad/fast/events/ios: Added. * platform/ipad/fast/events/ios/keyboard-should-not-trigger-resize-expected.txt: Added. * platform/ipad/fast/events/ios/rotation: Added. * platform/ipad/fast/events/ios/rotation/zz-no-rotation-expected.txt: Added. * platform/ipad/fast/events/touch: Added. * platform/ipad/fast/events/touch/ios: Added. * platform/ipad/fast/events/touch/ios/target-taller-than-view-expected.txt: Added. * platform/ipad/fast/scrolling: Added. * platform/ipad/fast/scrolling/ios: Added. * platform/ipad/fast/scrolling/ios/clipping-ancestor-with-accelerated-scrolling-ancestor-expected.txt: Added. * platform/ipad/fast/scrolling/ios/overflow-scrolling-ancestor-clip-expected.txt: Added. * platform/ipad/fast/scrolling/ios/overflow-scrolling-ancestor-clip-size-expected.txt: Added. * platform/ipad/fast/scrolling/ios/scrolling-content-clip-to-viewport-expected.txt: Added. * platform/ipad/fast/scrolling/ios/subpixel-overflow-scrolling-with-ancestor-expected.txt: Added. * platform/ipad/fast/scrolling/ios/touch-stacking-expected.txt: Added. * platform/ipad/fast/viewport/ios: Added. * platform/ipad/fast/viewport/ios/device-width-viewport-after-changing-view-scale-expected.txt: Added. * platform/ipad/fast/viewport/ios/initial-scale-after-changing-view-scale-expected.txt: Added. * platform/ipad/fast/viewport/ios/use-minimum-device-width-for-page-without-viewport-meta-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-body-overflow-hidden-tall-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-expected.txt: Added. * platform/ipad/fast/viewport/ios/width-is-device-width-overflowing-no-shrink-to-fit-expected.txt: Added. * platform/ipad/platform: Added. * platform/ipad/platform/ios: Added. * platform/ipad/platform/ios/ios: Added. * platform/ipad/platform/ios/ios/fast: Added. * platform/ipad/platform/ios/ios/fast/text: Added. * platform/ipad/platform/ios/ios/fast/text/opticalFontWithTextStyle-expected.txt: Added. * platform/ipad/scrollingcoordinator: Added. * platform/ipad/scrollingcoordinator/ios: Added. * platform/ipad/scrollingcoordinator/ios/sync-layer-positions-after-scroll-expected.txt: Added. * platform/ipad/scrollingcoordinator/ios/ui-scrolling-tree-expected.txt: Added. 2019-02-04 Ms2ger [GTK][WPE] Need a function to convert internal URI to display ("pretty") URI https://bugs.webkit.org/show_bug.cgi?id=174816 Reviewed by Michael Catanzaro. * TestExpectations: Enable fast/url/user-visible/. 2019-02-04 Shawn Roberts [iOS Simulator] pageoverlay/overlay tests are flaky failures https://bugs.webkit.org/show_bug.cgi?id=153337 Unreviewed test gardening. * platform/ios/TestExpectations: 2019-02-04 Nikita Vasilyev Web Inspector: Styles: fix race conditions when editing https://bugs.webkit.org/show_bug.cgi?id=192739 Reviewed by Devin Rousso. * inspector/css/modify-css-property-expected.txt: * inspector/css/modify-css-property-race-expected.txt: Added. * inspector/css/modify-css-property-race.html: Added. * inspector/css/modify-css-property.html: 2019-02-04 Simon Fraser Async overflow scroll with border-radius renders incorrectly https://bugs.webkit.org/show_bug.cgi?id=194205 Reviewed by Zalan Bujtas. New baselines, mostly correcting offsetFromRenderer. * compositing/clipping/border-radius-async-overflow-clipping-layer-expected.txt: Added. * compositing/clipping/border-radius-async-overflow-clipping-layer.html: Added. * compositing/clipping/border-radius-async-overflow-non-stacking-expected.html: Added. * compositing/clipping/border-radius-async-overflow-non-stacking.html: Added. * compositing/clipping/border-radius-async-overflow-stacking-expected.html: Added. * compositing/clipping/border-radius-async-overflow-stacking.html: Added. * compositing/scrolling/overflow-scrolling-layers-are-self-painting-expected.txt: * platform/ios/compositing/overflow/scrolling-without-painting-expected.txt: * platform/ios/compositing/overflow/textarea-scroll-touch-expected.txt: html.css specifies a border-radius on