| Index: LayoutTests/crypto/rsa-oaep-key-manipulation.html
|
| diff --git a/LayoutTests/crypto/rsa-oaep-key-manipulation.html b/LayoutTests/crypto/rsa-oaep-key-manipulation.html
|
| index fe9001f9baf30e24c92796a14e1e4b1f69d44bf5..040f86200abad3da09c07c6c52e4e570141f113e 100644
|
| --- a/LayoutTests/crypto/rsa-oaep-key-manipulation.html
|
| +++ b/LayoutTests/crypto/rsa-oaep-key-manipulation.html
|
| @@ -61,8 +61,7 @@ crypto.subtle.generateKey(algorithmKeyGen, extractable, ["encrypt", "decrypt", "
|
| debug("\nExporting public key to JWK...");
|
| return crypto.subtle.exportKey("jwk", keyPair.publicKey);
|
| }).then(function(result) {
|
| - jwkPublicKeyArray = result;
|
| - jwkPublicKey = JSON.parse(bytesToASCIIString(jwkPublicKeyArray));
|
| + jwkPublicKey = result;
|
| shouldBe("jwkPublicKey.alg", "'RSA-OAEP'");
|
| shouldBe("jwkPublicKey.ext", "true");
|
| shouldBe("jwkPublicKey.key_ops", "['encrypt', 'wrapKey']");
|
|
|