Skip to content

Commit

Permalink
test: enable single-byte-decoder.window.js in encoding WPTs
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Feb 5, 2023
1 parent 03854f6 commit 7807548
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 7807548

Please sign in to comment.