Fetch: Throw a TypeError for a keepalive request with stream body
According to the Fetch Standard, attempting to create a Request object with a body that is a ReadableStream and the keepalive flag set should throw a TypeError exception. Make it do that. Since we don't yet support upload streaming, this doesn't make much functional difference, but it lets us pass the external/wpt/fetch/api/request/request-keepalive.html test. BUG=973659 Change-Id: Ib3919d28a99691cfdde640b2dfb9e695b9e0c8a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2030349 Commit-Queue: Adam Rice <ricea@chromium.org> Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#736815}
Showing
Please register or sign in to comment