summaryrefslogtreecommitdiff
path: root/test/parallel/test-global-webcrypto-disbled.js
blob: ebbb4afa9a03c5bdf2a3d646b3d8a3f60114fe7e (plain)
1
2
3
4
5
6
7
8
9
10
// Flags: --no-experimental-global-webcrypto
'use strict';

require('../common');
const assert = require('assert');

assert.strictEqual(typeof crypto, 'undefined');
assert.strictEqual(typeof Crypto, 'undefined');
assert.strictEqual(typeof CryptoKey, 'undefined');
assert.strictEqual(typeof SubtleCrypto, 'undefined');