Index: LayoutTests/crypto/rsa-export-private-key.html |
diff --git a/LayoutTests/crypto/rsa-export-private-key.html b/LayoutTests/crypto/rsa-export-private-key.html |
index ee8af2a5f02b3442969fb1a3f2632891ec9bb993..ac1adaba0f8bd9ab7f86e8842536028848a7518a 100644 |
--- a/LayoutTests/crypto/rsa-export-private-key.html |
+++ b/LayoutTests/crypto/rsa-export-private-key.html |
@@ -38,7 +38,7 @@ crypto.subtle.importKey("jwk", privateKeyJSON, {name: "RSASSA-PKCS1-v1_5", hash: |
debug("\nExporting the key as JWK..."); |
return crypto.subtle.exportKey("jwk", key); |
}).then(function(result) { |
- exportedJWK = JSON.parse(bytesToASCIIString(result)); |
+ exportedJWK = result; |
shouldBe("exportedJWK.kty", "'RSA'"); |
shouldBe("exportedJWK.n", "privateKeyJSON.n"); |