[webkit-changes] [WebKit/WebKit] ffff05: [cocoa] Add NSURLErrorNotConnectedToInternet as a ...
Commit Queue
noreply at github.com
Thu Oct 24 15:37:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ffff05641aecc8dc8a090732066a6153a91e7207
https://github.com/WebKit/WebKit/commit/ffff05641aecc8dc8a090732066a6153a91e7207
Author: Matthew Finkel <m_finkel at apple.com>
Date: 2024-10-24 (Thu, 24 Oct 2024)
Changed paths:
M Source/WebCore/platform/network/mac/ResourceErrorMac.mm
Log Message:
-----------
[cocoa] Add NSURLErrorNotConnectedToInternet as a HTTP fallback error code
https://bugs.webkit.org/show_bug.cgi?id=281880
rdar://136459107
Reviewed by Brent Fulgham.
Falling back to HTTP is appropriate for some network conditions that cause this
error, such as speaking TLS to a server listening for HTTP.
I couldn't find a way to make a test for this change because nw_connection
doesn't provide a way to replicate the necessary network behavior.
* Source/WebCore/platform/network/mac/ResourceErrorMac.mm:
(WebCore::ResourceError::errorRecoveryMethod const):
Canonical link: https://commits.webkit.org/285670@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