Changeset 277028 in webkit
- Timestamp:
- May 5, 2021, 10:58:55 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r277024 r277028 1 2021-05-05 Youenn Fablet <youenn@apple.com> 2 3 No need to error a fetch body stream if its request or response is stopped 4 https://bugs.webkit.org/show_bug.cgi?id=225347 5 6 Reviewed by Geoffrey Garen. 7 8 * http/wpt/fetch/fetch-response-body-stop-in-worker-expected.txt: Added. 9 * http/wpt/fetch/fetch-response-body-stop-in-worker.html: Added. 10 1 11 2021-05-05 Sam Weinig <weinig@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r277024 r277028 1 2021-05-05 Youenn Fablet <youenn@apple.com> 2 3 No need to error a fetch body stream if its request or response is stopped 4 https://bugs.webkit.org/show_bug.cgi?id=225347 5 6 Reviewed by Geoffrey Garen. 7 8 Test: http/wpt/fetch/fetch-response-body-stop-in-worker.html 9 10 * Modules/fetch/FetchBodyOwner.cpp: 11 (WebCore::FetchBodyOwner::stop): 12 Nullify the source before we error it. 13 1 14 2021-05-05 Sam Weinig <weinig@apple.com> 2 15 -
trunk/Source/WebCore/Modules/fetch/FetchBodyOwner.cpp
r266168 r277028 57 57 void FetchBodyOwner::stop() 58 58 { 59 m_readableStreamSource = nullptr; 59 60 if (m_body) 60 61 m_body->cleanConsumer();
Note:
See TracChangeset
for help on using the changeset viewer.