jrconlin / WebPushDataTestPage

Web Push Data Encryption Test Page
Mozilla Public License 2.0
15 stars 11 forks source link

Page should handle permission ask and recovery better #3

Open jrconlin opened 8 years ago

jrconlin commented 8 years ago

The page does a terrible job of handling the initial permission ask, often requiring multiple whole page refreshes before things start working.

The 'pushsubscriptionchange' event is fired to the serviceworker on allow or block change. The page should attempt to resubscribe and propagate its data without requiring reloading.