Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! test: add webidl web-platform tests
  • Loading branch information
anonrig committed Jan 9, 2026
commit f69d92133c667de5e73edfac4717d45b9788f9a5
71 changes: 70 additions & 1 deletion test/wpt/status/webidl.json
Original file line number Diff line number Diff line change
@@ -1 +1,70 @@
{}
{
"ecmascript-binding/class-string-named-properties-object.window.js": {
"fail": {
"expected": [
"evaluation in WPTRunner.runJsTests()"
]
}
},
"ecmascript-binding/global-immutable-prototype.any.js": {
"fail": {
"expected": [
"Setting to a different prototype"
]
}
},
"ecmascript-binding/global-mutable-prototype.any.js": {
"fail": {
"expected": [
"Setting to a different prototype"
]
}
},
"ecmascript-binding/global-object-implicit-this-value.any.js": {
"fail": {
"expected": [
"Global object's getter throws when called on incompatible object",
"Global object's setter throws when called on incompatible object",
"Global object's operation throws when called on incompatible object",
"Global object's getter works when called on null / undefined",
"Global object's setter works when called on null / undefined",
"evaluation in WPTRunner.runJsTests()"
]
}
},
"ecmascript-binding/legacy-factor-function-subclass.window.js": {
"fail": {
"expected": [
"[LegacyFactoryFunction] can be subclassed and correctly handles NewTarget"
]
}
},
"ecmascript-binding/legacy-factory-function-builtin-properties.window.js": {
"fail": {
"expected": [
"Legacy factory function property enumeration order of \"length\", \"name\", and \"prototype\""
]
}
},
"ecmascript-binding/no-regexp-special-casing.any.js": {
"fail": {
"expected": [
"Can be used as an object implementing a callback interface"
]
}
},
"ecmascript-binding/observable-array-no-leak-of-internals.window.js": {
"fail": {
"expected": [
"ObservableArray's internals won't leak"
]
}
},
"ecmascript-binding/observable-array-ownkeys.window.js": {
"fail": {
"expected": [
"ObservableArray's ownKeys trap"
]
}
}
}
8 changes: 8 additions & 0 deletions test/wpt/test-webidl.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
'use strict';

const common = require('../common');

Check failure on line 3 in test/wpt/test-webidl.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

'common' is assigned a value but never used
const { WPTRunner } = require('../common/wpt');

const runner = new WPTRunner('webidl');

runner.runJsTests();
Loading