[webkit-changes] [WebKit/WebKit] c39358: Enable AudioSession Web API by default, but only a...

youennf noreply at github.com
Thu Jan 19 01:40:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c39358705b79ccf2da3b76a8be6334e7e3dfcfa6
      https://github.com/WebKit/WebKit/commit/c39358705b79ccf2da3b76a8be6334e7e3dfcfa6
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M LayoutTests/media/audioSession/audioSessionType.html
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/audiosession/DOMAudioSession.idl

  Log Message:
  -----------
  Enable AudioSession Web API by default, but only a reduced subset
https://bugs.webkit.org/show_bug.cgi?id=250764
rdar://104381410

Reviewed by Eric Carlson.

Enable by default navigator.audioSession and navigator.audioSession.type but not the state/event API.
For that purpose, introduce a second flag for the extended API.

Update LayoutTests/media/audioSession/audioSessionType.html to cover the new flag.
Remove the flaky test expectations for two related audioSession tests since they are no longer flaky in bots.

* LayoutTests/media/audioSession/audioSessionType.html:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/audiosession/DOMAudioSession.idl:

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




More information about the webkit-changes mailing list