Add telemetry about how frequently we clear push subscription by site data cleanup
Categories
(Core :: DOM: Push Subscriptions, task)
Tracking
()
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
To decide what to do with Declarative Web Push.
Assignee | ||
Comment 1•1 month ago
|
||
BTW, for mobile we do nothing: https://searchfox.org/mozilla-central/rev/7b3f3fb5fd2cad8f348131498a35a91bef68b47b/mobile/shared/components/geckoview/GeckoViewPush.sys.mjs#147-153
clearForDomain(domain, originAttributesPattern, callback) {
callback.onClear(Cr.NS_OK);
}
clearForPrincipal(principal, callback) {
callback.onClear(Cr.NS_OK);
}
Assignee | ||
Comment 2•29 days ago
|
||
Updated•28 days ago
|
Comment 3•28 days ago
|
||
(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #1)
BTW, for mobile we do nothing: https://searchfox.org/mozilla-central/rev/7b3f3fb5fd2cad8f348131498a35a91bef68b47b/mobile/shared/components/geckoview/GeckoViewPush.sys.mjs#147-153
So in this case we'll expect that the ServiceWorker will be gone even though we might still receive pushes, so there will be no ServiceWorker to wake up? (Noting that ServiceWorkerManager definitely won't go looking to install a ServiceWorker if the registration is gone.)
Comment 5•28 days ago
|
||
bugherder |
Assignee | ||
Comment 6•26 days ago
|
||
(In reply to Andrew Sutherland [:asuth] (he/him) from comment #3)
(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #1)
BTW, for mobile we do nothing: https://searchfox.org/mozilla-central/rev/7b3f3fb5fd2cad8f348131498a35a91bef68b47b/mobile/shared/components/geckoview/GeckoViewPush.sys.mjs#147-153
So in this case we'll expect that the ServiceWorker will be gone even though we might still receive pushes, so there will be no ServiceWorker to wake up? (Noting that ServiceWorkerManager definitely won't go looking to install a ServiceWorker if the registration is gone.)
Seems yes, unless Fenix does something extra to clear things up.
Assignee | ||
Comment 7•23 days ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D238623
Updated•23 days ago
|
Comment 8•23 days ago
|
||
beta Uplift Approval Request
- User impact if declined: None; we only want to learn how frequently unsubscriptions happen to decide on upcoming feature
- Code covered by automated testing: no
- Fix verified in Nightly: no
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: N/A
- Risk associated with taking this patch: None
- Explanation of risk level: only adding telemetry
- String changes made/needed: N/A
- Is Android affected?: no
Updated•23 days ago
|
Comment 9•22 days ago
|
||
Comment on attachment 9468175 [details]
Bug 1948721 - Add telemetry for unsubscriptions by clearing site data r=asuth
Fx136 is now in release for RC week. Moving the uplift request.
Updated•21 days ago
|
Comment 10•21 days ago
|
||
uplift |
Updated•21 days ago
|
Description
•