Skip to content

<script type=webundle> should fire a load (or error) event? #697

Open
@hayatoito

Description

@hayatoito

The main issue is #670.

It's unclear whether <script type=webbundle> should fire a load (or error) event or not.
And if they should be fired, when should <script type=webbundle> fire them?

  • When its inline JSON is successfully parsed?
  • When the bundle specified in source is loaded?
  • Or any other timings?

For references, the other <script type=>-ish elements' behaviors are:

We might want to align the event semantics of <script type=webbundle> with Bundle Preloading so that we can converge them in the future.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions