Closed
Bug 875622
Opened 11 years ago
Closed 11 years ago
Fix unsafe JS::Value reference in ConvertJSValueToString
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(2 files)
(deleted),
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
We should just have a handle here, I suspect.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #753612 -
Flags: review?(bugs)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #753613 -
Flags: review?(bugs)
Assignee | ||
Updated•11 years ago
|
Whiteboard: [need review]
Updated•11 years ago
|
Attachment #753612 -
Flags: review?(bugs) → review+
Comment 3•11 years ago
|
||
Comment on attachment 753613 [details] [diff] [review]
part 2. Use handles in ConvertJSValueToString.
Why don't we get Handle as param to nsGenericHTMLElement::SetItemValue?
Attachment #753613 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 4•11 years ago
|
||
> Why don't we get Handle as param to nsGenericHTMLElement::SetItemValue?
The bindings used to pass raw Value and I didn't update all callees when I changed them to pass in handles. But it wouldn't help here anyway, since we need a MutableHandle here too, so we'd still need to set up the Rooted.
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/57c0aeecd749
https://hg.mozilla.org/integration/mozilla-inbound/rev/ff4d7b275942
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla24
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/57c0aeecd749
https://hg.mozilla.org/mozilla-central/rev/ff4d7b275942
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
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
•