Closed Bug 1664318 Opened 4 years ago Closed 4 years ago

Clipboard Reading does not work on Linux

Categories

(Core :: DOM: Core & HTML, defect)

80 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1578321

People

(Reporter: hey, Unassigned)

Details

Attachments

(1 file)

Attached image Image with the bug

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

I don't see how navigator.clipboard.readText could work in any Firefox version since bug 1483552 disabled it for normal webpages.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Resolution: --- → DUPLICATE

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 :/

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: