We want to test if our implementation of web-push notifications will run in Safari 16 as well. So we downloaded the "Safari Technology Preview" 148 from https://developer.apple.com/safari/resources/ to test our implementation of Web-Pushs on macOS Monterey 12.4.
We use this code to detect if a browser supports Web-Pushes:
function WebPushSupported()
{ if (!window.Notification)
{ return false;
}
if (!('serviceWorker' in navigator))
{ return false;
}
if (!('PushManager' in window))
{ return false;
}
return true;
}
This works fine in Chrome, Firefox and so on, but Safari 16 has no object "PushManager" in window.
Are WebPushes through the Push-API still not supported in Safari 16?