In Windows 10 (build 14332) window.clipboardData.setData does not work as expected.

By design Issue #7844941

Details

Created
Jun 10, 2016
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

This is the story of IE 11 on Windows 10(build 14332), IE 11 does not show any prompt when I use window.clipboardData.setData even though the settings in
“Allow Programmatic clipboard access” is "prompt".

The test page is:
http://www.broadband-xp.com/test/ie11/clipboard.html

If I change the settings in “Allow Programmatic clipboard access” from the default value of “prompt” to "enabled", it works. But if I change the settings back to "prompt", IE does not show a prompt but clipboard copying fails silently.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Status to “By design”

    • Hello,

      Thank you for your feedback on IE. Unfortunately we are no longer working on feature bugs any longer for IE unless they are security related.

      Additionally, clipboardData is considered deprecated and we recommend that you use the clipboard API instead. This option has much more cross browser support than the method you have chose. Please keep in mind that there are security limitations on both of these and I would recommend using a link such as the one below to best understand these hindrances:

      http://caniuse.com/#feat=clipboard

      All the best,
      The MS Edge Team

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

    Sign in