blob: 2d7d31f2d68719f4dd8cabed99b9572822e1c25f [file] [log] [blame]
2019-06-05 Saam Barati <sbarati@apple.com>
[WHLSL] Implement loop expressions
https://bugs.webkit.org/show_bug.cgi?id=195808
<rdar://problem/50746309>
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 <wenson_hsieh@apple.com>
Upstream content mode support into open source from WebKitAdditions
https://bugs.webkit.org/show_bug.cgi?id=198484
<rdar://problem/51355671>
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 <sroberts@apple.com>
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 <zalan@apple.com>
REGRESSION (~r244378) fast/events/touch/ios/content-observation/stuck-with-hover-state.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=198571
<rdar://problem/50349265>
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 <sroberts@apple.com>
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 <pnormand@igalia.com>
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 <tsavell@apple.com>
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 <jfernandez@igalia.com>
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 <graouts@apple.com>
[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 <zalan@apple.com>
[ContentChangeObserver] Gmail text editing controls require two taps
https://bugs.webkit.org/show_bug.cgi?id=198541
<rdar://problem/51375055>
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 <youenn@apple.com>
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
<rdar://problem/51314295>
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 <cdumez@apple.com>
Crash when calling XMLHttpRequest.setRequestHeader() in a worker
https://bugs.webkit.org/show_bug.cgi?id=198534
<rdar://problem/51393912>
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 <antti@apple.com>
Sticky positioning is jumpy in many overflow cases
https://bugs.webkit.org/show_bug.cgi?id=198532
<rdar://problem/51400532>
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 <Takashi.Komori@sony.com>
[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 <graouts@apple.com>
[Pointer Events] Expose navigator.maxTouchPoints
https://bugs.webkit.org/show_bug.cgi?id=198468
<rdar://problem/51273029>
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 <graouts@apple.com>
The "mouseenter" and "pointerenter" events are fired from the bottom up
https://bugs.webkit.org/show_bug.cgi?id=198036
<rdar://problem/50940350>
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 <cathiechen@igalia.com>
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 <youenn@apple.com>
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 <drousso@apple.com>
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 <rbuis@igalia.com>
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 <ysuzuki@apple.com>
[JSC] JSObject::attemptToInterceptPutByIndexOnHole should use getPrototype instead of getPrototypeDirect
https://bugs.webkit.org/show_bug.cgi?id=198477
<rdar://problem/51299504>
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 <drousso@apple.com>
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 <canvas> in `WI.canvasManager.canvases` isn't always the same, so we should
perform the action on every <canvas> since we know we'll be recording at least one of them.
2019-06-02 Devin Rousso <drousso@apple.com>
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 <canvas> paints and is less controllable/deterministic.
2019-06-01 Simon Fraser <simon.fraser@apple.com>
[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 <simon.fraser@apple.com>
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 <simon.fraser@apple.com>
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 <drousso@apple.com>
Web Inspector: Canvas: split recording tests into separate files so they don't timeout
https://bugs.webkit.org/show_bug.cgi?id=198459
<rdar://problem/51332026>
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 <drousso@apple.com>
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
<rdar://problem/48248697>
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 <wenson_hsieh@apple.com>
Make tests that use UIHelper more robust under certain configurations
https://bugs.webkit.org/show_bug.cgi?id=198442
<rdar://problem/51301737>
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 <youenn@apple.com>
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 <sroberts@apple.com>
Updating expectations for failing tests
<rdar://problem/47088939>
Unreviewed test gardening.
* platform/mac/TestExpectations:
2019-05-31 Simon Fraser <simon.fraser@apple.com>
Detab.
* scrollingcoordinator/scrolling-tree/scrolling-tree-includes-frame.html:
2019-05-31 Nikita Vasilyev <nvasilyev@apple.com>
Web Inspector: CSS Changes: modifications aren't shared for rules that match multiple elements
https://bugs.webkit.org/show_bug.cgi?id=195264
<rdar://problem/48550023>
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 <rniwa@webkit.org>
[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 <simon.fraser@apple.com>
[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 <rniwa@webkit.org>
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 <commit-queue@webkit.org>
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 <simon.fraser@apple.com>
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 <simon.fraser@apple.com>
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 <sbarati@apple.com>
[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 <simon.fraser@apple.com>
[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 <ryanhaddad@apple.com>
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 <pvollan@apple.com>
[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 <rniwa@webkit.org>
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 <jer.noble@apple.com>
Video playback in Safari should continue when CarPlay is plugged in
https://bugs.webkit.org/show_bug.cgi?id=198345
<rdar://problem/45505750>
Reviewed by Eric Carlson.
* media/video-isplayingtoautomotiveheadunit-expected.txt: Added.
* media/video-isplayingtoautomotiveheadunit.html: Added.
2019-05-30 Youenn Fablet <youenn@apple.com>
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 <sbarati@apple.com>
[WHLSL] Enforce variable lifetimes
https://bugs.webkit.org/show_bug.cgi?id=195794
<rdar://problem/50746293>
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 <ryanhaddad@apple.com>
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 <dino@apple.com>
Media documents on iPad are too wide in split screen
https://bugs.webkit.org/show_bug.cgi?id=198405
<rdar://problem/50974548>
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 <drousso@apple.com>
Web Inspector: Audit: there should be a default test for WebInspectorAudit.Resources functionality
https://bugs.webkit.org/show_bug.cgi?id=196710
<rdar://problem/49712348>
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 <andresg_22@apple.com>
Inserting a newline in contenteditable causes two characters to be added instead of one
https://bugs.webkit.org/show_bug.cgi?id=197894
<rdar://problem/49700998>
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 <drousso@apple.com>
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 <justin_fan@apple.com>
[Web GPU] Vertex Buffers/Input State API updates
https://bugs.webkit.org/show_bug.cgi?id=194258
<rdar://problem/47806127>
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 <wenson_hsieh@apple.com>
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
<rdar://problem/50798593>
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 <zalan@apple.com>
[iOS] Do not linkify telephone numbers inside <a> 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 <jer.noble@apple.com>
Video playback in Safari should continue when CarPlay is plugged in
https://bugs.webkit.org/show_bug.cgi?id=198345
<rdar://problem/45505750>
Reviewed by Eric Carlson.
* media/video-isplayingtoautomotiveheadunit-expected.txt: Added.
* media/video-isplayingtoautomotiveheadunit.html: Added.
2019-05-29 Said Abou-Hallawa <sabouhallawa@apple.com>
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 <youenn@apple.com>
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 <antti@apple.com>
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 <yacine.bandou@softathome.com>
[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 <sbarati@apple.com>
[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 <mmaxfield@apple.com>
Move idempotent text autosizing to StyleTreeResolver
https://bugs.webkit.org/show_bug.cgi?id=197808
<rdar://problem/50283983>
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 <simon.fraser@apple.com>
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 <youenn@apple.com>
createAnswer() SDP Rejected by setLocalDescription()
https://bugs.webkit.org/show_bug.cgi?id=195930
<rdar://problem/49030489>
Reviewed by Eric Carlson.
* webrtc/h264-packetization-mode-expected.txt: Added.
* webrtc/h264-packetization-mode.html: Added.
2019-05-28 Shawn Roberts <sroberts@apple.com>
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 <drousso@apple.com>
REGRESSION (r244182): inspector/canvas/recording-webgl-snapshots.html became flaky on WK1
https://bugs.webkit.org/show_bug.cgi?id=196875
<rdar://problem/49873252>
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 <graouts@apple.com>
[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 <antti@apple.com>
[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 <Takashi.Komori@sony.com>
[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 <obrufau@igalia.com>
[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 <cgarcia@igalia.com>
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 <wilander@apple.com>
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
<rdar://problem/51117258>
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 <youenn@apple.com>
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 <simon.fraser@apple.com>
[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 <simon.fraser@apple.com>
[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 <jh718.park@samsung.com>
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 <mmaxfield@apple.com>
[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 <sroberts@apple.com>
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 <simon.fraser@apple.com>
Rebase compositing/rtl/rtl-overflow-scrolling.html
https://bugs.webkit.org/show_bug.cgi?id=198220
<rdar://problem/51114177>
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 <rniwa@webkit.org>
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 <simon.fraser@apple.com>
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
<rdar://problem/49720087>
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 <Hironori.Fujii@sony.com>
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 <sbarati@apple.com>
[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 <sroberts@apple.com>
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 <sroberts@apple.com>
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 <sroberts@apple.com>
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 <youenn@apple.com>
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 <youenn@apple.com>
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
<rdar://problem/47189864>
Reviewed by Jer Noble.
* webrtc/concurrentVideoPlayback-expected.txt: Added.
* webrtc/concurrentVideoPlayback.html: Added.
2019-05-23 Shawn Roberts <sroberts@apple.com>
Updating test expectations for failing tests.
<rdar://problem/47088939>
Unreviewed test gardening.
* platform/mac/TestExpectations:
2019-05-23 Antoine Quint <graouts@apple.com>
[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 <graouts@apple.com>
[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 <tsavell@apple.com>
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 <simon.fraser@apple.com>
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 <mmaxfield@apple.com>
[WHLSL] Implement property resolver
https://bugs.webkit.org/show_bug.cgi?id=195925
<rdar://problem/48219643>
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 <mmaxfield@apple.com>
font-optical-sizing applies the wrong variation value
https://bugs.webkit.org/show_bug.cgi?id=197528
<rdar://problem/50152854>
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 <antti@apple.com>
Subselectors not searched when determining property whitelist for selector
https://bugs.webkit.org/show_bug.cgi?id=198147
<rdar://problem/50405208>
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 <wenson_hsieh@apple.com>
[iOS] The shouldIgnoreMetaViewport test option incorrectly persists across layout tests
https://bugs.webkit.org/show_bug.cgi?id=198135
<rdar://problem/51001306>
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 <sbarati@apple.com>
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 <rniwa@webkit.org>
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 <simon.fraser@apple.com>
<rdar://problem/50058173> 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 <simon.fraser@apple.com>
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 <simon.fraser@apple.com>
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 <ryanhaddad@apple.com>
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 <graouts@apple.com>
[iOS] Compatibility mouse events aren't prevented by calling preventDefault() on pointerdown
https://bugs.webkit.org/show_bug.cgi?id=198124
<rdar://problem/50410863>
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 <jiewen_tan@apple.com>
[WebAuthN] Support Attestation Conveyance Preference
https://bugs.webkit.org/show_bug.cgi?id=192722
<rdar://problem/49939647>
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 <jer.noble@apple.com>
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 <youenn@apple.com>
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 <aboya@igalia.com>
[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 <youenn@apple.com>
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
<rdar://problem/36188028>
Unreviewed.
* platform/mac-wk2/TestExpectations:
Marking more tests as slow.
2019-05-22 Per Arne Vollan <pvollan@apple.com>
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 <mmaxfield@apple.com>
font-optical-sizing applies the wrong variation value
https://bugs.webkit.org/show_bug.cgi?id=197528
<rdar://problem/50152854>
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 <simon.fraser@apple.com>
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
<rdar://problem/49403082>
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 <antti@apple.com>
RTL/overflow scroll tests fail with async overflow enabled
https://bugs.webkit.org/show_bug.cgi?id=196013
<rdar://problem/49066649>
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 <cgarcia@igalia.com>
[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 <wenson_hsieh@apple.com>
[iOS] Layout viewport size on google.com increases after rotating to landscape and back
https://bugs.webkit.org/show_bug.cgi?id=198062
<rdar://problem/50547895>
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 <cdumez@apple.com>
Fix security check in ScriptController::canAccessFromCurrentOrigin()
https://bugs.webkit.org/show_bug.cgi?id=196730
<rdar://problem/49731231>
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 <giosia@google.com>
Range getBoundingClientRect returning zero rect on simple text node with <br> 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 <ryanhaddad@apple.com>
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 <andresg_22@apple.com>
Hitpoint for link which spans two lines in web content is incorrect
https://bugs.webkit.org/show_bug.cgi?id=197511
<rdar://problem/49971483>
Reviewed by Chris Fleizach.
* accessibility/ios-simulator/links-activation.html:
* accessibility/links-activation-expected.txt:
* accessibility/links-activation.html:
2019-05-20 Sihui Liu <sihui_liu@apple.com>
[ 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
<rdar://problem/49345360>
Reviewed by Alex Christensen.
* platform/ios-simulator-wk2/TestExpectations:
* platform/mac-wk2/TestExpectations:
2019-05-19 Brent Fulgham <bfulgham@apple.com>
Wait to get frame until after layout has been run
https://bugs.webkit.org/show_bug.cgi?id=197999
<rdar://problem/50800345>
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 <graouts@apple.com>
[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
<rdar://problem/50769116>
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 <graouts@apple.com>
[Pointer Events] The pointerup, pointerout and pointerleave events may be fired twice
https://bugs.webkit.org/show_bug.cgi?id=198028
<rdar://problem/50769425>
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 <graouts@apple.com>
[Pointer Events] A pointer should be marked as primary for all of its events
https://bugs.webkit.org/show_bug.cgi?id=197909
<rdar://problem/50801608>
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 <simon.fraser@apple.com>
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 <jiewen_tan@apple.com>
[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
<rdar://problem/50879746>
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 <pjh0718@gmail.com>
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 <graouts@apple.com>
Add a website policy to disable the legacy -webkit-overflow-scrolling:touch behavior
https://bugs.webkit.org/show_bug.cgi?id=197943
<rdar://problem/49078202>
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 <rbuis@igalia.com>
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 <sroberts@apple.com>
media/controls-after-reload.html failing on iOS after unskip
Unreviewed test gardening.
* platform/ios/TestExpectations: Skipping in iOS
2019-05-17 Simon Fraser <simon.fraser@apple.com>
REGRESSION (r245170): gmail.com inbox table header flickers
https://bugs.webkit.org/show_bug.cgi?id=198005
<rdar://problem/50907718>
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 <simon.fraser@apple.com>
REGRESSION (r245170): gmail.com header flickers when hovering over the animating buttons
https://bugs.webkit.org/show_bug.cgi?id=197975
<rdar://problem/50865946>
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 <sabouhallawa@apple.com>
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 <eric.carlson@apple.com>
Allow sequential playback of media files when initial playback started with a user gesture
https://bugs.webkit.org/show_bug.cgi?id=197959
<rdar://problem/50655207>
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 <tsavell@apple.com>
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 <antti@apple.com>
[iOS] Respect scrolling="no" on composited frames
https://bugs.webkit.org/show_bug.cgi?id=197972
<rdar://problem/50252398>
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 <gr3g@apple.com>
AX: Unship some ARIA string reflectors that are to-be-replaced by element reflection
https://bugs.webkit.org/show_bug.cgi?id=197764
<rdar://problem/50649689>
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 <wilander@apple.com>
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
<rdar://problem/50753129>
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 <ross.kirsling@sony.com>
[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 <youenn@apple.com>
Layout Test http/wpt/cache-storage/cache-quota-add.any.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=197952
<rdar://problem/50859168>
Unreviewed.
* platform/ios-simulator-wk2/TestExpectations:
Mark test as slow as per flakiness dashboard.
2019-05-16 Daniel Bates <dabates@apple.com>
[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
<rdar://problem/47902054>
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 <ajuma@chromium.org>
[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 <drousso@apple.com>
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 <drousso@apple.com>
REGRESSION (r240644): Layout Test inspector/page/overrideSetting-ICECandidateFilteringEnabled.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=194437
<rdar://problem/48008005>
Reviewed by Joseph Pecoraro.
* inspector/page/overrideSetting-ICECandidateFilteringEnabled.html:
* inspector/page/overrideSetting-ICECandidateFilteringEnabled-expected.txt:
2019-05-15 Devin Rousso <drousso@apple.com>
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
<rdar://problem/50354090>
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 <zalan@apple.com>
Do not create a shape object outside of the layout context
https://bugs.webkit.org/show_bug.cgi?id=197926
<rdar://problem/50627858>
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 <sroberts@apple.com>
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 <youenn@apple.com>
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 <Hironori.Fujii@sony.com>
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 <wenson_hsieh@apple.com>
Missing cursor/caret showing in search field on google.com
https://bugs.webkit.org/show_bug.cgi?id=197862
<rdar://problem/50291989>
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 <megan_gardner@apple.com>
Fix flakey test fast/events/autoscroll-when-input-is-offscreen.html
https://bugs.webkit.org/show_bug.cgi?id=197897
<rdar://problem/50306931>
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 <sroberts@apple.com>
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 <ajuma@chromium.org>
[IntersectionObserver] Update expectations for tests that are no longer flaky
Unreviewed test gardening.
* platform/mac-wk2/TestExpectations:
2019-05-14 Truitt Savell <tsavell@apple.com>
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 <zalan@apple.com>
Do not try to issue repaint while the render tree is being destroyed.
https://bugs.webkit.org/show_bug.cgi?id=197461
<rdar://problem/50368992>
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 <youenn@apple.com>
A service worker process should app nap when all its clients app nap
https://bugs.webkit.org/show_bug.cgi?id=185626
<rdar://problem/46785908>
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 <obrufau@igalia.com>
[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 <antti@apple.com>
Event region computation should respect transforms
https://bugs.webkit.org/show_bug.cgi?id=197836
<rdar://problem/50762971>
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 <sabouhallawa@apple.com>
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 <youenn@apple.com>
Video frame resizing should be using Trim
https://bugs.webkit.org/show_bug.cgi?id=197722
<rdar://problem/50602188>
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 <graouts@apple.com>
[Pointer Events] The pointerenter and pointerleave events target the wrong element on iOS
https://bugs.webkit.org/show_bug.cgi?id=197881
<rdar://problem/50187657>
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 <dabates@apple.com>
[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
<rdar://problem/49523065>
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 <sabouhallawa@apple.com>
[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 <rdar://problem/42625657>.
* 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 <pvollan@apple.com>
[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 <jfernandez@igalia.com>
Implement "line-break: anywhere"
https://bugs.webkit.org/show_bug.cgi?id=181169
<rdar://problem/48507088>
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 <wenson_hsieh@apple.com>
[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
<rdar://problem/50700512>
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 <jiewen_tan@apple.com>
[WebAuthN] InvalidStateError should be reported to sites
https://bugs.webkit.org/show_bug.cgi?id=193269
<rdar://problem/48298264>
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 <drousso@apple.com>
[ Mac Debug ] Layout Test inspector/audit/basic.html is a flaky timeout on bots
https://bugs.webkit.org/show_bug.cgi?id=196448
<rdar://problem/49485452>
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 <drousso@apple.com>
[ 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
<rdar://problem/49039441>
Reviewed by Alex Christensen.
* js/dom/unhandled-promise-rejection-bindings-type-error.html:
2019-05-13 Megan Gardner <megan_gardner@apple.com>
Alter Conic Gradient tests to be less subject to noise
https://bugs.webkit.org/show_bug.cgi?id=197806
<rdar://problem/47272067>
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.
<rdar://problem/50682535>
* 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 <antti@apple.com>
REGRESSION (r245208): compositing/shared-backing/sharing-bounds-non-clipping-shared-layer.html asserts
https://bugs.webkit.org/show_bug.cgi?id=197818
<rdar://problem/50705762>
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 <wenson_hsieh@apple.com>
[macOS] Font formatting options don't work when composing a message in Yahoo mail
https://bugs.webkit.org/show_bug.cgi?id=197813
<rdar://problem/49382250>
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 <sihui_liu@apple.com>
[ 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
<rdar://problem/49031397>
Reviewed by Youenn Fablet.
r244674 should have fixed this regression.
* platform/mac-wk2/TestExpectations:
2019-05-12 Simon Fraser <simon.fraser@apple.com>
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 <simon.fraser@apple.com>
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 <Takashi.Komori@sony.com>
[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 <simon.fraser@apple.com>
Overflow scroll that becomes non-scrollable should stop being composited
https://bugs.webkit.org/show_bug.cgi?id=197817
<rdar://problem/50697290>
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 <ap@apple.com>
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 <ap@apple.com>
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 <ap@apple.com>
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 <simon.fraser@apple.com>
Layer bounds are incorrect for sharing layers that paint with transforms
https://bugs.webkit.org/show_bug.cgi?id=197768
<rdar://problem/50695493>
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 <simon.fraser@apple.com>
Translucent gradient rendering bug due to will-change transform
https://bugs.webkit.org/show_bug.cgi?id=197654
<rdar://problem/50547664>
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 <simon.fraser@apple.com>
When the scroller hosting a shared layer becomes non-scrollable, content disappears
https://bugs.webkit.org/show_bug.cgi?id=197766
<rdar://problem/50695808>
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 <simon.fraser@apple.com>
Backing-sharing layers with transforms render incorrectly
https://bugs.webkit.org/show_bug.cgi?id=197692
<rdar://problem/50652127>
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 <zalan@apple.com>
[iOS] baidu.com: Synthetic bold renders too far apart, appears doubled.
https://bugs.webkit.org/show_bug.cgi?id=197781
<rdar://problem/48027412>
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 <simon.fraser@apple.com>
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 <cfleizach@apple.com>
AX: Crash at WebKit: WebKit::WebSpeechSynthesisClient::speak
https://bugs.webkit.org/show_bug.cgi?id=197761
<rdar://problem/50237614>
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 <antti@apple.com>
Event region generation needs to know about backing-sharing
https://bugs.webkit.org/show_bug.cgi?id=197694
<rdar://problem/50584991>
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 <ryanhaddad@apple.com>
[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 <simon.fraser@apple.com>
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
<rdar://problem/50445998>
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 <dabates@apple.com>
[iOS] Right command key has wrong value for property code
https://bugs.webkit.org/show_bug.cgi?id=193876
<rdar://problem/47577308>
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 <dabates@apple.com>
[iOS] Numpad comma key has incorrect keyIdentifier property
https://bugs.webkit.org/show_bug.cgi?id=197753
<rdar://problem/50636274>
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 <zalan@apple.com>
Do not mix inline and block level boxes.
https://bugs.webkit.org/show_bug.cgi?id=197462
<rdar://problem/50369362>
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 <ryanhaddad@apple.com>
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 <dabates@apple.com>
[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
<rdar://problem/47902054>
Reviewed by Brent Fulgham.
Add tests to ensure we fire input and keypress events in the correct order and that we can
submit a <form> 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 <rdar://problem/50596032>.
2019-05-09 Per Arne Vollan <pvollan@apple.com>
[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 <graouts@apple.com>
pointerevents/ios/touch-action-none-in-overflow-scrolling-touch.html is a timeout
https://bugs.webkit.org/show_bug.cgi?id=197738
<rdar://problem/50588613>
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 <antti@apple.com>
Elements with "display: inline-block" don't have a touch-action region
https://bugs.webkit.org/show_bug.cgi?id=197281
<rdar://problem/50535081>
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 <graouts@apple.com>
[iOS] Correctly handle overlapping regions for elements with a touch-action property
https://bugs.webkit.org/show_bug.cgi?id=194813
<rdar://problem/48194708>
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 <cdumez@apple.com>
[iOS Debug] ASSERTION FAILED: !m_originalNode in WebCore::JSLazyEventListener::checkValidityForEventTarget(WebCore::EventTarget &)
https://bugs.webkit.org/show_bug.cgi?id=197696
<rdar://problem/50586956>
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 <ryanhaddad@apple.com>
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 <timothy_horton@apple.com>
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 <aboya@igalia.com>
[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 <timothy_horton@apple.com>
iOS: Selection is dismissed even if click is preventDefault()'d
https://bugs.webkit.org/show_bug.cgi?id=197686
<rdar://problem/49398824>
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 <wenson_hsieh@apple.com>
[iOS] Add a quirk to synthesize mouse events when modifying the selection
https://bugs.webkit.org/show_bug.cgi?id=197683
<rdar://problem/48003980>
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 <ryanhaddad@apple.com>
Unreviewed test gardening for Mojave.
* platform/mac-wk2/TestExpectations: Skip two webgl tests that time out very frequently.
2019-05-08 Simon Fraser <simon.fraser@apple.com>
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
<rdar://problem/50445998>
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 <wenson_hsieh@apple.com>
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 <rbuis@igalia.com>
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 <jiewen_tan@apple.com>
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 <jiewen_tan@apple.com>
[WebAuthN] A new request should always suppress the pending request if any
https://bugs.webkit.org/show_bug.cgi?id=191517
<rdar://problem/46888222>
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 <youenn@apple.com>
Video stream freeze on front camera orientation changing
https://bugs.webkit.org/show_bug.cgi?id=197227
<rdar://problem/50175498>
Reviewed by Eric Carlson.
* webrtc/video-rotation-expected.txt:
* webrtc/video-rotation.html:
2019-05-07 Brent Fulgham <bfulgham@apple.com>
Correct JSON parser to address unterminated escape character
https://bugs.webkit.org/show_bug.cgi?id=197582
<rdar://problem/50459177>
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 <wilander@apple.com>
Storage Access API: Make two changes requested by developers and complete refactoring and cleanup
https://bugs.webkit.org/show_bug.cgi?id=197648
<rdar://problem/50527493>
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 <antti@apple.com>
<body> 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 <ryanhaddad@apple.com>
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 <cdumez@apple.com>
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 <ryanhaddad@apple.com>
[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 <antti@apple.com>
<body> with overflow:hidden CSS is scrollable on iOS
https://bugs.webkit.org/show_bug.cgi?id=153852
<rdar://problem/38715356>
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 <youenn@apple.com>
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 <andresg_22@apple.com>
Hitpoint for link which spans two lines in web content is incorrect
https://bugs.webkit.org/show_bug.cgi?id=197511
<rdar://problem/49971483>
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 <youenn@apple.com>
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 <ryanhaddad@apple.com>
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 <graouts@apple.com>
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 <tsavell@apple.com>
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 <tsavell@apple.com>
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 <tzagallo@apple.com>
TypedArrays should not store properties that are canonical numeric indices
https://bugs.webkit.org/show_bug.cgi?id=197228
<rdar://problem/49557381>
Reviewed by Saam Barati.
* fast/canvas/canvas-ImageData-behaviour-expected.txt:
* fast/canvas/canvas-ImageData-behaviour.js:
2019-05-04 Per Arne Vollan <pvollan@apple.com>
[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 <simon.fraser@apple.com>
[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 <jiewen_tan@apple.com>
[WebAuthN] A focused document should be required
https://bugs.webkit.org/show_bug.cgi?id=197543
<rdar://problem/50430989>
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 <youenn@apple.com>
[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 <youenn@apple.com>
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 <youenn@apple.com>
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
<rdar://problem/50353372>
Reviewed by Alex Christensen.
* platform/mac-wk2/TestExpectations:
2019-05-03 Devin Rousso <drousso@apple.com>
Web Inspector: Record actions performed on WebGL2RenderingContext
https://bugs.webkit.org/show_bug.cgi?id=176008
<rdar://problem/34213884>
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 <rniwa@webkit.org>
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 <cdumez@apple.com>
Add test coverage for <rdar://problem/49731231>
https://bugs.webkit.org/show_bug.cgi?id=196730
<rdar://problem/49731231>
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 <cdumez@apple.com>
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 <git@gkatsev.com>
WebVTT: vertical cue text alignment is the wrong way around
https://bugs.webkit.org/show_bug.cgi?id=136627
<rdar://problem/49725538>
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 <tsavell@apple.com>
[ 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 <magomez@igalia.com>
Unreviewed GTK+ gardening after r244868.
* platform/gtk/TestExpectations:
2019-05-02 Per Arne Vollan <pvollan@apple.com>
[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 <drousso@apple.com>
Unreviewed, fix test failures after r242992.
<rdar://problem/50383600>
* 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 <jiewen_tan@apple.com>
[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 <drousso@apple.com>
Unreviewed, fix test failures after r242809.
<rdar://problem/50383600>
* 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 <justin_fan@apple.com>
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 <zalan@apple.com>
[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 <wenson_hsieh@apple.com>
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
<rdar://problem/50348091>
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 <rniwa@webkit.org>
[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 <wenson_hsieh@apple.com>
[iOS] Add a version of viewport shrink-to-fit heuristics that preserves page layout
https://bugs.webkit.org/show_bug.cgi?id=197342
<rdar://problem/50063091>
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 <zalan@apple.com>
[iOS] Star rating is covered with a black circle when writing a review on Yelp
https://bugs.webkit.org/show_bug.cgi?id=197469
<rdar://problem/48094446>
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 <ryanhaddad@apple.com>
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 <tsavell@apple.com>
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 <darin@apple.com>
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 <sroberts@apple.com>
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 <youenn@apple.com>
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 <youenn@apple.com>
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 <eric.carlson@apple.com>
XMLHttpRequest should propagate user gestures for media playback
https://bugs.webkit.org/show_bug.cgi?id=197428
<rdar://problem/46677392>
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 <darin@apple.com>
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 <mmaxfield@apple.com>
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 <commit-queue@webkit.org>
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 <youenn@apple.com>
[macOS WK1] ASSERTION FAILED: formData in WebCore::ResourceRequest::doUpdateResourceHTTPBody()
https://bugs.webkit.org/show_bug.cgi?id=196864
<rdar://problem/49854497>
Reviewed by Alex Christensen.
* platform/mac-wk1/TestExpectations:
2019-04-30 Shawn Roberts <sroberts@apple.com>
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 <tzagallo@apple.com>
TypeArrays should not store properties that are canonical numeric indices
https://bugs.webkit.org/show_bug.cgi?id=197228
<rdar://problem/49557381>
Reviewed by Darin Adler.
* fast/canvas/canvas-ImageData-behaviour-expected.txt:
* fast/canvas/canvas-ImageData-behaviour.js:
2019-04-30 Commit Queue <commit-queue@webkit.org>
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 <achristensen@webkit.org>
Add WKContentRuleList ping resource-type
https://bugs.webkit.org/show_bug.cgi?id=197325
<rdar://problem/49841404>
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 <sroberts@apple.com>
Fixing typo in https://trac.webkit.org/changeset/244780/webkit.
Unreviewed test gardening.
* platform/mac/TestExpectations:
2019-04-30 Shawn Roberts <sroberts@apple.com>
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 <sroberts@apple.com>
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 <justin_fan@apple.com>
[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 <youenn@apple.com>
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 <zalan@apple.com>
Double-tapping a post to like doesn't work on Instagram.com (needs 'dblclick' event)
https://bugs.webkit.org/show_bug.cgi?id=197347
<rdar://problem/49393423>
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 <youenn@apple.com>
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 <cgarcia@igalia.com>
[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 <cgarcia@igalia.com>
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 <tsavell@apple.com>
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 <zalan@apple.com>
Double-tapping a post to like doesn't work on Instagram.com (needs 'dblclick' event)
https://bugs.webkit.org/show_bug.cgi?id=197347
<rdar://problem/49393423>
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 <simon.fraser@apple.com>
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 <jfernandez@igalia.com>
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 <youenn@apple.com>
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 <simon.fraser@apple.com>
REGRESSION (r238090): animation on https://www.robotodyssey.online gets stuck; site broken
https://bugs.webkit.org/show_bug.cgi?id=197381
<rdar://problem/50308128>