- From: Ben Kelly <notifications@github.com>
- Date: Thu, 30 Mar 2017 23:02:26 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 31 March 2017 06:03:02 UTC
It would be nice we could provide an API to snapshot the current window as a full `Client` snapshot object. What about something like: ``` let selfClient = new Client(window); let frame = document.createElement(iframe); document.body.appendChild(frame); let FrameClient = new Client(frame.contentWindow); ``` Seems if you have synchronous access to a window global we could simply mint the full Client object immediately. -- 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/643#issuecomment-290624745
Received on Friday, 31 March 2017 06:03:02 UTC