summaryrefslogtreecommitdiff
path: root/test/wpt/test-webcrypto.js
blob: 0d53a51901bbb9d543677577a18fd3a414771a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'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();