Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
49 additions
and
86 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
50 changes: 49 additions & 1 deletion
50
tests/wpt/metadata/custom-elements/custom-element-registry/define.html.ini
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,53 @@ | ||
[define.html] | ||
type: testharness | ||
[Custom Elements: Element definition] | ||
[If constructor is arrow function, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.connectedCallback throws, should rethrow] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.connectedCallback is null, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.connectedCallback is object, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.connectedCallback is integer, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.disconnectedCallback throws, should rethrow] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.disconnectedCallback is null, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.disconnectedCallback is object, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.disconnectedCallback is integer, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.adoptedCallback throws, should rethrow] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.adoptedCallback is null, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.adoptedCallback is object, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.adoptedCallback is integer, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.attributeChangedCallback throws, should rethrow] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.attributeChangedCallback is null, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.attributeChangedCallback is object, should throw a TypeError] | ||
expected: FAIL | ||
|
||
[If constructor.prototype.attributeChangedCallback is integer, should throw a TypeError] | ||
expected: FAIL | ||
|
1 change: 0 additions & 1 deletion
1
tests/wpt/metadata/custom-elements/parser/parser-constructs-custom-elements.html.ini
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
[parser-constructs-custom-elements.html] | ||
type: testharness | ||
expected: ERROR | ||
[HTML parser must create a defined custom element before executing inline scripts] | ||
expected: FAIL | ||
|