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 danielleadams committed Apr 3, 2023
1 parent 92e3e0e commit 4fb2fc7
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 4fb2fc7

Please sign in to comment.