Skip to content

Use of "Get the effective directive for inline checks" in "Should navigation request of type from source in target be blocked by Content Security Policy?" doesn't seem to make sense #396

@bzbarsky

Description

@bzbarsky

I am looking at https://w3c.github.io/webappsec-csp/#should-block-navigation-request step 3.1.1.1 and step 3.1.1.3.

The former calls into https://w3c.github.io/webappsec-csp/#effective-directive-for-inline-check and passes in either "form submission" or "other" as a type. In either case, the returned value will be null.

The latter calls into https://w3c.github.io/webappsec-csp/#create-violation-for-global which expects to be passed a string for directive. null is not a string.

What's actually supposed to happen here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    editorialChanges that do not affect how the standard is understood

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions