[webkit-changes] [WebKit/WebKit] c3b03a: [iOS] Don't assume the type of objects returned by...
Eric Carlson
noreply at github.com
Wed Feb 15 16:25:47 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c3b03a9bd5f5b389206d97112f60d903c6e01d63
https://github.com/WebKit/WebKit/commit/c3b03a9bd5f5b389206d97112f60d903c6e01d63
Author: Eric Carlson <eric.carlson at 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
More information about the webkit-changes
mailing list