| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css"> | 3 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css"> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 5 <script src="../../fast/js/resources/js-test-post-function.js"></script> | 5 <script src="../../fast/js/resources/js-test-post-function.js"></script> |
| 6 <script src="resources/shared.js"></script> | 6 <script src="resources/shared.js"></script> |
| 7 </head> | 7 </head> |
| 8 <body> | 8 <body> |
| 9 <p id="description"></p> | 9 <p id="description"></p> |
| 10 <div id="console"></div> | 10 <div id="console"></div> |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 | 105 |
| 106 result = evalAndLog("store.get('key')"); | 106 result = evalAndLog("store.get('key')"); |
| 107 verifyResult(result); | 107 verifyResult(result); |
| 108 result.onsuccess = unexpectedSuccessCallback; | 108 result.onsuccess = unexpectedSuccessCallback; |
| 109 result.onerror = verifyError; | 109 result.onerror = verifyError; |
| 110 } | 110 } |
| 111 | 111 |
| 112 function verifyError() | 112 function verifyError() |
| 113 { | 113 { |
| 114 verifyErrorEvent(event); | 114 verifyErrorEvent(event); |
| 115 shouldBe("event.code", "2"); | 115 shouldBe("event.code", "webkitIDBDatabaseException.NOT_FOUND_ERR"); |
| 116 shouldBeFalse("event.source.indexNames.contains('indexName')"); | 116 shouldBeFalse("event.source.indexNames.contains('indexName')"); |
| 117 | 117 |
| 118 done(); | 118 done(); |
| 119 } | 119 } |
| 120 | 120 |
| 121 test(); | 121 test(); |
| 122 | 122 |
| 123 var successfullyParsed = true; | 123 var successfullyParsed = true; |
| 124 </script> | 124 </script> |
| 125 </body> | 125 </body> |
| 126 </html> | 126 </html> |
| OLD | NEW |