[webkit-changes] [WebKit/WebKit] 151a75: Image types enabled by additionalSupportedImageTyp...
Myles C. Maxfield
noreply at github.com
Fri Mar 3 02:35:15 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 151a757aa72b7bb9165f9c72fea85bbd09a9181d
https://github.com/WebKit/WebKit/commit/151a757aa72b7bb9165f9c72fea85bbd09a9181d
Author: Myles C. Maxfield <mmaxfield at apple.com>
Date: 2023-03-03 (Fri, 03 Mar 2023)
Changed paths:
M LayoutTests/TestExpectations
A LayoutTests/http/tests/misc/heic-accept-header-expected.txt
A LayoutTests/http/tests/misc/heic-accept-header.html
A LayoutTests/http/tests/misc/resources/green-400x400.heic
A LayoutTests/http/tests/misc/resources/image-heic-accept.py
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac/TestExpectations
M Source/WebCore/loader/cache/CachedResourceRequest.cpp
Log Message:
-----------
Image types enabled by additionalSupportedImageTypes do not show up in the Accept: header
https://bugs.webkit.org/show_bug.cgi?id=253046
rdar://106006530
Reviewed by Said Abou-Hallawa.
We can simply augment the Accept: header with the mime types of these image formats.
* LayoutTests/http/tests/misc/heic-accept-header-expected.txt: Added.
* LayoutTests/http/tests/misc/heic-accept-header.html: Added.
* LayoutTests/http/tests/misc/resources/image-heic-accept.py: Added.
* Source/WebCore/loader/cache/CachedResourceRequest.cpp:
(WebCore::acceptHeaderValueForAdditionalSupportedImageMIMETypes):
(WebCore::acceptHeaderValueForImageResource):
Canonical link: https://commits.webkit.org/261131@main
More information about the webkit-changes
mailing list