TestWebKitAPI.WKWebViewCloseAllMediaPresentations.VideoFullscreen is a flaky timeout on iOS 16 only. HISTORY: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKWebViewCloseAllMediaPresentations.VideoFullscreen TIMEOUT ERROR: TestWebKitAPI.WKWebViewCloseAllMediaPresentations.VideoFullscreen 2023-02-23 10:13:10.597 TestWebKitAPI[38829:25202454] Encountered error: Error Domain=WKErrorDomain Code=5 "JavaScript execution returned a result of an unsupported type" UserInfo={NSLocalizedDescription=JavaScript execution returned a result of an unsupported type} while evaluating script: window.internals.setMockVideoPresentationModeEnabled(true)
I was able to reproduce this time out on a release build as follows: run-api-tests --ios-simulator --root WebKitBuild/Release-iphonesimulator TestWebKitAPI.WKWebViewCloseAllMediaPresentations.VideoFullscreen
<rdar://problem/105844731>
This timeout appears to be consistent on iPhone simulator release queues. https://commits.webkit.org/260575@main is in the regression range, and seems like it could be related.
This test is no longer timing out as of 261100@main, but I don't see an obvious change to credit with fixing it.