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

Re: Selectors API and [Null] / [Undefined]

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Wed, 09 Jul 2008 21:08:55 +0200
Message-ID: <48750CC7.6020606@lachy.id.au>
Cc: public-webapps <public-webapps@w3.org>

Anne van Kesteren wrote:
> On Tue, 20 May 2008 14:36:06 +0200, Lachlan Hunt 
> <lachlan.hunt@lachy.id.au> wrote:
>> Thanks.  I've updated the IDL in Selectors API to use these extended 
>> attributes now.
>> http://dev.w3.org/2006/webapi/selectors-api/#nodeselector
> I think the Selectors API should just stick to the default behavior of 
> [Null] and [Undefined] instead of making them identical to the empty 
> string.

Feedback from John Resig (JQuery devloper) in IRC suggests that 
converting to "", and thus resulting in a SYNTAX_ERR is better for 
authors.  Plus I already responded about this issue earlier today.  No 
change has been made to the spec in regards to this issue.

IRC Logs:

> Also, there's no real reason to put "raises" in the IDL, but I don't 
> feel strongly about that.

Removed because apparently it's optional and it makes the IDL less 

You can review the changes in the current editors draft.


Lachlan Hunt - Opera Software
Received on Wednesday, 9 July 2008 19:09:38 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:11 UTC