Skip to content
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

Add preload and prerender contexts #36

Closed
igrigorik opened this issue Apr 3, 2015 · 6 comments
Closed

Add preload and prerender contexts #36

igrigorik opened this issue Apr 3, 2015 · 6 comments

Comments

@igrigorik
Copy link
Member

Current list of contexts contains prefetch but omits prerender and preload, which need to be added to the list. I'm thinking...

/cc @yoavweiss @mikewest

@annevk
Copy link
Member

annevk commented Apr 4, 2015

It seems they should be governed by CSP somehow, otherwise you can "escape the page" without performing navigation. (Unless these are same-origin restricted?)

@annevk
Copy link
Member

annevk commented Apr 4, 2015

Also, to be clear, that big table is informative and not normative about what CSP will do. CSP will be rewritten in terms of Fetch in due course and then this should be a lot clearer.

@annevk
Copy link
Member

annevk commented May 5, 2015

Closing this. CSP alignment will come when @mikewest fixes CSP to use Fetch.

@annevk annevk closed this as completed May 5, 2015
@igrigorik
Copy link
Member Author

@annevk sorry missed the earlier commit. Thanks for adding preload/prerender!

One gotcha that I was reminded after opening this bug: connect-src is not the right policy for preload. See: w3c/preload#17 (comment)... We should probably leave it as empty for now, at least until we resolve our "as" exploration.

@annevk
Copy link
Member

annevk commented May 5, 2015

Done.

@igrigorik
Copy link
Member Author

thanks!

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

No branches or pull requests

2 participants