[webkit-changes] [WebKit/WebKit] 80451b: REGRESSION(289593 at main): WebP images are displayed...

Said Abou-Hallawa noreply at github.com
Wed Feb 5 03:24:43 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 80451b7f998e69cb61db8260e0265fee8d5ff4fc
      https://github.com/WebKit/WebKit/commit/80451b7f998e69cb61db8260e0265fee8d5ff4fc
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/cg/UTIRegistry.mm
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm

  Log Message:
  -----------
  REGRESSION(289593 at main): WebP images are displayed as broken images in lockdown mode
https://bugs.webkit.org/show_bug.cgi?id=287062
rdar://144177767

Reviewed by Per Arne Vollan.

Since process-entitlements.sh can set the the entitlements for the allowed images
types in lockdown mode correctly, CGImageSourceSetAllowableTypes() should not be
called in lockdown mode.

* Source/WebCore/platform/graphics/cg/UTIRegistry.mm:
(WebCore::lockdownSupportedImageTypes):
* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::platformInitialize):

Canonical link: https://commits.webkit.org/289860@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