Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7598f5a99fa221d4c542a8715fa0cc5655444789
https://github.com/WebKit/WebKit/commit/7598f5a99fa221d4c542a8715fa0cc5655444789
Author: Youenn Fablet <[email protected]>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
M LayoutTests/media/audioSession/audioSessionType.html
Log Message:
-----------
media/audioSession/audioSessionType.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=249998
rdar://problem/103810613
Reviewed by Eric Carlson.
The category is set based on media element state.
When a media element is playing, its category should be MediaPlayback.
But this is racy with how the test is written (promise returned by play).
To make the test more predictable, we check internals.audioSessionCategory
until it has the expected value.
* LayoutTests/media/audioSession/audioSessionType.html:
Canonical link: https://commits.webkit.org/258426@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes