PR-URL: https://github.com/nodejs/node/pull/57880 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
15 lines
379 B
JavaScript
15 lines
379 B
JavaScript
// Flags: --js-float16array
|
|
// TODO(LiviaMedeiros): once `Float16Array` is unflagged in v8, remove the line above
|
|
'use strict';
|
|
|
|
const common = require('../common');
|
|
if (!common.hasCrypto)
|
|
common.skip('missing crypto');
|
|
|
|
const { WPTRunner } = require('../common/wpt');
|
|
|
|
const runner = new WPTRunner('WebCryptoAPI');
|
|
|
|
runner.pretendGlobalThisAs('Window');
|
|
|
|
runner.runJsTests();
|