Re: [clipboard-apis] Non Recognizable formats (#9)

The ```registerClipboardFormats()``` proposal has a pretty nice simplicity to it. I guess the UA could also have UI that let users map MIME types to description strings manually, so that users on platforms this web app doesn't "support" can work around the app's impoliteness..? Or install extensions that define common formats.

Some questions:

1. As written, we assume that no string which identifies one type of content on OS A but *another* type of content on OS B exists. (We're not saying for example registerClipboardFormats('text/html': { 'windows':'CF_HTML', 'mac': ['HTML Text', 'HTML', 'text/html'], 'linux': ...). Is this assumption safe enough, or might it become a significant problem that your app says "MCD Format" is a MathCad type but on some platform you aren't familiar with it's defining a "Movie Content Description" data type?

2. What happens if several sites/tabs call this method with different values? Overwrite, append?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/9#issuecomment-109319737

Received on Friday, 5 June 2015 14:57:09 UTC