| Index: LayoutTests/crypto/hmac-export-key.html
|
| diff --git a/LayoutTests/crypto/hmac-export-key.html b/LayoutTests/crypto/hmac-export-key.html
|
| index 36a94a16cceddf9941d1a2a86e69273f0bf429dc..d7393451eff4652556c473a164eed042db095e47 100644
|
| --- a/LayoutTests/crypto/hmac-export-key.html
|
| +++ b/LayoutTests/crypto/hmac-export-key.html
|
| @@ -50,7 +50,7 @@ crypto.subtle.importKey("jwk", jwkKey, { name: "HMAC", hash: {name: "SHA-256"} }
|
| debug("Exporting the key as JWK...");
|
| return crypto.subtle.exportKey("jwk", key);
|
| }).then(function(result) {
|
| - exportedJWK = JSON.parse(bytesToASCIIString(result));
|
| + exportedJWK = result;
|
| shouldBe("exportedJWK.kty", "'oct'");
|
| shouldBe("exportedJWK.k", "'ahjkn-_387fgnsibf23qsvahjkn-_387fgnsibf23qs'");
|
| shouldBe("exportedJWK.alg", "'HS256'");
|
|
|