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/debugger-test.js"></script> | 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
5 <script src="../../../http/tests/inspector/workspace-test.js"></script> | 5 <script src="../../../http/tests/inspector/workspace-test.js"></script> |
6 <script src="../../../http/tests/inspector/isolated-filesystem-test.js"></script
> | 6 <script src="../../../http/tests/inspector/isolated-filesystem-test.js"></script
> |
7 <script src="../../../http/tests/inspector/live-edit-test.js"></script> | 7 <script src="../../../http/tests/inspector/live-edit-test.js"></script> |
8 <script src="resources/edit-me.js"></script> | 8 <script src="resources/edit-me.js"></script> |
9 <script> | 9 <script> |
10 function test() | 10 function test() |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 manager.addFiles(fileSystemPath, files); | 328 manager.addFiles(fileSystemPath, files); |
329 dumpWorkspaceUISourceCodes(); | 329 dumpWorkspaceUISourceCodes(); |
330 InspectorTest.addResult("Removing project:"); | 330 InspectorTest.addResult("Removing project:"); |
331 InspectorTest.testWorkspace.addEventListener(WebInspector.Workspace.
Events.ProjectRemoved, projectRemoved); | 331 InspectorTest.testWorkspace.addEventListener(WebInspector.Workspace.
Events.ProjectRemoved, projectRemoved); |
332 InspectorTest.testTargetManager.removeTarget(target); | 332 InspectorTest.testTargetManager.removeTarget(target); |
333 target = null; | 333 target = null; |
334 | 334 |
335 function projectRemoved() | 335 function projectRemoved() |
336 { | 336 { |
337 InspectorTest.addResult("Received project removed event."); | 337 InspectorTest.addResult("Received project removed event."); |
338 next(); | 338 setImmediate(next); |
339 } | 339 } |
340 }, | 340 }, |
341 | 341 |
342 function testURLAfterRenaming(next) | 342 function testURLAfterRenaming(next) |
343 { | 343 { |
344 var fileSystemPath = "/var/www"; | 344 var fileSystemPath = "/var/www"; |
345 var fileSystemProjectId = WebInspector.FileSystemWorkspaceBinding.pr
ojectId(fileSystemPath); | 345 var fileSystemProjectId = WebInspector.FileSystemWorkspaceBinding.pr
ojectId(fileSystemPath); |
346 var files = {"/html/foo.js": "<foo content>", "/bar.js": "<bar conte
nt>", "/foo/bar/baz.js": "<baz content>"}; | 346 var files = {"/html/foo.js": "<foo content>", "/bar.js": "<bar conte
nt>", "/foo/bar/baz.js": "<baz content>"}; |
347 var uiSourceCodes; | 347 var uiSourceCodes; |
348 var index = 0; | 348 var index = 0; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 } | 380 } |
381 }, | 381 }, |
382 ]); | 382 ]); |
383 }; | 383 }; |
384 </script> | 384 </script> |
385 </head> | 385 </head> |
386 <body onload="runTest()"> | 386 <body onload="runTest()"> |
387 <p>Tests file system project mappings.</p> | 387 <p>Tests file system project mappings.</p> |
388 </body> | 388 </body> |
389 </html> | 389 </html> |
OLD | NEW |