JavaScript Background Sync Stops Working if Page is Loaded/Refreshed while offline
问题 I'm currently learning how to use Background Sync as to allow users to PUT/POST changes while using a web app offline. I followed the instructions given by Jake Archibald in Introducing Background Sync , and everything worked great... as long as I register the Background Sync when the web app was loaded while being online . What I mean by that is: Steps that work: While online I open web app I turn offline mode on in the network tab I click some buttons that register a Background Sync. I turn