GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: remove useless WPT init scripts · nodejs/node@928998d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/wpt
    • test-blob.js
    • test-broadcastchannel.js
    • test-encoding.js
Expand file treeCollapse file tree
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
@@ -5,11 +5,4 @@ const { WPTRunner } = require('../common/wpt');
55

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

8-
runner.setInitScript(`
9-
const { Blob } = require('buffer');
10-
const { ReadableStream } = require('stream/web');
11-
global.Blob = Blob;
12-
global.ReadableStream = ReadableStream;
13-
`);
14-
158
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
@@ -5,9 +5,4 @@ const { WPTRunner } = require('../common/wpt');
55

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

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

‎test/wpt/test-encoding.js‎

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

6-
runner.setInitScript(`
7-
globalThis.location ||= {};
8-
const { MessageChannel } = require('worker_threads');
9-
global.MessageChannel = MessageChannel;
10-
`);
11-
126
runner.runJsTests();

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.