Re: [ServiceWorker] How are unloaded tabs represented? (#626)

Two issues with that:

1. The browser would presumably only overwrite tabs with exact URL matches, but webapps frequently change URL via `history.pushState` or `location.hash`. It's better to let the webapp decide whether to reuse tabs (e.g. maybe it's ok to reuse `/sent` to show `/inbox`).

2. Browsers like to do nice things like restoring form data when resurrecting an asleep tab. If they just overwrite the asleep tab, there may be some data loss; though I guess they could avoid overwriting if the user modified form data.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/626#issuecomment-74557438

Received on Monday, 16 February 2015 19:07:38 UTC