deleting strict references: SyntaxError or syntax error?

2014-06-11 Thread Sergio Maffeis
According to paragraph 11.4.1 of ECMA262 v.5.1, and in particular to point 5.a of that paragraph, a catchable SyntaxError exception should be thrown when deleting a strict reference in strict mode. The code below tests this feature: var fun = function (){ use strict; // strict mode delete

Re: deleting strict references: SyntaxError or syntax error?

2014-06-11 Thread Boris Zbarsky
On 6/11/14, 11:08 AM, Sergio Maffeis wrote: According to paragraph 11.4.1 of ECMA262 v.5.1, and in particular to point 5.a of that paragraph, a catchable SyntaxError exception should be thrown when deleting a strict reference in strict mode. ... We found that current browsers instead terminate