Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push subscriptions are not associated with service workers #388

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

annevk
Copy link
Member

@annevk annevk commented Aug 26, 2024

Fixes #384.


Preview | Diff

Copy link
Member

@saschanaz saschanaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but maybe @asutherland want to double check?

That said I think Gecko still maps push with the SW scope instead of each registration: https://searchfox.org/mozilla-central/rev/aee7c3a0dbf33af0c4f6648f391db62b35895e50/dom/push/PushManager.cpp#506 (which we want to fix)

Copy link

@asutherland asutherland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the coupling to ServiceWorker here seems like it was in error regardless of what we do as a result of #368.

@annevk annevk merged commit 3a1f3d6 into gh-pages Sep 3, 2024
2 checks passed
@annevk annevk deleted the push-subscriptions branch September 3, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

What is a push subscription associated with?
3 participants