[Webkit-unassigned] [Bug 183086] ServiceWorkerRegistration.onupdatefound not called after reload

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Feb 24 14:52:26 PST 2018


Brendon Sled <brendon at tinyroar.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #5 from Brendon Sled <brendon at tinyroar.com> ---
Sorry I wasn't clear.

This error is when the page is loaded with a new source code change of the service worker.

(You can see this behavior on the codepen snippet by modifying the serivce-worker.js and reloading the screen)

There is no onupdatefound triggered in this case.

Due to this there is no way to tell on a page reload if the service worker has been updated.

Because of this bug if we have cached content we can not inform the user to reload the page again to use the latest content.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180224/7cf13b3e/attachment.html>

More information about the webkit-unassigned mailing list