[webkit-changes] [WebKit/WebKit] 937428: Remove Quirk when booking.com sends simple JPEG in...

Karl Dubost noreply at github.com
Wed Mar 13 08:41:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9374282dca203b624bed17ffc1fd178216c19e0a
      https://github.com/WebKit/WebKit/commit/9374282dca203b624bed17ffc1fd178216c19e0a
  Author: Karl Dubost <karlcow at apple.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M Source/WebCore/loader/FrameLoader.cpp
    M Source/WebCore/loader/cache/CachedResourceLoader.cpp
    M Source/WebCore/loader/cache/CachedResourceRequest.cpp
    M Source/WebCore/loader/cache/CachedResourceRequest.h
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  Remove Quirk when booking.com sends simple JPEG instead of JPEG2000 to WebKit on iOS
https://bugs.webkit.org/show_bug.cgi?id=269876
rdar://123409087

Reviewed by Chris Dumez.

Booking.com doesn't JPEG2 anymore to Safari since March 8, 2024.
The Quirk can be removed.

* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::updateRequestAndAddExtraFields):
* Source/WebCore/loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::prepareFetch):
* Source/WebCore/loader/cache/CachedResourceRequest.cpp:
(WebCore::CachedResourceRequest::acceptHeaderValueFromType):
(WebCore::CachedResourceRequest::setAcceptHeaderIfNone):
* Source/WebCore/loader/cache/CachedResourceRequest.h:
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldSendLongerAcceptHeaderQuirk): Deleted.
* Source/WebCore/page/Quirks.h:

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