test: enable api-invalid-label.any.js in encoding WPTs

PR-URL: https://github.com/nodejs/node/pull/46506
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Filip Skokan authored and GitHub committed 2023-02-07 10:39:36 +00:00
1 parent 8e6e215481
commit 4d36ebddda
2 files changed
+2 -4

No files matched your search

+1 -4
View File
@@ -2,9 +2,6 @@
"api-basics.any.js": {
"requires": ["small-icu"]
},
"api-invalid-label.any.js": {
"skip": "location is not defined"
},
"textdecoder-fatal-streaming.any.js": {
"requires": ["small-icu"]
},
@@ -91,7 +88,7 @@
"requires": ["small-icu"]
},
"single-byte-decoder.window.js": {
"skip": "location is not defined"
"skip": "document is not defined"
},
"textdecoder-eof.any.js": {
"requires": ["small-icu"]
+1
View File
@@ -4,6 +4,7 @@ const { WPTRunner } = require('../common/wpt');
const runner = new WPTRunner('encoding');
runner.setInitScript(`
globalThis.location ||= {};
const { MessageChannel } = require('worker_threads');
global.MessageChannel = MessageChannel;
`);