PolymerElements / platinum-sw

Service Worker Polymer element
67 stars 16 forks source link

on-service-worker-installed handler not called in PolymerLabs/todo-list #95

Open kellerapps opened 8 years ago

kellerapps commented 8 years ago

Description

on-service-worker-installed handler (displayInstalledToast() declared in index.html & implemented in app.js) not called in PolymerLabs/todo-list. Also, if the page is reloaded, there's a console msg about boostrap/sw-toolbox-setup.js.

Expected outcome

Toast appears. A console msg I added appears. A breakpoint I set paused.

Actual outcome

No toast, console msg, or breakpoint.

Live Demo

Steps to reproduce

  1. gulp serve (or serve:dist)
  2. observe localhost:5001

    Browsers Affected

    • [x] Chrome (only one tried)
    • [ ] Firefox
    • [ ] Safari 9
    • [ ] Safari 8
    • [ ] Safari 7
    • [ ] Edge
    • [ ] IE 11
    • [ ] IE 10