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

Speculations over HTTP - inconsistency with prefetch and prerender #313

Open
tunetheweb opened this issue May 7, 2024 · 2 comments
Open

Comments

@tunetheweb
Copy link

tunetheweb commented May 7, 2024

Currently prerender is permitted over HTTP and HTTPS, while prefetch only works over HTTPS.

While there some differences (prefetch can apply in cross-origin context while prerender cannot), the inconsistency is a little confusing.

We have been moving towards restricting powerful APIs to HTTPS-only it would make more sense to me to restrict prerender, rather than relax prefetch, but either way I think we should resolve the inconsistency.

@domenic
Copy link
Collaborator

domenic commented May 8, 2024

Based on some Chrome data, 0.2% of prerenders are over non-secure HTTP. I think we should disable it.

@jeremyroman
Copy link
Collaborator

I think the additional reason here is to diminish the risk of user activity being disclosed to folks able to sniff network traffic (e.g., public Wi-Fi) unless the user really wants to go there (in which case it's the only way to satisfy their intent).

Filed https://crbug.com/340895233 on the Chromium side; @domenic do you want to triage/prioritize this issue and the Chromium bug from here (or ask someone else in Tokyo to)?

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

No branches or pull requests

3 participants