Bug 269875
| Summary: | Adds Quirk so that booking.com sends simple JPEG to WebKit on iOS | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | WebKit Misc. | Assignee: | Karl Dubost <karlcow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, cdumez, rik, webkit-bug-importer |
| Priority: | P1 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://www.booking.com/hotel/us/milpitas-40-ranch-drive.html | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=280011 | ||
| Bug Depends on: | 178758 | ||
| Bug Blocks: | 269876 | ||
Karl Dubost
Steps to reproduce:
1. On iPhone with Safari
2. Go to https://www.booking.com/hotel/us/milpitas-40-ranch-drive.html
Expected:
See the images
Actual:
Images are not visible.
Why This is happening:
Because JPEG 2000 has been removed from WebKit. (Bug 178758)
Booking.com for Safari on iOS sends JPEG2000 versions of images in the raw HTTP responses for each HTML requests.
This is currently not detectable on released versions of Safari of iOS.
Outreach effort has been started.
See https://github.com/webcompat/web-bugs/issues/133697
FIX:
Proposal for the Quirk to fix it.
* On iOS *only*
* On booking.com *only*
* Sends the following `Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8` for HTML HTTP requests.
* No need to modify the Accept HTTP request headers for images requests.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/123408770>
Karl Dubost
Pull request: https://github.com/WebKit/WebKit/pull/24923
EWS
Committed 275216@main (7c18c3da4148): <https://commits.webkit.org/275216@main>
Reviewed commits have been landed. Closing PR #24923 and removing active labels.