[webkit-changes] [WebKit/WebKit] 15862a: REGRESSION (268779 at main): Style sheets fail to loa...
Wenson Hsieh
noreply at github.com
Wed Dec 20 14:02:05 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 15862a58a171e73ee12f97feb0fbe4d262b5202b
https://github.com/WebKit/WebKit/commit/15862a58a171e73ee12f97feb0fbe4d262b5202b
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2023-12-20 (Wed, 20 Dec 2023)
Changed paths:
M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
M Source/WebCore/loader/cache/CachedCSSStyleSheet.cpp
Log Message:
-----------
REGRESSION (268779 at main): Style sheets fail to load in the 交通银行 app on iOS
https://bugs.webkit.org/show_bug.cgi?id=266716
rdar://118649749
Reviewed by Chris Dumez.
Add a new linked-on-or-after check to guard the (spec-compliant) behavior change in 268779 at main. In
particular, the response status code for the stylesheets loaded in this app are 0, due to the
returned `NSURLResponse` in `WKNetworkSessionDelegate` not being a subclass of `NSHTTPURLResponse`.
* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
* Source/WebCore/loader/cache/CachedCSSStyleSheet.cpp:
(WebCore::CachedCSSStyleSheet::canUseSheet const):
Canonical link: https://commits.webkit.org/272379@main
More information about the webkit-changes
mailing list