Skip to content

Commit f69d921

Browse files
committed
fixup! test: add webidl web-platform tests
1 parent c65ed0e commit f69d921

File tree

2 files changed

+78
-1
lines changed

2 files changed

+78
-1
lines changed

test/wpt/status/webidl.json

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,70 @@
1-
{}
1+
{
2+
"ecmascript-binding/class-string-named-properties-object.window.js": {
3+
"fail": {
4+
"expected": [
5+
"evaluation in WPTRunner.runJsTests()"
6+
]
7+
}
8+
},
9+
"ecmascript-binding/global-immutable-prototype.any.js": {
10+
"fail": {
11+
"expected": [
12+
"Setting to a different prototype"
13+
]
14+
}
15+
},
16+
"ecmascript-binding/global-mutable-prototype.any.js": {
17+
"fail": {
18+
"expected": [
19+
"Setting to a different prototype"
20+
]
21+
}
22+
},
23+
"ecmascript-binding/global-object-implicit-this-value.any.js": {
24+
"fail": {
25+
"expected": [
26+
"Global object's getter throws when called on incompatible object",
27+
"Global object's setter throws when called on incompatible object",
28+
"Global object's operation throws when called on incompatible object",
29+
"Global object's getter works when called on null / undefined",
30+
"Global object's setter works when called on null / undefined",
31+
"evaluation in WPTRunner.runJsTests()"
32+
]
33+
}
34+
},
35+
"ecmascript-binding/legacy-factor-function-subclass.window.js": {
36+
"fail": {
37+
"expected": [
38+
"[LegacyFactoryFunction] can be subclassed and correctly handles NewTarget"
39+
]
40+
}
41+
},
42+
"ecmascript-binding/legacy-factory-function-builtin-properties.window.js": {
43+
"fail": {
44+
"expected": [
45+
"Legacy factory function property enumeration order of \"length\", \"name\", and \"prototype\""
46+
]
47+
}
48+
},
49+
"ecmascript-binding/no-regexp-special-casing.any.js": {
50+
"fail": {
51+
"expected": [
52+
"Can be used as an object implementing a callback interface"
53+
]
54+
}
55+
},
56+
"ecmascript-binding/observable-array-no-leak-of-internals.window.js": {
57+
"fail": {
58+
"expected": [
59+
"ObservableArray's internals won't leak"
60+
]
61+
}
62+
},
63+
"ecmascript-binding/observable-array-ownkeys.window.js": {
64+
"fail": {
65+
"expected": [
66+
"ObservableArray's ownKeys trap"
67+
]
68+
}
69+
}
70+
}

test/wpt/test-webidl.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
const common = require('../common');
4+
const { WPTRunner } = require('../common/wpt');
5+
6+
const runner = new WPTRunner('webidl');
7+
8+
runner.runJsTests();

0 commit comments

Comments
 (0)