Latest Edge update causes pages with service worker to crash

D, Marcin 0 Reputation points
2025-12-12T14:29:55.5333333+00:00

After first registration of services worker then killing and reopening browser - page causes tab to not responding.

Example of page: https://fdp.uat.merchantportal.firstdata.eu/fdpMerchantUI/#/

Chrome works fine, edge too, but only at first visit or after refresh

Microsoft Edge | Website issues | Windows 11
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-12T14:30:08.33+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    It seems that you are experiencing issues with Microsoft Edge where pages using service workers become unresponsive after the initial registration and subsequent browser restarts. This could be related to known issues with service workers in Edge, especially if the service worker is not handling state correctly after being restarted.

    To troubleshoot this issue, you might consider the following steps:

    1. Check for Updates: Ensure that you are using the latest version of Microsoft Edge, as updates often include fixes for known issues.
    2. Clear Cache: Sometimes, clearing the cache can resolve issues related to service workers. You can do this by going to Edge settings and clearing browsing data.
    3. Test in InPrivate Mode: Open an InPrivate window to see if the issue persists. This can help determine if the problem is related to cached data or extensions.
    4. Disable Extensions: Temporarily disable any extensions to see if they are causing conflicts with the service worker.
    5. Review Service Worker Code: Ensure that your service worker code is correctly handling events and states, especially during the installation and activation phases.
    6. Report the Issue: If the problem continues, consider reporting it to Microsoft Edge support, providing them with details about the issue and your environment.

    These steps may help mitigate the issue you're facing with service workers in Microsoft Edge.


    References:


  2. Harold Milan 12,290 Reputation points Independent Advisor
    2025-12-12T15:03:34.3833333+00:00

    Hi,

    The tab freeze happens because the service worker takes control after the first registration and intercepts navigation requests incorrectly. When the browser is reopened, the page is loaded under the service worker’s control, and if its fetch handler or activation logic doesn’t return a valid response or gets stuck in a loop the browser waits indefinitely, causing the tab to hang.

    The first visit works because the page loads without the service worker controlling it. After refresh or relaunch, the SW is active, and any broken logic in fetch or activate blocks the page.

    Adjust the service worker so it doesn’t intercept navigations blindly, add timeouts and error handling, and clear old caches before retesting. I Hope this helps!

     

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.