[WebIDL] Add support for converting dictionaries to JS
[WebKit-https.git] / LayoutTests / crypto / webkitSubtle / rsassa-pkcs1-v1_5-generate-key.html
index 8b5eac2..0ae96b6 100644 (file)
@@ -24,7 +24,7 @@ var extractable = true;
 debug("Generating a key pair...");
 crypto.webkitSubtle.generateKey(algorithmKeyGen, extractable, ["sign", "verify"]).then(function(result) {
     keyPair = result;
-    shouldBe("keyPair.toString()", "'[object CryptoKeyPair]'");
+    shouldBe("keyPair.toString()", "'[object Object]'");
     shouldBe("keyPair.publicKey.type", "'public'");
     shouldBe("keyPair.publicKey.algorithm.name", "'RSASSA-PKCS1-v1_5'");
     shouldBe("keyPair.publicKey.algorithm.modulusLength", "2048");