Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c3b03a9bd5f5b389206d97112f60d903c6e01d63
      
https://github.com/WebKit/WebKit/commit/c3b03a9bd5f5b389206d97112f60d903c6e01d63
  Author: Eric Carlson <eric.carl...@apple.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

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

  Log Message:
  -----------
  [iOS] Don't assume the type of objects returned by `[NSBundle 
objectForInfoDictionaryKey:`
https://bugs.webkit.org/show_bug.cgi?id=252342
rdar://105248790

Reviewed by Jer Noble.

The "UIBackgroundModes" in an application's info.plist is _supposed_ to be a 
dictionary,
but it can be any valid plist type so don't assume `[NSBundle 
objectForInfoDictionaryKey:@"UIBackgroundModes"`
will return an NSDictionary.

* Source/WebCore/platform/mediastream/mac/RealtimeMediaSourceCenterMac.mm:
(WebCore::RealtimeMediaSourceCenter::shouldInterruptAudioOnPageVisibilityChange):

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to