{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/clipboard-apis/issues/16","labels_url":"https://api.github.com/repos/w3c/clipboard-apis/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/w3c/clipboard-apis/issues/16/comments","events_url":"https://api.github.com/repos/w3c/clipboard-apis/issues/16/events","html_url":"https://github.com/w3c/clipboard-apis/issues/16","id":97694201,"number":16,"title":"Move script-created events out of \"fire a clipboard event\"","user":{"login":"foolip","id":498917,"avatar_url":"https://avatars.githubusercontent.com/u/498917?v=3","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-07-28T12:32:38Z","updated_at":"2015-08-04T09:57:42Z","closed_at":null,"body":"Scripts have no entry path into the \"fire a clipboard event\" algorithm, so this algorithm can assume that the source of the event is the user agent.\r\n\r\n\"Let trusted be true if the event is generated by the user agent, false otherwise\" and \"Else, if the event is generated by a script\" can both be removed and much simplified.\r\n\r\nFor script-fired events, there shouldn't be anything at all to say, because it's the code dispatching the event which performs the default action. (See https://github.com/w3c/clipboard-apis/issues/14)"},"comment":{"url":"https://api.github.com/repos/w3c/clipboard-apis/issues/comments/127552214","html_url":"https://github.com/w3c/clipboard-apis/issues/16#issuecomment-127552214","issue_url":"https://api.github.com/repos/w3c/clipboard-apis/issues/16","id":127552214,"user":{"login":"foolip","id":498917,"avatar_url":"https://avatars.githubusercontent.com/u/498917?v=3","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T09:57:42Z","updated_at":"2015-08-04T09:57:42Z","body":"It turns out there is a use counter for `Document.designMode` already, usage is far above what's normally considered for deprecation or removal in Blink:\r\nhttps://www.chromestatus.com/metrics/feature/timeline/popularity/742\r\n\r\nNot sure if `Document.execCommand()` usage would be higher or lower, but if anyone really hopes for its removal I could measure to attenuate those hopes."}}