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

Clarify how <script type=webbundle> affects speculative HTML parsing. #747

Open
hayatoito opened this issue May 24, 2022 · 1 comment
Open

Comments

@hayatoito
Copy link
Collaborator

We should clarify how <script type=webbundle> affects speculative HTML parsing.

A browser must not fetch a resource from the network speculatively if <script type=webbundle> says the resource should be fetched from the bundle.

Regarding a browser's implementation, the chromium already implements this kind of behaviour in html_preload_scanner, as far as I understand correctly.

Note that this was pointed out here. Much appreciated!

@hayatoito
Copy link
Collaborator Author

In addition to that, HTMLPreoadScanner would need to now be able to read JSON in order to know how to preload the bundle.

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

No branches or pull requests

1 participant