-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the check on registering an element interface as a custom element
Previously, this would be prevented at definition time. However, that required extra work to know all of the possible element interfaces, and was inconsistent with other failure cases. This moves the necessary check to construction time, which allows it to be simplified. Fixes WICG/webcomponents#541.
- Loading branch information
Showing
1 changed file
with
24 additions
and
31 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