The service worker registration method getNotifications()
never fulfills (neither resolves nor rejects) in MS Edge on macOS if notification permissions have been granted by the user.
The bug appears to only exist if Notification.permission === 'granted'
, meaning that the user has granted permissions for notifications at the browser level.
This bug has been experienced in Microsoft Edge on macOS, versions 86, 87 (beta), and 88 (dev). It does not appear to be present on Windows.
You can easily test this on any PWA application. First, you'll need to manually toggle notification permissions (granted
is the only state where the bug exists) and then simply run the test snippet into your browser console.