document-policy icon indicating copy to clipboard operation
document-policy copied to clipboard

Clarify strictness in policy compatibility

Open lflores-ms opened this issue 2 months ago • 0 comments

Algorithm 9.1 "Is policy compatible?" (and elsewhere in the draft) refers to a value being "stricter" than the declared policy, but the spec does not define what "stricter" means.

While it may seem intuitive, implementations may differ. Chromium currently assumes that false is stricter than true for boolean policies (from reusing Permissions Policy logic), but this does not align with policies like force-load-at-top, where true is arguably stricter. It would be helpful for the spec to define “stricter” explicitly, especially for boolean and other common value types.

lflores-ms avatar Oct 17 '25 03:10 lflores-ms