Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Navigation should be based on Fetch. #548

Closed
mikewest opened this issue Aug 1, 2016 · 7 comments
Closed

Navigation should be based on Fetch. #548

mikewest opened this issue Aug 1, 2016 · 7 comments
Assignees
Milestone

Comments

@mikewest
Copy link
Member

mikewest commented Aug 1, 2016

Compare https://w3c.github.io/html/browsers.html#navigating-across-documents to https://html.spec.whatwg.org/#navigate. The latter calls into Fetch for processing, the former doesn't. This makes it pretty hard to port changes like whatwg/html#1230.

It would be helpful if the W3C version of this document picked up navigation-related changes to ensure that we don't have to write these kinds of hooks twice.

mikewest added a commit to w3c/webappsec-csp that referenced this issue Aug 1, 2016
This introduces a new 'navigation check', which we'll need to wire up to
HTML. That, in turn, requires HTML to use Fetch. WHATWG's does, W3C's
does not (w3c/html#548).
@mikewest
Copy link
Member Author

Talking with @estark37 a moment ago, referrer policy is another concrete example of a spec that this is going to block: see the series of patches that landed in WHATWG's HTML to resolve w3c/webappsec-referrer-policy#40.

/cc @wseltzer @hillbrad @dveditz

@mikewest
Copy link
Member Author

Note that this is going to block CSP as well, due to the various navigation hooks we need (see whatwg/html#1619).

@adanilo
Copy link

adanilo commented Aug 29, 2016

Thanks, we'll aim to port these changes in. Aiming for part of 5.2 is the most likely target.

@mikewest
Copy link
Member Author

Wonderful, thank you @adanilo!

@adanilo adanilo self-assigned this Aug 31, 2016
@mikewest
Copy link
Member Author

mikewest commented Oct 7, 2016

Ping.

@adanilo
Copy link

adanilo commented Oct 17, 2016

Reviewing this now

@adanilo
Copy link

adanilo commented Mar 30, 2017

Current 5.2 WD references fetch.

@adanilo adanilo closed this as completed Mar 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants