Bug 1882697 [wpt PR 44847] - ReadableStream should be cancelled on aborting fetch...
commitae7cb1dedec48ae25b05d645c43cd7ae7ef3ac16
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Tue, 12 Mar 2024 22:29:29 +0000 (12 22:29 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 14 Mar 2024 08:38:27 +0000 (14 08:38 +0000)
treee585b2708cbf15d30c310d84af44faa347e02477
parent798d917891605ce3fe6bfb49ef2f394495491479
Bug 1882697 [wpt PR 44847] - ReadableStream should be cancelled on aborting fetch streaming upload, a=testonly

Automatic update from web-platform-tests
ReadableStream should be cancelled on aborting fetch streaming upload (#44847)

Following https://fetch.spec.whatwg.org/#abort-fetch, this CL
lets FetchManager cancels the body ReadableStream with error.
This also fixes fetch itself rejects with the error as well.

Fixed: 40071725
Change-Id: Iaed204b1facd1ef94047cd5342ad3eb1ce6aa260
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5261357
Reviewed-by: Adam Rice <ricea@chromium.org>
Commit-Queue: Yoichi Osato <yoichio@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1268209}

Co-authored-by: Yoichi Osato <yoichio@chromium.org>
--

wpt-commits: 5e9955028082d111b566d19c4f72b06d07737dd1
wpt-pr: 44847
testing/web-platform/tests/fetch/api/basic/request-upload.h2.any.js