Closed
Bug 962176
Opened 12 years ago
Closed 11 years ago
PersistentRootedValue should have ValueOperations
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1107639
People
(Reporter: soubok, Unassigned)
References
(Blocks 1 open bug)
Details
It should be possible to write:
JS::PersistentRootedValue foo(cx);
foo.setObject(...);
Comment 1•12 years ago
|
||
I see that RootedValue inherits ValueOperations through the specialization of RootedBase in Value.h. Doing something analogous here ('PersistentRootedBase', perhaps?) seems like it would be appropriate. I don't have time at the moment to do it myself, but I'd gladly review a patch.
Updated•12 years ago
|
OS: Windows XP → All
Hardware: x86 → All
Comment 2•12 years ago
|
||
This should not transitively block us from closing Exact Rooting. Moving it to GC.stability for now, although it's not a great fit there.
Updated•11 years ago
|
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.
Description
•