Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a419b55e545cfc62d6db83c587a3d107611725a
      
https://github.com/WebKit/WebKit/commit/8a419b55e545cfc62d6db83c587a3d107611725a
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKit/file-with-managedmse.html
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPageHasMediaStreamingActivity.mm

  Log Message:
  -----------
  REGRESSION(306380@main) [Tahoe Debug x86_64] 
TestWebKitAPI.WebKit.ManagedMSEHasMediaStreamingActivity is flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=306970
rdar://169640786

Reviewed by Youenn Fablet.

The test was racy. It was possible for `startStreaming()` to be called
before the `sourceopen` event had been fired and the MediaSource's readyState
to move to the `open` state. Under such condition `sourceopen(event)` wouldn't
have been called and the sourceBuffer wouldn't have been created leading to
an exception when attempting to call addEventListener.
We remove this race by ensuring the MediaSource is `open` from within the 
`startStreaming()`
run.

* Tools/TestWebKitAPI/Tests/WebKit/file-with-managedmse.html:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPageHasMediaStreamingActivity.mm:
(TestWebKitAPI::TEST(WebKit, ManagedMSEHasMediaStreamingActivity)): Re-enable 
test.

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



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

Reply via email to