[Webkit-unassigned] [Bug 281155] New: Pushmanager subscribe returns empty endpoint
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 9 11:10:04 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=281155
Bug ID: 281155
Summary: Pushmanager subscribe returns empty endpoint
Product: WebKit
Version: Safari 18
Hardware: Mac (Apple Silicon)
OS: macOS 14
Status: NEW
Severity: Blocker
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andreas at heissenberger.at
This problem **only** exists with Safari 18.0.1, 18.1 and Webkit Technology Preview and old **MacOS 14.7 Sonoma**.
```js
const swReg = await navigator.serviceWorker.ready;
const subscribe = await swReg.pushManager.subscribe({
userVisibleOnly: true,
applicationServerKey: convertedVapidKey
});
console.log('Subscribed!', subscribe);
```
Returns:
```
endpoint: ""
expirationTime: null
```
subscription.toJSON(): {"keys":{"p256dh":"","auth":""}}
--
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/20241009/4ea59dfe/attachment.htm>
More information about the webkit-unassigned
mailing list