New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation should be based on Fetch. #548

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

Comments

Projects
None yet
4 participants
@mikewest
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

Move 'frame-ancestors' processing to navigation (whatwg/html#1230)
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

This comment has been minimized.

Member

mikewest commented Aug 16, 2016

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

This comment has been minimized.

Member

mikewest commented Aug 18, 2016

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

@adanilo

This comment has been minimized.

Contributor

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

This comment has been minimized.

Member

mikewest commented Aug 30, 2016

Wonderful, thank you @adanilo!

@adanilo adanilo self-assigned this Aug 31, 2016

@mikewest

This comment has been minimized.

Member

mikewest commented Oct 7, 2016

Ping.

@adanilo

This comment has been minimized.

Contributor

adanilo commented Oct 17, 2016

Reviewing this now

@adanilo

This comment has been minimized.

Contributor

adanilo commented Mar 30, 2017

Current 5.2 WD references fetch.

@adanilo adanilo closed this Mar 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment