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

I made progress on CSP https://github.com/w3c/webappsec-csp/pull/621.

One thing: I realized that the various "is request blocked" algorithms actually have side effects (reporting violations), hence, opposite to what I was proposing before, I have the impression that a more verbose formulation (calling "if **determining whether response is blocked by Content Security Policy** given *response* returns true") is more appropriate, since it emphasises that the algorithm does more than just returning a boolean.

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

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

Received on Thursday, 5 October 2023 08:54:52 UTC