Cannot write to clipboard in an async function without having the dom.events.testing.asyncClipboard enabled
Categories
(Core :: DOM: Events, defect, P2)
Tracking
()
People
(Reporter: rkaposta, Assigned: edgar)
References
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
Called an async function that tries to write to the clipboard.
dom.event.clipboardevents.enabled true
dom.events.asyncClipboard true
dom.events.asyncClipboard.dataTransfer false
dom.events.testing.asyncClipboard false
The problem does not occur when the 'dom.events.testing.asyncClipboard' is set to true.
The problem can be reproduced by opening the attached clipboard.html and clicking on the text. If successful a 'CAT' text should be in the clipboard.
Actual results:
The content was not copied to the clipboard, instead the following error message appeared on the console:
uncaught exception: undefined
Expected results:
The content should have been copied to the clipboard.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Assignee | ||
Comment 2•5 years ago
|
||
Closing in a favor of bug 1597857.
Description
•