Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 00309e084ae408fc8f3dcd8cff2287cc787b79c4
      
https://github.com/WebKit/WebKit/commit/00309e084ae408fc8f3dcd8cff2287cc787b79c4
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M 
LayoutTests/fast/mediastream/audio-session-category-capture-audio-context.html
    M LayoutTests/platform/ios-site-isolation/TestExpectations
    M LayoutTests/platform/ios/TestExpectations

  Log Message:
  -----------
  audio-session-category-capture-audio-context.html is an intermittent failure
https://bugs.webkit.org/show_bug.cgi?id=320412
rdar://183374036

Reviewed by Eric Carlson.

The test connects the MediaStreamSource to destination then waited a fixed
setTimeout(200) before stopping the track. That fixed delay does not guarantee
the mock capture audio has reached the destination yet.
When the track stops the WebAudio session is present but the
context was never audible, so isPlayingAudio is false and the category drops to
AmbientSound — the assertion failed.

Instead of a fixed time, we wait until the page is reporting IsPlayingAudio.

* 
LayoutTests/fast/mediastream/audio-session-category-capture-audio-context.html:
* LayoutTests/platform/ios-site-isolation/TestExpectations:
* LayoutTests/platform/ios/TestExpectations:

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



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

Reply via email to