Console paste trailing comma array
Reported by
xilef...@gmail.com,
Aug 13 2017
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 Steps to reproduce the problem: This seems like a bug with copying trailing comma arrays inside the console. 1. Paste into console: new lmao([, -0]); 2. This should result in a error "lmao not found". 3. Now copy !only! the array with your mouse (the code you entered above the error message) 4. Now copy&paste it into your console What is the expected behavior? The pasted content should look like: [, -0] What went wrong? The pasted content looks like: -0]); Did this work before? N/A Chrome version: 60.0.3112.90 Channel: stable OS Version: 10.0 Flash Version:
,
Aug 15 2017
I've bisected it to this commit: https://chromium.googlesource.com/chromium/src/+/46ab10923ea52c1e02980027a5e098ae25e904b7 There was a bug in the logic used to determine what text was selected. Sorry for the inconvenience in copying. The fix is already in Beta channel M61 and canary, and should reach Stable channel soon in the coming weeks. |
||
►
Sign in to add a comment |
||
Comment 1 by l...@chromium.org
, Aug 14 2017Status: Assigned (was: Unconfirmed)