W3C home > Mailing lists > Public > public-webapi@w3.org > October 2006

Re: ISSUE-96: What happens if a Node StaticNodeList points to no longer exists?

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sun, 22 Oct 2006 11:14:39 -0500
Message-ID: <453B98EF.4080400@mit.edu>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: Web APIs WG <public-webapi@w3.org>

Lachlan Hunt wrote:
>> ISSUE-96: What happens if a Node StaticNodeList points to no longer 
>> exists?
> 
> How can that possibly occur?  Even if the node is removed from the DOM, 
> it will still exist because the garbage collector won't delete it

That's not obvious, a priori (e.g. if the reference is not through the 
ECMAScript engine).  But I agree that the behavior should be as if the reference 
were through the ECMAScript engine.

-Boris
Received on Sunday, 22 October 2006 16:14:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:56 GMT