Skip to content

Commit 793c08b

Browse files
committed
test: enable blob.prototype.stream tests
Signed-off-by: James M Snell <[email protected]> PR-URL: #39693 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Bradley Farias <[email protected]> Reviewed-By: Stephen Belanger <[email protected]>
1 parent 0bb2605 commit 793c08b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/wpt/status/FileAPI/blob.json

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
"Blob-slice.any.js": {
99
"skip": "Depends on File API"
1010
},
11-
"Blob-stream.any.js": {
12-
"skip": "Depends on Web Streams API"
13-
},
1411
"Blob-in-worker.worker.js": {
1512
"skip": "Depends on Web Workers API"
1613
}

test/wpt/test-blob.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ const runner = new WPTRunner('FileAPI/blob');
77

88
runner.setInitScript(`
99
const { Blob } = require('buffer');
10+
const { ReadableStream } = require('stream/web');
1011
global.Blob = Blob;
12+
global.ReadableStream = ReadableStream;
1113
`);
1214

1315
runner.runJsTests();

0 commit comments

Comments
 (0)