Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a5a2565fbf688e88695b85cc558964873ee2afb
      
https://github.com/WebKit/WebKit/commit/1a5a2565fbf688e88695b85cc558964873ee2afb
  Author: Andy Estes <[email protected]>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/webaudio/AudioContext.cpp
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/html/MediaElementSession.cpp
    M Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h

  Log Message:
  -----------
  [tvOS] Allow publishing Now Playing metadata in ephemeral sessions
https://bugs.webkit.org/show_bug.cgi?id=277723
rdar://133340530

Reviewed by Jer Noble.

Added an embedder-controlled web preference to allow privacy-sensitive 
operations to occur in
non-persistent website data stores. For now this preference is used to control 
whether media
metadata (e.g., title, artist, artwork) is vended to Now Playing. It may be 
used in other places in
the future (e.g., when deciding whether privacy-sensitive logging should be 
allowed).

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/webaudio/AudioContext.cpp:
(WebCore::AudioContext::nowPlayingInfo const):
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaSessionTitle const):
* Source/WebCore/html/MediaElementSession.cpp:
(WebCore::MediaElementSession::computeNowPlayingInfo const):
* Source/WebKit/UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences 
_setAllowPrivacySensitiveOperationsInNonPersistentDataStores:]):
(-[WKPreferences _allowPrivacySensitiveOperationsInNonPersistentDataStores]):
* Source/WebKit/UIProcess/API/Cocoa/WKPreferencesPrivate.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to