Skip to content

Commit

Permalink
Check for Run Service Worker failure and disallow starting redundant …
Browse files Browse the repository at this point in the history
…workers. (#1419)

This cleans up Run Service Worker to block until the worker is running or fails to start. Callsites are updated to check if the worker is running before proceeding. It also disallows starting a redundant worker. postMessage is dropped silently if starting the service worker failed.

Addresses #1146 and #1403.
  • Loading branch information
mfalken committed Jun 10, 2019
1 parent d65ed67 commit 5059261
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 186 deletions.
Loading

0 comments on commit 5059261

Please sign in to comment.