W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: [selectors-api] Investigating NSResolver Alternatives

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 15 Aug 2008 12:12:58 +0200
Message-ID: <48A556AA.4020301@lachy.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: public-webapps <public-webapps@w3.org>

Lachlan Hunt wrote:
> Boris Zbarsky wrote:
>> The way I see it, all current impls should throw something if more 
>> than one arg is passed
> 
> Which exception should be thrown? Is this something I should define in 
> this spec, or is it something for WebIDL or some other spec to deal with?

The developers implementing this in Opera has given me feedback saying 
that this shouldn't throw an exception because JS allows additional 
arguments to be passed to any method, including other DOM APIs, like 
getElementById(), etc.  Is there a good reason why this should behave 
differently?

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Friday, 15 August 2008 10:13:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT