Asynchronously read from clipboard in ClipboardItem.getType
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, enhancement)
Tracking
()
People
(Reporter: evilpie, Unassigned)
References
(Blocks 1 open bug, )
Details
In bug 1689886 I am adding a very basic implementation of clipboard.read
with ClipboardItems. It currently reads everything synchronously from the clipboard. Instead only the required data should be read asynchronously when ClipboardItem.getType
is called.
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Updated•7 months ago
|
Updated•29 days ago
|
Comment 1•10 days ago
|
||
Tom, is this still something that should stay open?
Reporter | ||
Comment 2•8 days ago
|
||
I think in bug 1712122 we went with a different approach and made loading all clipboard entries (types) asynchronous. This would go even further by only loading the requested types. I am not sure if this is something we plan on doing.
Comment 3•8 days ago
|
||
Right now we load all clipboard entries asynchronously when clipboard.read()
is called, which follows the current spec. However there are some discussion about deferring the load when getType()
is actually called, https://github.com/w3c/clipboard-apis/issues/191, I would like to keep this bug open for tracking that.
Description
•