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
Tue, Dec 24, 4:15 PM (5 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2700449
Default Alt Text
D10351.diff (402 B)

Event Timeline