W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2010

Re: Moving NodeIterators in NodeFilters

From: Andrew Oakley <andrew@ado.is-a-geek.net>
Date: Mon, 19 Apr 2010 14:52:47 +0100
Message-ID: <4BCC602F.6030105@ado.is-a-geek.net>
To: www-dom@w3.org
On 15/04/10 13:12, Andrew Oakley wrote:
> I'm wondering what should happen if a NodeFilter causes its NodeIterator
> (or TreeWalker) to move.

Now Firefox and Opera both raise an exception (INVALID_STATE_ERR) if a
filter tries to move its NodeIterator or TreeWalker, and there don't
seem to be any complaints about this behaviour.

I still think that this should be mentioned in future specs (or errata).

-- 
Andrew Oakley
Received on Monday, 19 April 2010 13:50:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:04 GMT