Re: [w3c/push-api] Allow firing pushsubscriptionchange on all permission changes (PR #400)

saschanaz left a comment (w3c/push-api#400)

> It's not clear to me that we want to always mandate firing the event. There might be a lot of cases in which the permission state changes (part of this is vendor specific) and I'm not sure that the user agents always want to start a service worker. For example, if the permission is ungranted because of deleting site data (and yes that would also delete the service worker registration, but maybe afterwards) maybe the user agent wouldn't want to fire the event.

Fair point. I think `test_driver.set_permission` would map to the "usual" permission change by user though, and then we can write WPT. And maybe it's worth having a note in the spec why it's not mandated.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/400#issuecomment-2820985515
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/push-api/pull/400/c2820985515@github.com>

Received on Tuesday, 22 April 2025 11:12:40 UTC