generated from explainers-by-googlers/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
The current spec draft locates this after:
- checks
- local-URLs-only
- CSP report-only reports
- bad port
- mixed content
- CSP enforce
- Integrity policy
- request modifications
- upgrade insecure requests
- upgrade mixed content requests
It thus misses at least the following:
- checks
- "same-origin" mode check
- non-HTTP(S) schemes check
- request modifications
- referrer determination
- HSTS
as well as possibly other harder-to-classify stuff in step 12, e.g. response tainting for "navigate", "websocket", or "no-cors" cases
Although a carefully-written OverrideResponseForRequest might be fine with these, e.g. if it makes sure to never inspect the referrer, include both http:
and https:
cases to deal with HSTS upgrades, never reacts to non-HTTP(S) URLs, etc., I think it would be better spec architecture if the hook was inserted later.
My suggestion is that it should be located near the top of HTTP fetch, but I don't guarantee this is the very best place.
Metadata
Metadata
Assignees
Labels
No labels