Skip to content

Commit

Permalink
test: enable blob.prototype.stream tests
Browse files Browse the repository at this point in the history
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #39693
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
  • Loading branch information
jasnell authored and danielleadams committed Aug 16, 2021
1 parent 091a579 commit 53cf53c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/wpt/status/FileAPI/blob.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
"Blob-slice.any.js": {
"skip": "Depends on File API"
},
"Blob-stream.any.js": {
"skip": "Depends on Web Streams API"
},
"Blob-in-worker.worker.js": {
"skip": "Depends on Web Workers API"
}
Expand Down
2 changes: 2 additions & 0 deletions test/wpt/test-blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ 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();

0 comments on commit 53cf53c

Please sign in to comment.