Closed Bug 251149 Opened 20 years ago Closed 3 years ago

Don't root JSObjects in nsJSObjWrapper

Categories

(Core Graveyard :: Plug-ins, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jst, Unassigned)

References

Details

As per Brendan's suggestion in bug 250666 comment #3:

Idea: A GC root per nsJSObjWrapper/JSObjWrapperHashEntry makes for a separately
new/delete'd objct (nsJSObjWrapper), the sJSObjWrappers double-hashtable entry,
and the GC roots double-hashtable entry.  You could get rid of the last by
marking each obj reached from the next-to-last, using a GCCallback for
JSGC_MARK_END.

/be
Blocks: 251151
Priority: -- → P3
Assignee: jst → nobody
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.