Closed
Bug 533079
Opened 15 years ago
Closed 15 years ago
Stream loader should use exposed allocator to provide adoptable memory
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | final-fixed |
People
(Reporter: neil, Assigned: neil)
References
Details
(Whiteboard: [can land 1.9.2])
Attachments
(2 files)
(deleted),
patch
|
Biesinger
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Biesinger
:
review+
|
Details | Diff | Splinter Review |
Bug 507970 allowed the stream loader's observer to adopt the stream loader's memory, but that memory is not allocated with a recognised allocator.
Assignee | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Yikes - I'm horrified, this means that what was landed for bug 507970 was not the correct "final" version of the nsStreamLoader patch. Clearly I goofed with Mercurial in some way. :(
This will need to go on 1.9.2 as well, the same error is there.
Comment 3•15 years ago
|
||
Comment on attachment 416257 [details] [diff] [review]
Proposed patch
Oh, that explains why I didn't know that the stream loader allowed the caller to adopt the buffer... because that's new! ;)
Attachment #416257 -
Flags: review?(cbiesinger) → review+
Updated•15 years ago
|
Flags: blocking1.9.2?
Assignee | ||
Comment 4•15 years ago
|
||
Ah, so I take it that what we actually want to land is this interdiff:
https://bugzilla.mozilla.org/attachment.cgi?oldid=400443&action=interdiff&newid=400543&headers=1
Assignee | ||
Comment 5•15 years ago
|
||
So, what flags do we need here?
Updated•15 years ago
|
Attachment #416326 -
Flags: review+
Comment 6•15 years ago
|
||
Assuming this has test coverage (woff reftests?) and that it's green after landing on trunk, I think you should just land this on the branch using the original a=shaver from bug 507970.
Updated•15 years ago
|
Flags: blocking1.9.2? → blocking1.9.2+
Assignee | ||
Comment 7•15 years ago
|
||
Pushed changeset edbc04b96cdc to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
Is this branch safe? Any reason we're not landing this on 1.9.2 yet?
Whiteboard: [can land 1.9.2]
Assignee | ||
Comment 9•15 years ago
|
||
(In reply to comment #8)
> Is this branch safe? Any reason we're not landing this on 1.9.2 yet?
Sorry, I was originally waiting for this to cycle on trunk first, and then I was too busy to follow up with the branch checkin. I'll check this in ASAP.
Comment 10•15 years ago
|
||
I've pushed this to 1.9.2:
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/fb202eb0ea63
status1.9.2:
--- → final-fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•