Closed
Bug 906940
Opened 11 years ago
Closed 11 years ago
Exactly root IsAcceptableThis
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: terrence, Assigned: terrence)
References
Details
Attachments
(2 files)
22.18 KB,
patch
|
jonco
:
review+
|
Details | Diff | Splinter Review |
4.17 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
IsAccpetableThis is an indirectly call template parameter, which ends up dispatching to a templatized method. I am not confident that our analysis -- or myself for that matter -- is sufficient to catch any hazards here, so I changed the type to verify. I didn't end up needing to add any roots for opt builds, so I figure we might as well keep the patch.
Attachment #792495 -
Flags: review?(jcoppeard)
Assignee | ||
Comment 1•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=c58c4b95c033
Attachment #792499 -
Flags: review?(continuation)
Updated•11 years ago
|
Attachment #792499 -
Flags: review?(continuation) → review?(bugs)
Comment 2•11 years ago
|
||
Comment on attachment 792495 [details] [diff] [review] handlify_IsAcceptableThis_callback-js-v0.diff Review of attachment 792495 [details] [diff] [review]: ----------------------------------------------------------------- Looks nice!
Attachment #792495 -
Flags: review?(jcoppeard) → review+
Comment 3•11 years ago
|
||
Comment on attachment 792499 [details] [diff] [review] handlify_IsAcceptableThis_callback-browser-v0.diff ValueHasISupportsPrivate(JSContext* cx, const JS::Value& aVal) JSContext* aCX The method is a bit ugly, but ok since it is debug only.
Attachment #792499 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Yeah, I wish there were an easier way to go from a Value to a GCThing pointer. https://hg.mozilla.org/integration/mozilla-inbound/rev/6eaf9e414a52
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6eaf9e414a52
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•