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?