Skip to content

"create navigation params by fetching" invokes "should navigation request of type be blocked by Content Security Policy?" without setting the policy container #10796

@ghost

Description

What is the issue with the HTML Standard?

The request's policy container is set only in 1, step 12. "should navigation request of type be blocked by Content Security Policy?" is called from 2, step 19.3. 1 is called from step 19.5 of 2. So during the first iteration of the while-loop at step 19 of 2, the request's policy container will be its default value, "client". 3 doesn't handle "client", though.

CC @antosart, as mentioned at w3c/webappsec-csp#692 (comment).

Footnotes

  1. https://fetch.spec.whatwg.org/#concept-fetch 2

  2. https://html.spec.whatwg.org/multipage/browsing-the-web.html#create-navigation-params-by-fetching 2 3

  3. https://www.w3.org/TR/CSP3/#should-block-navigation-request

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions