Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 641e177

Browse filesBrowse files
panvaMylesBorins
authored andcommitted
test: enable api-invalid-label.any.js in encoding WPTs
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>
1 parent 148c5d9 commit 641e177
Copy full SHA for 641e177

File tree

Expand file treeCollapse file tree

2 files changed

+2
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-4
lines changed
Open diff view settings
Collapse file

‎test/wpt/status/encoding.json‎

Copy file name to clipboardExpand all lines: test/wpt/status/encoding.json
+1-4Lines changed: 1 addition & 4 deletions
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"]
Collapse file

‎test/wpt/test-encoding.js‎

Copy file name to clipboardExpand all lines: test/wpt/test-encoding.js
+1Lines changed: 1 addition & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.