Issue metadata
Sign in to add a comment
|
javascript alert() text is not selectable and therefore cannot be copied to the clipboard
Reported by
ericmini...@gmail.com,
Jun 6 2017
|
||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Steps to reproduce the problem:
1. Developer Tools > Console > alert("bet you can't copy this")
2. Or, you know, go to https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_alert and click the "Try It" button
What is the expected behavior?
A pop-up box with text that you can select and copy to the clipboard
What went wrong?
The text in the alert cannot be selected
Did this work before? Yes 57.0.2987.133
Chrome version: 58.0.3029.110 Channel: n/a
OS Version: OS X 10.9.5
Flash Version:
Discussed with support on Twitter -
see thread: https://twitter.com/cureffi/status/870655966727024640 and they suggested to file a new issue
,
Jul 10 2017
This is a consequence of the move to new dialogs. The Cocoa versions don't have selectable text. While the Views dialogs have selectable text on Windows, they don't in the work-in-progress MacViews dialog version.
,
Jul 24 2017
This is a cross platform regression. It is no longer possible to copy from alert() on Windows as well. Tested using Chrome 59.3071.115 on Windows 7 Enterprise. Do you need a new issue for Control + C not working on Windows (I am not sure it was selectable, it only supported Control + C)?
,
Jul 31
This works on the Mac now with MacViews.
,
Jul 31
Indeed it is fixed! Thanks so much. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by patricia...@chromium.org
, Jun 6 2017Status: Untriaged (was: Unconfirmed)