Skip to content

Commit 1163952

Browse files
authored
git-node: update dom.idl and html.idl (#418)
These are now needed by the WPT idl harness
1 parent ad3bd0c commit 1163952

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

components/git/wpt.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@ async function main(argv) {
4343
const updaters = [];
4444

4545
const statusFolder = path.join(nodedir, 'test', 'wpt', 'status');
46-
let supported = [];
46+
let supported = [
47+
'dom',
48+
'html'
49+
];
4750
if (fs.existsSync(statusFolder)) {
4851
const jsons = fs.readdirSync(statusFolder);
49-
supported = jsons.map(item => item.replace('.json', ''));
52+
supported = supported.concat(
53+
jsons.map(item => item.replace('.json', '')));
5054
} else {
5155
cli.warn(`Please create the status JSON files in ${statusFolder}`);
5256
}

0 commit comments

Comments
 (0)