W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

RE: [indexeddb] Do we need to support keyPaths with an empty string?

From: Israel Hilerio <israelh@microsoft.com>
Date: Wed, 18 Jan 2012 19:30:15 +0000
To: "public-webapps@w3.org" <public-webapps@w3.org>
CC: David Sheldon <dsheldon@microsoft.com>, Adam Herchenroether <aherchen@microsoft.com>
Message-ID: <F695AF7AA77CC745A271AD0F61BBC61E427F3867@TK5EX14MBXC119.redmond.corp.microsoft.com>
On Friday, January 13, 2012 1:33 PM, Israel Hilerio wrote:
> Given the changes that Jonas made to the spec, on which other scenarios do we
> expect developers to specify a keyPath with an empty string (i.e. keyPath = "")?
> Do we still need to support this or can we just throw if this takes place.  I
> reopened bug #14985 [1] to reflect this.  Jonas or anyone else could you please
> clarify?
> 
> Israel
> [1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=14985

Any updates!  I expect this to apply to all of the following scenarios:
var obj = { keyPath : null };
var obj = { keyPath : undefined };
var obj = { keyPath : "" }; 

If you guys agree, we can update the spec.

Israel
Received on Wednesday, 18 January 2012 19:31:14 GMT

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