Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear the custom element reaction queue if upgrading fails
Fixes WICG/webcomponents#563, and an analogous issue when the constructor uses return-override, by ensuring that all exceptions go through the same path, which both sets the custom element state to "failed", and clears the custom element reaction queue.
- Loading branch information
Showing
1 changed file
with
43 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters