gecko-dev/dom/push
Lina Cambridge 4dac2b2a1d Bug 1621756 - Don't send the Push UAID if there are no push subscriptions. r=englehardt
This commit changes the Push client code to check for existing push
subscriptions when connecting to the server, and omits the UAID from
the `hello` handshake if there are none. This, in turn, causes the
server to issue a new UAID, which we keep until either the next
reconnect, or when the user subscribes to push. It's a way to rotate
the UAID and reduce the privacy risk of tying a persistent identifier
to the connection.

Differential Revision: https://phabricator.services.mozilla.com/D66485

--HG--
extra : moz-landing-system : lando
2020-03-30 18:21:09 +00:00
..
test Bug 1621756 - Don't send the Push UAID if there are no push subscriptions. r=englehardt 2020-03-30 18:21:09 +00:00
components.conf
moz.build
Push.jsm Bug 1610582 - Don't prompt for permission if dom.push.testing.ignorePermission enabled r=lina 2020-01-22 21:28:24 +00:00
Push.manifest Bug 1369436, Load PushComponents.js after startup. r=lina,mconley 2019-09-25 15:50:58 +00:00
PushBroadcastService.jsm
PushComponents.jsm Bug 1369436, Load PushComponents.js after startup. r=lina,mconley 2019-09-25 15:50:58 +00:00
PushCrypto.jsm Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub 2020-03-13 23:38:52 +00:00
PushDB.jsm Bug 1608281 - Automated rewrite away from reading properties on the global this in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
PushManager.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/push. r=smaug 2020-03-09 15:05:52 +00:00
PushManager.h
PushNotifier.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/push. r=smaug 2020-03-09 15:05:52 +00:00
PushNotifier.h
PushRecord.jsm
PushService.jsm Bug 1385952, Remove usage of Preferences.jsm from PushService and PushServiceWebsocket in order to load preferences before becoming idle r=mconley 2019-09-27 20:43:48 +00:00
PushServiceAndroidGCM.jsm Bug 1369436, Load PushComponents.js after startup. r=lina,mconley 2019-09-25 15:50:58 +00:00
PushServiceHttp2.jsm Bug 1369436, Load PushComponents.js after startup. r=lina,mconley 2019-09-25 15:50:58 +00:00
PushServiceWebSocket.jsm Bug 1621756 - Don't send the Push UAID if there are no push subscriptions. r=englehardt 2020-03-30 18:21:09 +00:00
PushSubscription.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/push. r=smaug 2020-03-09 15:05:52 +00:00
PushSubscription.h
PushSubscriptionOptions.cpp
PushSubscriptionOptions.h
PushUtil.cpp bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
PushUtil.h