Early error on '0' followed by '8' or '9' in numeric literals does not seem to be web-compatible

Mark S. Miller erights at google.com
Mon Aug 4 09:43:20 PDT 2014

Isn't the early error required only for strict code?

On Mon, Aug 4, 2014 at 9:39 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:

> When SpiderMonkey tried to implement an early error for cases like this:
>   alert(08)
> as the current spec draft requires, we got bug reports about web sites
> being broken as a result.  Specifically, there were two issues we
> discovered:
> 1)  Things like new Date(2013,08,12);
> 2)  Servers sending things like account numbers as numeric literals,
> complete with leading zeros [yes, I know, this is so broken, they're still
> doing it].
> I believe we'll be backing out this change; it doesn't seen to be worth
> the web compat hit.
> -Boris
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140804/93c4c106/attachment.html>

More information about the es-discuss mailing list