ClipboardData mimetype support not in line with w3c mandatory mimetypes

External Issue #4665778

Details

Created
Sep 21, 2015
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  • Visit http://codepen.io/DrRataplan/pen/jbrBLB

  • Copy the ‘Copy me’ text

  • Observe the error caused by using the ‘text/csv’ mimetype and the custom mimetype

  • Paste after the ‘Copy me’ text

  • Observe the paste to not happen

Success by removing the text/html mimetype:

  • Disable the ‘text/html’ mimetype by commenting the line
  • Copy the ‘Copy me’ text again
  • Ignore the errors caused by using the ‘text/csv’ mimetype and the custom ‘application/vnd.acme.custom’ mimetype
  • Paste
  • Observe the contents of the text/plain mimetype being pasted, as expected

Expected Results:

Setting any mimetype should never throw an error, but place the data on the dataTransfer, and having it available for pasting.
Setting a mimetype should append it to the list of data, not removing earlier set data.

In short, the recommendation (https://w3c.github.io/clipboard-apis/) should be followed.

Google Chrome allows any mimetype to be set.
Firefox only allows the text/plain and the text/html mimetypes to be populated. There is a reported bug https://bugzilla.mozilla.org/show_bug.cgi?id=860857 addressing this issue.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To to “Amit J.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Amit J.” to “IE S.”

      Changed Status from “Confirmed” to “External”

    • Hello,

      Thank you for providing this information about the issue. We have confirmed the problem, and we are working on a solution for a future build of Edge. We are presently tracking this issue as a duplicate of an existing internal bug report. We look forward to additional feedback you may have on how we can improve Microsoft Edge.

      Best Wishes,
      The MS Edge Team

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

    Sign in