| Index: LayoutTests/crypto/aes-cbc-import-jwk.html
|
| diff --git a/LayoutTests/crypto/aes-cbc-import-jwk.html b/LayoutTests/crypto/aes-cbc-import-jwk.html
|
| index 3150c1141923c0f4f0aab44811f2692d3fe83f3b..79334d75494800afd153ff2e3274fb384bb17923 100644
|
| --- a/LayoutTests/crypto/aes-cbc-import-jwk.html
|
| +++ b/LayoutTests/crypto/aes-cbc-import-jwk.html
|
| @@ -27,10 +27,8 @@ var jwkKey = {
|
| "k": "YD3rEBXKcb4rc67whX13gR81LAc7YQjXLZgQowkU3_Q"
|
| };
|
|
|
| -var jwkKeyAsArrayBuffer = asciiToUint8Array(JSON.stringify(jwkKey));
|
| -
|
| debug("Importing a key...\n");
|
| -crypto.subtle.importKey("jwk", jwkKeyAsArrayBuffer, {name: 'AES-CBC'}, false, ["encrypt"]).then(function(result) {
|
| +crypto.subtle.importKey("jwk", jwkKey, {name: 'AES-CBC'}, false, ["encrypt"]).then(function(result) {
|
| key = result;
|
|
|
| shouldBe("key.type", "'secret'");
|
|
|