New issue
Advanced search Search tips

Issue 866267 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 679274
Owner:
Closed: Sep 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Being told that variable has been declared, but also told that it is undefined.

Reported by legendar...@gmail.com, Jul 21

Issue description

Chrome Version       : 67.0.3396.99
OS Version: 10.0
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari:
    Firefox:
    IE/Edge:

What steps will reproduce the problem?
1. Attempt to declare variable incorrectly in Chrome console (i.e. "let str = Alpha;")
2.  Attempt to declare variable properly (i.e. "let str = "Alpha";").  This brings up a message stating that it has already been declared.
3.  Attempt to call variable to check value (i.e. "str;").  This brings up a message stating that the variable has not been defined.

What is the expected result?
Variable is not defined on step one due to error, and can be redefined properly on step 2.

What happens instead of that?
I am given messages both that the variable has already been declared, and that the variable is simultaneously not defined.  "typeof str", in the example above, returns that str is not defined.

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36



 
Chrome Behavior.PNG
17.6 KB View Download
Duplicate of bug v8:5604
Labels: Needs-Triage-M67
Cc: vamshi.kommuri@chromium.org
Components: Platform>DevTools
Labels: -Pri-3 Triaged-ET Target-70 M-70 FoundIn-70 OS-Linux OS-Mac Pri-2
Status: Untriaged (was: Unconfirmed)
Thanks for filing the issue!

Able to reproduce the issue on reported chrome version 67.0.3396.99 and on the latest canary 70.0.3500.0 using Windows 10, Mac 10.13.1 and Ubuntu 14.04

As the issue is seen from M60(60.0.3112.0) considering it as Non-Regression and marking it as Untriaged.
Components: -Platform>DevTools Platform>DevTools>JavaScript
Owner: kozy@chromium.org
Status: Assigned (was: Untriaged)
Mergedinto: 679274
Status: Duplicate (was: Assigned)

Sign in to add a comment