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 anexperimental technology
Check theBrowser compatibility table carefully before using this in production.
The HTTPPermissions-Policy headersummarizer directive controls access to theSummarizer API.
Specifically, where a defined policy blocks Summarizer API usage, any attempts to call the API's methods will fail with aNotAllowedErrorDOMException.
In this article
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 forsummarizer isself.
Specifications
| Specification |
|---|
| Writing Assistance APIs> # summarizer-permissions-policy> |