W3C home > Mailing lists > Public > public-webapi@w3.org > February 2008

Re: [selectors-api]

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 16 Feb 2008 00:43:09 +0100
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: public-webapi@w3.org
Message-ID: <op.t6lat72j64w2qv@annevk-t60.oslo.opera.com>

On Fri, 15 Feb 2008 21:40:00 +0100, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
> Anne van Kesteren wrote:
>> To ensure that naïve implementors don't overlook the potential issue  
>> here. An implementation of NSResolver can be provided by the script  
>> author as the specification explains and the script author can do all  
>> kinds of weird things that don't match a conforming implementation of  
>> NSResolver (such as mutating the DOM tree).
>
> Is a conforming querySelector implementation allowed to throw an  
> exception when this happens?

No. It is only allowed to throw an exception when the text says so.


> In fact, is a conforming querySelector implementation allowed to throw  
> an exception if the NSResolver does something that it detects is  
> non-conforming?

No.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Friday, 15 February 2008 23:39:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 February 2008 23:39:57 GMT