-
Notifications
You must be signed in to change notification settings - Fork 118
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
Conversation
There was a problem hiding this 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">
?
explainers/subresource-loading.md
Outdated
@@ -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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Mentioned it.
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. |
… event (#696) SHA: 4096cd0 Reason: push, by @hayatoito Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
SHA: 658b98f Reason: push, by @hayatoito Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
issue #670.