Re: [whatwg/fetch] "should X be blocked" is a bad pattern (Issue #1714)

Makes all sense to me. For CSP:

For 3. I already have a draft PR to fix the headings problems in https://github.com/w3c/webappsec-csp/pull/621.
For 1. I think it would make sense for me to update that draft removing all the "should"s.

For 2., I was already struggling before. The wording 'if the result of **determining whether response should be blocked by Content Security Policy** given *response* is "Allowed"' sounds overly elaborate. If we change the result types into **true** or **false** from infra, could we just call 'if *response* is **blocked by Content Security Policy**'? And define something like

```
To determine whether a [=response=] is <dfn for=response export>blocked by Content Security Policy</dfn>
execute the following steps: ... 
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1714#issuecomment-1742461555
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1714/1742461555@github.com>

Received on Monday, 2 October 2023 06:29:19 UTC