[webkit-changes] [WebKit/WebKit] 52ced8: [macOS] Suppress the SCStream privacy alert

Eric Carlson noreply at github.com
Mon Aug 7 15:27:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 52ced8d1a83a8e33d01115262b01a55ec3e0b0ff
      https://github.com/WebKit/WebKit/commit/52ced8d1a83a8e33d01115262b01a55ec3e0b0ff
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm

  Log Message:
  -----------
  [macOS] Suppress the SCStream privacy alert
https://bugs.webkit.org/show_bug.cgi?id=259889
rdar://113510677

Reviewed by Andy Estes.

WebKit only allows one tab to capture at a time, so the SCStream privacy alert is confusing
and unnecessary.

* Source/WebCore/platform/mediastream/mac/ScreenCaptureKitCaptureSource.mm:
(WebCore::ScreenCaptureKitCaptureSource::streamConfiguration): Set
`configuration.presenterOverlayPrivacyAlertSetting` to `SCPresenterOverlayAlertSettingNever`

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




More information about the webkit-changes mailing list