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

Re: [selectors-api]

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 15 Feb 2008 14:40:00 -0600
Message-ID: <47B5F8A0.5000302@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: public-webapi@w3.org

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?

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

-Boris
Received on Friday, 15 February 2008 20:40:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 February 2008 20:40:02 GMT