[Webkit-unassigned] [Bug 254938] New: 16.4 made our page crash on page load due to service workers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 3 13:13:49 PDT 2023


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

            Bug ID: 254938
           Summary: 16.4 made our page crash on page load due to service
                    workers
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: iOS 16
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Service Workers
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jespertheend at gmail.com

Since iOS 16.4 was released we started getting reports that our site crashes on page load.
After trial and error I managed to find out that it was the service worker causing this.
Though I'm not sure what exactly it is that makes our page crash, since other sites with a service worker seem fine.
That said our service worker does not seem that complex: https://narrow.one/js/sw.js

For now I have disabled the service worker in production using `navigator.userAgent.includes("AppleWebKit/605.1.15")`,
but it can be enabled using /?serviceWorker=true.

So the steps to reproduce are:
1. Visit https://narrow.one/?serviceWorker=true
2. Wait a few seconds for the service worker to install
3. Reload the page.

I've verified these steps on both iOS/Safari, iOS/Chrome and macOS/Safari.

I hope that helps. Let me know if you have any questions.

-- 
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/20230403/e400fec1/attachment.htm>


More information about the webkit-unassigned mailing list