arrow-down arrow at-sign bug check checkbox-checked checkbox-unchecked svg-checkmark chevron-right chevrons-right circle-down circle-left circle-right circle-up cloud2 svg-cross2 download download external-link filter github hash home leaf leaf left link-2 log-in log-out mail menu message-square minus plus radio-checked radio-checked2 radio-unchecked search settings spinner8 target twitter up upload-2 user users warning x zap
  • Home
  • Report a bug
  • Contribute
  • All issues
  • Login

URL: https://async-clipboard-api.glitch.me/

Browser / Version: Firefox 91.0
Operating System: Windows 10
Tested Another Browser: Yes Chrome

Problem type: Something else
Description: not able to use navigator.clipboard read or write or permission
Steps to Reproduce:
My browser version is 91.3.0esr (64-bit),

I am working on the feature related to copy and paste with button.

In Developer console, when the try to use clipboard api read write,

In console:
but coming as undefined, except writeText method.

So I thought it is related to permission, and tried the following:

In Developer console, when the run the below,

navigator.permissions.query({name: "clipboard-write"}).then(result => { if (result.state == "granted" || result.state == "prompt") { /* write to the clipboard now */ } });

console error:
Uncaught (in promise) TypeError: 'clipboard-write' (value of 'name' member of PermissionDescriptor) is not a valid value for enumeration PermissionName.

View the screenshot Screenshot
Browser Configuration
  • None

From webcompat.com with ❤️

Please login to edit issues.

View issue on Github

Shortcut: Press l on your keyboard to open the label editor. Shortcut: Press g on your keyboard to be taken to the GitHub view of this page.
Closed: Moved
#95387

async-clipboard-api.glitch.me - not able to use navigator.clipboard read or write or permission

Opened: 2021-12-02
Reporter: krishnaprasath2523
Comments: 3
  • Home
  • List of issues
  • About
  • Contribute
  • Contact
  • Privacy Policy
  • Terms of Service
  • Code of Conduct