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 that <script type=webbundle> doesn't fire a load nor an error event #696

Merged
merged 2 commits into from
Oct 26, 2021

Conversation

hayatoito
Copy link
Collaborator

issue #670.

@hayatoito hayatoito requested a review from irori October 25, 2021 08:29
Copy link
Collaborator

@irori irori left a comment

Choose a reason for hiding this comment

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

I think this is pretty inconvenient. Is it a bad idea to fire load and error just like we did for <link rel="webbundle">?

@@ -172,6 +172,11 @@ using document's [base URL](https://html.spec.whatwg.org/#document-base-url).

`<script type="webbundle">` doesn't support `src=` attribute. The rule must be inline.

`<script type="webbundle">` doesn't fire a `load` event.
Copy link
Collaborator

Choose a reason for hiding this comment

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

How about the error event?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done. Mentioned it.

@hayatoito
Copy link
Collaborator Author

I think this is pretty inconvenient. Is it a bad idea to fire load and error just like we did for <link** rel="webbundle">`?

Yes, this is pretty inconvenient. For further discussion, I've filed an issue #697.

I've also updated the PR to mention an error event and the issue #697.

This PR can be now considered to clarify the current support status.

@hayatoito hayatoito changed the title Clarify that <script type=webbundle> doesn't fire a load event Clarify that <script type=webbundle> doesn't fire a load nor an error event Oct 26, 2021
@hayatoito hayatoito merged commit 4096cd0 into WICG:main Oct 26, 2021
github-actions bot added a commit that referenced this pull request Oct 26, 2021
… event (#696)

SHA: 4096cd0
Reason: push, by @hayatoito

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
hayatoito added a commit to hayatoito/webpackage that referenced this pull request Oct 26, 2021
hayatoito added a commit that referenced this pull request Oct 26, 2021
github-actions bot added a commit that referenced this pull request Oct 26, 2021
SHA: 658b98f
Reason: push, by @hayatoito

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@hayatoito hayatoito deleted the load-event branch March 7, 2022 08:54
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.

2 participants