Page MenuHomePhabricator

D10351.diff
No OneTemporary

D10351.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, 8:26 AM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2496925
Default Alt Text
D10351.diff (402 B)

Event Timeline