added exportKey to capabilities check
This commit is contained in:
parent
9501bf7270
commit
4fabd539d1
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ async function checkCrypto() {
|
|||
true,
|
||||
['encrypt', 'decrypt']
|
||||
);
|
||||
await crypto.subtle.exportKey('raw', key);
|
||||
await crypto.subtle.encrypt(
|
||||
{
|
||||
name: 'AES-GCM',
|
||||
|
|
Loading…
Reference in a new issue