- From: Philip Jägenstedt <notifications@github.com>
- Date: Tue, 28 Jul 2015 05:32:40 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
Received on Tuesday, 28 July 2015 12:33:37 UTC
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. "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. For 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) --- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/16
Received on Tuesday, 28 July 2015 12:33:37 UTC