Closed
Bug 70207
Opened 25 years ago
Closed 25 years ago
get_js_status returns a string allocated with a mozilla allocator
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: pepper, Assigned: blizzard)
Details
Attachments
(2 files)
|
2.67 KB,
patch
|
Details | Diff | Splinter Review | |
|
2.69 KB,
patch
|
Details | Diff | Splinter Review |
When using the gtkmozembed widget to get JavaScript status, mozilla returns a
string allocated by mozilla, causing core dumps when freeing it from a gtk app.
| Assignee | ||
Updated•25 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Assignee | ||
Updated•25 years ago
|
Target Milestone: --- → mozilla0.9
Comment 2•25 years ago
|
||
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9 → mozilla0.9.1
| Assignee | ||
Comment 3•25 years ago
|
||
Comment 4•25 years ago
|
||
See my comment of 2001-05-18 18:11 in bug #78398 for how I hope to solve your
problem in the future (using string `generators').
Prefer the global |ToNewCString| from "nsReadableUtils.h" over the member
function, since the member function will be going away in the near future.
Other than that, your patch seems to be as good as it can be, given the string
machinery that's available to you. I hope to make it better soon, as per the
bug above. After you move to the global |ToNewCString| (or convince me the
member is better for you :-), then, sr=scc.
Comment 5•25 years ago
|
||
r=pavlov
Comment 6•25 years ago
|
||
assuming you change .ToNewCString() to ToNewCString() as per scc's comment,
r=arik
course it's kinda moot cause pav beat me to it... ah well...
| Assignee | ||
Comment 7•25 years ago
|
||
| Assignee | ||
Comment 8•25 years ago
|
||
Checked in. Thanks, guys!
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 9•25 years ago
|
||
Reassign qa contact to Dharma, who's working with js.
QA Contact: depstein → dsirnapalli
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•