- From: Jungkee Song <notifications@github.com>
- Date: Thu, 15 Dec 2016 17:59:41 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 16 December 2016 02:00:15 UTC
@slightlyoff, I understand.. you were talking about this: ```js self.addEventListener('push', e => { registration.showNotification('Seeing this again?', {icon: 'same-scope/atlocal.png'}); }; self.addEventListener('fetch', e => { registration.showNotification('Seeing this again?', {icon: 'same-scope/atlocal.png'}); }; ``` Not sure if we considered this point (or missed it) that the APIs that intend to follow the proposed default behavior (i.e. enter SW again) can create a loop in this way. Should each API deal with this by having some internal state in the spec algorithm to avoid a loop? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/303#issuecomment-267498220
Received on Friday, 16 December 2016 02:00:15 UTC