| Index: LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-small-key.html
|
| diff --git a/LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-small-key.html b/LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-small-key.html
|
| index c4705a43de62f4fdb9e49950231685a08eda70aa..25e23af490f094d60b9eb6b53bc772aadf8345d1 100644
|
| --- a/LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-small-key.html
|
| +++ b/LayoutTests/crypto/rsassa-pkcs1-v1_5-import-jwk-small-key.html
|
| @@ -39,11 +39,11 @@ var privateKeyJSON = {
|
| };
|
|
|
| Promise.resolve(null).then(function(result) {
|
| - return crypto.subtle.importKey("jwk", asciiToUint8Array(JSON.stringify(publicKeyJSON)), {name: 'RSASSA-PKCS1-v1_5', hash: {name: 'sha-256'}}, extractable, ["verify"]);
|
| + return crypto.subtle.importKey("jwk", publicKeyJSON, {name: 'RSASSA-PKCS1-v1_5', hash: {name: 'sha-256'}}, extractable, ["verify"]);
|
| }).then(function(result) {
|
| key = result;
|
| shouldEvaluateAs("key.algorithm.modulusLength", 1024);
|
| - return crypto.subtle.importKey("jwk", asciiToUint8Array(JSON.stringify(privateKeyJSON)), {name: 'RSASSA-PKCS1-v1_5', hash: {name: 'sha-512'}}, extractable, ["sign"]);
|
| + return crypto.subtle.importKey("jwk", privateKeyJSON, {name: 'RSASSA-PKCS1-v1_5', hash: {name: 'sha-512'}}, extractable, ["sign"]);
|
| }).then(function(result) {
|
| key = result;
|
| shouldEvaluateAs("key.algorithm.modulusLength", 1024);
|
|
|