Skip to content

Commit 4fb2fc7

Browse files
panvadanielleadams
authored andcommitted
test: enable api-invalid-label.any.js in encoding WPTs
PR-URL: #46506 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 92e3e0e commit 4fb2fc7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/wpt/status/encoding.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"api-basics.any.js": {
33
"requires": ["small-icu"]
44
},
5-
"api-invalid-label.any.js": {
6-
"skip": "location is not defined"
7-
},
85
"textdecoder-fatal-streaming.any.js": {
96
"requires": ["small-icu"]
107
},
@@ -91,7 +88,7 @@
9188
"requires": ["small-icu"]
9289
},
9390
"single-byte-decoder.window.js": {
94-
"skip": "location is not defined"
91+
"skip": "document is not defined"
9592
},
9693
"textdecoder-eof.any.js": {
9794
"requires": ["small-icu"]

test/wpt/test-encoding.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const { WPTRunner } = require('../common/wpt');
44
const runner = new WPTRunner('encoding');
55

66
runner.setInitScript(`
7+
globalThis.location ||= {};
78
const { MessageChannel } = require('worker_threads');
89
global.MessageChannel = MessageChannel;
910
`);

0 commit comments

Comments
 (0)