Re: [w3c/ServiceWorker] clarify that manually constructed ExtendableEvent objects may not extend lifetime via waitUntil() (#1040)

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