Closed
Bug 1448795
Opened 7 years ago
Closed 7 years ago
nsMIMEInputStream must call OnInputStreamReady() with the correct nsIAsyncInputStream
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file)
3.83 KB,
patch
|
asuth
:
review+
|
Details | Diff | Splinter Review |
This is is wrong:
nsCOMPtr<nsIAsyncInputStream> asyncStream = do_QueryInterface(mStream);
return asyncStream->AsyncWait(
aCallback, aFlags, aRequestedCount, aEventTarget);
https://searchfox.org/mozilla-central/source/netwerk/base/nsMIMEInputStream.cpp#245-246
because the callback will receive the internal stream as argument and not the current nsIMIMEInputStream.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8962280 -
Flags: review?(bugmail)
Comment 2•7 years ago
|
||
Comment on attachment 8962280 [details] [diff] [review]
mime.patch
Review of attachment 8962280 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah, I cut a corner at the time :(
Attachment #8962280 -
Flags: review?(bugmail) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7429f5566dd9
nsMIMEInputStream must call OnInputStreamReady() with the correct nsIAsyncInputStream, r=asuth
Comment 4•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•