[webkit-changes] [WebKit/WebKit] f57f3b: Add a quirk for speaker selection permissions poli...

youennf noreply at github.com
Fri Jan 17 10:36:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f57f3b7afb3ffaddc0e4b5cf78f701b592240e5b
      https://github.com/WebKit/WebKit/commit/f57f3b7afb3ffaddc0e4b5cf78f701b592240e5b
  Author: Youenn Fablet <youenn at apple.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M Source/WebCore/Modules/mediastream/MediaDevices.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h
    M Source/WebCore/page/QuirksData.h

  Log Message:
  -----------
  Add a quirk for speaker selection permissions policy for codepen.io
https://bugs.webkit.org/show_bug.cgi?id=286144
rdar://problem/143128623

Reviewed by Eric Carlson.

Codepen is not including speaker selection permission policy.
We quirk by instead relying on microphone permission policy to decide whether speakers can be exposed or not.

Manually tested.

* Source/WebCore/Modules/mediastream/MediaDevices.cpp:
(WebCore::isFeaturePolicyAllowingSpeakerSelection):
(WebCore::checkSpeakerAccess):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldEnableSpeakerSelectionPermissionsPolicyQuirk const):
(WebCore::handleCodepenQuirks):
(WebCore::Quirks::determineRelevantQuirks):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:

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



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


More information about the webkit-changes mailing list