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

Re: [selectors-api]

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 15 Feb 2008 16:30:26 +0100
To: "Anne van Kesteren" <annevk@opera.com>, "Lachlan Hunt" <lachlan.hunt@lachy.id.au>
Cc: public-webapi@w3.org
Message-ID: <op.t6kn00obsmjzpq@acer3010>

On Fri, 15 Feb 2008 16:28:07 +0100, Anne van Kesteren <annevk@opera.com>  
wrote:

> On Fri, 15 Feb 2008 16:18:34 +0100, Steven Pemberton  
> <steven.pemberton@cwi.nl> wrote:
>> I would prefer "Implementations should ensure that they do not crash or  
>> behave erratically" if you see my point.
>>
>> But what I don't understand is why the spec thinks that a hostile  
>> NSResolver should be called out, or even what such a thing is.
>
> 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).

Then I think that wording like that would make the issue clearer (though I  
think stupidity rather than hostility would be a more likely risk).

Thanks.

Steven
Received on Friday, 15 February 2008 15:30:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 February 2008 15:30:42 GMT