Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 15862a58a171e73ee12f97feb0fbe4d262b5202b
https://github.com/WebKit/WebKit/commit/15862a58a171e73ee12f97feb0fbe4d262b5202b
Author: Wenson Hsieh <[email protected]>
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@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@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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes