Do you know if there any potential disadvantages of 'skipWaiting' in the context of service workers in extensions? For the context, my service worker uses fetch to communicate with servers, listens to both internal and external messages, uses storage.local and storage.session.
Also, I found a method to reproduce the behaviour I described in my first message in this thread, not sure if it's the minimal one though:
1. Install the extension
2. Open extension's options page and keep its tab opened - this seems to be crucial
4. Make any change to the service worker source (e.g. add line const foo = 42;), to cause update of the service worker - I'm using webpack if that matters
5. Go to the tab from step 3. and again trigger sendMessage
6. Open another new tab, and again trigger sendMessage to the service worker - now service worker does not listen to sent messages.