Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change createElement to report exceptions instead of rethrowing
Such exceptions can occur due to custom element constructors or invariant checks. This closes WICG/webcomponents#569 by moving the catch-and-return-HTMLUnknownElement from HTML to DOM; HTML will subsequently be updated to remove that logic.
- Loading branch information
Showing
2 changed files
with
34 additions
and
12 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
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