[webkit-changes] [WebKit/WebKit] 45c98e: [visionOS] Refine MIME Type detection for Image Fu...

Etienne Segonzac noreply at github.com
Wed Mar 20 17:52:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 45c98e354986bec75c307d9a0c4c29c44b39dd59
      https://github.com/WebKit/WebKit/commit/45c98e354986bec75c307d9a0c4c29c44b39dd59
  Author: Etienne Segonzac <sgz at apple.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp

  Log Message:
  -----------
  [visionOS] Refine MIME Type detection for Image Fullscreen
https://bugs.webkit.org/show_bug.cgi?id=271321
<rdar://125023525>

Reviewed by Mike Wyrzykowski.

Fall back to generating a MIME Type based on the file extension if the
server-sent MIME Type is not a supported image type.
Bail out of the Quick Look path is this doesn't work either.

* Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp:
(WebKit::WebFullScreenManager::enterFullScreenForElement):

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