Skip to content

Commit

Permalink
test: remove useless WPT init scripts
Browse files Browse the repository at this point in the history
PR-URL: #46801
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
panva authored and targos committed Mar 14, 2023
1 parent 151fb60 commit 3ab1aab
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
7 changes: 0 additions & 7 deletions test/wpt/test-blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,4 @@ const { WPTRunner } = require('../common/wpt');

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

runner.setInitScript(`
const { Blob } = require('buffer');
const { ReadableStream } = require('stream/web');
global.Blob = Blob;
global.ReadableStream = ReadableStream;
`);

runner.runJsTests();
5 changes: 0 additions & 5 deletions test/wpt/test-broadcastchannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@ const { WPTRunner } = require('../common/wpt');

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

runner.setInitScript(`
const { BroadcastChannel } = require('worker_threads');
global.BroadcastChannel = BroadcastChannel;
`);

runner.runJsTests();
5 changes: 0 additions & 5 deletions test/wpt/test-encoding.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,4 @@
const { WPTRunner } = require('../common/wpt');
const runner = new WPTRunner('encoding');

runner.setInitScript(`
const { MessageChannel } = require('worker_threads');
global.MessageChannel = MessageChannel;
`);

runner.runJsTests();

0 comments on commit 3ab1aab

Please sign in to comment.