Clipboard Reading does not work on Linux
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: hey, Unassigned)
Details
Attachments
(1 file)
324.76 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Steps to reproduce:
Try example in here: https://alligator.io/js/async-clipboard-api/
This bug was first reported on CodeSandbox here: https://github.com/codesandbox/codesandbox-client/issues/4878
Actual results:
Trying to read from the clipboard in JS will result in:
TaskQueue: Error running task. Failed to handle key=<C-v>. navigator.clipboard.readText is not a function.
This works fine in other Firefox versions and also in Chrome inside Linux
Expected results:
A permission for clipboard should be asked
Comment 1•4 years ago
|
||
I don't see how navigator.clipboard.readText
could work in any Firefox version since bug 1483552 disabled it for normal webpages.
It is weird, because I saw the the MDN docs but it does work in any other versions of firefox
Either one way or the other this is a bug :/
Description
•