Forum Discussion
William Devereux
Microsoft
Nov 10, 2020Improving notifications and badging in Microsoft Edge
Notifications are an important part of the web, helping users stay up to date about what’s going on. Earlier this summer we announced a set of changes to make notification requests less distracting f...
DevLance91
Nov 11, 2020Copper Contributor
Jungkee_Song Any chance we can get an update on this one https://techcommunity.microsoft.com/t5/discussions/potential-bug-retrieving-service-worker-notifications-on-macos/m-p/1813448? We just ran into it today, and figure it's a pretty bad bug as it can affect notifications. Essentially, calling "getNotifications()" (https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/getNotifications) in the service worker in Edge on macOS just hangs on the promise, and never resolves. For us, this results in our service worker notifications never being sent as they're created in the code following that call. It works fine in Edge on Windows.
Jungkee_Song
Dec 17, 2020Former Employee
Thank you so much for reporting it to us. Sorry for your inconvenience with this issue, DevLance91, @elidupuis.
We confirmed this bug and are currently working on a fix. We'll keep you posted once we're ready with the fix.
Thank you,
Jungkee Song
PM, Microsoft Edge