Support clipboardRead permission to read from the clipboard
Categories
(WebExtensions :: General, defect, P2)
Tracking
(Not tracked)
webextensions | + |
People
(Reporter: robwu, Assigned: zombie)
References
Details
(Keywords: dev-doc-complete, Whiteboard: triaged)
Attachments
(5 files, 1 obsolete file)
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Assignee | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 3•8 years ago
|
||
mozreview-review |
Comment 4•8 years ago
|
||
mozreview-review |
Comment 5•8 years ago
|
||
mozreview-review |
Assignee | ||
Comment 6•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 11•8 years ago
|
||
Comment 12•8 years ago
|
||
mozreview-review |
Assignee | ||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
mozreview-review |
Comment 15•8 years ago
|
||
Comment 16•8 years ago
|
||
Comment 17•8 years ago
|
||
Assignee | ||
Comment 18•8 years ago
|
||
Assignee | ||
Comment 19•8 years ago
|
||
Comment 20•8 years ago
|
||
Comment 21•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 27•8 years ago
|
||
Comment 28•8 years ago
|
||
bugherder |
Comment 29•8 years ago
|
||
Comment 30•8 years ago
|
||
Comment 31•8 years ago
|
||
Updated•8 years ago
|
Comment 32•8 years ago
|
||
Comment 33•8 years ago
|
||
Comment 34•8 years ago
|
||
Comment 35•8 years ago
|
||
Comment 36•8 years ago
|
||
Assignee | ||
Comment 37•8 years ago
|
||
Comment 38•8 years ago
|
||
Comment 40•8 years ago
|
||
Comment 41•8 years ago
|
||
Comment 42•8 years ago
|
||
Assignee | ||
Comment 43•8 years ago
|
||
Comment 44•8 years ago
|
||
Comment 45•8 years ago
|
||
Comment 46•8 years ago
|
||
Comment 47•8 years ago
|
||
Assignee | ||
Comment 48•8 years ago
|
||
Comment 50•7 years ago
|
||
Assignee | ||
Comment 51•7 years ago
|
||
Comment 52•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 53•6 years ago
|
||
Has the "clipboard-read" permission been implemented because I find contradictory information.
Here it says "Firefox supports the clipboardRead
permission from version 54, but only supports pasting into elements in content editable mode" but this page writes "At this time, while Firefox does implement read(), it does not recognize the clipboard-read
permission".
When trying to request the permission myself in Firefox 64, I got a TypeError saying "TypeError: 'name' member of PermissionDescriptor 'clipboardRead' is not a valid value for enumeration PermissionName".
Reporter | ||
Comment 54•6 years ago
|
||
Firefox only allows extensions with the clipboardRead extension permission to use the navigator.clipboard.read
(with dom.events.asyncClipboard.dataTransfer
pref) / readText
(without pref) APIs. Ordinary web content cannot use the API, as announced at the time of the intent-to-implement:
https://groups.google.com/d/msg/mozilla.dev.platform/skHoHwfapEY/VQZZXvNxAQAJ
The navigator.clipboard.readText
API was briefly exposed to ordinary web content in Firefox 63, but this has been fixed (i.e. removed) in 64: see bug 1479935 and bug 1483552 .
Description
•