2021-06-30 Alan Coon Cherry-pick r279382. rdar://problem/79970297 Unreviewed, reverting r279250. https://bugs.webkit.org/show_bug.cgi?id=227499 Sometimes causes YouTube audio to cut out Reverted changeset: "[Cocoa] Last few seconds of 'audio/webm; codecs=vorbis' appended to a SampleBuffer are not played" https://bugs.webkit.org/show_bug.cgi?id=226069 https://commits.webkit.org/r279250 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279382 268f45cc-cd09-0410-ab3c-d52691b4dbfc 2021-06-29 Commit Queue Unreviewed, reverting r279250. https://bugs.webkit.org/show_bug.cgi?id=227499 Sometimes causes YouTube audio to cut out Reverted changeset: "[Cocoa] Last few seconds of 'audio/webm; codecs=vorbis' appended to a SampleBuffer are not played" https://bugs.webkit.org/show_bug.cgi?id=226069 https://commits.webkit.org/r279250 2021-06-29 Alan Coon Cherry-pick r279361. rdar://problem/79923766 REGRESSION (r279310): Occasional crash when focusing login fields on iPad with a software keyboard https://bugs.webkit.org/show_bug.cgi?id=227472 rdar://79876040 Reviewed by Tim Horton. Source/WebKit: I added a mechanism in r279310 to defer calling `-[WKContentView _setSuppressSoftwareKeyboard:NO]` until we've gotten a response from the web process containing an up-to-date autocorrection context. However, in the case where the WKWebView client sets `_suppressSoftwareKeyboard` to `YES` and then immediately to `NO` underneath the scope of a call to `-_webView:willStartInputSession:`, we'll end up calling into `-_setSuppressSoftwareKeyboard:` inside the scope of `-requestAutocorrectionContextWithCompletionHandler:`, when we've received an autocorrection context while sync-waiting. This is problematic because it breaks UIKeyboardTaskQueue's state, since the call to `-_setSuppressSoftwareKeyboard:` will attempt to enqueue a new task after the previous task's context has already returned execution to the parent. To fix this, we instead invoke `self._suppressSoftwareKeyboard = NO;` *before* calling the completion block in `-_handleAutocorrectionContext:`. This allows the request for an autocorrection context underneath `-_setSuppressSoftwareKeyboard:` to be handled (and completed) as a child task of the previous task, which keeps UIKeyboardTaskQueue in a valid state. Test: fast/forms/ios/suppress-software-keyboard-while-focusing-input.html * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _handleAutocorrectionContext:]): Tools: Make it possible to induce the crash (prior to the fix) by introducing two new testing primitives on iOS: - `UIScriptController.suppressSoftwareKeyboard`, a readwrite attribute that can be used to suppress the appearance of the software keyboard on iOS by calling `-[WKWebView _setSuppressSoftwareKeyboard:]`. - `UIScriptController.willStartInputSessionCallback`, a callback that is invoked when we're about to start a UI-process-side input session. On iOS, this corresponds to `-[_WKInputDelegate _webView:willStartInputSession:`]. * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: * TestRunnerShared/UIScriptContext/UIScriptContext.h: * TestRunnerShared/UIScriptContext/UIScriptController.h: (WTR::UIScriptController::suppressSoftwareKeyboard const): (WTR::UIScriptController::setSuppressSoftwareKeyboard): * TestRunnerShared/UIScriptContext/UIScriptControllerShared.cpp: (WTR::UIScriptController::setWillStartInputSessionCallback): (WTR::UIScriptController::willStartInputSessionCallback const): * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: (-[TestRunnerWKWebView initWithFrame:configuration:]): (-[TestRunnerWKWebView resetInteractionCallbacks]): (-[TestRunnerWKWebView _webView:willStartInputSession:]): * WebKitTestRunner/ios/TestControllerIOS.mm: (WTR::TestController::platformResetStateToConsistentValues): Make sure that we revert `_suppressSoftwareKeyboard` to `NO`, in case a layout test ends while leaving this on, to prevent subsequent layout tests from behaving in unexpected ways. * WebKitTestRunner/ios/UIScriptControllerIOS.h: * WebKitTestRunner/ios/UIScriptControllerIOS.mm: (WTR::UIScriptControllerIOS::setWillStartInputSessionCallback): (WTR::UIScriptControllerIOS::suppressSoftwareKeyboard const): (WTR::UIScriptControllerIOS::setSuppressSoftwareKeyboard): LayoutTests: Add a new layout test to exercise the crash. See Tools and Source/WebKit ChangeLogs for more information. This new test suppresses and then immediately un-suppresses the software keyboard inside the `-_webView:willStartInputSession:` input delegate hook while focusing a regular text field. * fast/forms/ios/suppress-software-keyboard-while-focusing-input-expected.txt: Added. * fast/forms/ios/suppress-software-keyboard-while-focusing-input.html: Added. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279361 268f45cc-cd09-0410-ab3c-d52691b4dbfc 2021-06-28 Wenson Hsieh REGRESSION (r279310): Occasional crash when focusing login fields on iPad with a software keyboard https://bugs.webkit.org/show_bug.cgi?id=227472 rdar://79876040 Reviewed by Tim Horton. Add a new layout test to exercise the crash. See Tools and Source/WebKit ChangeLogs for more information. This new test suppresses and then immediately un-suppresses the software keyboard inside the `-_webView:willStartInputSession:` input delegate hook while focusing a regular text field. * fast/forms/ios/suppress-software-keyboard-while-focusing-input-expected.txt: Added. * fast/forms/ios/suppress-software-keyboard-while-focusing-input.html: Added. 2021-06-27 Alan Bujtas [LFC][TFC] Add support for shrinking over-constrained columns based on the width type priority list https://bugs.webkit.org/show_bug.cgi?id=227426 Reviewed by Antti Koivisto. * fast/layoutformattingcontext/table-space-shinking-mixed-width-type-simple-expected.html: Added. * fast/layoutformattingcontext/table-space-shinking-mixed-width-type-simple.html: Added. * fast/layoutformattingcontext/table-space-shinking-mixed-width-type-simple2-expected.html: Added. * fast/layoutformattingcontext/table-space-shinking-mixed-width-type-simple2.html: Added. 2021-06-27 Philippe Normand [GStreamer] SleepDisabler not destroyed when video playback stops https://bugs.webkit.org/show_bug.cgi?id=219353 Reviewed by Eric Carlson. * media/video-ended-does-not-hold-sleep-assertion-expected.txt: Added. * media/video-ended-does-not-hold-sleep-assertion.html: Added. 2021-06-26 Sam Weinig [Modern Media Controls] Modern media controls should not need to know about specific platforms in shared code https://bugs.webkit.org/show_bug.cgi?id=227423 Reviewed by Eric Carlson. Update tests and results to use LayoutTraits class. * media/modern-media-controls/airplay-button/airplay-button-on.html: * media/modern-media-controls/airplay-button/airplay-button.html: * media/modern-media-controls/airplay-placard/airplay-placard.html: * media/modern-media-controls/button/button-active-state.html: * media/modern-media-controls/button/button-click-on-edges.html: * media/modern-media-controls/button/button-focus-state.html: * media/modern-media-controls/button/button-icon-name-expected.txt: * media/modern-media-controls/button/button-icon-name.html: * media/modern-media-controls/button/button-on.html: * media/modern-media-controls/forward-button/forward-button.html: * media/modern-media-controls/fullscreen-button/fullscreen-button.html: * media/modern-media-controls/icon-service/icon-service-expected.txt: * media/modern-media-controls/icon-service/icon-service.html: * media/modern-media-controls/invalid-placard/invalid-placard-constrained-metrics-expected.txt: * media/modern-media-controls/invalid-placard/invalid-placard-constrained-metrics.html: * media/modern-media-controls/invalid-placard/invalid-placard.html: * media/modern-media-controls/ios-inline-media-controls/ios-inline-media-controls-constructor.html: * media/modern-media-controls/layout-item/layout-item-expected.txt: * media/modern-media-controls/layout-item/layout-item.html: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor.html: * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor-expected.txt: * media/modern-media-controls/macos-inline-media-controls/macos-inline-media-controls-constructor.html: * media/modern-media-controls/media-controller/media-controller-fullscreen-change.html: * media/modern-media-controls/media-controls/media-controls-appear-when-focus.html: * media/modern-media-controls/media-controls/media-controls-constructor-expected.txt: * media/modern-media-controls/media-controls/media-controls-constructor.html: * media/modern-media-controls/media-controls/media-controls-placard-compressed-metrics-expected.txt: * media/modern-media-controls/media-controls/media-controls-placard-compressed-metrics.html: * media/modern-media-controls/mute-button/mute-button.html: * media/modern-media-controls/overflow-button/overflow-button.html: * media/modern-media-controls/pip-button/pip-button.html: * media/modern-media-controls/pip-placard/pip-placard.html: * media/modern-media-controls/placard/placard-expected.txt: * media/modern-media-controls/placard/placard.html: * media/modern-media-controls/play-pause-button/play-pause-button.html: * media/modern-media-controls/rewind-button/rewind-button.html: * media/modern-media-controls/skip-back-button/skip-back-button.html: * media/modern-media-controls/skip-forward-button/skip-forward-button.html: * media/modern-media-controls/time-control/time-control-expected.txt: * media/modern-media-controls/time-control/time-control.html: * media/modern-media-controls/tracks-button/tracks-button.html: * media/modern-media-controls/watchos-media-controls/watchos-media-controls-constructor-expected.txt: * media/modern-media-controls/watchos-media-controls/watchos-media-controls-constructor.html: 2021-06-25 Arcady Goldmints-Orlov [GLIB] Update test expectations after r279217 https://bugs.webkit.org/show_bug.cgi?id=227410 Unreviewed test gardening. * platform/glib/TestExpectations: 2021-06-25 Eric Hutchison REGRESSION (r278746): [Mac wk 1] media/media-fullscreen-return-to-inline.html is a flaky timeout. https://bugs.webkit.org/show_bug.cgi?id=227367. Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2021-06-25 Ayumi Kojima REGRESSION: http/tests/preload/onload_event.html is a flaky timeout on Big Sur wk1 Release https://bugs.webkit.org/show_bug.cgi?id=227366 Unreviewed test gardening * platform/mac-wk1/TestExpectations: 2021-06-25 Sergio Villar Senin [css-flexbox] Improve computation of intrinsic sizes of flex items with aspect ratio https://bugs.webkit.org/show_bug.cgi?id=227395 Reviewed by Rob Buis. * TestExpectations: Unskipped 3 tests that are now passing. 2021-06-17 Sergio Villar Senin Nullptr crash in StyledMarkupAccumulator::traverseNodesForSerialization https://bugs.webkit.org/show_bug.cgi?id=226821 Reviewed by Ryosuke Niwa. * editing/selection/setSelection-shadow-dom-crash-expected.txt: Added. * editing/selection/setSelection-shadow-dom-crash.html: Added. 2021-06-25 Philippe Normand Unreviewed, GStreamer gardening * platform/glib/TestExpectations: Mark a mediastream as flaky. 2021-06-14 Sergio Villar Senin [css-flexbox] Do not clamp flex base size with {min|max}-{height|width} https://bugs.webkit.org/show_bug.cgi?id=225590 Reviewed by Alan Bujtas. The patch allows us to pass 3 new tests. We're adding percentage-max-height-003.html to the list of expected failures because these changes make it fail. This is not really a regression however because although the size of the deepest flex item was correct (and thus allowed us to pass the test) the other sizes were completely wrong. So it's more an issue of the test not being complete enough and passing artificially than anything else. * TestExpectations: Unskipped 3 tests & skipped 1. 2021-06-25 Arcady Goldmints-Orlov [GTK] Unreviewed test gardening, mark more WebXR tests as unsupported https://bugs.webkit.org/show_bug.cgi?id=227358 * platform/gtk/TestExpectations: 2021-06-25 Ziran Sun Resync web-platform-tests/css/css-grid tests from upstream https://bugs.webkit.org/show_bug.cgi?id=223593 Reviewed by Sergio Villar Senin and Manuel Rego Casasnovas. * TestExpectations: * platform/ios-wk2/TestExpectations: 2021-06-24 Venky Dass Crash in IDBTransaction::dispatchEvent when m_openDBRequest is null. https://bugs.webkit.org/show_bug.cgi?id=226885 Reviewed by Sihui Liu. * storage/indexeddb/request-with-null-open-db-request-expected.txt: Added. * storage/indexeddb/request-with-null-open-db-request.html: Added. 2021-06-24 Jer Noble [Cocoa] Last few seconds of 'audio/webm; codecs=vorbis' appended to a SampleBuffer are not played https://bugs.webkit.org/show_bug.cgi?id=226069 Reviewed by Eric Carlson. * platform/mac/TestExpectations: * platform/mac/media/media-source/content/test-vorbis-manifest.json: Added. * platform/mac/media/media-source/content/test-vorbis.webm: Added. * platform/mac/media/media-source/media-vorbis-partial-expected.txt: Added. * platform/mac/media/media-source/media-vorbis-partial.html: Added. 2021-06-24 Arcady Goldmints-Orlov [GStreamer] Unreviewed Test gardening, webrtc/peer-connection-remote-audio-mute* are no longer failing https://bugs.webkit.org/show_bug.cgi?id=221504 These tests pass as of r277175. * platform/glib/TestExpectations: 2021-06-24 Alan Bujtas [IFC][Integration] Text selection flashing to end of paragraph https://bugs.webkit.org/show_bug.cgi?id=227158 Reviewed by Antti Koivisto. * fast/events/touch/ios/drag-to-autoscroll-in-single-line-editable.html: * fast/events/touch/ios/hidpi-selection-when-content-is-on-subpixel-expected.txt: Added. * fast/events/touch/ios/hidpi-selection-when-content-is-on-subpixel.html: Added. 2021-06-24 Enrique Ocaña González [GTK] media/muted-video-is-playing-audio.html is timing out https://bugs.webkit.org/show_bug.cgi?id=208321 Reviewed by Xabier Rodriguez-Calvar. Changed the test to set a non-zero mediaVolume, because a zero one (default value set by TestController::resetStateToConsistentValues()) would multiply any other volume in HTMLMediaElement::effectiveVolume(), cause a zero effectiveVolume (being considered in practice as "no audio" by HTMLMediaElement::mediaState()) and prevent the IsPlayingAudio MediaState being set. Also, adapted the test to still expect IsPlayingAudio after mute on the glib ports (GTK & WPE), since on those ports a muted video is expected to report IsPlayingAudio, as per the HTMLMediaElement::mediaState() source code comments. * media/muted-video-is-playing-audio.html: Test changed as described above. * platform/glib/media/muted-video-is-playing-audio-expected.txt: Added expectation for glib port. * resources/platform-helper.js: (isGtk): Clarified where the GTK user-agent string comes from. (isWPE): New function to check if a WPE port is being used. 2021-06-23 Chris Dumez Unreviewed, mark imported/w3c/web-platform-tests/mediacapture-streams/MediaStreamTrack-MediaElement-disabled-audio-is-silence.https.html as flaky on iOS. * platform/ios-wk2/TestExpectations: 2021-06-23 Chris Dumez Unreviewed, silence console logging for imported/w3c/web-platform-tests/html/browsers/origin/cross-origin-objects/cross-origin-objects.html The console logging was making the test flaky. * TestExpectations: 2021-06-23 Chris Dumez Update WPT resources from upstream https://bugs.webkit.org/show_bug.cgi?id=227296 Reviewed by Darin Adler. * platform/mac-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https-expected.txt: 2021-06-23 Martin Robinson [iOS 15 Regression]: scroll position resets when using scroll snap https://bugs.webkit.org/show_bug.cgi?id=226816 Reviewed by Simon Fraser. * fast/scrolling/ios/scroll-snap-with-momentum-scroll-in-main-frame-expected.txt: Added. * fast/scrolling/ios/scroll-snap-with-momentum-scroll-in-main-frame.html: Added. * fast/scrolling/ios/scroll-snap-with-momentum-scroll-in-overflow-scroll-area-expected.txt: Added. * fast/scrolling/ios/scroll-snap-with-momentum-scroll-in-overflow-scroll-area.html: Added. 2021-06-23 Fujii Hironori [WinCairo] Unreviewed test gardening * platform/wincairo-wk1/TestExpectations: * platform/wincairo/TestExpectations: 2021-06-23 Aditya Keerthi [iOS] Adopt new date picker presentation SPI https://bugs.webkit.org/show_bug.cgi?id=227221 Reviewed by Wenson Hsieh. * fast/forms/ios/constant-scroll-area-when-moving-focus-between-fields.html: Re-order the call to wait for the keyboard to dismiss since the presentation SPI doesn't tell us exactly when the presentation animation is complete. The other alternative was to add a manual delay, however, re-ordering the calls is safe and preserves the original test behavior. 2021-06-23 Arcady Goldmints-Orlov [GLIB] Unreviewed test gardening, skip a WebGL2 test https://bugs.webkit.org/show_bug.cgi?id=227303 * platform/glib/TestExpectations: 2021-06-23 Chris Dumez CSSStyleDeclaration.getPropertyPriority() should return the empty string for invalid CSS properties https://bugs.webkit.org/show_bug.cgi?id=227257 Reviewed by Darin Adler. Follow-up to r279125 to improve test coverage for usage of USVString in CSSStyleDeclaration. * fast/css/CSSStyleDeclaration-setProperty-unicode-expected.txt: Added. * fast/css/CSSStyleDeclaration-setProperty-unicode.html: Added. 2021-06-23 Amir Mark Jr [macOS WK1] imported/w3c/web-platform-tests/css/css-scroll-snap/scroll-target-snap-003.html is a flaky failure. https://bugs.webkit.org/show_bug.cgi?id=227085 Unreviewed test gardening. Updating previous test expectation. * platform/mac-wk1/TestExpectations: 2021-06-23 Andres Gonzalez Accessibility support for image text recognition. https://bugs.webkit.org/show_bug.cgi?id=224280 rdar://76348740 Reviewed by Chris Fleizach. * accessibility/image-link-expected.txt: * accessibility/ios-simulator/image-overlay-elements-expected.txt: Added. * accessibility/ios-simulator/image-overlay-elements.html: Added. * accessibility/resources/green-400x400.png: Added. 2021-06-18 Mark Lam Add missing exception checks in ScriptModuleLoader and JSDOMPromiseDeferred. https://bugs.webkit.org/show_bug.cgi?id=221374 rdar://problem/68911404 Reviewed by Yusuke Suzuki. Based on patch by Frédéric Wang . Add a regression test for import('./'). Depending on the system configuration this can execute two different rejection methods from ScriptModuleLoader::notifyFinished(). In other words, we may get 2 different error messages. Hence, the test needs to allow for this variance. Additional test cases are added for rejectToPropagateNetworkError / DeferredPromise::rejectWithCallback (e.g. module file not found), for DeferredPromise::reject(ExceptionCode, const String&, RejectAsHandled) (e.g. module file does not have JavaScript MIME type) and DeferredPromise::resolveWithCallback (e.g. module import is successful). Also update promise-rejection-might-stack-overflow.html now that the stack overflow error is reported. * js/dom/modules/missing-exception-check-for-import-expected.txt: Added. * js/dom/modules/missing-exception-check-for-import.html: Added. * js/dom/promise-rejection-might-stack-overflow-expected.txt: * js/dom/promise-rejection-might-stack-overflow.html: 2021-06-21 Darin Adler Improve more of the CSS list style implementations https://bugs.webkit.org/show_bug.cgi?id=227206 Reviewed by Antti Koivisto. * TestExpectations: Expect about 50 more css-counter-styles tests to pass. * fast/lists/li-values-expected.txt: Updated to expect newly specified behavior. When this test was written, the specification was different. * fast/lists/li-values.html: Ditto. * fast/lists/w3-css3-list-styles-fallback-style-expected.txt: Ditto. Also many of these were expecting failures. * fast/lists/w3-css3-list-styles-fallback-style.html: Ditto. * fast/lists/w3-css3-list-styles-numeric-expected.txt: Ditto. Also added tests for ethiopic-numeric. * fast/lists/w3-css3-list-styles-numeric.html: Ditto. * fast/lists/w3-list-styles-expected.txt: Updated expected result for 0 in Hebrew. * platform/mac/TestExpectations: Moved some image failure expectations from here to the main TestExpectations because they do not seem to be platform-specific. 2021-06-22 Amir Mark Jr [Catalina WK2 Debug/ iOS 14 Debug] fast/css-custom-paint/out-of-memory-while-adding-worklet-module.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=227273 Unrevieweed test gardening. * platform/ios-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: 2021-06-22 Per Arne Vollan [macOS] Deny mach-lookup to the service 'com.apple.print.normalizerd' https://bugs.webkit.org/show_bug.cgi?id=227248 Reviewed by Brent Fulgham. Skip EPS test, which is failing when this service is unavailable. * platform/mac/TestExpectations: 2021-06-22 Alan Bujtas [RenderTreeBuilder] ASSERTION FAILED: m_renderer in FloatingObject::renderer() https://bugs.webkit.org/show_bug.cgi?id=227260 Reviewed by Antti Koivisto. * fast/block/float-assert-when-anon-parent-is-destroyed-expected.txt: Added. * fast/block/float-assert-when-anon-parent-is-destroyed.html: Added. 2021-06-22 Arcady Goldmints-Orlov [GLIB] Unreviewed test gardening, add timeouts in new test https://bugs.webkit.org/show_bug.cgi?id=227258 media/media-source/media-source-has-audio-video.html and media/media-source/media-source-seek-unbuffered.html have timed on GTK and WPE since they were added. * platform/glib/TestExpectations: 2021-06-22 Simon Fraser REGRESSION (Safari 14): Submenus on https://codelearn.cat don't show https://bugs.webkit.org/show_bug.cgi?id=225467 Reviewed by Alan Bujtas. * compositing/overflow/overflow-scroll-to-visible-expected.html: Added. * compositing/overflow/overflow-scroll-to-visible.html: Added. 2021-06-22 Chris Dumez CSSStyleDeclaration.getPropertyPriority() should return the empty string for invalid CSS properties https://bugs.webkit.org/show_bug.cgi?id=227257 Reviewed by Geoffrey Garen. Add layout test coverage. * fast/css/CSSStyleDeclaration-getPropertyPriority-invalid-property-expected.txt: Added. * fast/css/CSSStyleDeclaration-getPropertyPriority-invalid-property.html: Added. 2021-06-22 Per Arne Vollan [AppleWin] Update test expectations https://bugs.webkit.org/show_bug.cgi?id=226970 Unreviewed test gardening. * platform/win/TestExpectations: 2021-06-22 Frédéric Wang Nullptr crash in null ptr deref in ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline https://bugs.webkit.org/show_bug.cgi?id=226799 Reviewed by Ryosuke Niwa. Add regression test. * fast/editing/paste-and-indent-microtask-crash-expected.txt: Added. * fast/editing/paste-and-indent-microtask-crash.html: Added. 2021-06-22 Arcady Goldmints-Orlov [GLIB] Unreviewed test gardening. Update baselines after r278931. https://bugs.webkit.org/show_bug.cgi?id=227183 * platform/glib/tables/mozilla/bugs/bug106795-expected.txt: * platform/gtk/tables/mozilla/bugs/bug16252-expected.txt: * platform/gtk/tables/mozilla/bugs/bug82946-2-expected.txt: * platform/wpe/tables/mozilla/bugs/bug1188-expected.txt: * platform/wpe/tables/mozilla/bugs/bug126742-expected.png: * platform/wpe/tables/mozilla/bugs/bug126742-expected.txt: * platform/wpe/tables/mozilla/bugs/bug1318-expected.txt: * platform/wpe/tables/mozilla/bugs/bug16252-expected.txt: * platform/wpe/tables/mozilla/bugs/bug57828-2-expected.txt: * platform/wpe/tables/mozilla/bugs/bug82946-2-expected.txt: 2021-06-22 Cathie Chen Implement width and height attributes on source elements of https://bugs.webkit.org/show_bug.cgi?id=222368 Reviewed by Darin Adler. * TestExpectations: 2021-06-21 Carlos Alberto Lopez Perez [GLIB] Gardening of test failures. Unreviewed gardening Remove tests that pass after r279065. * platform/glib/TestExpectations: 2021-06-21 Wenson Hsieh [macOS] [WebKitLegacy] Non-actionable "Look Up" action appears when right clicking images https://bugs.webkit.org/show_bug.cgi?id=227240 Reviewed by Devin Rousso. Add a layout test to check whether or not the "Look Up" action is available when right clicking image elements. In WebKit2 prior to Monterey as well as legacy WebKit, this context menu action should not be present. * fast/events/contextmenu-lookup-action-for-image-expected.txt: Added. * fast/events/contextmenu-lookup-action-for-image.html: Added. * platform/ios/TestExpectations: * platform/win/TestExpectations: * platform/wincairo-wk1/TestExpectations: 2021-06-21 Aditya Keerthi [iOS] Update textfield border color to match specification https://bugs.webkit.org/show_bug.cgi?id=227135 Reviewed by Maciej Stachowiak. Rebaselined tests to account for changes to border color. * platform/ios-simulator/fast/forms/auto-fill-button/hide-auto-fill-strong-password-viewable-treatment-when-form-is-reset-expected.txt: * platform/ios-simulator/fast/forms/auto-fill-button/input-credit-card-auto-fill-button-expected.txt: * platform/ios-simulator/fast/forms/auto-fill-button/input-strong-password-viewable-expected.txt: * platform/ios-simulator/fast/forms/datalist/datalist-textinput-appearance-expected.txt: * platform/ios-wk2/editing/input/caret-at-the-edge-of-input-expected.txt: * platform/ios-wk2/editing/input/reveal-caret-of-multiline-input-expected.txt: * platform/ios-wk2/editing/inserting/4960120-1-expected.txt: * platform/ios-wk2/editing/inserting/before-after-input-element-expected.txt: * platform/ios-wk2/editing/pasteboard/input-field-1-expected.txt: * platform/ios-wk2/editing/pasteboard/pasting-tabs-expected.txt: * platform/ios-wk2/editing/selection/4895428-3-expected.txt: * platform/ios-wk2/editing/selection/drag-select-1-expected.txt: * platform/ios-wk2/editing/selection/select-from-textfield-outwards-expected.txt: * platform/ios-wk2/fast/block/float/overhanging-tall-block-expected.txt: * platform/ios-wk2/fast/block/margin-collapse/103-expected.txt: * platform/ios-wk2/fast/dynamic/008-expected.txt: * platform/ios-wk2/fast/forms/basic-textareas-quirks-expected.txt: * platform/ios-wk2/fast/forms/input-appearance-preventDefault-expected.txt: * platform/ios-wk2/fast/forms/input-text-click-outside-expected.txt: * platform/ios-wk2/fast/forms/input-text-double-click-expected.txt: * platform/ios-wk2/fast/forms/input-text-drag-down-expected.txt: * platform/ios-wk2/fast/forms/input-text-option-delete-expected.txt: * platform/ios-wk2/fast/forms/textAreaLineHeight-expected.txt: * platform/ios-wk2/fast/forms/textarea-align-expected.txt: * platform/ios-wk2/fast/forms/textarea-placeholder-visibility-1-expected.txt: * platform/ios-wk2/fast/forms/textarea-placeholder-visibility-2-expected.txt: * platform/ios-wk2/fast/forms/textarea-scroll-height-expected.txt: * platform/ios-wk2/fast/forms/textarea-setinnerhtml-expected.txt: * platform/ios-wk2/fast/hidpi/resize-corner-hidpi-expected.txt: * platform/ios-wk2/fast/parser/entity-comment-in-textarea-expected.txt: * platform/ios-wk2/fast/parser/open-comment-in-textarea-expected.txt: * platform/ios-wk2/fast/text/international/rtl-white-space-pre-wrap-expected.txt: * platform/ios-wk2/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.txt: * platform/ios-wk2/fast/transforms/transformed-focused-text-input-expected.txt: * platform/ios/editing/pasteboard/4806874-expected.txt: * platform/ios/editing/selection/3690703-2-expected.txt: * platform/ios/editing/selection/3690703-expected.txt: * platform/ios/editing/selection/3690719-expected.txt: * platform/ios/editing/selection/4975120-expected.txt: * platform/ios/fast/block/float/032-expected.txt: * platform/ios/fast/css/input-search-padding-expected.txt: * platform/ios/fast/css/line-height-expected.txt: * platform/ios/fast/css/text-overflow-input-expected.txt: * platform/ios/fast/dom/HTMLTextAreaElement/reset-textarea-expected.txt: * platform/ios/fast/events/context-no-deselect-expected.txt: * platform/ios/fast/forms/auto-fill-button/input-auto-fill-button-expected.txt: * platform/ios/fast/forms/auto-fill-button/input-contacts-auto-fill-button-expected.txt: * platform/ios/fast/forms/auto-fill-button/input-strong-password-auto-fill-button-expected.txt: * platform/ios/fast/forms/basic-inputs-expected.txt: * platform/ios/fast/forms/basic-textareas-expected.txt: * platform/ios/fast/forms/encoding-test-expected.txt: * platform/ios/fast/forms/fieldset-align-expected.txt: * platform/ios/fast/forms/floating-textfield-relayout-expected.txt: * platform/ios/fast/forms/form-element-geometry-expected.txt: * platform/ios/fast/forms/input-align-expected.txt: * platform/ios/fast/forms/input-appearance-bkcolor-expected.txt: * platform/ios/fast/forms/input-appearance-default-bkcolor-expected.txt: * platform/ios/fast/forms/input-appearance-disabled-expected.txt: * platform/ios/fast/forms/input-appearance-focus-expected.txt: * platform/ios/fast/forms/input-appearance-height-expected.txt: * platform/ios/fast/forms/input-appearance-selection-expected.txt: * platform/ios/fast/forms/input-appearance-visibility-expected.txt: * platform/ios/fast/forms/input-appearance-width-expected.txt: * platform/ios/fast/forms/input-disabled-color-expected.txt: * platform/ios/fast/forms/input-double-click-selection-gap-bug-expected.txt: * platform/ios/fast/forms/input-field-text-truncated-expected.txt: * platform/ios/fast/forms/input-placeholder-visibility-1-expected.txt: * platform/ios/fast/forms/input-placeholder-visibility-3-expected.txt: * platform/ios/fast/forms/input-spaces-expected.txt: * platform/ios/fast/forms/input-table-expected.txt: * platform/ios/fast/forms/input-text-click-inside-expected.txt: * platform/ios/fast/forms/input-text-scroll-left-on-blur-expected.txt: * platform/ios/fast/forms/input-text-self-emptying-click-expected.txt: * platform/ios/fast/forms/input-type-text-min-width-expected.txt: * platform/ios/fast/forms/input-value-expected.txt: * platform/ios/fast/forms/input-width-expected.txt: * platform/ios/fast/forms/minWidthPercent-expected.txt: * platform/ios/fast/forms/number/number-appearance-rtl-expected.txt: * platform/ios/fast/forms/number/number-appearance-spinbutton-disabled-readonly-expected.txt: * platform/ios/fast/forms/number/number-appearance-spinbutton-layer-expected.txt: * platform/ios/fast/forms/placeholder-pseudo-style-expected.txt: * platform/ios/fast/forms/plaintext-mode-2-expected.txt: * platform/ios/fast/forms/tabbing-input-iframe-expected.txt: * platform/ios/fast/forms/textarea-placeholder-pseudo-style-expected.txt: * platform/ios/fast/forms/textarea-scrollbar-expected.txt: * platform/ios/fast/forms/textarea-scrolled-type-expected.txt: * platform/ios/fast/forms/textarea-width-expected.txt: * platform/ios/fast/forms/textfield-focus-ring-expected.txt: * platform/ios/fast/forms/textfield-overflow-expected.txt: * platform/ios/fast/frames/take-focus-from-iframe-expected.txt: * platform/ios/fast/html/details-no-summary4-expected.txt: * platform/ios/fast/html/details-open-javascript-expected.txt: * platform/ios/fast/html/details-open2-expected.txt: * platform/ios/fast/html/details-open4-expected.txt: * platform/ios/fast/lists/dynamic-marker-crash-expected.txt: * platform/ios/fast/overflow/overflow-x-y-expected.txt: * platform/ios/fast/replaced/replaced-breaking-expected.txt: * platform/ios/fast/replaced/replaced-breaking-mixture-expected.txt: * platform/ios/fast/replaced/width100percent-textarea-expected.txt: * platform/ios/fast/replaced/width100percent-textfield-expected.txt: * platform/ios/fast/table/colspanMinWidth-expected.txt: * platform/ios/fast/table/spanOverlapRepaint-expected.txt: * platform/ios/fast/table/text-field-baseline-expected.txt: * platform/ios/imported/w3c/web-platform-tests/selection/selection-select-all-move-input-crash-expected.txt: * platform/ios/svg/custom/inline-svg-in-xhtml-expected.txt: * platform/ios/svg/hixie/mixed/003-expected.txt: * platform/ios/tables/mozilla/bugs/45621-expected.txt: * platform/ios/tables/mozilla/bugs/bug1188-expected.txt: * platform/ios/tables/mozilla/bugs/bug12384-expected.txt: * platform/ios/tables/mozilla/bugs/bug18359-expected.txt: * platform/ios/tables/mozilla/bugs/bug194024-expected.txt: * platform/ios/tables/mozilla/bugs/bug24200-expected.txt: * platform/ios/tables/mozilla/bugs/bug2479-2-expected.txt: * platform/ios/tables/mozilla/bugs/bug2479-3-expected.txt: * platform/ios/tables/mozilla/bugs/bug2479-4-expected.txt: * platform/ios/tables/mozilla/bugs/bug28928-expected.txt: * platform/ios/tables/mozilla/bugs/bug30559-expected.txt: * platform/ios/tables/mozilla/bugs/bug30692-expected.txt: * platform/ios/tables/mozilla/bugs/bug4382-expected.txt: * platform/ios/tables/mozilla/bugs/bug4527-expected.txt: * platform/ios/tables/mozilla/bugs/bug46368-1-expected.txt: * platform/ios/tables/mozilla/bugs/bug46368-2-expected.txt: * platform/ios/tables/mozilla/bugs/bug51037-expected.txt: * platform/ios/tables/mozilla/bugs/bug55545-expected.txt: * platform/ios/tables/mozilla/bugs/bug59354-expected.txt: * platform/ios/tables/mozilla/bugs/bug7342-expected.txt: * platform/ios/tables/mozilla/bugs/bug96334-expected.txt: * platform/ios/tables/mozilla/bugs/bug99948-expected.txt: * platform/ios/tables/mozilla/dom/tableDom-expected.txt: * platform/ios/tables/mozilla/other/move_row-expected.txt: * platform/ios/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt: * platform/ios/tables/mozilla_expected_failures/bugs/bug92647-1-expected.txt: * platform/ios/transforms/3d/general/perspective-non-layer-expected.txt: 2021-06-21 Amir Mark Jr [BigSur Wk1] imported/w3c/web-platform-tests/css/css-will-change/will-change* tests are flaky failing. https://bugs.webkit.org/show_bug.cgi?id=227237 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2021-06-21 Carlos Alberto Lopez Perez [GTK][WPE] Gardening of test failures Unreviewed gardening. * platform/glib/TestExpectations: * platform/gtk/TestExpectations: 2021-06-21 Rob Buis CSSOM test for serializing font-variant fails https://bugs.webkit.org/show_bug.cgi?id=226770 Reviewed by Darin Adler. * css3/font-variant-parsing-expected.txt: * css3/font-variant-parsing.html: 2021-06-20 Darin Adler CSS counter style improvements for Armenian, Tamil, and some CJK styles https://bugs.webkit.org/show_bug.cgi?id=227190 Reviewed by Sam Weinig. * TestExpectations: Remove failure expectations for 26 tests. * fast/lists/w3-css3-list-styles-fallback-style-expected.txt: Expect 9999 limit instead of 99999999 for Armenian, and success rather than failure for Tamil. * fast/lists/w3-css3-list-styles-fallback-style.html: Ditto. 2021-06-20 Yusuke Suzuki Skip shadow-root creation for input element if it is not necessary https://bugs.webkit.org/show_bug.cgi?id=227189 Reviewed by Maciej Stachowiak. * fast/forms/checkbox-and-pseudo-expected.txt: Added. * fast/forms/checkbox-and-pseudo.html: Added. * fast/forms/checkbox-child-hidden-expected.html: Added. * fast/forms/checkbox-child-hidden.html: Added. 2021-06-19 Darin Adler Fix CSS serialization issues affecting css-counter-styles tests https://bugs.webkit.org/show_bug.cgi?id=226708 Reviewed by Antti Koivisto. * fast/css/parse-border-image-repeat-null-crash-expected.txt: Update to reflect correct path; the path is not really relevant to what was being tested here either way. * fast/css/uri-token-parsing-expected.txt: Updated to expect behavior that is sensible and also matches Firefox. * fast/css/uri-token-parsing.html: Ditto. * fast/fast/css/url-with-multi-byte-unicode-escape-expected.txt: Updated to expect that URL is still encoded as UTF-8, not yet re-URL-encoded as it will be for loading. The one that will be used for loading can still be seen in computed style. The test still covers correclty parsig this URL. * fast/fast/css/url-with-multi-byte-unicode-escape.html: Ditto. * fast/filter-image/parse-filter-image-expected.txt: Updated to no longer test addition of trailing slashes to peculiar URLs that are made by using filenames as host names. Now this checks URLs that just contain filenames, which makes more logical sense, and no trailing slash addition is expected. * fast/filter-image/parse-filter-image.html: Ditto. * fast/innerHTML/innerHTML-uri-resolution.html: Updated test to use computed style so it no longer depends on WebKit-only behavior to run correctly. 2021-06-18 Chris Dumez [WebIDL] Assigning a value outside the float range to a 'float' attribute should throw a TypeError https://bugs.webkit.org/show_bug.cgi?id=227146 Reviewed by Sam Weinig. Add layout test coverage. * js/dom/webidl-type-mapping-expected.txt: * js/dom/webidl-type-mapping.html: 2021-06-18 Ryan Haddad [iOS 14-Simulator WK2] editing/deleting/smart-delete-paragraph-004.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=226906 Unreviewed test gardening. * platform/ios/TestExpectations: Mark test as flaky. 2021-06-18 Eleni Maria Stea Unreviewed test gardening. https://bugs.webkit.org/show_bug.cgi?id=227168 Updated glib baseline/expectations. * platform/glib/TestExpectations: * platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/margin-003-expected.txt: Removed. 2021-06-18 Philippe Normand [GStreamer] imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-srcObject.https.html is failing since r273645 https://bugs.webkit.org/show_bug.cgi?id=223508 Reviewed by Xabier Rodriguez-Calvar. Unflag and add glib baseline for test now passing. * platform/glib/TestExpectations: * platform/glib/imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-srcObject.https-expected.txt: Added. 2021-06-18 Philippe Normand [WebRTC][GStreamer] fast/mediastream/MediaStream-video-element-remove-track.html is failing https://bugs.webkit.org/show_bug.cgi?id=191886 Reviewed by Xabier Rodriguez-Calvar. * platform/glib/TestExpectations: Unflag test now passing. 2021-06-18 Carlos Garcia Campos [SOUP] Add Timing-Allow-Origin checks to NetworkDataTaskSoup https://bugs.webkit.org/show_bug.cgi?id=227008 Reviewed by Adrian Perez de Castro. * platform/glib/TestExpectations: 2021-06-17 Diego Pino Garcia [GTK][WPE] Unreviewed test gardening. Update baselines after r278974. There are GTK and WPE tests that have the same text baseline but the corresponding PNG image is different. In this case, I have preferred to keep a specific text baseline for each port, instead of promoting the text baseline to GLIB. * platform/gtk/svg/text/foreignObject-repaint-expected.txt: Copied from LayoutTests/platform/glib/svg/text/foreignObject-repaint-expected.txt. * platform/gtk/svg/text/foreignObject-text-clipping-bug-expected.png: * platform/gtk/svg/text/foreignObject-text-clipping-bug-expected.txt: * platform/gtk/svg/text/text-align-01-b-expected.png: * platform/gtk/svg/text/text-align-01-b-expected.txt: * platform/gtk/svg/text/text-align-02-b-expected.png: * platform/gtk/svg/text/text-align-02-b-expected.txt: * platform/gtk/svg/text/text-align-03-b-expected.png: * platform/gtk/svg/text/text-align-03-b-expected.txt: * platform/gtk/svg/text/text-align-04-b-expected.png: * platform/gtk/svg/text/text-align-04-b-expected.txt: * platform/gtk/svg/text/text-align-05-b-expected.png: * platform/gtk/svg/text/text-align-05-b-expected.txt: * platform/gtk/svg/text/text-align-06-b-expected.png: * platform/gtk/svg/text/text-align-06-b-expected.txt: * platform/gtk/svg/text/text-deco-01-b-expected.png: * platform/gtk/svg/text/text-deco-01-b-expected.txt: * platform/gtk/svg/text/text-fonts-01-t-expected.png: * platform/gtk/svg/text/text-fonts-01-t-expected.txt: * platform/gtk/svg/text/text-fonts-02-t-expected.png: * platform/gtk/svg/text/text-fonts-02-t-expected.txt: Copied from LayoutTests/platform/glib/svg/text/text-fonts-02-t-expected.txt. * platform/gtk/svg/text/text-intro-05-t-expected.png: * platform/gtk/svg/text/text-intro-05-t-expected.txt: Copied from LayoutTests/platform/glib/svg/text/text-intro-05-t-expected.txt. * platform/gtk/svg/text/text-path-01-b-expected.png: * platform/gtk/svg/text/text-path-01-b-expected.txt: * platform/gtk/svg/text/text-spacing-01-b-expected.png: * platform/gtk/svg/text/text-spacing-01-b-expected.txt: * platform/gtk/svg/text/text-text-01-b-expected.png: * platform/gtk/svg/text/text-text-01-b-expected.txt: Copied from LayoutTests/platform/glib/svg/text/text-text-01-b-expected.txt. * platform/gtk/svg/text/text-text-03-b-expected.png: * platform/gtk/svg/text/text-text-03-b-expected.txt: Copied from LayoutTests/platform/glib/svg/text/text-text-03-b-expected.txt. * platform/gtk/svg/text/text-text-05-t-expected.png: * platform/gtk/svg/text/text-text-05-t-expected.txt: Copied from LayoutTests/platform/glib/svg/text/text-text-05-t-expected.txt. * platform/gtk/svg/text/text-text-07-t-expected.png: * platform/gtk/svg/text/text-text-07-t-expected.txt: * platform/gtk/svg/text/text-text-08-b-expected.png: * platform/gtk/svg/text/text-text-08-b-expected.txt: * platform/gtk/svg/text/text-tref-01-b-expected.png: * platform/gtk/svg/text/text-tref-01-b-expected.txt: * platform/gtk/svg/text/text-tselect-01-b-expected.png: * platform/gtk/svg/text/text-tselect-01-b-expected.txt: * platform/gtk/svg/text/text-tspan-01-b-expected.png: * platform/gtk/svg/text/text-tspan-01-b-expected.txt: * platform/gtk/svg/text/text-ws-01-t-expected.png: * platform/gtk/svg/text/text-ws-01-t-expected.txt: Copied from LayoutTests/platform/glib/svg/text/text-ws-01-t-expected.txt. * platform/gtk/svg/text/text-ws-02-t-expected.png: * platform/gtk/svg/text/text-ws-02-t-expected.txt: Copied from LayoutTests/platform/glib/svg/text/text-ws-02-t-expected.txt. * platform/gtk/svg/text/textPathBoundsBug-expected.txt: Copied from LayoutTests/platform/glib/svg/text/textPathBoundsBug-expected.txt. * platform/wpe/svg/text/foreignObject-repaint-expected.png: Added. * platform/wpe/svg/text/foreignObject-repaint-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/foreignObject-repaint-expected.txt. * platform/wpe/svg/text/foreignObject-text-clipping-bug-expected.png: Added. * platform/wpe/svg/text/foreignObject-text-clipping-bug-expected.txt: * platform/wpe/svg/text/text-align-01-b-expected.png: Added. * platform/wpe/svg/text/text-align-01-b-expected.txt: * platform/wpe/svg/text/text-align-02-b-expected.png: Added. * platform/wpe/svg/text/text-align-02-b-expected.txt: * platform/wpe/svg/text/text-align-03-b-expected.png: Added. * platform/wpe/svg/text/text-align-03-b-expected.txt: * platform/wpe/svg/text/text-align-04-b-expected.png: Added. * platform/wpe/svg/text/text-align-04-b-expected.txt: * platform/wpe/svg/text/text-align-05-b-expected.png: Added. * platform/wpe/svg/text/text-align-05-b-expected.txt: * platform/wpe/svg/text/text-align-06-b-expected.png: Added. * platform/wpe/svg/text/text-align-06-b-expected.txt: * platform/wpe/svg/text/text-deco-01-b-expected.png: Added. * platform/wpe/svg/text/text-deco-01-b-expected.txt: * platform/wpe/svg/text/text-fonts-01-t-expected.png: Added. * platform/wpe/svg/text/text-fonts-01-t-expected.txt: * platform/wpe/svg/text/text-fonts-02-t-expected.png: Added. * platform/wpe/svg/text/text-fonts-02-t-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/text-fonts-02-t-expected.txt. * platform/wpe/svg/text/text-intro-05-t-expected.png: Added. * platform/wpe/svg/text/text-intro-05-t-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/text-intro-05-t-expected.txt. * platform/wpe/svg/text/text-path-01-b-expected.png: Added. * platform/wpe/svg/text/text-path-01-b-expected.txt: * platform/wpe/svg/text/text-spacing-01-b-expected.png: Added. * platform/wpe/svg/text/text-spacing-01-b-expected.txt: * platform/wpe/svg/text/text-text-01-b-expected.png: Added. * platform/wpe/svg/text/text-text-01-b-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/text-text-01-b-expected.txt. * platform/wpe/svg/text/text-text-03-b-expected.png: Added. * platform/wpe/svg/text/text-text-03-b-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/text-text-03-b-expected.txt. * platform/wpe/svg/text/text-text-05-t-expected.png: Added. * platform/wpe/svg/text/text-text-05-t-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/text-text-05-t-expected.txt. * platform/wpe/svg/text/text-text-07-t-expected.png: Added. * platform/wpe/svg/text/text-text-07-t-expected.txt: * platform/wpe/svg/text/text-text-08-b-expected.png: Added. * platform/wpe/svg/text/text-text-08-b-expected.txt: * platform/wpe/svg/text/text-tref-01-b-expected.png: Added. * platform/wpe/svg/text/text-tref-01-b-expected.txt: Copied from LayoutTests/platform/gtk/svg/text/text-tref-01-b-expected.txt. * platform/wpe/svg/text/text-tselect-01-b-expected.png: Added. * platform/wpe/svg/text/text-tselect-01-b-expected.txt: * platform/wpe/svg/text/text-tspan-01-b-expected.png: Added. * platform/wpe/svg/text/text-tspan-01-b-expected.txt: * platform/wpe/svg/text/text-ws-01-t-expected.png: Added. * platform/wpe/svg/text/text-ws-01-t-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/text-ws-01-t-expected.txt. * platform/wpe/svg/text/text-ws-02-t-expected.png: Added. * platform/wpe/svg/text/text-ws-02-t-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/text-ws-02-t-expected.txt. * platform/wpe/svg/text/textPathBoundsBug-expected.png: Added. * platform/wpe/svg/text/textPathBoundsBug-expected.txt: Renamed from LayoutTests/platform/glib/svg/text/textPathBoundsBug-expected.txt. * platform/wpe/tables/mozilla/bugs/bug106795-expected.png: Added. * platform/wpe/tables/mozilla/bugs/bug82946-2-expected.png: Added. 2021-06-17 Said Abou-Hallawa [Cocoa] Disable hardware decoding in the WebProcess https://bugs.webkit.org/show_bug.cgi?id=226869 Reviewed by Per Arne Vollan and Simon Fraser. Add a reference test for rendering the HEIF images. * TestExpectations: * fast/images/heic-as-background-image-expected.html: Added. * fast/images/heic-as-background-image.html: Added. * fast/images/resources/green-400x400.heic: Added. * platform/ios/TestExpectations: * platform/mac/TestExpectations: 2021-06-17 Ada Chan Skip WebXR tests on iOS https://bugs.webkit.org/show_bug.cgi?id=227151 Reviewed by Tim Horton. * platform/ios/TestExpectations: 2021-06-17 John Cunningham [Metal ANGLE] Shaders with reserved metal keywords do not translate, nor do shaders with struct and variable names that are the same except prefixed by an underscore https://bugs.webkit.org/show_bug.cgi?id=226660 Reviewed by Dean Jackson. * fast/canvas/webgl/shader-with-reserved-keyword-expected.txt: Added. * fast/canvas/webgl/shader-with-reserved-keyword.html: Added. 2021-06-17 Chris Dumez Resync DOM WPT tests from upstream https://bugs.webkit.org/show_bug.cgi?id=227144 Reviewed by Geoffrey Garen. * TestExpectations: * tests-options.json: 2021-06-17 Ryosuke Niwa Crash in WebCore::SlotAssignment::assignedNodesForSlot https://bugs.webkit.org/show_bug.cgi?id=224408 Reviewed by Michael Catanzaro. Added a regression test. * fast/shadow-dom/insert-slot-child-of-shadow-host-render-tree-invalidation-crash-expected.txt: Added. * fast/shadow-dom/insert-slot-child-of-shadow-host-render-tree-invalidation-crash.html: Added. 2021-06-17 Enrique Ocaña González [GTK] Unexpected timeout in http/tests/media/video-play-stall-seek.html https://bugs.webkit.org/show_bug.cgi?id=196198 Reviewed by Philippe Normand. Make test more stable and don't expect NETWORK_LOADING, because some network implementations, like libsoup, just report end-of-stream and finish the download. * http/tests/media/video-play-stall-seek-expected.txt: Removed NETWORK_LOADING expectation. * http/tests/media/video-play-stall-seek.html: Stabilize the test by not listening to waiting events once the relevant one has been handled, and by pausing the video after the test has finished. Also re move the NETWORK_LOADING check. * platform/glib/TestExpectations: Unskipped test. * platform/gtk-wayland/TestExpectations: Ditto. 2021-06-17 Philippe Normand Unreviewed GStreamer mediastream gardening * platform/glib/TestExpectations: Unflag fast/mediastream/media-stream-renders-first-frame.html * platform/wpe/TestExpectations: Move getDisplayMedia expectations to glib file. 2021-06-17 Philippe Normand Unreviewed GStreamer mediastream gardening * platform/glib/TestExpectations: Unflag 3 tests consistently passing. 2021-06-17 Youenn Fablet Fix RTCDataChannelInit::decode https://bugs.webkit.org/show_bug.cgi?id=226968 Reviewed by Eric Carlson. * http/wpt/webrtc/transfer-datachannel-service-worker.https-expected.txt: Added. * http/wpt/webrtc/transfer-datachannel-service-worker.https.html: Added. * http/wpt/webrtc/transfer-datachannel-service-worker.js: Added. (onmessage): * platform/mac-wk1/TestExpectations: 2021-06-16 Chris Dumez Document's execCommand() / queryCommand*() should throw an exception on non-HTML/XHTML documents https://bugs.webkit.org/show_bug.cgi?id=227016 Reviewed by Darin Adler. * fast/dom/Document/document-execcommand-expected.txt: Added. * fast/dom/Document/document-execcommand.html: Added. Add layout test coverage. * editing/pasteboard/createMarkup-assert-expected.txt: Removed. * editing/pasteboard/createMarkup-assert.xml: Removed. * platform/mac/svg/text/foreignObject-repaint-expected.txt: * platform/mac/svg/text/foreignObject-text-clipping-bug-expected.txt: * platform/mac/svg/text/text-align-01-b-expected.txt: * platform/mac/svg/text/text-align-02-b-expected.txt: * platform/mac/svg/text/text-align-03-b-expected.txt: * platform/mac/svg/text/text-align-04-b-expected.txt: * platform/mac/svg/text/text-align-05-b-expected.txt: * platform/mac/svg/text/text-align-06-b-expected.txt: * platform/mac/svg/text/text-deco-01-b-expected.txt: * platform/mac/svg/text/text-fonts-01-t-expected.txt: * platform/mac/svg/text/text-fonts-02-t-expected.txt: * platform/mac/svg/text/text-intro-05-t-expected.txt: * platform/mac/svg/text/text-path-01-b-expected.txt: * platform/mac/svg/text/text-spacing-01-b-expected.txt: * platform/mac/svg/text/text-text-01-b-expected.txt: * platform/mac/svg/text/text-text-03-b-expected.txt: * platform/mac/svg/text/text-text-04-t-expected.txt: * platform/mac/svg/text/text-text-05-t-expected.txt: * platform/mac/svg/text/text-text-07-t-expected.txt: * platform/mac/svg/text/text-text-08-b-expected.txt: * platform/mac/svg/text/text-tref-01-b-expected.txt: * platform/mac/svg/text/text-tselect-01-b-expected.txt: * platform/mac/svg/text/text-tselect-02-f-expected.txt: * platform/mac/svg/text/text-tspan-01-b-expected.txt: * svg/custom/bug78838-expected.txt: * svg/custom/bug79798-expected.txt: * svg/custom/delete-modified-text-in-defs-crash.svg: * svg/custom/layout-loop-expected.txt: * svg/text/text-positioning-remove-child-crash.svg: Rebaseline / update existing tests due to behavior change. 2021-06-16 Cameron McCormack Make RenderLayer::hitTestLayer not assume its renderer is a RenderBox https://bugs.webkit.org/show_bug.cgi?id=227004 Reviewed by Simon Fraser. * css3/masking/clip-path-hit-test-on-inline-iframe-parent-expected.txt: Added. * css3/masking/clip-path-hit-test-on-inline-iframe-parent.html: Added. 2021-06-16 Arcady Goldmints-Orlov [GLIB] Unreviewed test gardening. Skip another WebGL 2 test. https://bugs.webkit.org/show_bug.cgi?id=227093 * platform/glib/TestExpectations: 2021-06-16 Chris Dumez Resync FileAPI tests from upstream WPT https://bugs.webkit.org/show_bug.cgi?id=227089 Reviewed by Darin Adler. * tests-options.json: 2021-06-16 Ada Chan Allow WebXR tests to be run on Mac https://bugs.webkit.org/show_bug.cgi?id=227054 Reviewed by Sam Weinig. Updated expected results and TestExpectations. Copied old versions of expected results that were in imported/w3c/web-platform-tests/webxr to platform/wpe/imported/w3c/web-platform-tests/webxr so test runs on wpe should not be affected. * TestExpectations: * http/wpt/webxr/xrSession_end_device_reports_shutdown.https-expected.txt: * http/wpt/webxr/xrSession_ended_by_system.https-expected.txt: * http/wpt/webxr/xrSession_reject_multiple_end.https-expected.txt: * platform/mac/imported/w3c/web-platform-tests/webxr/getInputPose_pointer.https-expected.txt: Added. * platform/mac/imported/w3c/web-platform-tests/webxr/webxr_feature_policy.https-expected.txt: Added. * platform/mac/imported/w3c/web-platform-tests/webxr/xrSession_requestReferenceSpace_features.https-expected.txt: Added. * platform/mac/imported/w3c/web-platform-tests/webxr/xrSession_visibilityState.https-expected.txt: Added. * platform/mac/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_draw.https-expected.txt: Added. * platform/mac/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_scale.https-expected.txt: Added. * platform/mac/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer.https-expected.txt: Added. * platform/mac/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_opaque_framebuffer_stencil.https-expected.txt: Added. * platform/mac/imported/w3c/web-platform-tests/webxr/xr_viewport_scale.https-expected.txt: Added. * platform/wpe/http/wpt/webxr/xrSession_end_device_reports_shutdown.https-expected.txt: Copied from LayoutTests/http/wpt/webxr/xrSession_end_device_reports_shutdown.https-expected.txt. * platform/wpe/http/wpt/webxr/xrSession_ended_by_system.https-expected.txt: Copied from LayoutTests/http/wpt/webxr/xrSession_ended_by_system.https-expected.txt. * platform/wpe/http/wpt/webxr/xrSession_reject_multiple_end.https-expected.txt: Copied from LayoutTests/http/wpt/webxr/xrSession_reject_multiple_end.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/events_input_source_recreation.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/events_input_source_recreation.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/events_input_sources_change.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/events_input_sources_change.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/events_referenceSpace_reset_immersive.https-expected.txt: Added. * platform/wpe/imported/w3c/web-platform-tests/webxr/events_referenceSpace_reset_inline.https-expected.txt: Added. * platform/wpe/imported/w3c/web-platform-tests/webxr/events_session_select.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/events_session_select.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/events_session_select_subframe.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/events_session_select_subframe.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/events_session_squeeze.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/events_session_squeeze.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/exclusive_requestFrame_nolayer.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/getInputPose_handedness.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/getInputPose_handedness.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/getViewerPose_emulatedPosition.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/getViewerPose_emulatedPosition.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/navigator_xr_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/navigator_xr_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/render_state_update.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_update.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_immersive.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_immersive.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/render_state_vertical_fov_inline.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/webGLCanvasContext_create_xrcompatible.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/webGLCanvasContext_create_xrcompatible.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/webGLCanvasContext_makecompatible_contextlost.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/webGLCanvasContext_makecompatible_contextlost.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/webGLCanvasContext_makecompatible_reentrant.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/webGLCanvasContext_makecompatible_reentrant.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrBoundedReferenceSpace_updates.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrBoundedReferenceSpace_updates.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrDevice_disconnect_ends.https-expected.txt: Added. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrDevice_requestSession_immersive.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrDevice_requestSession_immersive.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrDevice_requestSession_optionalFeatures.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrDevice_requestSession_optionalFeatures.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrFrame_getPose.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_getPose.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrFrame_getViewerPose_getPose.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_getViewerPose_getPose.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_lifetime.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrFrame_session_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrFrame_session_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrInputSource_add_remove.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrInputSource_add_remove.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrInputSource_emulatedPosition.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrInputSource_emulatedPosition.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrInputSource_profiles.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrInputSource_profiles.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrInputSource_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrInputSource_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrPose_transform_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffset.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffset.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffsetBounded.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffset_viewer.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_originOffset_viewer.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_relationships.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrReferenceSpace_relationships.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrRigidTransform_constructor.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrRigidTransform_constructor.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrRigidTransform_inverse.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrRigidTransform_inverse.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrRigidTransform_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrRigidTransform_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_cancelAnimationFrame.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_cancelAnimationFrame.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_cancelAnimationFrame_invalidhandle.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_cancelAnimationFrame_invalidhandle.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_end.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_end.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_input_events_end.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_callback_calls.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_callback_calls.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_data_valid.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_data_valid.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_getViewerPose.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_getViewerPose.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_timestamp.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_requestAnimationFrame_timestamp.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_requestReferenceSpace.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_requestReferenceSpace.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrSession_viewer_referenceSpace.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrSession_viewer_referenceSpace.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrStationaryReferenceSpace_floorlevel_updates.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrView_eyes.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrView_eyes.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrView_match.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrView_match.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrView_oneframeupdate.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrView_oneframeupdate.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrView_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrView_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrViewerPose_views_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrViewerPose_views_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrViewport_valid.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrViewport_valid.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_constructor.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_constructor.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_sameObject.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_framebuffer_sameObject.https-expected.txt. * platform/wpe/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_viewports.https-expected.txt: Copied from LayoutTests/imported/w3c/web-platform-tests/webxr/xrWebGLLayer_viewports.https-expected.txt. 2021-06-16 Chris Dumez FileReader.readAsArrayBuffer misses checking for the type of blob param https://bugs.webkit.org/show_bug.cgi?id=226640 Reviewed by Youenn Fablet. Add layout test coverage. I have verified that this test is passing in Firefox and Chrome as well. * fast/files/filereader-invalid-blob-expected.txt: Added. * fast/files/filereader-invalid-blob.html: Added. 2021-06-16 Amir Mark Jr [EWS MacOS WK1] imported/w3c/web-platform-tests/css/css-scroll-snap/scroll-target-snap-003.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=227085 Unreviewed test gardening. Updating test expectations to clear EWS warning. * platform/mac-wk1/TestExpectations: 2021-06-16 Amir Mark Jr Fix test expectations for plugin tests on arm64 https://bugs.webkit.org/show_bug.cgi?id=226783 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2021-06-16 Tim Nguyen Make CSS.supports() return false for internal CSS properties https://bugs.webkit.org/show_bug.cgi?id=224930 Reviewed by Antti Koivisto. Test: LayoutTests/fast/backgrounds/background-repeat-x-y-parse.html Examples that are now rejected: CSS.supports("background-repeat-x: inherit") CSS.supports("background-repeat-x", "inherit") CSS.supports("background-repeat-y: inherit") CSS.supports("background-repeat-y", "inherit") * fast/backgrounds/background-repeat-x-y-parse-expected.txt: * fast/backgrounds/background-repeat-x-y-parse.html: * fast/css/webkit-mask-crash-implicit-expected.txt: * fast/css/webkit-mask-crash-implicit.html: 2021-06-16 Toshio Ogasawara [MSE] Crash when getting audioTracks, videoTracks, textTracks of sourceBuffer after executing MediaSource::removeSourceBuffer() https://bugs.webkit.org/show_bug.cgi?id=227018 Reviewed by Eric Carlson. * media/media-source/media-source-get-tracks-crash-expected.txt: Added. * media/media-source/media-source-get-tracks-crash.html: Added. 2021-06-16 Alan Bujtas Content moves up when hovering over a link on Hacker News https://bugs.webkit.org/show_bug.cgi?id=226852 Reviewed by Antti Koivisto. * fast/inline/hidpi-legacy-integral-rounding-on-inline-boxes-expected.html: Added. * fast/inline/hidpi-legacy-integral-rounding-on-inline-boxes.html: Added. 2021-06-16 Frederic Wang Nullptr crash in positionInParentBeforeNode via InsertTextCommand::doApply https://bugs.webkit.org/show_bug.cgi?id=226870 Reviewed by Ryosuke Niwa. Add regression test. * fast/editing/insert-text-orphaned-summary-crash-expected.txt: Added. * fast/editing/insert-text-orphaned-summary-crash.html: Added. 2021-06-16 Arcady Goldmints-Orlov [GLIB] Unreviewed test gardening, add some new Timing-Allow-Origin failures https://bugs.webkit.org/show_bug.cgi?id=227008 * platform/glib/TestExpectations: 2021-06-15 Said Abou-Hallawa [GPU Process] ConcreteImageBuffer::baseTransform() returns incorrect transform for unaccelerated ImageBuffer https://bugs.webkit.org/show_bug.cgi?id=227044 Reviewed by Simon Fraser. The large size of the canvas in this layout test will force creating unaccelerated ImageBufferBackend. * fast/canvas/canvas-large-dimensions-drawing-expected.html: Added. * fast/canvas/canvas-large-dimensions-drawing.html: Added. 2021-06-15 Jean-Yves Avenard REGRESSION: MSE: Netflix playback sometimes fails when going to "next episode" in series https://bugs.webkit.org/show_bug.cgi?id=226952 rdar://77583769 Reviewed by Eric Carlson. * media/media-source/media-source-seek-unbuffered-expected.txt: Added. * media/media-source/media-source-seek-unbuffered.html: Added. 2021-06-15 Diego Pino Garcia [GLIB] Unreviewed test gardening. Updated test expectations after r277896. Two tests are now failing: - fast/canvas/canvas-imageSmoothingEnabled.html. - fast/canvas/canvas-imageSmoothingQuality.html. * platform/glib/TestExpectations: * platform/gtk/fast/canvas/canvas-imageSmoothingQuality-expected.txt: Removed. 2021-06-15 Fujii Hironori [WinCairo] Unreviewed test gardening * platform/wincairo/TestExpectations: 2021-06-15 Chris Lord Scrollbars are not clipped to layer bounds in RenderLayerBacking https://bugs.webkit.org/show_bug.cgi?id=226823 Reviewed by Simon Fraser. Adjust test expectations due to clipping on overflow controls container. * compositing/clipping/border-radius-async-overflow-clipping-layer-expected.txt: * compositing/layer-creation/clipping-scope/nested-scroller-overlap-expected.txt: * compositing/rtl/rtl-scrolling-with-transformed-descendants-expected.txt: * compositing/scrolling/async-overflow-scrolling/clipped-layer-in-overflow-clipped-by-scroll-expected.txt: * compositing/scrolling/async-overflow-scrolling/clipped-layer-in-overflow-expected.txt: * compositing/scrolling/async-overflow-scrolling/clipped-layer-in-overflow-nested-expected.txt: * compositing/scrolling/async-overflow-scrolling/layer-for-negative-z-in-scroller-expected.txt: * compositing/scrolling/async-overflow-scrolling/layer-in-overflow-clip-to-hidden-expected.txt: * compositing/scrolling/async-overflow-scrolling/layer-in-overflow-clip-to-visible-expected.txt: * compositing/scrolling/async-overflow-scrolling/layer-in-overflow-expected.txt: * compositing/scrolling/async-overflow-scrolling/layer-in-overflow-gain-clipping-layer-expected.txt: * compositing/scrolling/async-overflow-scrolling/layer-in-overflow-in-clipped-expected.txt: * compositing/scrolling/async-overflow-scrolling/layer-in-overflow-lose-clipping-layer-expected.txt: * compositing/scrolling/async-overflow-scrolling/nested-scrollers-backing-attachment-expected.txt: * compositing/scrolling/async-overflow-scrolling/overflow-controls-container-clips-scrollbars-expected.html: Added. * compositing/scrolling/async-overflow-scrolling/overflow-controls-container-clips-scrollbars.html: Added. * compositing/scrolling/async-overflow-scrolling/transform-change-scrollbar-position-expected.txt: * compositing/scrolling/async-overflow-scrolling/visibility-hidden-scrollers-expected.txt: * compositing/shared-backing/overflow-scroll/previous-sibling-prevents-inclusiveness-expected.txt: * compositing/tiling/perspective-on-scroller-tile-coverage-expected.txt: * platform/mac-wk1/compositing/clipping/border-radius-async-overflow-clipping-layer-expected.txt: * tiled-drawing/scrolling/overflow/overflow-scrolled-down-tile-coverage-expected.txt: * tiled-drawing/scrolling/overflow/overflow-scrolled-up-tile-coverage-expected.txt: * tiled-drawing/scrolling/overflow/overflow-tile-coverage-expected.txt: 2021-06-15 Alex Christensen Check for "xn--" in any subdomain when parsing URL hosts https://bugs.webkit.org/show_bug.cgi?id=226912 Reviewed by Darin Adler. * fast/dom/DOMURL/parsing-expected.txt: * fast/dom/DOMURL/parsing.html: Update the test I added in r236527 to reflect this relaxation. This matches the behavior of Chrome Canary. 2021-06-15 Youenn Fablet (r278359) fast/mediastream/mediaElement-gc.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=226991 Reviewed by Eric Carlson. * fast/mediastream/mediaElement-gc.html: Call GC several times if needed to collect the media element. 2021-06-15 Arcady Goldmints-Orlov [GTK] Unreviewed test gardening: add expected failure The fast/text/letter-spacing-produces-nan-width.html test crashes on debug. * platform/gtk/TestExpectations: 2021-06-15 Alan Bujtas [LFC][TFC] Add support for preferred width computation when mixed width types are present https://bugs.webkit.org/show_bug.cgi?id=227010 Reviewed by Antti Koivisto. * fast/layoutformattingcontext/table-space-distribution-mixed-width-type-simple-expected.html: Added. * fast/layoutformattingcontext/table-space-distribution-mixed-width-type-simple.html: Added. 2021-06-15 Martin Robinson [css-scroll-snap] Scroll snap offsets are interpreted as scroll positions in ScrollableArea https://bugs.webkit.org/show_bug.cgi?id=226572 Reviewed by Simon Fraser. * TestExpectations: Mark test as newly passing. * css3/scroll-snap/scroll-snap-right-to-left-initial-snapping-expected.txt: Added. * css3/scroll-snap/scroll-snap-right-to-left-initial-snapping.html: Added. 2021-06-15 Enrique Ocaña González [GStreamer] media/video-seek-after-end.html is no longer flakey https://bugs.webkit.org/show_bug.cgi?id=203079 Reviewed by Philippe Normand. Increased test timeout to something higher than 1300ms to prevent the test failure. * media/video-seek-after-end.html: Increased timeout. * platform/glib/TestExpectations: Unskipped the test. 2021-06-15 Martin Robinson [css-scroll-snap] New snap containers always snap to the first scroll position https://bugs.webkit.org/show_bug.cgi?id=226630 Reviewed by Simon Fraser. * TestExpectations: Mark two WPT tests as passing. 2021-06-14 Youenn Fablet Import WPT webrtc-extensions https://bugs.webkit.org/show_bug.cgi?id=226961 Reviewed by Eric Carlson. * tests-options.json: 2021-06-14 Diego Pino Garcia [GStreamer] media/track/audio/audio-track-mkv-vorbis-language.html and media/track/video/video-track-mkv-theora-language.html are failing https://bugs.webkit.org/show_bug.cgi?id=226864 Reviewed by Eric Carlson. These tests were failing due to an apparently incorrect order of languages in audio and video tracks. Examining the video container with tools like mediasource or VLC shows that the order expected by GStreamer ports is correct. To make these tests pass I changed the tests to make them language order independent by fetching audio or video tracks by id. * media/in-band-tracks.js: (canplaythrough): (testAttribute): values' can be also an Object. In that case, fetch tracks by 'id'. * media/track/audio/audio-track-mkv-vorbis-language-expected.txt: Updated. * media/track/audio/audio-track-mkv-vorbis-language.html: Pass language expected results as a map indexed by track id. * media/track/video/video-track-mkv-theora-language-expected.txt: Updated. * media/track/video/video-track-mkv-theora-language.html: Pass language expected results as a map indexed by track id. 2021-06-14 Truitt Savell Unreviewed, reverting r278842. introduced a failing test Reverted changeset: "Fix RTCDataChannelInit::decode" https://bugs.webkit.org/show_bug.cgi?id=226968 https://commits.webkit.org/r278842 2021-06-14 Patrick Angle Web Inspector: CSS variables not handled as case sensitive https://bugs.webkit.org/show_bug.cgi?id=226875 Reviewed by Devin Rousso. Add a test to make sure that CSS variable declarations that vary only in case do not override each other. * inspector/css/overridden-property-expected.txt: * inspector/css/overridden-property.html: 2021-06-14 Youenn Fablet Fix RTCDataChannelInit::decode https://bugs.webkit.org/show_bug.cgi?id=226968 Reviewed by Eric Carlson. * platform/mac-wk1/TestExpectations: 2021-06-14 Robert Jenner [LayoutTests] Delete unused LayoutTests/plugins resources https://bugs.webkit.org/show_bug.cgi?id=226837 Reviewed by Jonathan Bedard. * plugins/resources/frame-with-plugin-subframe.html: Removed. * plugins/resources/lines.swf: Removed. * plugins/resources/plugin-page.html: Removed. 2021-06-14 Per Arne [AppleWin] Update test expectations https://bugs.webkit.org/show_bug.cgi?id=226970 Unreviewed test gardening. * platform/win/TestExpectations: 2021-06-14 Alan Bujtas [LFC][TFC] Add support for flexing columns when the content is also flexing https://bugs.webkit.org/show_bug.cgi?id=226959 Reviewed by Antti Koivisto. * TestExpectations: LFC matches Chrome and Firefox. * fast/layoutformattingcontext/table-space-distribution-simple-mismatching-expected.txt: Added. * fast/layoutformattingcontext/table-space-distribution-simple-mismatching.html: Added. * fast/layoutformattingcontext/table-space-distribution-simple2-expected.html: Added. * fast/layoutformattingcontext/table-space-distribution-simple2.html: Added. 2021-06-13 Fujii Hironori [WinCairo] Unreviewed test gardening * platform/wincairo/TestExpectations: 2021-06-13 Chris Dumez Relax "parent must be an HTMLElement" restriction in outerHTML setter https://bugs.webkit.org/show_bug.cgi?id=226808 Reviewed by Ryosuke Niwa. * fast/dom/set-outer-html-special-cases-expected.txt: Added. * fast/dom/set-outer-html-special-cases.html: Added. Add layout test coverage * fast/dynamic/outerHTML-no-element-expected.txt: Rebaseline test due to different exception message. * platform/mac-wk1/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/margin-003-expected.txt: * platform/mac-wk2/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/margin-003-expected.txt: Rebaseline WPT test. This is actually a progression because we're no longer throwing. However, the test is still failing later on. 2021-06-13 Alan Bujtas [LFC][TFC] Add support for over-constrained cases for available space distribution https://bugs.webkit.org/show_bug.cgi?id=226957 Reviewed by Antti Koivisto. * fast/layoutformattingcontext/table-space-distribution-simple-expected.html: Added. * fast/layoutformattingcontext/table-space-distribution-simple.html: Added. 2021-06-12 Sam Weinig Disable WebXR tests on Windows https://bugs.webkit.org/show_bug.cgi?id=226956 Reviewed by Alan Bujtas. * platform/win/TestExpectations: Disable all tests in webxr/ on windows as the feature is not enabled there. 2021-06-12 Devin Rousso (r278618) media/modern-media-controls/overflow-support/chapters.html is timing out since introduction https://bugs.webkit.org/show_bug.cgi?id=226828 Unreviewed followup for flaky test. * media/modern-media-controls/overflow-support/chapters.html: * media/modern-media-controls/overflow-support/chapters-expected.txt: It may take a moment for the `currentTime` to updating after selecting a chapter. 2021-06-16 Ryan Haddad REGRESSION (r274461): [macOS wk1] fast/repaint/canvas-object-fit.html is flakey text failing https://bugs.webkit.org/show_bug.cgi?id=223283 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: Re-add a flaky expectation. 2021-06-11 Robert Jenner [LayoutTests] Delete unused LayoutTests/html5lib resources https://bugs.webkit.org/show_bug.cgi?id=226833 Reviewed by Jonathan Bedard. * html5lib/resources/isindex.dat: Removed. * html5lib/resources/scripted/ark.dat: Removed. 2021-06-11 Robert Jenner [LayoutTests] Delete unused LayoutTests/loader resources https://bugs.webkit.org/show_bug.cgi?id=226835 Reviewed by Jonathan Bedard. * loader/navigation-policy/should-open-external-urls/resources/main-frame-with-subframe-click-targets-subframe.html: Removed. 2021-06-11 Robert Jenner [LayoutTests] Delete unused LayoutTests/webaudio resources https://bugs.webkit.org/show_bug.cgi?id=226843 Reviewed by Jonathan Bedard. * webaudio/resources/convolution-testing.js: Removed. * webaudio/resources/javascriptaudionode-testing.js: Removed. * webaudio/resources/note-grain-on-testing.js: Removed. * webaudio/resources/scriptprocessornode-testing.js: Removed. 2021-06-11 Robert Jenner [LayoutTests] Delete unused LayoutTests/tiled-drawing resources https://bugs.webkit.org/show_bug.cgi?id=226842 Reviewed by Jonathan Bedard. * tiled-drawing/resources/green.png: Removed. 2021-06-11 Robert Jenner [LayoutTests] Delete unused LayoutTests/security resources https://bugs.webkit.org/show_bug.cgi?id=226839 Reviewed by Jonathan Bedard. * security/resources/worker-isSecureContext-disabled.js: Removed. 2021-06-11 Robert Jenner N[LayoutTests] Delete unused LayoutTests/media resources https://bugs.webkit.org/show_bug.cgi?id=226836 Reviewed by Jonathan Bedard. * media/track/opera/resources/media/sunflower.mp4: Removed. * media/track/opera/resources/media/sunflower.webm: Removed. 2021-06-11 Robert Jenner [LayoutTests] Delete unused LayoutTests/js resources https://bugs.webkit.org/show_bug.cgi?id=226796 Reviewed by Jonathan Bedard. * js/dom/modules/resources/module-will-fire-beforeload.js: Removed. * js/kde/resources/KNOWN_FAILURES: Removed. * js/mozilla/resources/js-test-post-async.js: Removed. * js/mozilla/resources/js-test-post-function.js: Removed. * js/mozilla/resources/js-test-post-n.js: Removed. 2021-06-11 Robert Jenner [LayoutTests] Delete unused LayoutTests/css3 resources https://bugs.webkit.org/show_bug.cgi?id=226827 Reviewed by Jonathan Bedard. * css3/masking/resources/clip.svg: Removed. * css3/resources/FeatureTest.ttf: Removed. 2021-06-11 Truitt Savell imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiobuffersourcenode-interface/active-processing.https.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=226942 Unreviewed test gardening. * TestExpectations: 2021-06-11 Patrick Angle Web Inspector: Add instrumentation to node destruction for InspectorDOMAgent https://bugs.webkit.org/show_bug.cgi?id=226624 Reviewed by Devin Rousso. * inspector/dom/willDestroyDOMNode-expected.txt: Added. * inspector/dom/willDestroyDOMNode.html: Added. 2021-06-11 Wenson Hsieh [Live Text] Text selection inside image elements should not be cleared upon resize https://bugs.webkit.org/show_bug.cgi?id=226911 Reviewed by Tim Horton. * fast/images/text-recognition/mac/image-overlay-maintain-selection-during-size-change-expected.txt: Added. * fast/images/text-recognition/mac/image-overlay-maintain-selection-during-size-change.html: Added. 2021-06-11 Cathie Chen Use HTMLDimension to parse different HTML attribute length values https://bugs.webkit.org/show_bug.cgi?id=226810 Reviewed by Darin Adler. * platform/ios-wk2/imported/w3c/web-platform-tests/html/rendering/pixel-length-attributes-expected.txt: 2021-06-11 Youenn Fablet getDisplayMedia API doesn't work https://bugs.webkit.org/show_bug.cgi?id=226874 Reviewed by Eric Carlson. * fast/mediastream/getDisplayMedia-frame-rate-expected.txt: Added. * fast/mediastream/getDisplayMedia-frame-rate.html: Added. 2021-06-11 Alex Christensen EventSource.constructor throws an exception when the url param is an empty string https://bugs.webkit.org/show_bug.cgi?id=226635 Reviewed by Yusuke Suzuki. * fast/eventsource/eventsource-constructor-expected.txt: * fast/eventsource/eventsource-constructor.html: 2021-06-11 Diego Pino Garcia [GTK] Test css3/filters/composited-during-animation-layertree.html is flaky since r214292 https://bugs.webkit.org/show_bug.cgi?id=171600 Reviewed by Adrian Perez de Castro. The general baseline for this test was empty. Updated it with the results of iOS. I also removed the test failure from iOS TestExpectations. The test is marked as flaky in Mac because sometimes it produces empty results (webkit.org/b/95622). I don't touch the Mac baseline and leave the test as flaky in Mac TestExpectations. Finally, I moved the current baseline that exists for WPE to GLIB, as WebKitGTK produces the same results. * css3/filters/composited-during-animation-layertree-expected.txt: * platform/glib/css3/filters/composited-during-animation-layertree-expected.txt: Renamed from LayoutTests/platform/wpe/css3/filters/composited-during-animation-layertree-expected.txt. * platform/gtk/TestExpectations: * platform/ios/TestExpectations: 2021-06-11 Kimmo Kinnunen WebGL context image buffer accumulates the NativeImage contents when drawn to RemoteImageBufferProxy https://bugs.webkit.org/show_bug.cgi?id=226813 Reviewed by Simon Fraser. Add a test that should crash on some devices with low memory limits. * webgl/draw-webgl-to-context2d-memory-test-expected.txt: Added. * webgl/draw-webgl-to-context2d-memory-test.html: Added. 2021-06-10 Sam Weinig Nothing is keeping navigator.xr alive during GC https://bugs.webkit.org/show_bug.cgi?id=226898 Reviewed by Chris Dumez. Add test that ensure the navigator.xr wrapper is kept alive when it has custom properties. * webxr: Added. * webxr/gc-expected.txt: Added. * webxr/gc.html: Added. 2021-06-10 Wenson Hsieh [Live Text] Add a mechanism to regenerate text in an image element when it changes dimensions https://bugs.webkit.org/show_bug.cgi?id=226858 rdar://77522786 Reviewed by Devin Rousso. * fast/images/text-recognition/image-overlay-size-change-expected.txt: Added. * fast/images/text-recognition/image-overlay-size-change.html: Added. 2021-06-10 Arcady Goldmints-Orlov [GLIB] Unreviewed test gardening, mark some WebGL tests as passing https://bugs.webkit.org/show_bug.cgi?id=226847 These tests appear to pass consistently on both GTK and WPE now. * platform/gtk/TestExpectations: * platform/wpe/TestExpectations: 2021-06-10 Chris Dumez REGRESSION: service-workers/service-worker/credentials.https.html and content-security-policy/reporting/report-only-in-meta.sub.html failing together constantly. https://bugs.webkit.org/show_bug.cgi?id=226884 Reviewed by Geoffrey Garen. Unskip tests that should no longer be failing. * TestExpectations: 2021-06-10 Devin Rousso (r278618) media/modern-media-controls/overflow-support/chapters.html is timing out since introduction https://bugs.webkit.org/show_bug.cgi?id=226828 Unreviewed followup for flaky test. * media/modern-media-controls/overflow-support/chapters.html: Add manual timeouts for each `await` to see where exactly the test fails. 2021-06-10 Alex Christensen Move Timing-Allow-Origin checks to the network process https://bugs.webkit.org/show_bug.cgi?id=226678 Reviewed by Chris Dumez. * TestExpectations: 2021-06-11 Ryan Haddad Layout test svg/animations/smil-leak-elements.svg is flaky https://bugs.webkit.org/show_bug.cgi?id=174180 Unreviewed test gardening. This test is flaky on WK1 and WK2, so move the expectation. * platform/mac-wk1/TestExpectations: * platform/mac/TestExpectations: 2021-06-10 Cameron McCormack Move some Mac MathML test expectation files around https://bugs.webkit.org/show_bug.cgi?id=226868 Reviewed by Frédéric Wang. This should give better forward compatibility for Mac platforms, by making the mac/ directory the default correct one, and the mac-catalina/ and mac-mojave/ ones be exceptions. * platform/mac-bigsur/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: Removed. * platform/mac-bigsur/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt: Removed. * platform/mac-catalina/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt. * platform/mac-catalina/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt. * platform/mac-mojave/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt. * platform/mac-mojave/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt: Copied from LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt. * platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/ignored-properties-001-expected.txt: * platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/padding-border-margin/padding-002-expected.txt: 2021-06-10 Toshio Ogasawara [MSE] When currentTime is a large value, it takes time to process SourceBufferPrivate::evictCodedFrames(). https://bugs.webkit.org/show_bug.cgi?id=226867 Reviewed by Eric Carlson. * media/media-source/media-source-evict-codedframe-large-currenttime-expected.txt: Added. * media/media-source/media-source-evict-codedframe-large-currenttime.html: Added. 2021-06-10 Truitt Savell Skip tiled-drawing/scrolling/non-fast-region/wheel-event-plugin.html for arm64 https://bugs.webkit.org/show_bug.cgi?id=226896 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2021-06-10 Ben Nham Only cache GET requests in the memory cache https://bugs.webkit.org/show_bug.cgi?id=226359 Reviewed by Geoff Garen. Added tests to make sure only GETs end up in the memory cache. Also fixed a flaky test that was depending on a POST response in an iframe to be in the memory cache when doing a history navigation. * http/tests/cache/memory-cache-only-caches-get-expected.txt: Added. * http/tests/cache/memory-cache-only-caches-get.html: Added. * http/tests/cache/resources/echo-cacheable.cgi: Added. * http/tests/navigation/post-frames-goback1.html: * platform/mac/TestExpectations: 2021-06-10 Truitt Savell REGRESSION: (r278650 - r278655) service-workers/service-worker/credentials.https.html and content-security-policy/reporting/report-only-in-meta.sub.html failing together constantly. https://bugs.webkit.org/show_bug.cgi?id=226884 Unreviewed test gardening. * TestExpectations: 2021-06-10 Youenn Fablet CountQueuingStrategy.constructor misses checking the type of init param https://bugs.webkit.org/show_bug.cgi?id=226759 Reviewed by Chris Dumez. * streams/shadowing-defineProperty.html: 2021-06-10 Rob Buis Treat intrinsic like *-content https://bugs.webkit.org/show_bug.cgi?id=226790 Reviewed by Sergio Villar Senin. Add tests for intrinsic and min-intrinsic and move relevant tests to fast/flexbox. * fast/flexbox/intrinsic-width-column-flow-crash-expected.txt: Copied from LayoutTests/fast/css/flex-box-intrinsic-width-crash-expected.txt. * fast/flexbox/intrinsic-width-column-flow-crash.html: Copied from LayoutTests/fast/css/flex-box-intrinsic-width-crash.html. * fast/flexbox/intrinsic-width-crash-expected.txt: Copied from LayoutTests/fast/css/flex-box-intrinsic-width-crash-expected.txt. * fast/flexbox/intrinsic-width-crash.html: Copied from LayoutTests/fast/css/flex-box-intrinsic-width-crash.html. * fast/flexbox/min-intrinsic-width-crash-expected.txt: Renamed from LayoutTests/fast/css/flex-box-intrinsic-width-crash-expected.txt. * fast/flexbox/min-intrinsic-width-crash.html: Renamed from LayoutTests/fast/css/flex-box-intrinsic-width-crash.html. 2021-06-10 Alex Christensen Mark a navigation timing test as flaky https://bugs.webkit.org/show_bug.cgi?id=226629 * TestExpectations: 2021-06-10 Youenn Fablet Update libwebrtc to M92 https://bugs.webkit.org/show_bug.cgi?id=226494 Reviewed by Eric Carlson. * webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive.html: Update test since the backend is now fixed. 2021-06-10 Alan Bujtas ASSERT NOT REACHED in webcore::Layout::LayoutContext::verifyAndOutputMismatchingLayoutTree() https://bugs.webkit.org/show_bug.cgi?id=226866 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2021-06-09 Rob Buis Null check page in generateCertificate https://bugs.webkit.org/show_bug.cgi?id=226798 Reviewed by Youenn Fablet. * http/wpt/webrtc/RTCPeerConnection-generateCertificate-crash-expected.txt: Added. * http/wpt/webrtc/RTCPeerConnection-generateCertificate-crash.html: Added. 2021-06-09 Andres Gonzalez iOS - VoiceOver reads the old heading text when updated with heading.firstChild.data. https://bugs.webkit.org/show_bug.cgi?id=226754 Reviewed by Chris Fleizach. * accessibility/ios-simulator/heading-text-updates-expected.txt: Added. * accessibility/ios-simulator/heading-text-updates.html: Added. * accessibility/mac/heading-text-updates-expected.txt: Added. * accessibility/mac/heading-text-updates.html: Added. 2021-06-09 Devin Rousso (r278618) media/modern-media-controls/overflow-support/chapters.html is timing out since introduction https://bugs.webkit.org/show_bug.cgi?id=226828 Unreviewed text fix. * media/modern-media-controls/overflow-support/chapters.html: * media/modern-media-controls/overflow-support/chapters-expected.txt: Wait for the `` to load before clicking on the overflow button as otherwise there won't be any chapter cues to display in the contextmenu, meaning that the contextmenu would be empty and therefore not be shown. * http/tests/resources/js-test-pre.js: (shouldBecomeEqual): (shouldBecomeDifferent): * resources/js-test-pre.js: (shouldBecomeEqual): (shouldBecomeDifferent): * resources/js-test.js: (shouldBecomeEqual): (shouldBecomeDifferent): Allow for `completionHandler` to not be provided, which will cause the function to return a `Promise`. 2021-06-09 Amir Mark Jr REGRESSION (r278630?): [iOS 14] http/tests/ssl/applepay/ApplePayButton.html is a constant failure https://bugs.webkit.org/show_bug.cgi?id=226826 Unreviewed test gardening. Updating expectations while EWS is being updated with patch. * platform/ios-wk2/TestExpectations: 2021-06-09 Fujii Hironori LayoutTests: Use os.path.dirname() instead of split('/') for Windows Python https://bugs.webkit.org/show_bug.cgi?id=226802 Reviewed by Jonathan Bedard. Windows Python uses backlash for path separator. Use os.path.dirname() to get a parent directory. * http/tests/appcache/resources/scope1/cookie-protected-manifest.py: * http/tests/appcache/resources/scope2/cookie-protected-script.py: * http/tests/cache/disk-cache/resources/make-sha1-collision.py: * http/tests/cache/resources/load-and-check-referer.py: * http/tests/cache/resources/post-image-to-verify.py: * http/tests/cookies/multiple-redirect-and-set-cookie.py: (redirect_url): * http/tests/cookies/same-site/resources/fetch-after-navigating-iframe-in-cross-origin-page.py: * http/tests/cookies/same-site/resources/fetch-after-top-level-cross-origin-redirect.py: * http/tests/cookies/same-site/resources/fetch-after-top-level-navigation-from-cross-origin-page.py: * http/tests/cookies/same-site/resources/fetch-after-top-level-navigation-initiated-from-iframe-in-cross-origin-page.py: * http/tests/cookies/same-site/resources/fetch-after-top-level-same-origin-redirect.py: * http/tests/cookies/same-site/resources/fetch-in-same-origin-service-worker.py: * http/tests/gzip-content-encoding/resources/echo-data-encoding-with-gzip.py: * http/tests/media/resources/serve_video.py: * http/tests/misc/resources/404image.py: * http/tests/misc/resources/image-checks-for-accept.py: * http/tests/misc/resources/protected/protected-image.py: * http/tests/multipart/resources/multipart-nodashes.py: * http/tests/multipart/resources/multipart.py: * http/tests/quicklook/resources/word-document-with-csp-block-frame-ancestors.py: * http/tests/referrer-policy/resources/image.py: * http/tests/security/contentSecurityPolicy/resources/image-document-default-src-none-iframe.py: * http/tests/security/mixedContent/resources/subresource/protected-image.py: * http/tests/security/mixedContent/resources/subresource/protected-script.py: * http/tests/security/mixedContent/resources/subresource/protected-stylesheet.py: * http/tests/security/mixedContent/resources/subresource2/protected-image.py: * http/tests/security/resources/abe-allow-credentials.py: * http/tests/security/resources/abe-allow-star.py: * http/tests/security/resources/allow-if-origin.py: * http/tests/security/resources/captions-with-access-control-headers.py: * http/tests/security/resources/image-access-control.py: * http/tests/security/resources/image-credential-check.py: * http/tests/security/resources/loading-subresources.py: * http/tests/security/resources/reference-movie-cross-origin-allow.py: * http/tests/security/resources/subresource1/protected-image.py: * http/tests/security/resources/subresource2/protected-image.py: * http/tests/security/resources/xorigincss1-allow-star.py: * platform/wincairo/TestExpectations: 2021-06-09 Truitt Savell Skip http/tests/contentextensions/plugin-doesnt-crash.html on arm64 https://bugs.webkit.org/show_bug.cgi?id=226783 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2021-06-09 Alan Bujtas [Flexbox] FlexItem stays invisible after initial layout https://bugs.webkit.org/show_bug.cgi?id=226778 Reviewed by Simon Fraser. * fast/flexbox/repaint-issue-when-flex-item-appears-expected.txt: Added. * fast/flexbox/repaint-issue-when-flex-item-appears.html: Added. 2021-06-09 Diego Pino Garcia [GLIB][GTK] Unreviewed test gardening. Mark flakey tests as timeout only. Several tests marked as flakey have been timing out consistently for the last 4000 revisions. Mark state accordingly. * platform/glib/TestExpectations: * platform/gtk/TestExpectations: 2021-06-09 Diego Pino Garcia [GTK] Unreviewed test failures. Switch WPT's WOFF2 tests from flakey to image only failure. * platform/gtk/TestExpectations: 2021-06-09 Diego Pino Garcia [GLIB] Unreviewed test gardening. Update test expectations. - Mark editing/execCommand/switch-list-type-with-orphaned-li.html as flakey. - Create new bug for imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/processing-after-resume.https.html * platform/glib/TestExpectations: 2021-06-08 Diego Pino Garcia [GLIB][GTK] Unreviewed test gardening. Update status of flaky tests failing to Failure. All the tests changed were reported as 'Failure' by the GTK post-commit bot for the last 4000 revisions. * platform/glib/TestExpectations: * platform/gtk/TestExpectations: 2021-06-08 Rob Buis CSSOM test for serializing counter() fails https://bugs.webkit.org/show_bug.cgi?id=184256 Reviewed by Sam Weinig. Adapt to serialization change. * fast/css/counters/counter-cssText-expected.txt: * fast/css/counters/counter-cssText.html: * fast/css/serialization-with-double-quotes-expected.txt: * fast/css/serialization-with-double-quotes.html: 2021-06-08 Diego Pino Garcia [GLIB] Unreviewed test gardening. Update test expectation status of imported/w3c/web-platform-tests/media-source/mediasource-changetype-play.html. * platform/glib/TestExpectations: 2021-06-08 Diego Pino Garcia [GTK] Unreviewed test gardening. Emit GTK baselines for several SVG tests. Other platforms have specific baselines for these tests, including WPE. The GTK post-commit bot reports these tests have been consistently failing for the last 4000 revisions, so emiting baselines is the first step to check if these tests are actually passing. * platform/gtk/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt: Added. * platform/gtk/svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt: Added. * platform/gtk/svg/text/select-textLength-spacing-squeeze-3-expected.txt: Added. * platform/gtk/svg/text/select-textLength-spacing-stretch-1-expected.txt: Added. * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-squeeze-1-expected.txt: Added. * platform/gtk/svg/text/select-textLength-spacingAndGlyphs-stretch-1-expected.txt: Added. * platform/gtk/svg/text/select-x-list-1-expected.txt: Added. * platform/gtk/svg/text/select-x-list-with-tspans-1-expected.txt: Added. 2021-06-08 Jean-Yves Avenard [MSE] Assertion if attempting to perform eviction before playback starts. https://bugs.webkit.org/show_bug.cgi?id=226720 Reviewed by Eric Carlson. * media/media-source/media-source-append-buffer-full-quota-exceeded-error-onstart-expected.txt: Added. * media/media-source/media-source-append-buffer-full-quota-exceeded-error-onstart.html: Added. 2021-06-08 Diego Pino Garcia [GLIB][WPE] Unreviewed test gardening. Move WPE baseline for WPT test 'report-same-origin-with-cookies.html' to GLIB. * platform/glib/imported/w3c/web-platform-tests/content-security-policy/reporting/report-same-origin-with-cookies-expected.txt: Renamed from LayoutTests/platform/wpe/imported/w3c/web-platform-tests/content-security-policy/reporting/report-same-origin-with-cookies-expected.txt. 2021-06-08 Wenson Hsieh [iOS] Safari tab pill should toggle visibility when tapping on article text on adventure.com https://bugs.webkit.org/show_bug.cgi?id=226775 rdar://78826820 Reviewed by Tim Horton and Devin Rousso. * fast/events/ios/non-meaningful-click-when-tapping-document-expected.txt: Added. * fast/events/ios/non-meaningful-click-when-tapping-document.html: Added. 2021-06-08 Diego Pino Garcia [GTK] Unreviewed test gardening. Update GTK baselines of several ARIA tests. These tests are marked as flaky under bug webkit.org/b/182761. The GTK post-commit bot reports these tests have been consistently failing for the last 4000 revisions, so at least their baselines should be updated. I won't remove the tests from test expectations for now. * accessibility/gtk/aria-busy-changed-notification-expected.txt: * accessibility/gtk/aria-current-changed-notification-expected.txt: * accessibility/gtk/aria-disabled-changed-notification-expected.txt: * accessibility/gtk/aria-expanded-changed-notification-expected.txt: * accessibility/gtk/aria-pressed-changed-notification-expected.txt: * accessibility/gtk/aria-readonly-changed-notification-expected.txt: * accessibility/gtk/aria-required-changed-notification-expected.txt: 2021-06-08 Diego Pino Garcia [GTK] Unreviewed test gardening. Remove obsolete GTK baseline for WPT test 'createImageBitmap-serializable.html'. * platform/glib/TestExpectations: * platform/gtk/imported/w3c/web-platform-tests/html/canvas/element/imagebitmap/createImageBitmap-serializable-expected.txt: Removed. 2021-06-08 Devin Rousso [Payment Request] upstream new features https://bugs.webkit.org/show_bug.cgi?id=226740 Reviewed by Andy Estes. * http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-additionalLineItems.https-expected.txt: Added. * http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-additionalShippingMethods.https-expected.txt: Added. * http/tests/paymentrequest/ApplePayModifier-total.https.html: Added. * http/tests/paymentrequest/ApplePayModifier-total.https-expected.txt: Added. * http/tests/paymentrequest/paymentmethodchange-couponCode.https.html: Added. * http/tests/paymentrequest/paymentmethodchange-couponCode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-couponCode.https.html: Added. * http/tests/paymentrequest/paymentrequest-couponCode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https.html: Added. * http/tests/paymentrequest/paymentrequest-shippingContactEditingMode.https-expected.txt: Added. * http/tests/paymentrequest/paymentrequest-supportsCouponCode.https.html: Added. * http/tests/paymentrequest/paymentrequest-supportsCouponCode.https-expected.txt: Added. * http/tests/ssl/applepay/ApplePayError-expected.txt: * platform/ios-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: 2021-06-08 Truitt Savell Fix test expectations for plugin tests on arm64 https://bugs.webkit.org/show_bug.cgi?id=226783 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: * platform/mac/TestExpectations: 2021-06-08 Devin Rousso Unreviewed, followup to r278622 * TestExpectations: * platform/mac-wk2/TestExpectations: Skip `http/tests/media/modern-media-controls/overflow-support` on non-WK2 macOS and iOS since those tests rely on macOS functionality and new iOS features. 2021-06-08 Devin Rousso [Modern Media Controls] Don't show Playback Speed when up-to-date Live Boadcasts https://bugs.webkit.org/show_bug.cgi?id=226744 Reviewed by Eric Carlson. * http/tests/media/modern-media-controls/overflow-support/playback-speed-live-broadcast.html: Added. * http/tests/media/modern-media-controls/overflow-support/playback-speed-live-broadcast-expected.txt: Added. 2021-06-08 Devin Rousso [Modern Media Controls] upstream new features https://bugs.webkit.org/show_bug.cgi?id=226736 Reviewed by Eric Carlson. * media/modern-media-controls/overflow-button/overflow-button.html: Added. * media/modern-media-controls/overflow-button/overflow-button-expected.txt: Added. * media/modern-media-controls/overflow-support/chapters.html: Added. * media/modern-media-controls/overflow-support/chapters-expected.txt: Added. * media/modern-media-controls/overflow-support/playback-speed.html: Added. * media/modern-media-controls/overflow-support/playback-speed-expected.txt: Added. * TestExpectations: * platform/mac-wk2/TestExpectations: 2021-06-08 Antoine Quint REGRESSION (r256095): Adding a border-radius, border, or box-shadow breaks animations from scale(0) https://bugs.webkit.org/show_bug.cgi?id=218371 Reviewed by Simon Fraser. Add a test where we have an animation on an element with a a border and a transform animation to scale(0) where the first keyframe is implicit. This test would fail prior to this patch. * webanimations/accelerated-transform-animation-to-scale-zero-with-implicit-from-keyframe-expected.html: Added. * webanimations/accelerated-transform-animation-to-scale-zero-with-implicit-from-keyframe.html: Added. 2021-06-08 Youenn Fablet Update libwebrtc to M92 https://bugs.webkit.org/show_bug.cgi?id=226494 Reviewed by Eric Carlson. * webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive.html: Update test since the backend is now fixed. 2021-06-08 Alex Christensen Update Windows PerformanceResourceTiming test expectations after r278477 https://bugs.webkit.org/show_bug.cgi?id=226737 * platform/win/performance-api/resource-timing-apis-expected.txt: Added. 2021-06-08 Razvan Caliman Web Inspector: Styles panel slow to render when inspecting node with many inherited CSS variables https://bugs.webkit.org/show_bug.cgi?id=225972 Reviewed by Devin Rousso. Add tests for logic to aggregate used CSS variables in Web Inspector. * inspector/css/findVariableNames-expected.txt: Added. * inspector/css/findVariableNames.html: Added. * inspector/css/usedCSSVariables-expected.txt: Added. * inspector/css/usedCSSVariables.html: Added. 2021-06-08 Alan Bujtas [LFC][TFC] Add initial percent value support for columns https://bugs.webkit.org/show_bug.cgi?id=226751 Reviewed by Simon Fraser. * fast/layoutformattingcontext/table-with-percent-columns-only-no-content-expected.html: Added. * fast/layoutformattingcontext/table-with-percent-columns-only-no-content.html: Added. 2021-06-08 Diego Pino Garcia [GTK] Unreviewed test gardening. Update baselines of tests marked a text flaky. Removed tests that are now passing from test expectations. * platform/glib/TestExpectations: * platform/glib/fast/css/acid2-pixel-expected.txt: Renamed from LayoutTests/platform/wpe/fast/css/acid2-pixel-expected.txt. * platform/glib/http/tests/websocket/tests/hybi/workers/close-expected.txt: Removed. * platform/glib/imported/w3c/web-platform-tests/WebCryptoAPI/wrapKey_unwrapKey/wrapKey_unwrapKey.https.worker-expected.txt: * platform/glib/imported/w3c/web-platform-tests/html/canvas/element/imagebitmap/createImageBitmap-serializable-expected.txt: * platform/gtk/TestExpectations: * platform/gtk/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: * platform/gtk/editing/pasteboard/4989774-expected.txt: * platform/gtk/editing/pasteboard/paste-4038267-fix-expected.txt: * platform/gtk/editing/pasteboard/paste-line-endings-001-expected.txt: * platform/gtk/editing/pasteboard/paste-line-endings-002-expected.txt: * platform/gtk/editing/pasteboard/paste-line-endings-006-expected.txt: * platform/gtk/fast/css/acid2-expected.txt: * platform/gtk/fast/css/acid2-pixel-expected.txt: Removed. * platform/gtk/fast/css/resize-corner-tracking-expected.txt: * platform/gtk/fast/forms/validation-message-appearance-expected.txt: * platform/gtk/fast/overflow/hit-test-overflow-controls-expected.txt: * platform/gtk/http/tests/security/video-cross-origin-accessfailure-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-30-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt: * platform/gtk/svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt: * platform/gtk/svg/custom/circular-marker-reference-4-expected.txt: Removed. * platform/gtk/tables/mozilla/bugs/bug4527-expected.txt: 2021-06-08 Antti Koivisto `text-decoration: underline` is not applied to web component https://bugs.webkit.org/show_bug.cgi?id=226724 Reviewed by Ryosuke Niwa. * fast/shadow-dom/effective-text-decoration-inheritance-expected.html: Added. * fast/shadow-dom/effective-text-decoration-inheritance.html: Added. 2021-06-08 Fujii Hironori [WinCairo] Unreviewed test gardening * platform/wincairo/TestExpectations: 2021-06-08 Frédéric Wang Crash in InsertParagraphSeparatorCommand::doApply https://bugs.webkit.org/show_bug.cgi?id=226527 Reviewed by Ryosuke Niwa. Add regression test. * fast/editing/insert-paragraph-with-img-in-table-crash-expected.txt: Added. * fast/editing/insert-paragraph-with-img-in-table-crash.html: Added. Note that not having a new line at the end of the HTML file is required to make the test crash without the patch. * fast/editing/insert-paragraph-with-text-in-table-crash-expected.txt: Added. * fast/editing/insert-paragraph-with-text-in-table-crash.html: Added. 2021-06-07 Alexey Shvayka Unreviewed, reland r276592 with a fix for put() override in prototype chain of a JSProxy https://bugs.webkit.org/show_bug.cgi?id=226185 * http/tests/security/cross-frame-access-object-getPrototypeOf-in-put-expected.txt: * http/tests/security/cross-frame-access-object-getPrototypeOf-in-put.html: * js/dom/reflect-set-onto-dom-expected.txt: * js/dom/script-tests/reflect-set-onto-dom.js: 2021-06-07 Alexey Shvayka Window should behave like a legacy platform object without indexed setter https://bugs.webkit.org/show_bug.cgi?id=225894 Reviewed by Darin Adler. * fast/dom/Window/orphaned-frame-access.html: * fast/frames/iframe-detached-window-still-writable-eval-expected.txt: * fast/frames/iframe-detached-window-still-writable-eval.html: * http/tests/security/cross-frame-access-delete-expected.txt: * http/tests/security/resources/cross-frame-iframe-for-delete-test.html: * js/dom/dfg-ensure-array-storage-on-window-expected.txt: * js/dom/indexed-setter-on-global-object-expected.txt: * js/dom/script-tests/dfg-ensure-array-storage-on-window.js: * js/dom/script-tests/dfg-ensure-non-array-array-storage-on-window.js: * js/dom/script-tests/indexed-setter-on-global-object.js: 2021-06-07 Wenson Hsieh Upstream WebKit support for Live Text https://bugs.webkit.org/show_bug.cgi?id=226706 Reviewed by Tim Horton. Rename `fast/images/image-extraction` to `fast/images/text-recognition`. * TestExpectations: * fast/images/text-recognition/basic-image-overlay-expected-mismatch.html: Renamed from LayoutTests/fast/images/image-extraction/basic-image-overlay-expected-mismatch.html. * fast/images/text-recognition/basic-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/basic-image-overlay.html. * fast/images/text-recognition/click-link-with-image-overlay-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/click-link-with-image-overlay-expected.txt. * fast/images/text-recognition/click-link-with-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/click-link-with-image-overlay.html. * fast/images/text-recognition/image-overlay-creation-is-idempotent-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/image-overlay-creation-is-idempotent-expected.txt. * fast/images/text-recognition/image-overlay-creation-is-idempotent.html: Renamed from LayoutTests/fast/images/image-extraction/image-overlay-creation-is-idempotent.html. * fast/images/text-recognition/image-overlay-in-image-with-zero-font-size-expected-mismatch.html: Renamed from LayoutTests/fast/images/image-extraction/image-overlay-in-image-with-zero-font-size-expected-mismatch.html. * fast/images/text-recognition/image-overlay-in-image-with-zero-font-size.html: Renamed from LayoutTests/fast/images/image-extraction/image-overlay-in-image-with-zero-font-size.html. * fast/images/text-recognition/image-overlay-with-selection-styles-expected.html: Renamed from LayoutTests/fast/images/image-extraction/image-overlay-with-selection-styles-expected.html. * fast/images/text-recognition/image-overlay-with-selection-styles.html: Renamed from LayoutTests/fast/images/image-extraction/image-overlay-with-selection-styles.html. * fast/images/text-recognition/ios/coalesce-selection-rects-in-image-overlay-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/ios/coalesce-selection-rects-in-image-overlay-expected.txt. * fast/images/text-recognition/ios/coalesce-selection-rects-in-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/ios/coalesce-selection-rects-in-image-overlay.html. * fast/images/text-recognition/ios/reselect-word-in-image-overlay-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/ios/reselect-word-in-image-overlay-expected.txt. * fast/images/text-recognition/ios/reselect-word-in-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/ios/reselect-word-in-image-overlay.html. * fast/images/text-recognition/ios/select-word-in-image-overlay-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/ios/select-word-in-image-overlay-expected.txt. * fast/images/text-recognition/ios/select-word-in-image-overlay-inside-link-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/ios/select-word-in-image-overlay-inside-link-expected.txt. * fast/images/text-recognition/ios/select-word-in-image-overlay-inside-link.html: Renamed from LayoutTests/fast/images/image-extraction/ios/select-word-in-image-overlay-inside-link.html. * fast/images/text-recognition/ios/select-word-in-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/ios/select-word-in-image-overlay.html. * fast/images/text-recognition/ios/selection-rects-in-image-overlay-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/ios/selection-rects-in-image-overlay-expected.txt. * fast/images/text-recognition/ios/selection-rects-in-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/ios/selection-rects-in-image-overlay.html. * fast/images/text-recognition/mac/copy-image-overlay-text-with-context-menu-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/mac/copy-image-overlay-text-with-context-menu-expected.txt. * fast/images/text-recognition/mac/copy-image-overlay-text-with-context-menu.html: Renamed from LayoutTests/fast/images/image-extraction/mac/copy-image-overlay-text-with-context-menu.html. * fast/images/text-recognition/mac/image-overlay-text-disables-app-highlight-menu-items-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/mac/image-overlay-text-disables-app-highlight-menu-items-expected.txt. * fast/images/text-recognition/mac/image-overlay-text-disables-app-highlight-menu-items.html: Renamed from LayoutTests/fast/images/image-extraction/mac/image-overlay-text-disables-app-highlight-menu-items.html. * fast/images/text-recognition/mac/select-image-overlay-in-link-with-mouse-drag-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/mac/select-image-overlay-in-link-with-mouse-drag-expected.txt. * fast/images/text-recognition/mac/select-image-overlay-in-link-with-mouse-drag.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-image-overlay-in-link-with-mouse-drag.html. * fast/images/text-recognition/mac/select-image-overlay-with-mouse-drag-2-expected.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-image-overlay-with-mouse-drag-2-expected.html. * fast/images/text-recognition/mac/select-image-overlay-with-mouse-drag-2.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-image-overlay-with-mouse-drag-2.html. * fast/images/text-recognition/mac/select-image-overlay-with-mouse-drag-does-not-fire-click-expected.txt: Renamed from LayoutTests/fast/images/image-extraction/mac/select-image-overlay-with-mouse-drag-does-not-fire-click-expected.txt. * fast/images/text-recognition/mac/select-image-overlay-with-mouse-drag-does-not-fire-click.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-image-overlay-with-mouse-drag-does-not-fire-click.html. * fast/images/text-recognition/mac/select-image-overlay-with-mouse-drag-expected-mismatch.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-image-overlay-with-mouse-drag-expected-mismatch.html. * fast/images/text-recognition/mac/select-image-overlay-with-mouse-drag.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-image-overlay-with-mouse-drag.html. * fast/images/text-recognition/mac/select-rotated-transparent-image-overlay-expected.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-rotated-transparent-image-overlay-expected.html. * fast/images/text-recognition/mac/select-rotated-transparent-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-rotated-transparent-image-overlay.html. * fast/images/text-recognition/mac/select-word-in-draggable-image-overlay-expected-mismatch.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-word-in-draggable-image-overlay-expected-mismatch.html. * fast/images/text-recognition/mac/select-word-in-draggable-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-word-in-draggable-image-overlay.html. * fast/images/text-recognition/mac/select-word-in-transparent-image-overlay-expected-mismatch.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-word-in-transparent-image-overlay-expected-mismatch.html. * fast/images/text-recognition/mac/select-word-in-transparent-image-overlay.html: Renamed from LayoutTests/fast/images/image-extraction/mac/select-word-in-transparent-image-overlay.html. 2021-06-07 Antoine Quint REGRESSION (r272201): iPad render flashing on load https://bugs.webkit.org/show_bug.cgi?id=226216 Reviewed by Simon Fraser. Add a test that runs the same accelerated animation on two container elements, stack one above the other. The bottom container has a red background while the top container has a green background, the whole body being green. After the animation has started, we set the bottom element to have a very large size such that its layer becomes tiled. Before this patch the bottom element would stop animation and its red background would start appearing as the top element would keep animating. After this patch both elements are animated and no red should appear. * webanimations/accelerated-animation-tiled-while-running-expected.html: Added. * webanimations/accelerated-animation-tiled-while-running.html: Added. 2021-06-07 Imanol Fernandez Use 3D points to map the WebXRBoundedReferenceSpace bounds transform https://bugs.webkit.org/show_bug.cgi?id=224365 Reviewed by Sergio Villar Senin. Update WebXR test expectations. * platform/wpe/TestExpectations: 2021-06-07 Aditya Keerthi [iOS] Unexpected scrolling when switching focus from a text input to a select element https://bugs.webkit.org/show_bug.cgi?id=226657 Reviewed by Tim Horton. Add a layout test to exercise the bug. * fast/forms/ios/form-control-refresh/select/focus-select-after-textfield-expected.txt: Added. * fast/forms/ios/form-control-refresh/select/focus-select-after-textfield.html: Added. 2021-06-06 Darin Adler Handle custom identifiers and strings separately, so we can quote strings correctly consistently https://bugs.webkit.org/show_bug.cgi?id=226694 Reviewed by Sam Weinig. * TestExpectations: Removed expected failures from 13 css-counter-styles tests that are not currently failing. I had planned to work on making more of these pass, but first found I could fix them with a corrected custom-ident implementation. * css3/supports-expected.txt: Rebased. * css3/supports.html: Updated to expect the value of the content property to be a quoted string, rather than the old behavior, which was to leave the string unquoted if it happened to be a string with all characters legal for a custom-ident. New expectation is the correct behavior. * fast/css/alt-inherit-initial-expected.txt: Rebased. * fast/css/alt-inherit-initial.html: Updated to expect the value of the language property to be a custom-ident, and serialize unusual cases with custom-ident rules, not as a quoted string. New expectation is the correct behavior. * fast/css/content-language-comma-separated-list-expected.txt: Ditto. * fast/css/content-language-empty-expected.txt: Ditto. * fast/css/content-language-only-whitespace-expected.txt: Ditto. * fast/css/content-language-with-whitespace-expected.txt: Ditto. * fast/css/getComputedStyle/computed-style-properties-expected.txt: Rebased. * fast/css/getComputedStyle/computed-style-properties.html: Expect content string (see above). * fast/css/lang-mapped-to-webkit-locale-expected.txt: Rebased. * fast/css/lang-mapped-to-webkit-locale.xhtml: Expect language custom-ident (see above). * fast/css/nested-at-rules-expected.txt: Rebased. * fast/css/nested-at-rules.html: Expect content string (see above). * fast/css/parsing-text-emphasis-expected.txt: Rebased. * fast/css/parsing-text-emphasis.html: Updated to expect strings to remaing quoted strings in the text-emphasis property, not change into custom-ident if all characters happen to fit. * fast/encoding/css-charset-default-expected.txt: Expect content string (see above). * inspector/css/pseudo-element-matches-for-pseudo-element-node-expected.txt: Ditto. 2021-06-06 Alan Bujtas [LFC][TFC] Adopt a less quirky fixed column width space distribution https://bugs.webkit.org/show_bug.cgi?id=226696 Reviewed by Antti Koivisto. * TestExpectations: We don't match current WebKit space distribution anymore. * fast/layoutformattingcontext/table-fixed-width-variations-simple-expected.html: Added. * fast/layoutformattingcontext/table-fixed-width-variations-simple.html: Added. 2021-06-05 Cameron McCormack Diff aspect-ratio property values correctly https://bugs.webkit.org/show_bug.cgi?id=226673 Reviewed by Rob Buis. * fast/css/aspect-ratio-no-relayout-expected.txt: Added. * fast/css/aspect-ratio-no-relayout.html: Added. 2021-06-04 Chris Dumez Worker.constructor throws an exception when the url param is an empty string https://bugs.webkit.org/show_bug.cgi?id=226637 Reviewed by Darin Adler. Update existing tests to reflect behavior change. * fast/workers/worker-constructor-expected.txt: * fast/workers/worker-constructor.html: * http/tests/workers/worker-invalid-url-expected.txt: * http/tests/workers/worker-invalid-url.html: 2021-06-04 Diego Pino Garcia [GLIB][GTK] Unreviewed test gardening. Remove flaky tests that have been constantly passing for the last 4000 revisions. * platform/glib/TestExpectations: * platform/gtk/TestExpectations: 2021-06-04 Wenson Hsieh [iOS] Meaningful click heuristic should account for media state changes https://bugs.webkit.org/show_bug.cgi?id=226655 rdar://78330664 Reviewed by Tim Horton and Devin Rousso. Add a layout test to verify that tapping to play or pause a video triggers "meaningful" synthetic clicks. * fast/events/ios/meaningful-click-when-playing-media-expected.txt: Added. * fast/events/ios/meaningful-click-when-playing-media.html: Added. 2021-06-04 Devin Rousso Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'InspectorBackend.Enum.Page.ResourceType') https://bugs.webkit.org/show_bug.cgi?id=226664 Reviewed by Joseph Pecoraro. * inspector/protocol/enum.html: Added. * inspector/protocol/enum-expected.txt: Added. 2021-06-04 Brady Eidson Enforce a quota in window.sessionStorage rdar://78507096 and https://bugs.webkit.org/show_bug.cgi?id=226337 Reviewed by Chris Dumez. * platform/ios-wk1/TestExpectations: * platform/ios/ios/storage/domstorage/5mb-quota.html: Removed. * storage/domstorage/quota-expected.txt: * storage/domstorage/quota.html: 2021-06-04 Antti Koivisto REGRESSION (maybe r276882): custom properties not available on host on initial paint https://bugs.webkit.org/show_bug.cgi?id=226574 Reviewed by Simon Fraser. * fast/shadow-dom/resources/shared-resolver-host-invalidation.css: Added. (:host,): (div): * fast/shadow-dom/shared-resolver-host-invalidation-expected.html: Added. * fast/shadow-dom/shared-resolver-host-invalidation.html: Added. 2021-06-04 Alex Christensen Implement off-by-default experimental feature for PerformanceResourceTiming.transferSize, encodedBodySize, and decodedBodySize https://bugs.webkit.org/show_bug.cgi?id=226629 Reviewed by Brady Eidson. * performance-api/resource-timing-apis-expected.txt: * platform/mac/imported/w3c/web-platform-tests/resource-timing/test_resource_timing-expected.txt: Removed. 2021-06-04 Robert Jenner Cleanup unused resources in LayoutTests/storage https://bugs.webkit.org/show_bug.cgi?id=226226 Reviewed by Jonathan Bedard. * storage/domstorage/localstorage/resources/iframe-events-second.html: Removed. * storage/domstorage/localstorage/resources/private-browsing-3.html: Removed. * storage/domstorage/localstorage/resources/private-browsing-storage-2.html: Removed. * storage/domstorage/sessionstorage/resources/iframe-events-second.html: Removed. * storage/indexeddb/modern/resources/workers-disabled.js: Removed. * storage/indexeddb/resources/test-data.html: Removed. * storage/indexeddb/resources/test-data.txt: Removed. 2021-06-04 Wenson Hsieh [iOS] Long pressing images on 9gag.com fails to present context menus https://bugs.webkit.org/show_bug.cgi?id=226625 rdar://78136095 Reviewed by Megan Gardner. Add a layout test to verify that a context menu is presented when long pressing an image inside a link with a JavaScript URL as an `href`. * fast/events/touch/ios/long-press-on-image-in-javascript-link-expected.txt: Added. * fast/events/touch/ios/long-press-on-image-in-javascript-link.html: Added. 2021-06-04 Martin Robinson [Win] Implement scroll-snap-points on Windows https://bugs.webkit.org/show_bug.cgi?id=142503 Reviewed by Simon Fraser. * platform/win/TestExpectations: Unskip scroll-snap tests. * platform/win/css3/scroll-snap/scroll-snap-wheel-event-expected.txt: Added. Windows doesn't seem to support horizontal wheel events. 2021-06-03 Alan Bujtas Crack in hero text on https://www.apple.com/mac-mini/ https://bugs.webkit.org/show_bug.cgi?id=226610 Reviewed by Simon Fraser. * fast/clip/hidpi-background-clip-with-text-fill-color-expected.html: Added. * fast/clip/hidpi-background-clip-with-text-fill-color.html: Added. 2021-06-03 Chris Lord [WPE] position:sticky content is not correctly offset on async scrolled overflow layers with an RTL vertical scrollbar https://bugs.webkit.org/show_bug.cgi?id=226327 Reviewed by Darin Adler. Some sticky-positioning RTL related tests now pass. * platform/wpe/TestExpectations: 2021-06-03 Simon Fraser REGRESSION (Safari 14): Menu items jump around on codelearn.cat https://bugs.webkit.org/show_bug.cgi?id=226608 Reviewed by Alan Bujtas. * compositing/overflow/overflow-change-reposition-descendants-expected.html: Added. * compositing/overflow/overflow-change-reposition-descendants.html: Added. 2021-06-03 Amir Mark Jr [MacOS] animations/leak-document-with-css-animation.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=226598 Unreviewed test gardening. * platform/mac/TestExpectations: 2021-06-03 Cameron McCormack Prevent background-attachment:fixed from causing slow scrolling when in a position:fixed layer https://bugs.webkit.org/show_bug.cgi?id=226399 Reviewed by Simon Fraser. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-in-overflow-in-iframe-expected.txt: * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-1-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-1.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-2-async-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-2-async.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-2-sync-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-2-sync.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-3-async-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-3-async.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-3-sync-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-3-sync.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-4-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-4.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-5-async-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-5-async.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-5-sync-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-5-sync.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-6-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-6.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-7-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-7.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-8-async-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-8-async.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-8-sync-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-8-sync.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-9-async-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-9-async.html: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-9-sync-expected.txt: Added. * scrollingcoordinator/mac/fixed-backgrounds/fixed-background-slow-scrolling-9-sync.html: Added. 2021-06-03 Alan Bujtas Incorrect text selection when crossing flex item boundary https://bugs.webkit.org/show_bug.cgi?id=226518 Reviewed by Simon Fraser. * editing/selection/selecting-content-by-overshooting-the-container-expected.txt: Added. * editing/selection/selecting-content-by-overshooting-the-container.html: Added. 2021-06-03 Youenn Fablet Cherry-pick webrtc fix to correctly handle audio track state in case of renegotiation https://bugs.webkit.org/show_bug.cgi?id=226577 Reviewed by Eric Carlson. Update test now that we have the correct behavior. * webrtc/receiver-track-should-stay-live-even-if-receiver-is-inactive.html: 2021-06-03 Alan Bujtas [LFC][TFC] Use the fixed table height value to resolve percent column height values https://bugs.webkit.org/show_bug.cgi?id=226566 Reviewed by Antti Koivisto. * fast/layoutformattingcontext/table-with-percent-columns-and-spacing-expected.html: * fast/layoutformattingcontext/table-with-percent-columns-and-spacing.html: * fast/layoutformattingcontext/table-with-percent-columns-simple-expected.html: Added. * fast/layoutformattingcontext/table-with-percent-columns-simple.html: Added. 2021-06-03 Carlos Garcia Campos [GLIB] imported/w3c/web-platform-tests/resource-timing/resource_connection_reuse_mixed_content.html is failing since r277493 https://bugs.webkit.org/show_bug.cgi?id=225904 Reviewed by Michael Catanzaro. * platform/glib/TestExpectations: 2021-06-03 Julian Gonzalez Crash in HTMLConverter::_addLinkForElement() https://bugs.webkit.org/show_bug.cgi?id=226398 Reviewed by Ryosuke Niwa. Add a test for this crasher. * editing/pasteboard/select-all-link-cut-expected.txt: Added. * editing/pasteboard/select-all-link-cut.html: Added. 2021-06-02 Alex Christensen Fix WPT test resource-timing/cross-origin-redirects.html https://bugs.webkit.org/show_bug.cgi?id=190523 Reviewed by Brady Eidson. * http/tests/misc/webtiming-slow-load-expected.txt: * http/tests/misc/webtiming-slow-load.py: Our new metrics gathering now matches Firefox instead of Chrome in PerformanceResourceTiming::responseEnd in this edge case of a deprecated API. Update expectations accordingly. * platform/mac-wk1/TestExpectations: Bringing this test to passing in WK2 makes it flaky in WK1 because we don't get good redirect timing data from CFNetwork through NSURLConnection. * platform/win/http/tests/misc/webtiming-one-redirect-expected.txt: Added. * platform/win/http/tests/misc/webtiming-slow-load-expected.txt: Copied from LayoutTests/http/tests/misc/webtiming-slow-load-expected.txt. * platform/win/http/tests/misc/webtiming-two-redirects-expected.txt: Added. The network layer is now responsible for counting redirects and providing redirect timings. Our friend CFURLConnection doesn't have that ability, so it doesn't pass these tests any more. It never supported any timing APIs and other tests are skipped. 2021-06-02 Amir Mark Jr [MacOS] media/video-played-collapse.html is flaky timeout and failure https://bugs.webkit.org/show_bug.cgi?id=226520 Unreviewed test gardening. * platform/mac/TestExpectations: 2021-06-02 Amir Mark Jr [BigSur E Wk1 Release] media/media-event-listeners.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=226517 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2021-06-02 Alan Bujtas [iOS] Unreviewed test gardening. * platform/ios/TestExpectations: 2021-06-02 Alan Bujtas Incorrect selection when tall float is present https://bugs.webkit.org/show_bug.cgi?id=226552 Reviewed by Simon Fraser. * editing/selection/select-out-of-floated-non-editable-07.html: * editing/selection/select-out-of-floated-non-editable-13-expected.txt: Added. * editing/selection/select-out-of-floated-non-editable-13.html: Added. 2021-06-02 Antoine Quint Hit-testing does not account for clip-path set on parent of