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.
I think it would be convenient if requestOverride called with null or an empty string would skip the validValue selection, and clear the override (if any exists at the moment).
I think it would be convenient if requestOverride called with null or an empty string would skip the validValue selection, and clear the override (if any exists at the moment).