Decimal with leading zero is not allowed
Reported by
m.rag...@gmail.com,
Apr 3 2017
|
||||
Issue description
UserAgent: Mozilla/5.0 (Linux; Android 5.1; Lenovo P1ma40 Build/LMY47D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.81 Mobile Safari/537.36
Steps to reproduce the problem:
1. Write simple JavaScript function with strict mode ('use strict').
2. Check leading zero value in the if condition.
3. The error will be reproduced.
What is the expected behavior?
The chrome 56.0.2924 version allows leading zero in strict mode.
What went wrong?
The UI went wrong because of leading zero error.
Did this work before? N/A
Chrome version: 57.0.2987.133 Channel: n/a
OS Version: 8.1
Flash Version:
,
Apr 6 2017
@Reporter: Could you please provide us with any sample html/JS file to triage the issue from test team end.
,
Apr 6 2017
function testLeadingZero(){
int I=08;
if(I==08)
{
alert('hello');
}
}
,
Apr 6 2017
Thank you for providing more feedback. Adding requester "rbasuvula@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 9 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||||
►
Sign in to add a comment |
||||
Comment 1 by nyerramilli@chromium.org
, Apr 3 2017