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
That fix for some reason never made it into the repository. New changeset: 491:4778587ed868