Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / crypto / aes-kw-wrap-unwrap-aes.html
index 9e12086..0722f44 100644 (file)
@@ -36,7 +36,7 @@ crypto.subtle.importKey("raw", kekData, {name: "aes-kw"}, extractable, ["wrapKey
     return crypto.subtle.unwrapKey("raw", wrappedKey, kek, {name: "aes-kw"}, {name: "aes-cbc"}, extractable, ["encrypt", "decrypt", "wrapKey", "unwrapKey"]);
 }).then(function(result) {
     unwrappedKey = result;
-    shouldBe("unwrappedKey.toString()", "'[object Key]'");
+    shouldBe("unwrappedKey.toString()", "'[object CryptoKey]'");
     shouldBe("unwrappedKey.type", "'secret'");
     shouldBe("unwrappedKey.extractable", "true");
     shouldBe("unwrappedKey.algorithm.name", "'AES-CBC'");