Summary: | "ReadableStream uploading is not supported" when fetch()ing a Request that has been logged to console | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jeffrey Posnick <webkit> | ||||||||
Component: | Service Workers | Assignee: | youenn fablet <youennf> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | achristensen, bakkot, beidson, james.webkittracker, philip, tomac, webkit-bug-importer, youennf | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | Safari 13 | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
Jeffrey Posnick
2019-10-30 10:40:25 PDT
Logging to the console isn't the problem, it's trying to access the `body` property at all. A simpler reproduction is ``` let req = new Request('/', { method: 'post', body: 'stuff' }); req.body; // this has effects! remove it and the line below will work fetch(req); // this doesn't work ``` Created attachment 448371 [details]
Patch
Created attachment 448381 [details]
Patch
Committed r287675 (245772@main): <https://commits.webkit.org/245772@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448381 [details]. |