- From: Salvador de la Puente González <notifications@github.com>
- Date: Wed, 01 Jul 2015 23:44:58 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 2 July 2015 06:45:25 UTC
@jakearchibald suppose I'm in a team management software application and I receive a push notification for an incomming chat request. The SW open a client window with the incoming conversation via `openWindow()`. After chatting, I want to close all the conversation through the main window. To do this, I need a reference of each incoming chat. A feasible solution is to add the name parameter so the SW could generate and store the name for the open window in such a way the main application could get the list of open chats and close them all. It makes sense to track new open windows. We have this mechanism for `window.open()` (the name parameter) and for iframes (the iframe itself) but those window contexts open from current implementation of `openWindow()` are untraceable. Does it makes sense for you? --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/711#issuecomment-117928564
Received on Thursday, 2 July 2015 06:45:25 UTC