Page MenuHomePhabricator

D10351.id34701.diff
No OneTemporary

D10351.id34701.diff

diff --git a/web/push-notif/push-notifs-handler.js b/web/push-notif/push-notifs-handler.js
--- a/web/push-notif/push-notifs-handler.js
+++ b/web/push-notif/push-notifs-handler.js
@@ -102,7 +102,7 @@
}
const workerRegistration = await navigator.serviceWorker?.ready;
- if (!workerRegistration) {
+ if (!workerRegistration || !workerRegistration.pushManager) {
return;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 10:55 AM (21 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2496925
Default Alt Text
D10351.id34701.diff (402 B)

Event Timeline