Closed
Bug 1018053
Opened 11 years ago
Closed 11 years ago
Web Console error: "numbers starting with 0 followed by a digit are octals and can't contain 8"
Categories
(DevTools :: Console, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: lh, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 (Beta/Release)
Build ID: 20140529113510
Steps to reproduce:
campaign_list_totals[18] = 3,028;
Actual results:
numbers starting with 0 followed by a digit are octals and can't contain 8
Expected results:
No error on Stable Firefox and Chrome, only occurs on Nightly
Comment 1•11 years ago
|
||
Confirmed 32.0a1 (2014-05-29), Win 7 x64
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools: Console
Ever confirmed: true
Summary: Nightly : numbers starting with 0 followed by a digit are octals and can't contain 8 → Web Console error: "numbers starting with 0 followed by a digit are octals and can't contain 8"
var campaign_list_totals = {};
campaign_list_totals[18] = 3,028;
console.log(campaign_list_totals[18]);
is supposed to return 3
On nightly it creates an error in console.
easiest way to reproduce problem:
type 3,08 in Firefox 27 > 8
type 3,08 in Nightly 32 > Error
Comment 4•11 years ago
|
||
This is a deliberate change, I believe, so I'm marking this invalid. The change was made in bug 957513.
Comment 5•11 years ago
|
||
Just to let the folks here know - its a regression - #1022254
https://bugzilla.mozilla.org/show_bug.cgi?id=1022254
Comment 6•11 years ago
|
||
Gijs, this is breaking some bank website (mine for example).
I cannot use Firefox any more to do some bank transfer.
Is that really expected?
Flags: needinfo?(gijskruitbosch+bugs)
Comment 7•11 years ago
|
||
I will move the discussion in the other bug.
Flags: needinfo?(gijskruitbosch+bugs)
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•