Re: [slightlyoff/ServiceWorker] openWindow with a WebApp manifests (#720)

> We currently use a heuristic that the link in the notification to be opened needs to share the longest path of the homescreen shortcut's URL. This is obviously a bit deficient, but working out how to do this properly with scopes and the like is complex. Is the notification opening a link that lives on a different origin/path to the app you added to your homescreen?

It seems to me this should be a spec'd thing and not just a browser heuristic.

Maybe we could formalize this behavior in the spec for now.  In the future we could add some kind of entry to the manifest or a meta tag to match other URLS.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/720#issuecomment-232675454

Received on Thursday, 14 July 2016 14:07:46 UTC