Resolve whenDefined with the class constructor

This commit is contained in:
CYBAI 2020-09-10 22:48:33 +09:00
parent 03fb9c5d6e
commit 312479f816
3 changed files with 20 additions and 22 deletions

View file

@ -32,19 +32,3 @@
[customElements.define must not throw when defining another custom element in a different global object during Get(constructor, "prototype")]
expected: FAIL
[A promise returned by customElements.whenDefined must be resolved by "define"]
expected: FAIL
[customElements.whenDefined must return a new resolved promise each time invoked when the registry contains the entry with the given name]
expected: FAIL
[A promise returned by customElements.whenDefined must be resolved with the defined class once such class is defined]
expected: FAIL
[customElements.whenDefined must return a resolved promise when the registry contains the entry with the given name]
expected: FAIL
[A promise returned by customElements.whenDefined must be resolved with the defined class]
expected: FAIL