| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <html> | 2 <html> | 
| 3 <head> | 3 <head> | 
| 4 <script src="../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> | 
| 5 <script src="resources/common.js"></script> | 5 <script src="resources/common.js"></script> | 
| 6 </head> | 6 </head> | 
| 7 <body> | 7 <body> | 
| 8 <script> | 8 <script> | 
| 9 | 9 | 
| 10 description("Test storing a private RSA key in IndexedDB, and retrieving it."); | 10 description("Test storing a private RSA key in IndexedDB, and retrieving it."); | 
| 11 | 11 | 
| 12 jsTestIsAsync = true; | 12 jsTestIsAsync = true; | 
| 13 | 13 | 
| 14 var privateKeyJSON = { | 14 var privateKeyJSON = { | 
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 71             shouldBe("bytesToHexString(retrievedKey.algorithm.publicExponent)", 
    "'010001'"); | 71             shouldBe("bytesToHexString(retrievedKey.algorithm.publicExponent)", 
    "'010001'"); | 
| 72             shouldBe("retrievedKey.usages", '["sign"]'); | 72             shouldBe("retrievedKey.usages", '["sign"]'); | 
| 73 | 73 | 
| 74             finishJSTest(); | 74             finishJSTest(); | 
| 75         } | 75         } | 
| 76     } | 76     } | 
| 77 }).catch(failAndFinishJSTest); | 77 }).catch(failAndFinishJSTest); | 
| 78 </script> | 78 </script> | 
| 79 </body> | 79 </body> | 
| 80 </html> | 80 </html> | 
| OLD | NEW | 
|---|