Firefox treats digit strings starting with 0 but containing 8 or 9 as decimal, eg "09".
Other cases: 0000008 => 8 009.5 => 9.5 FF generates warnings for these.
More cases: 00.3 => error (missing semicolon) 035.3 => error (missing semicolon) IOW, if it looks like an octal int then it is an octal int; only the digits 8 or 9 take us back into a mode where we are lexing a decimal number, and only then are . and e allowed.
Created attachment 311181 [details] [diff] [review] Patch
Attachment #311181 - Flags: review?(jodyer)
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
That fix for some reason never made it into the repository. New changeset: 491:4778587ed868
You need to log in before you can comment on or make changes to this bug.