RESOLVED FIXED 248449
REGRESSION(257041@main): [ macOS ] 2X transitions/ (Layout-Tests are constant timeouts
https://bugs.webkit.org/show_bug.cgi?id=248449
Summary REGRESSION(257041@main): [ macOS ] 2X transitions/ (Layout-Tests are constant...
Robert Jenner
Reported 2022-11-28 17:35:52 PST
The following two transitions/ (Layout-tests) are constant timeouts on macOS starting at 257041@main: transitions/shorthand-transitions.html transitions/border-radius-transition.html HISTORY: https://results.webkit.org/?platform=mac&suite=layout-tests&suite=layout-tests&test=transitions%2Fborder-radius-transition.html&test=transitions%2Fshorthand-transitions.html
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-28 17:36:25 PST
Robert Jenner
Comment 2 2022-11-28 17:40:19 PST
I was able to reproduce the timeouts at Ventura Debug ToT running the test as follows: run-webkit-tests <insert_test_here>
EWS
Comment 3 2022-11-28 17:55:18 PST
Test gardening commit 257098@main (e9b769950822): <https://commits.webkit.org/257098@main> Reviewed commits have been landed. Closing PR #6902 and removing active labels.
Robert Jenner
Comment 4 2022-11-28 17:56:38 PST
I tried running the tests with the --no-timeout flag as well. After 10 minutes each the tests never ran. So these do appear to be legit timeouts, and not just slow tests. So I've added [ Timeout ] to the test's expectations at the commit above. It should also be noted that both of these tests were failing before 257041@main. There is just an expectation marked as [ Pass Failure ]
Robert Jenner
Comment 5 2022-11-28 17:57:38 PST
Starting on Oriol who committed the change that caused these two tests to constantly timeout.
Oriol Brufau
Comment 6 2022-11-28 17:59:09 PST
Ah, that's because I made getComputedStyle().getPropertyCSSValue() consistently return a CSSValuePair, which throws when transition-test-helpers.js attempts to use getFloatValue(). The solution seems to use getPropertyValue() instead. Also adding a try..catch seems a good idea.
Oriol Brufau
Comment 7 2022-11-29 08:28:47 PST
EWS
Comment 8 2022-11-30 17:25:39 PST
Committed 257208@main (4ee897dd423c): <https://commits.webkit.org/257208@main> Reviewed commits have been landed. Closing PR #6915 and removing active labels.
Simon Fraser (smfr)
Comment 9 2022-11-30 17:38:05 PST
There's equivalent code in LayoutTests/animations/animation-test-helpers.js (sadly)
Note You need to log in before you can comment on or make changes to this bug.