Re: [slightlyoff/ServiceWorker] When does the openWindow promise resolve? (#728)

Just an idea: triggering `startMessages` on `load` or `DOMContentLoaded`.
This may not be a good solution either: libraries may want to do initialization in `DOMContentLoaded` and `onload` may be too late.
Other ideas:
 * Do `startMessages` immediately after `DOMContentLoaded` without exposing `startMessages`.
 * Expose `startMessages`, but do it anyway after `onload` in case the web app hasn't requested for it specifically.

---
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/728#issuecomment-208548395

Received on Monday, 11 April 2016 20:35:58 UTC