Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2b6529663f248b24dfdc74c13e969a7062979cd0
      
https://github.com/WebKit/WebKit/commit/2b6529663f248b24dfdc74c13e969a7062979cd0
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2026-04-30 (Thu, 30 Apr 2026)

  Changed paths:
    M Tools/TestWebKitAPI/Resources/cocoa/element-fullscreen.html
    M 
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/FullscreenVideoTextRecognition.mm

  Log Message:
  -----------
  NEW TEST(311561@main): [iOS Release] 
TestWebKitAPI.FullscreenVideoTextRecognition.NoOverlayInstalledAfterSeekAndExitingNativeVideoFullscreen
 is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=312934
rdar://175287130

Reviewed by Jer Noble.

loadSource listened for load, an event <video> never fires, AND the calling JS 
body lacked return, so the harness's
async wrapper dropped the Promise. loadVideoSource never actually waited for 
the video to load.

On iOS, JavaScriptEvaluationResult was surfacing the result an NSError that 
looked exactly like a JS rejection.
We now listen to loadeddata event instead and add handling for error so we can 
be diagnosed potential issues.

We re-enable the disabled API tests.

* Tools/TestWebKitAPI/Resources/cocoa/element-fullscreen.html:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/FullscreenVideoTextRecognition.mm:
(-[FullscreenVideoTextRecognitionWebView loadVideoSource:]):
(TestWebKitAPI::TEST(FullscreenVideoTextRecognition, 
NoOverlayInstalledAfterSeekAndExitingNativeVideoFullscreen)):

Canonical link: https://commits.webkit.org/312417@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to