Open Bug 1186036 Opened 9 years ago Updated 2 years ago

SandboxPrivate should preserve its wrapper

Categories

(Core :: XPConnect, defect)

defect

Tracking

()

REOPENED
Tracking Status
firefox42 --- affected

People

(Reporter: mccr8, Unassigned)

Details

As seen in bug 1154494 comment 27, users expect that the nsIGlobalObject for a sandbox will keep its reflector alive, but this is not true, requiring an awkward workaround where the reflector itself has to be explicitly rooted. bz said in IRC that this is because SandboxPrivate does not preserve its wrapper.

The main difficulty is going to be fixing the leaks that doing this will likely cause.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.