Skip to content

Commit 3ab1aab

Browse 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

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

test/wpt/test-blob.js

Lines 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();

test/wpt/test-broadcastchannel.js

Lines 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();

test/wpt/test-encoding.js

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy