Skip to content

Commit

Permalink
test: enable api-invalid-label.any.js in encoding WPTs
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
panva authored and MylesBorins committed Feb 18, 2023
1 parent 148c5d9 commit 641e177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions test/wpt/status/encoding.json
Expand Up @@ -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"]
},
Expand Down Expand Up @@ -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"]
Expand Down
1 change: 1 addition & 0 deletions test/wpt/test-encoding.js
Expand Up @@ -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;
`);
Expand Down

0 comments on commit 641e177

Please sign in to comment.