- From: <bugzilla@jessica.w3.org>
- Date: Thu, 26 Sep 2013 14:15:10 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23346 --- Comment #5 from Masatoshi Kimura <VYV03354@nifty.ne.jp> --- (In reply to Anne from comment #2) > TypeError is what JavaScript uses for argument validation. That's untrue. JSON.parse will throw SyntaxError if the first argument is invalid as JSON. http://ecma-international.org/ecma-262/5.1/#sec-15.12.2 Also, the RegExp constructor will throw SyntaxError if the first argument is unparsable as a regular expression. http://ecma-international.org/ecma-262/5.1/#sec-15.10.4.1 -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 26 September 2013 14:15:15 UTC