[webkit-changes] [WebKit/WebKit] 7598f5: media/audioSession/audioSessionType.html is flaky

youennf noreply at github.com
Wed Jan 4 02:56:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7598f5a99fa221d4c542a8715fa0cc5655444789
      https://github.com/WebKit/WebKit/commit/7598f5a99fa221d4c542a8715fa0cc5655444789
  Author: Youenn Fablet <youennf at gmail.com>
  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




More information about the webkit-changes mailing list