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

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 UTC