[webkit-changes] [WebKit/WebKit] 6ce612: [Lockdown Mode] Lockdown Mode Safe Font feature fl...
apple-fcloutier
noreply at github.com
Thu Feb 29 23:06:10 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6ce61264b7ca7855ae3e0a5de0eeebe94e606b97
https://github.com/WebKit/WebKit/commit/6ce61264b7ca7855ae3e0a5de0eeebe94e606b97
Author: Félix Cloutier <fcloutier at apple.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M Source/WebKit/WebProcess/WebPage/WebPage.cpp
Log Message:
-----------
[Lockdown Mode] Lockdown Mode Safe Font feature flag gets stuck, cannot be enabled in some cases
https://bugs.webkit.org/show_bug.cgi?id=270307
rdar://123848733
Reviewed by Brent Fulgham.
Due to a logic error, when the Lockdown Mode Safe Font feature flag goes to
`DownloadableBinaryFontTrustedTypes::Restricted` or `...::FallbackParser`, it
gets stuck in that state and can't progress to the other. This makes the
"Lockdown Mode Safe Font" setting toggle ineffective.
This change addresses the issue by allowing state transitions from any
`DownloadableBinaryFontTrustedTypes` state except `...::None`.
* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::adjustSettingsForLockdownMode):
Canonical link: https://commits.webkit.org/275539@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