Symbol-keyed property values have two "Store as global variable" menu items that do different things
Reported by
nfd...@gmail.com,
Feb 17 2018
|
|||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3350.0 Safari/537.36
Steps to reproduce the problem:
1. Open DevTools
2. Input {[Symbol('test')]: Object} and press enter.
3. Click the disclosure triangle to expand the object in the console.
4. Right-click on the word "Object"
What is the expected behavior?
The menu should include "Store key as global variable" and "Store value as global variable" to indicate what is being stored
What went wrong?
The menu has two identical-looking items—both say "Store as global variable"—that do different things: the upper one stores the property's Symbol key as a global variable, and the lower one stores the property's function value as a global variable.
It is impossible to distinguish these menu items without clicking on them to see what they do.
Did this work before? No
Chrome version: 66.0.3350.0 Channel: canary
OS Version: OS X 10.13.3
Flash Version:
,
Feb 19 2018
Able to reproduce this issue on Mac 10.12.6, Win-10 and Ubuntu 14.04 using chrome reported version #66.0.3350.0 This is a non-regression issue as it is observed from M60 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Mar 3 2018
,
Mar 3 2018
Thanks for the report. I can reproduce, interesting find! |
|||
►
Sign in to add a comment |
|||
Comment 1 by krajshree@chromium.org
, Feb 18 2018