- From: Jan-Ivar Bruaroey <notifications@github.com>
- Date: Tue, 14 Feb 2023 13:41:38 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 14 February 2023 21:41:50 UTC
We've [suggested this to sites](https://bugzil.la/1609427#c4) in the past, but they've [refused storage as a solution](https://bugzil.la/1609427#c10), claiming too many edge cases to worry about. The challenge seems to be to abstract this information in a manner sites can respond to directly, without requiring them to write extra code to accommodate specific user agents, which they're not doing. I don't think this impacts web compat much, as sites seem to chase `"granted"` as the happy path: - Sites that use `if (state != "granted") primeUser()` would remain unaffected - Sites that use `if (state == "prompt") primeUser()` would no longer prime returning users (an improvement from my pov). -- Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/issues/414#issuecomment-1430414069 You are receiving this because you are subscribed to this thread. Message ID: <w3c/permissions/issues/414/1430414069@github.com>
Received on Tuesday, 14 February 2023 21:41:50 UTC