[webkit-changes] [WebKit/WebKit] c13b4e: Fix display of Mail attachment objects
Gerald Squelart
noreply at github.com
Fri Apr 19 08:07:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c13b4ee742e41c48669d50cf734a31e780209fc1
https://github.com/WebKit/WebKit/commit/c13b4ee742e41c48669d50cf734a31e780209fc1
Author: Gerald Squelart <squelart at apple.com>
Date: 2024-04-19 (Fri, 19 Apr 2024)
Changed paths:
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/loader/SubframeLoader.cpp
M Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h
M Source/WebKitLegacy/mac/WebView/WebPreferences.mm
Log Message:
-----------
Fix display of Mail attachment objects
https://bugs.webkit.org/show_bug.cgi?id=272807
rdar://124692730
Reviewed by Alex Christensen.
Embedded objects in Mail signatures were broken when the
plugins-enabled preference was effectively removed.
This patch adds a quirk triggered on
[WebPreferences setPlugInsEnabled:YES], which then lets
FrameLoader::SubframeLoader::requestPlugin continue
handling the plugin-like objects in Mail signatures.
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/loader/SubframeLoader.cpp:
(WebCore::FrameLoader::SubframeLoader::requestPlugin):
* Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h:
* Source/WebKitLegacy/mac/WebView/WebPreferences.mm:
(-[WebPreferences arePlugInsEnabled]):
(-[WebPreferences setPlugInsEnabled:]):
Canonical link: https://commits.webkit.org/277738@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