[webkit-changes] [WebKit/WebKit] 4c3caa: REGRESSION (273978 at main): JPEG2000 Images in this ...

Said Abou-Hallawa noreply at github.com
Wed Mar 27 07:30:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c3caa5b7d5d1bb40f73483c3c947edddb93871e
      https://github.com/WebKit/WebKit/commit/4c3caa5b7d5d1bb40f73483c3c947edddb93871e
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2024-03-27 (Wed, 27 Mar 2024)

  Changed paths:
    A LayoutTests/pdf/unifiedpdf/images/jpeg2000-embed-pdf-expected.html
    A LayoutTests/pdf/unifiedpdf/images/jpeg2000-embed-pdf.html
    A LayoutTests/pdf/unifiedpdf/resources/400x400-green-jpeg2000.pdf
    M Source/WebCore/platform/graphics/cg/UTIRegistry.cpp

  Log Message:
  -----------
  REGRESSION (273978 at main): JPEG2000 Images in this PDF fail to display
https://bugs.webkit.org/show_bug.cgi?id=271726
rdar://125291465

Reviewed by Simon Fraser.

JPEG2000 can be supported only in PDF plugin, embedded objects and images. But
it should still be disabled anywhere else.

* LayoutTests/pdf/unifiedpdf/images/jpeg2000-embed-pdf-expected.html: Added.
* LayoutTests/pdf/unifiedpdf/images/jpeg2000-embed-pdf.html: Added.
* LayoutTests/pdf/unifiedpdf/resources/400x400-green-jpeg2000.pdf: Added.
* Source/WebCore/platform/graphics/cg/UTIRegistry.cpp:
(WebCore::allowableImageTypes):

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