| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,11 +5,4 @@ const { WPTRunner } = require('../common/wpt'); | |||
| 5 | 5 | ||
| 6 | 6 | const runner = new WPTRunner('FileAPI/blob'); | |
| 7 | 7 | ||
| 8 | - runner.setInitScript(` | ||
| 9 | - const { Blob } = require('buffer'); | ||
| 10 | - const { ReadableStream } = require('stream/web'); | ||
| 11 | - global.Blob = Blob; | ||
| 12 | - global.ReadableStream = ReadableStream; | ||
| 13 | - `); | ||
| 14 | - | ||
| 15 | 8 | runner.runJsTests(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,9 +5,4 @@ const { WPTRunner } = require('../common/wpt'); | |||
| 5 | 5 | ||
| 6 | 6 | const runner = new WPTRunner('webmessaging/broadcastchannel'); | |
| 7 | 7 | ||
| 8 | - runner.setInitScript(` | ||
| 9 | - const { BroadcastChannel } = require('worker_threads'); | ||
| 10 | - global.BroadcastChannel = BroadcastChannel; | ||
| 11 | - `); | ||
| 12 | - | ||
| 13 | 8 | runner.runJsTests(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,10 +3,4 @@ require('../common'); | |||
| 3 | 3 | const { WPTRunner } = require('../common/wpt'); | |
| 4 | 4 | const runner = new WPTRunner('encoding'); | |
| 5 | 5 | ||
| 6 | - runner.setInitScript(` | ||
| 7 | - globalThis.location ||= {}; | ||
| 8 | - const { MessageChannel } = require('worker_threads'); | ||
| 9 | - global.MessageChannel = MessageChannel; | ||
| 10 | - `); | ||
| 11 | - | ||
| 12 | 6 | runner.runJsTests(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments