- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 05 Oct 2016 04:17:51 -0700
- To: whatwg/dom <dom@noreply.github.com>
Received on Wednesday, 5 October 2016 11:18:18 UTC
>From discussion with @smaug---- in https://github.com/whatwg/dom/pull/336 and IRC it seems that basically any user-agent dispatched event is trusted. A notable exception is `click()`, which is untrusted. But `postMessage()`-resulting message events, mutation events (as long as we keep them around), need to be trusted. It seems there's not really a simple rule here, such as the JavaScript stack being empty (mutation events fail that) or the user agent dispatching the event (`click()`). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/338
Received on Wednesday, 5 October 2016 11:18:18 UTC