[Bug 21976] [imports]: Preventing DOM hierarchy cycles

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21976

Olli Pettay <bugs@pettay.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugs@pettay.fi

--- Comment #16 from Olli Pettay <bugs@pettay.fi> ---
(In reply to Morrita Hajime from comment #14)

> In this case, I think it is OK to disconnect <link> from the imported
> document,
> and allow |link.import| to return null.
> This is useless edge case where we just have to prevent terrible things
> (leak, crash) from happening.
> 
> Does this make sense?
return null doesn't sounds ok to me.


Gecko would just use cycle collector for this kind of stuff, and objects would
stay alive as long as they can be accessed from JS.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 1 October 2013 17:35:12 UTC