Add caching to Clipboard API fallback implementation for Edge #1026
Labels
browser:edge
The issue can only be reproduced in the Edge (edgeHTML engine based) browser.
changelog:skip
A changelog entry should not be added for a given issue.
plugin:clipboard
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:task
Any other issue (refactoring, typo fix, etc).
Milestone
Are you reporting a feature request or a bug?
Task
Provide detailed reproduction steps (if any)
Extracted from #962 (see this particular comment).
Related to #468.
While the fallback logic for Edge 16+ not supporting custom MIME types in native
dataTransfer.setData
was implemented in #962, we still missing caching there which is quite important for performance reasons. We should only access native clipboard when needed (and not on every read if nothing changes).The text was updated successfully, but these errors were encountered: