Closed Bug 677300 Opened 13 years ago Closed 8 years ago

support XHR streaming data

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 687087

People

(Reporter: gal, Unassigned)

Details

API:

.responseType = "moz-streaming-arraybuffer" | "moz-streaming-string"

As a result,

.response

will be the partial response for the current onprogress event.

Outside the onprogress event stack .response returns null
Would there be any benefit to developing this kind of internal API anymore, rather than the nascent WhatWG Stream spec? (https://streams.spec.whatwg.org/)
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(gal)
Resolution: --- → WONTFIX
Andrea is a better person to ask about XHR.
Flags: needinfo?(gal) → needinfo?(amarchesini)
Note that we support the "moz-chunked-text" and "moz-chunked-arraybuffer" response types, which is precisely what this bug seems to have been about.  So afaict this is fixed as filed, no?
Flags: needinfo?(wisniewskit)
Yes, that would stand to reason. It looks like the chunked responses were added just after this bug was created, in bug 687087. I guess marking it as a duplicate is in order?
Flags: needinfo?(wisniewskit)
Makes sense to me.
Resolution: WONTFIX → DUPLICATE
Flags: needinfo?(amarchesini)
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.