- From: <bugzilla@jessica.w3.org>
- Date: Fri, 21 Sep 2012 14:10:37 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17657 --- Comment #15 from Odin Hørthe Omdal <odinho@opera.com> 2012-09-21 14:10:37 UTC --- The change doesn't have any language forbidding using ['', 'length'] (or indeed [''] itself) as a keyPath. That "would work" in a way when you give it a string, you'll get: "odin" -> ["odin", 4] "joshua" -> ["joshua", 6] But I read this as an empty string inside a keypath is not allowed either way. This is how Opera and Firefox is behaving: keypath Opera Firefox spec proposal [] throws throws throws throws [''] throws throws - throws ['', ''] throws - - throws ['', 'length'] throws - - throws So basically, I thought this bug, and I think the behaviour should be, if there's an empty string inside an array, throw SyntaxError. -- 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 Friday, 21 September 2012 14:10:43 UTC