- While on a different site, I turn offline mode on in the network tab.
- I navigate to my web app, which is available offline thanks to the service worker.
- I click some buttons that are supposed to register a Background Sync.
- I turn offline mode off in the network tab.
- Nothing happens.
- I close browser, restart computer, try again with the steps that worked above, and no Background Syncs are ever triggered after this.
- After I go to the Application tab, and unregister the service worker, and try again from a fresh installation, the first steps work, but the second set of steps keeps breaking the Background Sync
This leads me to believe the sync registration happens, but the service worker isn't listening anymore. And no matter what I do, like close the browser tab, refresh the page when online, wait a while, the service worker just won't listen to sync events anymore.