-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have "Handle Fetch" return error when request's streaming body is unusable #1563
Have "Handle Fetch" return error when request's streaming body is unusable #1563
Conversation
This is related to whatwg/fetch#1144. |
Co-authored-by: Anne van Kesteren <[email protected]>
Co-authored-by: Anne van Kesteren <[email protected]>
…utakahirano/ServiceWorker into yhirano/fetch-streaming-upload
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this mostly looks good and I think I also misunderstood some things initially. Left suggestions for improvements.
Fixed the PR per the discussion at whatwg/fetch#1144. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably also needs review from a service worker maintainer.
@jakearchibald , can you take a look? This is part of whatwg/fetch#1144. |
Co-authored-by: Mattias Buelens <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Glad this turned out so simple.
@yutakahirano are you happy for this to be merged? |
Also stop transmitting request's body in this scenario. Service worker PR: w3c/ServiceWorker#1563. Tests: web-platform-tests/wpt#27325. Fixes w3c/ServiceWorker#1560 and fixes #572.
Yeah, thank you! |
Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <[email protected]> Co-authored-by: Anne van Kesteren <[email protected]>
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <[email protected]> Co-authored-by: Anne van Kesteren <[email protected]> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: fc2a98935821f5df9bf73b8642ff68ab95e1ea17
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: fc2a98935821f5df9bf73b8642ff68ab95e1ea17
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: fc2a98935821f5df9bf73b8642ff68ab95e1ea17
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <[email protected]> Co-authored-by: Anne van Kesteren <[email protected]> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <[email protected]> Co-authored-by: Anne van Kesteren <[email protected]> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <[email protected]> Co-authored-by: Anne van Kesteren <[email protected]> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: 2472b38eb2f886421d5a062314a87dc33029a393
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: 02b382fb279e8edb2435787d95fd519f036320b3
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: 2472b38eb2f886421d5a062314a87dc33029a393
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: 02b382fb279e8edb2435787d95fd519f036320b3
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: 2472b38eb2f886421d5a062314a87dc33029a393
…before network fallback, a=testonly Automatic update from web-platform-tests Test cases where request body gets used before network fallback (#27325) Tests for whatwg/fetch#1144 and w3c/ServiceWorker#1563. Co-authored-by: Yutaka Hirano <yhiranochrmomium.org> Co-authored-by: Anne van Kesteren <annevkannevk.nl> -- wpt-commits: c30545df6a50c61f3673ed952c78c0a607100d45 wpt-pr: 27325 UltraBlame original commit: 02b382fb279e8edb2435787d95fd519f036320b3
Preview | Diff