Index: LayoutTests/crypto/rsa-indexeddb.html |
diff --git a/LayoutTests/crypto/rsa-indexeddb.html b/LayoutTests/crypto/rsa-indexeddb.html |
index a85ba7f200a2d96a53eca466536ccfb297e65bb8..222ae4e28a608af719df69bb14d82ee85be7c7c3 100644 |
--- a/LayoutTests/crypto/rsa-indexeddb.html |
+++ b/LayoutTests/crypto/rsa-indexeddb.html |
@@ -24,7 +24,7 @@ var privateKeyJSON = { |
qi: "YCX_pLwbMBA1ThVH0WcwmnytqNcrMCEwTm7ByA2eU6nWbQrULvf7m9_kzfLUcjsnpAVlBQG5JMXMy0Sq4ptwbywsa5-G8KAOOOR2L3v4hC-Eys9ftgFM_3i0o40eeQH4b3haPbntrIeMg8IzlOuVYKf9-2QuKDoWeRdd7NsdxTk" |
}; |
-crypto.subtle.importKey("jwk", asciiToUint8Array(JSON.stringify(privateKeyJSON)), {name: "RSASSA-PKCS1-v1_5", hash: {name: "sha-256"}}, true, ["sign"]).then(function(key) { |
+crypto.subtle.importKey("jwk", privateKeyJSON, {name: "RSASSA-PKCS1-v1_5", hash: {name: "sha-256"}}, true, ["sign"]).then(function(key) { |
var openRequest = indexedDB.open("crypto_subtle"); |
openRequest.onupgradeneeded = function(event) { |
var objectStore = event.target.result.createObjectStore("rsa-indexeddb"); |