Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Side by Side Diff: LayoutTests/http/tests/inspector/indexeddb/resources-panel.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/indexeddb/database-structure.html ('k') | LayoutTests/http/tests/inspector/inspector-test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698