WICG / web-preferences-api

The Web Preference API aims to provide a way for sites to override the value for a given user preference (e.g. color-scheme preference) in a way that fully integrates with existing Web APIs.
https://wicg.github.io/web-preferences-api/
Other
41 stars 2 forks source link

Where should the PreferenceManager interface be exposed? #11

Open lukewarlow opened 1 year ago

lukewarlow commented 1 year ago

Currently the API is exposed in secure contexts and only to Window.

I also can't think of a reason why you'd need this API in service or web workers?

lukewarlow commented 1 year ago

It's also worth taking a moment to consider if navigator is the correct place to put this?