Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Errors should no longer be cleared #533

Closed
guybedford opened this issue May 20, 2017 · 2 comments
Closed

Errors should no longer be cleared #533

guybedford opened this issue May 20, 2017 · 2 comments

Comments

@guybedford
Copy link
Member

We should now seek to follow the error behaviour of module scripts, as detailed in whatwg/html#2595.

In short:

  • Retain the error state in the registry indefinitely
  • Abort the instantiation process if there is a load error
  • Rethrow only at the execution phase if there is an execution error.
guybedford added a commit that referenced this issue May 26, 2017
@guybedford
Copy link
Member Author

This has been implemented, with support for System.delete to clear this state (even though it isn't visible in the public registry.

@guybedford
Copy link
Member Author

Released in 2.2.0.

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

No branches or pull requests

1 participant