SandboxPrivate should preserve its wrapper

REOPENED
Unassigned

Status

()

Core
XPConnect
REOPENED
3 years ago
23 hours ago

People

(Reporter: mccr8, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox42 affected)

Details

(Reporter)

Description

3 years ago
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.

Comment 1

2 days ago
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
Last Resolved: 2 days ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
You need to log in before you can comment on or make changes to this bug.