Changeset 290497 in webkit
- Timestamp:
- Feb 25, 2022, 12:16:21 AM (4 years ago)
- Location:
- releases/WebKitGTK/webkit-2.36/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
NetworkProcess/PingLoad.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.36/Source/WebKit/ChangeLog
r290434 r290497 1 2022-02-22 Brent Fulgham <bfulgham@apple.com> 2 3 PingLoader is failing to call completion handler in error case 4 https://bugs.webkit.org/show_bug.cgi?id=237062 5 <rdar://50157253> 6 7 Reviewed by Chris Dumez. 8 9 The completion handler was not being called in the case of a PingLoad being redirected to 10 a non-HTTP(S) scheme. 11 12 * NetworkProcess/PingLoad.cpp: 13 (WebKit::PingLoad::willPerformHTTPRedirection): 14 1 15 2022-02-23 Maxim Cournoyer <maxim.cournoyer@gmail.com> 2 16 -
releases/WebKitGTK/webkit-2.36/Source/WebKit/NetworkProcess/PingLoad.cpp
r289018 r290497 135 135 m_networkLoadChecker->checkRedirection(ResourceRequest { }, WTFMove(request), WTFMove(redirectResponse), nullptr, [this, completionHandler = WTFMove(completionHandler)] (auto&& result) mutable { 136 136 if (!result.has_value()) { 137 this->didFinish(result.error()); 137 138 completionHandler({ }); 138 this->didFinish(result.error());139 139 return; 140 140 } … … 142 142 if (!request.url().protocolIsInHTTPFamily()) { 143 143 this->didFinish(ResourceError { String { }, 0, request.url(), "Redirection to URL with a scheme that is not HTTP(S)"_s, ResourceError::Type::AccessControl }); 144 completionHandler({ }); 144 145 return; 145 146 }
Note:
See TracChangeset
for help on using the changeset viewer.