[webkit-changes] [WebKit/WebKit] 1ad9ae: [HEIC] Content-Type: image/heif offers to download...

Myles C. Maxfield noreply at github.com
Mon Jun 12 16:56:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1ad9aed19a4bdd4dd2f90f1c2ba72cd9d65b2276
      https://github.com/WebKit/WebKit/commit/1ad9aed19a4bdd4dd2f90f1c2ba72cd9d65b2276
  Author: Myles C. Maxfield <mmaxfield at apple.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

  Changed paths:
    A LayoutTests/http/tests/images/heic-as-heif-expected.html
    A LayoutTests/http/tests/images/heic-as-heif.html
    A LayoutTests/http/tests/resources/green-400x400.heic
    M Source/WebCore/platform/MIMETypeRegistry.cpp
    M Source/WebCore/platform/graphics/cg/UTIRegistry.cpp

  Log Message:
  -----------
  [HEIC] Content-Type: image/heif offers to download the image, rather than showing it as an image document
https://bugs.webkit.org/show_bug.cgi?id=257986
rdar://110667964

Reviewed by Tim Nguyen.

This is simply a data change. HEIC support needs to recognize image/heif too.

* LayoutTests/http/tests/images/heic-as-heif-expected.html: Added.
* LayoutTests/http/tests/images/heic-as-heif.html: Added.
* LayoutTests/http/tests/resources/green-400x400.heic: Added.
* Source/WebCore/platform/MIMETypeRegistry.cpp:
* Source/WebCore/platform/graphics/cg/UTIRegistry.cpp:
(WebCore::defaultSupportedImageTypes):

Canonical link: https://commits.webkit.org/265091@main




More information about the webkit-changes mailing list