TestWebKitAPI.WebKitLegacy.MediaPlaybackSleepAssertion is a constant failure on macOS. HISTORY: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WebKitLegacy.MediaPlaybackSleepAssertion FAIL TEXT: TestWebKitAPI.WebKitLegacy.MediaPlaybackSleepAssertion 2023-04-28 09:49:50.584 TestWebKitAPI[69683:178359483] *** WARNING: Method convertPointToBase: in class NSView is deprecated on 10.7 and later. It should not be used in new applications. /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/mac/MediaPlaybackSleepAssertion.mm:179 Value of: hasAssertionType(CFSTR("PreventUserIdleDisplaySleep")) Actual: false Expected: true /Volumes/Data/worker/Apple-Ventura-Release-Build/build/Tools/TestWebKitAPI/Tests/mac/MediaPlaybackSleepAssertion.mm:186 Value of: hasAssertionType(CFSTR("PreventUserIdleSystemSleep")) Actual: false Expected: true
<rdar://problem/108666759>
I was able to reproduce the failure, as well as bisect to a regression point. You can reproduce at Ventura Release ToT running as follows: run-api-tests TestWebKitAPI.WebKitLegacy.MediaPlaybackSleepAssertion And I was able to reproduce the failure back to 263474@main, but not at 263473@main. So it appears that https://commits.webkit.org/263474@main is where this test regressed at.
Will fix shortly.
Pull request: https://github.com/WebKit/WebKit/pull/13285
Committed 263518@main (e90882bc5116): <https://commits.webkit.org/263518@main> Reviewed commits have been landed. Closing PR #13285 and removing active labels.