[WebIDL] Add support for converting dictionaries to JS
[WebKit-https.git] / LayoutTests / crypto / subtle / rsaes-pkcs1-v1_5-generate-key.html
index a68d135..8e6cff9 100644 (file)
@@ -24,7 +24,7 @@ var nonExtractable = false;
 debug("Generating a key pair...");
 crypto.subtle.generateKey(algorithmKeyGen, nonExtractable, ["decrypt", "encrypt"]).then(function(result) {
     keyPair = result;
-    shouldBe("keyPair.toString()", "'[object CryptoKeyPair]'");
+    shouldBe("keyPair.toString()", "'[object Object]'");
     shouldBe("keyPair.publicKey.type", "'public'");
     shouldBe("keyPair.publicKey.extractable", "true");
     shouldBe("keyPair.publicKey.algorithm.name", "'RSAES-PKCS1-v1_5'");