Re: [slightlyoff/ServiceWorker] be more explicit that jobs always run asynchronously (#861)

>  I think scheduling the job should be immediate, but actually executing the job should be asynchronous.

Yes, that makes sense. Please see if e68be6e94c6aea9a3ebf2b4df44df70a0bafc45d satisfies your expectation.

Also, I think this note should still be there, right?

>For a register job and an update job, the user agent delays queuing a task for running the job until after the document initiated the job has been dispatched DOMContentLoaded event.

Or is it guaranteed the task queued in Run Job is always queued after the task for dispatching the DOMContentLoaded event?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/861#issuecomment-212217561

Received on Wednesday, 20 April 2016 02:30:06 UTC