{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/editing/issues/61","labels_url":"https://api.github.com/repos/w3c/editing/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/w3c/editing/issues/61/comments","events_url":"https://api.github.com/repos/w3c/editing/issues/61/events","html_url":"https://github.com/w3c/editing/issues/61","id":97711320,"number":61,"title":"Reference actions in clipboard API spec for execCommand copy/cut/paste","user":{"login":"hallvors","id":120136,"avatar_url":"https://avatars.githubusercontent.com/u/120136?v=3","gravatar_id":"","url":"https://api.github.com/users/hallvors","html_url":"https://github.com/hallvors","followers_url":"https://api.github.com/users/hallvors/followers","following_url":"https://api.github.com/users/hallvors/following{/other_user}","gists_url":"https://api.github.com/users/hallvors/gists{/gist_id}","starred_url":"https://api.github.com/users/hallvors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallvors/subscriptions","organizations_url":"https://api.github.com/users/hallvors/orgs","repos_url":"https://api.github.com/users/hallvors/repos","events_url":"https://api.github.com/users/hallvors/events{/privacy}","received_events_url":"https://api.github.com/users/hallvors/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/editing/labels/execCommand","name":"execCommand","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-07-28T13:45:58Z","updated_at":"2015-08-03T21:52:27Z","closed_at":null,"body":"See discussion in https://github.com/w3c/clipboard-apis/issues/16 - in particular https://github.com/w3c/clipboard-apis/issues/16#issuecomment-125605131 and consider replacing the current text about copy/cut/paste in your execCommand spec with one saying you should invoke the actions as defined by my spec.\r\n\r\nThanks :)"},"comment":{"url":"https://api.github.com/repos/w3c/editing/issues/comments/127416308","html_url":"https://github.com/w3c/editing/issues/61#issuecomment-127416308","issue_url":"https://api.github.com/repos/w3c/editing/issues/61","id":127416308,"user":{"login":"johanneswilm","id":595512,"avatar_url":"https://avatars.githubusercontent.com/u/595512?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneswilm","html_url":"https://github.com/johanneswilm","followers_url":"https://api.github.com/users/johanneswilm/followers","following_url":"https://api.github.com/users/johanneswilm/following{/other_user}","gists_url":"https://api.github.com/users/johanneswilm/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneswilm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneswilm/subscriptions","organizations_url":"https://api.github.com/users/johanneswilm/orgs","repos_url":"https://api.github.com/users/johanneswilm/repos","events_url":"https://api.github.com/users/johanneswilm/events{/privacy}","received_events_url":"https://api.github.com/users/johanneswilm/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T21:52:27Z","updated_at":"2015-08-03T21:52:27Z","body":"@hallvors btw, is Chrome working the way you expect it to? I noticed that Firefox would throw a security error in my example: http://pastebin.com/fnVGa7wC\r\n\r\nIf Chrome works the way you expect to, and the only thing that is important for you is that it is \"user initiated\", maybe such a user initiated check could simply be added to a normal function call that accepts the data to be added to the clipboard as an argument for use with cE=intentions?\r\n\r\nIf, on the other hand, Firefox is closer to the security level you are expecting, I think I would stick to my above proposal to simply have another function call instead of execCommand for use with cE=Intentions, so that browser makers eventually can remove execCommand altogether once they see usage has dropped to a very low number in a few years."}}