PR-URL: https://github.com/nodejs/node/pull/39759 Fixes: https://github.com/nodejs/node/issues/39713 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
13 lines
262 B
JavaScript
13 lines
262 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const { WPTRunner } = require('../common/wpt');
|
|
|
|
const runner = new WPTRunner('html/webappapis/structured-clone');
|
|
|
|
runner.setInitScript(`
|
|
const { Blob } = require('buffer');
|
|
global.Blob = Blob;
|
|
`);
|
|
|
|
runner.runJsTests();
|