Boris - sorry, these are event listeners.
Bobby - that would rock. I'm removing the event listeners manually but this
requires some hardcoded dependencies to jQuery that I'd love to get rid of.
___
dev-platform mailing list
dev-platform@lists.mozilla.or
I've filed bug 864313 for improving the situation here. Should be pretty
straightforward to do.
On Mon, Apr 22, 2013 at 9:20 AM, Boris Zbarsky wrote:
> On 4/22/13 4:37 AM, Matthew Gertner wrote:
>
>> However, the sandbox lives on if it contains DOM event handlers that have
>> not been removed.
On 4/22/13 4:37 AM, Matthew Gertner wrote:
However, the sandbox lives on if it contains DOM event handlers that have not
been removed.
Event handlers, or event listeners?
For event listeners, this happens because they're not holding
cross-compartment wrappers, presumably... and that's not li
On Wednesday, April 17, 2013 3:57:58 PM UTC+2, Bobby Holley wrote:
> When you want the sandbox to die, you can do
> |Components.utils.nukeSandbox(sandbox)|, and it'll go away. Simple as that.
> :-)
I've been using this, and it indeed nukes the sandbox even if there are
backreferences from expand
On Wednesday, April 17, 2013 3:57:58 PM UTC+2, Bobby Holley wrote:
> When you want the sandbox to die, you can do
> |Components.utils.nukeSandbox(sandbox)|, and it'll go away. Simple as that.
>
> :-)
Awesome, exactly what I was looking for! I'm not sure how I missed that (would
be good to refere
On Wed, Apr 17, 2013 at 5:21 AM, Matthew Gertner wrote:
> I'm using Cu.evalInSandbox in a bootstrapped extension to run code in an
> isolated environment using a content window as the sandbox prototype. When
> the code adds expando properties to the window (e.g. jQuery), the sandbox
> predictably
I'm using Cu.evalInSandbox in a bootstrapped extension to run code in an
isolated environment using a content window as the sandbox prototype. When the
code adds expando properties to the window (e.g. jQuery), the sandbox
predictably leaks when the extension is disabled.
I assume that the sandb
7 matches
Mail list logo