feat(spec): add examples for Permission Policy - #695
Conversation
✅ Deploy Preview for webmonetization-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
meyerweb
left a comment
There was a problem hiding this comment.
Noticed a couple of grammatical errors nearby while reviewing the changes.
| </pre> | ||
| <p> | ||
| Fetches for the following code will return a network errors, as the | ||
| URL provided do not match monetization-src's source list: |
There was a problem hiding this comment.
| URL provided does not match monetization-src's source list: |
There was a problem hiding this comment.
Good catch! I've created a separate PR for that as it's unrelated and I like to keep PRs focused on one topic: #715
| Content-Security-Policy: monetization-src https://example.com/ | ||
| </pre> | ||
| <p> | ||
| Fetches for the following code will return a network errors, as the |
There was a problem hiding this comment.
| Fetches for the following code will return a network error, as the |
There was a problem hiding this comment.
That last edit could also be “Fetches for the following code will return network errors, as the” depending on how you want to shade it (and especially if a single fetch can return multiple errors).
There was a problem hiding this comment.
Good catch! I've created a separate PR for that as it's unrelated and I like to keep PRs focused on one topic: #715
Adding two examples for the Permission Policy, covering both
allowattribute andPermission-Policyheader usage.