Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[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
- Loading branch information
Showing
5 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
</head> | ||
</body> | ||
<script> | ||
window.location.href = "/resources/load-and-stall.py?name=green-400x400.heic&mimeType=image%2Fheic"; | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
</head> | ||
</body> | ||
<script> | ||
window.location.href = "/resources/load-and-stall.py?name=green-400x400.heic&mimeType=image%2Fheif"; | ||
</script> | ||
</body> | ||
</html> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters