[webkit-changes] [WebKit/WebKit] 3b0aba: Protect the response in FetchResponse::addAbortSteps
youennf
noreply at github.com
Tue Mar 21 01:00:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3b0abad03a57f7738d918702586801bd92043235
https://github.com/WebKit/WebKit/commit/3b0abad03a57f7738d918702586801bd92043235
Author: Youenn Fablet <youennf at gmail.com>
Date: 2023-03-21 (Tue, 21 Mar 2023)
Changed paths:
M Source/WebCore/Modules/fetch/FetchResponse.cpp
Log Message:
-----------
Protect the response in FetchResponse::addAbortSteps
https://bugs.webkit.org/show_bug.cgi?id=254152
rdar://106874891
Reviewed by Chris Dumez.
Aborting loader might destroy the response.
Make sure to protect it so that the response stays valid for the whole callback.
Covered by existing tests.
* Source/WebCore/Modules/fetch/FetchResponse.cpp:
(WebCore::FetchResponse::addAbortSteps):
Canonical link: https://commits.webkit.org/261909@main
More information about the webkit-changes
mailing list