| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../http/tests/inspector/workspace-test.js"></script> | |
| 5 <script> | 4 <script> |
| 6 function test() | 5 function test() |
| 7 { | 6 { |
| 8 var projects = {}; | 7 var projects = {}; |
| 9 var workspace = new Workspace.Workspace(); | 8 var workspace = new Workspace.Workspace(); |
| 10 | 9 |
| 11 function createUISourceCode(projectId, relativePath) | 10 function createUISourceCode(projectId, relativePath) |
| 12 { | 11 { |
| 13 var project = projects[projectId]; | 12 var project = projects[projectId]; |
| 14 if (!projects[projectId]) { | 13 if (!projects[projectId]) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 42 dumpUISourceCodeForURL("file:///var/www/localhost/index2.html"); | 41 dumpUISourceCodeForURL("file:///var/www/localhost/index2.html"); |
| 43 | 42 |
| 44 InspectorTest.completeTest(); | 43 InspectorTest.completeTest(); |
| 45 } | 44 } |
| 46 </script> | 45 </script> |
| 47 </head> | 46 </head> |
| 48 <body onload="runTest()"> | 47 <body onload="runTest()"> |
| 49 <p>Tests workspace mappings</p> | 48 <p>Tests workspace mappings</p> |
| 50 </body> | 49 </body> |
| 51 </html> | 50 </html> |
| OLD | NEW |