- From: Matt Falkenhagen <notifications@github.com>
- Date: Thu, 10 Nov 2016 01:38:34 -0800
- To: w3c/push-api <push-api@noreply.github.com>
Received on Thursday, 10 November 2016 09:39:07 UTC
The steps for `subscribe` wait for the installing or waiting version to become active before resolving the promise. This seems to mean `oninstall = e => { e.waitUntil(self.registration.subscribe()); }` would cause a deadlock (though the UA may timeout the event and fail the installation). Maybe subscribe() should reject if called without an active worker? I believe Chrome's current implementation does this. -- 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/push-api/issues/221
Received on Thursday, 10 November 2016 09:39:07 UTC