Version: 53.0.2785.101
What steps will reproduce the problem?
(1) Open the Console in DevTools
(2) Type and evaluate 'throw 123'
(3) Type and evaluate any text (e.g. 'abc') to generate another log
(4) Expand the 'Uncaught 123' to reveal '(anonymous) @ WM:DD'
(5) Select the '(anonymous) @ WM:DD' by starting a drag from the right of the text to the left
(6) Paste the result somewhere
What is the expected output?
Copied text should be the '(anonymous) @ WM:DD' line
What do you see instead?
DevTools copies a '\n' + the next line instead (e.g. 'abc')
My guess is that ViewportControl's _selectedText() has a bug.
Comment 1 by bugdroid1@chromium.org
, Sep 16 2016