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 3ab1aab

Browse filesBrowse files
panvatargos
authored andcommitted
test: remove useless WPT init scripts
PR-URL: #46801 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 151fb60 commit 3ab1aab
Copy full SHA for 3ab1aab

File tree

Expand file treeCollapse file tree

3 files changed

+0
-17
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+0
-17
lines changed
Open diff view settings
Collapse file

‎test/wpt/test-blob.js‎

Copy file name to clipboardExpand all lines: test/wpt/test-blob.js
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,4 @@ const { WPTRunner } = require('../common/wpt');
44

55
const runner = new WPTRunner('FileAPI/blob');
66

7-
runner.setInitScript(`
8-
const { Blob } = require('buffer');
9-
const { ReadableStream } = require('stream/web');
10-
global.Blob = Blob;
11-
global.ReadableStream = ReadableStream;
12-
`);
13-
147
runner.runJsTests();
Collapse file

‎test/wpt/test-broadcastchannel.js‎

Copy file name to clipboardExpand all lines: test/wpt/test-broadcastchannel.js
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,4 @@ const { WPTRunner } = require('../common/wpt');
44

55
const runner = new WPTRunner('webmessaging/broadcastchannel');
66

7-
runner.setInitScript(`
8-
const { BroadcastChannel } = require('worker_threads');
9-
global.BroadcastChannel = BroadcastChannel;
10-
`);
11-
127
runner.runJsTests();
Collapse file

‎test/wpt/test-encoding.js‎

Copy file name to clipboardExpand all lines: test/wpt/test-encoding.js
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,4 @@
33
const { WPTRunner } = require('../common/wpt');
44
const runner = new WPTRunner('encoding');
55

6-
runner.setInitScript(`
7-
const { MessageChannel } = require('worker_threads');
8-
global.MessageChannel = MessageChannel;
9-
`);
10-
116
runner.runJsTests();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.