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

Specify the HTML spec integration #721

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

hiroshige-g
Copy link
Collaborator

@hiroshige-g hiroshige-g commented Mar 27, 2022

  • Fill the HTML monkeypatches section.
  • Introduce web bundle fetch entry that tracks fetching and reusing fetched bundles. source and credentials are moved from bundle rule, because they are associated with fetched bundles rather than rules.
  • Rename web bundle to web bundle registration, to distinguish it more clearly from web bundle fetch entry.
  • Adjust existing parts of the spec accordingly.

Preview | Diff

subresource-loading.bs Outdated Show resolved Hide resolved
subresource-loading.bs Show resolved Hide resolved
subresource-loading.bs Outdated Show resolved Hide resolved
subresource-loading.bs Outdated Show resolved Hide resolved
Copy link
Collaborator

@hayatoito hayatoito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for writing this! Overall, looks great!

subresource-loading.bs Outdated Show resolved Hide resolved
@hiroshige-g hiroshige-g force-pushed the WebBundleScriptSpec branch 2 times, most recently from 8889975 to dacdd73 Compare April 6, 2022 21:28
@hiroshige-g
Copy link
Collaborator Author

Rebased & reflected comments.

@domenic just FYI for scripting part. While doing some new things (e.g. adding a "removed from the document" hook to script elements etc.), I expect this PR doesn't affect the semantics/mechanisms of scripts elements, as this PR doesn't process updated textContent after prepare-a-script.

Copy link
Collaborator

@hayatoito hayatoito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for rebasing and cleaning up.
The PR captures our intention well! (eg. Reusing webbundle resources in "remove, then add" case).

For the detail of script parts, especially consistency with other kinds of <script> elements, I would defer to @domenic.

subresource-loading.bs Show resolved Hide resolved
@hayatoito
Copy link
Collaborator

I think it's fine to merge this at this point. Thanks!
For remaining issues, we can address later.

@hayatoito hayatoito merged commit fcb50a7 into WICG:main Apr 12, 2022
github-actions bot added a commit that referenced this pull request Apr 12, 2022
SHA: fcb50a7
Reason: push, by @hayatoito

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

3 participants