| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../inspector-test.js"></script> | 3 <script src="../inspector-test.js"></script> |
| 4 <script src="indexeddb-test.js"></script> | 4 <script src="indexeddb-test.js"></script> |
| 5 <script src="../resources-test.js"></script> | 5 <script src="../resources-test.js"></script> |
| 6 <script src="../console-test.js"></script> | 6 <script src="../console-test.js"></script> |
| 7 <script> | 7 <script> |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id; | 10 var mainFrameId = InspectorTest.resourceTreeModel.mainFrame.id; |
| 11 var indexedDBModel; | 11 var indexedDBModel; |
| 12 var withoutIndexedDBURL = "http://localhost:8000/inspector/indexeddb/resourc
es/without-indexed-db.html"; | 12 var withoutIndexedDBURL = "http://localhost:8000/inspector/indexeddb/resourc
es/without-indexed-db.html"; |
| 13 var originalURL = "http://127.0.0.1:8000/inspector/indexeddb/resources-panel
.html"; | 13 var originalURL = "http://127.0.0.1:8000/inspector/indexeddb/resources-panel
.html"; |
| 14 var databaseName = "testDatabase"; | 14 var databaseName = "testDatabase"; |
| 15 var objectStoreName = "testObjectStore"; | 15 var objectStoreName = "testObjectStore"; |
| 16 var indexName = "testIndexName"; | 16 var indexName = "testIndexName"; |
| 17 | 17 |
| 18 function createDatabase(callback) | 18 function createDatabase(callback) |
| 19 { | 19 { |
| 20 InspectorTest.createDatabase(mainFrameId, databaseName, step2); | 20 InspectorTest.createDatabase(mainFrameId, databaseName, step2); |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 InspectorTest.completeTest(); | 117 InspectorTest.completeTest(); |
| 118 } | 118 } |
| 119 } | 119 } |
| 120 | 120 |
| 121 </script> | 121 </script> |
| 122 </head> | 122 </head> |
| 123 <body onload="runTest()"> | 123 <body onload="runTest()"> |
| 124 <p>Tests IndexedDB tree element on resources panel.</p> | 124 <p>Tests IndexedDB tree element on resources panel.</p> |
| 125 </body> | 125 </body> |
| 126 </html> | 126 </html> |
| OLD | NEW |