Re: [w3c/ServiceWorker] A way to control which client (or type of client) receives a navigation (#758)

related to this and to #602, I dont yet see a way to make .openWindow() use the window styles of the original window that installed the service worker. I have a PWA. When added to homescreen its window launches fullscreen.
Consider this use case: app shows a web notification using "requireInteraction: true", then closes the app window. Later the user clicks the notification. In the service worker, it finds no clients so it creates a new client with  .openWindow() , but now the window opens as a regular browser tab.

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

Received on Monday, 2 January 2017 05:31:43 UTC