added exportKey to capabilities check

This commit is contained in:
Danny Coates 2018-07-31 15:10:12 -07:00
parent 9501bf7270
commit 4fabd539d1
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB

View file

@ -8,6 +8,7 @@ async function checkCrypto() {
true, true,
['encrypt', 'decrypt'] ['encrypt', 'decrypt']
); );
await crypto.subtle.exportKey('raw', key);
await crypto.subtle.encrypt( await crypto.subtle.encrypt(
{ {
name: 'AES-GCM', name: 'AES-GCM',