Closed Bug 729176 Opened 12 years ago Closed 11 years ago

pass back actual JS references in the JS cycle collector listener API

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 863235

People

(Reporter: mccr8, Unassigned)

References

(Blocks 1 open bug)

Details

Honza suggested this.  Instead of just passing back the string address of an object, the listener API thing could pass back actual references to the JS objects, which would allow a JS caller to do further examination.  This would require wrapping the objects, but that's not a big deal.  We may have to worry about rooting the JS objects, but maybe we can guarantee the CC and GC aren't going to run between when we shove things into the C++ structure and when we pass them out and clear the C++ structure.

Probably not something we need to do immediately.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.