Clipboard Errors

Confirmed Issue #18893572 • Assigned to Grisha L.

Details

Author
Timothy K.
Created
Sep 4, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
16.16299
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Summary:
When pasting a corrupted image, accessing items on the DataTransfer object(https://developer.mozilla.org/en-US/docs/Web/API/DataTransfer) will throw an error “Data on clipboard is invalid” This does not happen on other browsers. I expect it to be safe to access this property and have no items in the DataTransfer object.

When drag dropping a file you lack security permission to read, accessing items/files on the DataTransfer object will raise an error “Access is denied” This does not happen on other browsers. I expect it to be safe to access this property and have no items/files in the DataTransfer object.

To reproduce:
Have a paste listener and paste a corrupted image (see attachments for one). Then access items on the DataTransfer object in the event.

Have a drop event and drop a file you lack security access to read. Then access items/files on the DataTransfer object in the event.

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Amit J.”

    Changed Status to “Confirmed”

    Changed Assigned To from “Amit J.” to “Grisha L.”

You need to sign in to your Microsoft account to add a comment.

Sign in