Page MenuHomePhabricator

[web] Don't crash if electron.fetchDeviceToken not defined in useCreateDesktopPushSubscription
ClosedPublic

Authored by ashoat on Nov 30 2023, 8:21 PM.
Tags
None
Referenced Files
F3399935: D10129.id34103.diff
Mon, Dec 2, 5:22 AM
F3399414: D10129.diff
Mon, Dec 2, 3:13 AM
Unknown Object (File)
Nov 1 2024, 8:00 PM
Unknown Object (File)
Oct 30 2024, 5:16 PM
Unknown Object (File)
Oct 12 2024, 3:22 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Subscribers

Details

Summary

Context in ENG-6000. This diff fixes a regression introduced in D9970.

Test Plan

I deployed this fix to my keyserver in production and it resolved the issue described on Linear.

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/webpush
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat published this revision for review.Nov 30 2023, 8:23 PM
ashoat retitled this revision from [web] Don't crash if electron not defined in useCreateDesktopPushSubscription to [web] Don't crash if electron.fetchDeviceToken not defined in useCreateDesktopPushSubscription.Nov 30 2023, 8:26 PM
This revision is now accepted and ready to land.Dec 1 2023, 1:01 AM