Steps to reproduce
I stumbled upon this issue when working with Clipboard API integration in CKEditor. The flow is a little complex there, but error was thrown when accessing
native dataTransfer object second time in the same function (invoked by paste listener): https://github.com/ckeditor/ckeditor-dev/blob/8a96a9adfc0af653538e32f455a5be0b20b2c3db/plugins/clipboard/plugin.js#L2085-L2089.
The workaround was quite simple, just to assign
native dataTransfer object to a variable and use the variable further in the code:
You may read more detailed issue description here: https://github.com/ckeditor/ckeditor-dev/issues/962#issuecomment-332849493
I tried to reproduce the issue in some simpler example on jsfiddle, while I was able to randomly generate the error it was not repetitive, so it seems a little random.
While testing, there were no other applications accessing clipboard which might interfere with Edge accessing it so it seems as stricte Edge issue.
Comments and activity
As for the second link: https://github.com/ckeditor/ckeditor-dev/blob/t/468-962/plugins/clipboard/plugin.js#L2098-L2108
It will be better to check on this permalink: https://github.com/ckeditor/ckeditor-dev/blob/ea41a522d36f1ab8154b7c422ff98bc4b7e1238d/plugins/clipboard/plugin.js#L2098-L2108.
- Microsoft Edge Team
Changed Assigned To to “Steven K.”