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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-absolute-paths.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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
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="../isolated-filesystem-test.js"></script> 4 <script src="../isolated-filesystem-test.js"></script>
5 <script src="./persistence-test.js"></script> 5 <script src="./persistence-test.js"></script>
6 <script src="./automapping-test.js"></script> 6 <script src="./automapping-test.js"></script>
7 <script> 7 <script>
8 8
9 function test() 9 function test()
10 { 10 {
11 var app_js = { 11 var app_js = {
12 content: "console.log('foo.js!');", 12 content: "console.log('foo.js!');",
13 time: null 13 time: null
14 }; 14 };
15 15
16 var automappingTest = new InspectorTest.AutomappingTest(new WebInspector.Wor kspace()); 16 var automappingTest = new InspectorTest.AutomappingTest(new Workspace.Worksp ace());
17 automappingTest.addNetworkResources({ 17 automappingTest.addNetworkResources({
18 // Make sure main resource gets mapped. 18 // Make sure main resource gets mapped.
19 "file:///usr/local/node/app.js": app_js, 19 "file:///usr/local/node/app.js": app_js,
20 }); 20 });
21 21
22 var fs = new InspectorTest.TestFileSystem("file:///usr/local/node"); 22 var fs = new InspectorTest.TestFileSystem("file:///usr/local/node");
23 InspectorTest.addFiles(fs, { 23 InspectorTest.addFiles(fs, {
24 "app.js": app_js, 24 "app.js": app_js,
25 }); 25 });
26 fs.reportCreated(onFileSystemCreated); 26 fs.reportCreated(onFileSystemCreated);
27 27
28 function onFileSystemCreated() 28 function onFileSystemCreated()
29 { 29 {
30 automappingTest.waitUntilMappingIsStabilized(InspectorTest.completeTest. bind(InspectorTest)); 30 automappingTest.waitUntilMappingIsStabilized(InspectorTest.completeTest. bind(InspectorTest));
31 } 31 }
32 } 32 }
33 </script> 33 </script>
34 </head> 34 </head>
35 <body onload="runTest()"> 35 <body onload="runTest()">
36 <p>Verify that automapping is capable of mapping file:// urls.</p> 36 <p>Verify that automapping is capable of mapping file:// urls.</p>
37 </body> 37 </body>
38 </html> 38 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698