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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 23 10:19:34 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=183086

            Bug ID: 183086
           Summary: ServiceWorkerRegistration.onupdatefound not called
                    after reload
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: brendon at tinyroar.com

ServiceWorkerRegistration.onupdatefound is never called on a reload when the service-worker.js has been changed.


Running the following in Chrome
https://codepen.io/brendonsled/project/editor/ZgYYOe (fork to modify)

On the first load both Chrome and Safari successfully cache properly as noted by the console.log
Content is cached for offline use.

Upon changing the service-worker.js content Chrome successfully receives the onupdatefound as noted by the console.log
New content is available; please refresh.

Where Safari doesn't receive any onupdatefound

-- 
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/20180223/a090f0c8/attachment.html>


More information about the webkit-unassigned mailing list