- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 04 Apr 2017 01:25:41 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 4 April 2017 08:26:22 UTC
What is mentioned in OP should already throw since the dispatch flag is not set. But yeah, it seems reasonable to also check the isTrusted attribute (internal slot at some point). Not entirely convinced that's the best way, but that should work. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1040#issuecomment-291429422
Received on Tuesday, 4 April 2017 08:26:22 UTC