Permissions-Policy: summarizer directive
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The HTTP Permissions-Policy header summarizer directive controls access to the Summarizer API.
Specifically, where a defined policy blocks Summarizer API usage, any attempts to call the API's methods will fail with a NotAllowedError DOMException.
Syntax
http
Permissions-Policy: summarizer=<allowlist>;
<allowlist>-
A list of origins for which permission is granted to use the feature. See
Permissions-Policy> Syntax for more details.
Default policy
The default allowlist for summarizer is self.
Specifications
| Specification |
|---|
| Writing Assistance APIs> # summarizer-permissions-policy> |
Browser compatibility
Loading…