mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Use TypeError instead of InvalidState for exception.
Addresses Issue #23202
This commit is contained in:
parent
1e158bbfae
commit
15c06b1b26
5 changed files with 10 additions and 29 deletions
|
@ -13,7 +13,7 @@ interface CustomElementRegistry {
|
|||
Promise<void> whenDefined(DOMString name);
|
||||
};
|
||||
|
||||
callback CustomElementConstructor = any();
|
||||
callback CustomElementConstructor = HTMLElement();
|
||||
|
||||
dictionary ElementDefinitionOptions {
|
||||
DOMString extends;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue