Closed Bug 1491740 Opened 6 years ago Closed 6 years ago

(await fetch('...')).body is undefined

Categories

(Core :: DOM: Networking, defect)

62 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1469359

People

(Reporter: super.driver.512, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 Build ID: 20180830143136 Steps to reproduce: (await fetch('...')).body is undefined on Firefox, but it's a ReadableStream on Chromium. Expected results: The MDN documentation says Response objects should have ReadableStream body property, which is the case in Chromium, but not on Firefox.
Jason, I just want to make clear who is responsible for the fetch() code these days, if Necko or someone else. Please advice. If us, this is a P2 to at least investigate if this is an actual bug or not.
Flags: needinfo?(jduell.mcbugs)
body is part of the nascent ReadableStream API: https://developer.mozilla.org/en-US/docs/Web/API/Body/body I believe we're tracking this in bug 1387483.
Honza: we're supposed to triage, and depending on the issue, fix ourselves or find existing DOM folks to take. Looks to me like this bug is a dupe of bug 1469359? Reopen if I'm wrong. I'll ask about priority there.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(jduell.mcbugs)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.