Closed
Bug 863770
Opened 11 years ago
Closed 11 years ago
nsBinaryInputStream::ReadAsArrayBuffer needs to take an ArrayBuffer input
Categories
(Core :: XPCOM, defect)
Tracking
()
People
(Reporter: jdm, Assigned: jdm)
References
Details
(Whiteboard: [fixed-in-birch])
Attachments
(1 file)
Sometimes it matters in which compartment the ArrayBuffer is created, so we should have consumers pass in one for the method to use instead of creating one itself.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #739653 -
Flags: review?(vladimir)
Assignee | ||
Comment 2•11 years ago
|
||
This is required to make the email app work after bug 831107.
Assignee | ||
Updated•11 years ago
|
blocking-b2g: --- → tef?
Updated•11 years ago
|
Whiteboard: [status: patches awaiting review]
Comment on attachment 739653 [details] [diff] [review] Pass in an ArrayBuffer object for nsBinaryInputStream::ReadAsArrayBuffer to use, for cases when the compartment in which it resides matters. r+, but can you add an explicit comment to watch out if passing in SomeView.buffer, because the view might not start at byte 0 of the buffer.
Attachment #739653 -
Flags: review?(vladimir) → review+
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/3b288d222dd1 https://hg.mozilla.org/releases/mozilla-b2g18/rev/e4d44dd7ea32 https://hg.mozilla.org/projects/birch/rev/a991d0f4469b
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → fixed
status-firefox23:
--- → fixed
Whiteboard: [status: patches awaiting review] → [fixed-in-birch]
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a991d0f4469b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•