[Bug 17657] Empty arrays shouldn't be valid KeyPaths

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17657

Odin Hørthe Omdal <odinho@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |odinho@opera.com

--- Comment #2 from Odin Hørthe Omdal <odinho@opera.com> 2012-07-05 17:20:57 UTC ---
Well, I guess "some implementors" mean IE. WebKit shouldn't have a problem with
change, given how out of date that implementation is, Firefox is changing all
the time, and in Opera we're also flexible.

I would like it to throw, but I can do without.


IE is currently (on my public preview build (probably super old)) throwing
DataError on add() with keyPath [].

However, they seem to have *lots* of keyPath bugs in that version. "", [""],
and even ["x", "y"] throw in add({x: 1, y: 2})!

I also see they have lots of other keyPath errors, like accepting "a*b" and
"a/b" as keyPaths.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 5 July 2012 17:21:06 UTC