Closed Bug 423219 Opened 16 years ago Closed 16 years ago

passing a variant to XMLHttpRequest::Send uses a nonseekable input stream

Categories

(Core :: XML, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

compare bug 422537

The GetAsWString codepath uses nsIScriptableUnicodeConverter::ConvertToInputStream which results in a nonseekable input stream.

Streams passed to nsIUploadChannel should be seekable, see also the comments in nsIUploadChannel.idl

Not sure what the best fix here is, it's probably to make ConvertToInputStream return a seekable stream somehow.
hm, no, comment 0 is wrong. passing a variant to XMLHttpRequest::Send doesn't seem to work, results in a null stream.
nevermind. all my mistake.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.