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

Side by Side Diff: LayoutTests/inspector/sources/debugger/file-system-project-mapping.html

Issue 1318043003: DevTools: attempt to unflake http/tests/inspector/service-workers/service-workers-view.html. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 5 years, 3 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
« no previous file with comments | « no previous file | Source/devtools/front_end/bindings/NetworkProject.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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>
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/bindings/NetworkProject.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698