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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-bind-dirty-sourcecode.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="../debugger-test.js"></script> 4 <script src="../debugger-test.js"></script>
5 <script src="../workspace-test.js"></script> 5 <script src="../workspace-test.js"></script>
6 <script src="../console-test.js"></script> 6 <script src="../console-test.js"></script>
7 <script src="../isolated-filesystem-test.js"></script> 7 <script src="../isolated-filesystem-test.js"></script>
8 <script src="./persistence-test.js"></script> 8 <script src="./persistence-test.js"></script>
9 <script src="./resources/foo.js"></script> 9 <script src="./resources/foo.js"></script>
10 <script> 10 <script>
11 11
12 function test() 12 function test()
13 { 13 {
14 var fs = new InspectorTest.TestFileSystem("file:///var/www"); 14 var fs = new InspectorTest.TestFileSystem("file:///var/www");
15 InspectorTest.addFooJSFile(fs); 15 InspectorTest.addFooJSFile(fs);
16 fs.reportCreated(function() { }); 16 fs.reportCreated(function() { });
17 17
18 InspectorTest.runTestSuite([ 18 InspectorTest.runTestSuite([
19 function waitForUISourceCodes(next) 19 function waitForUISourceCodes(next)
20 { 20 {
21 Promise.all([ 21 Promise.all([
22 InspectorTest.waitForUISourceCode("foo.js", WebInspector.project Types.Network) 22 InspectorTest.waitForUISourceCode("foo.js", Workspace.projectTyp es.Network)
23 .then(uiSourceCode => uiSourceCode.setWorkingCopy("dirty.")) , 23 .then(uiSourceCode => uiSourceCode.setWorkingCopy("dirty.")) ,
24 InspectorTest.waitForUISourceCode("foo.js", WebInspector.project Types.FileSystem) 24 InspectorTest.waitForUISourceCode("foo.js", Workspace.projectTyp es.FileSystem)
25 ]).then(next); 25 ]).then(next);
26 }, 26 },
27 27
28 function addFileSystemMapping(next) 28 function addFileSystemMapping(next)
29 { 29 {
30 WebInspector.fileSystemMapping.addFileMapping(fs.fileSystemPath, "ht tp://127.0.0.1:8000", "/"); 30 Workspace.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http: //127.0.0.1:8000", "/");
31 next(); 31 next();
32 }, 32 },
33 33
34 function dumpConsoleMessages(next) 34 function dumpConsoleMessages(next)
35 { 35 {
36 InspectorTest.dumpConsoleMessages(); 36 InspectorTest.dumpConsoleMessages();
37 next(); 37 next();
38 }, 38 },
39 ]); 39 ]);
40 }; 40 };
41 </script> 41 </script>
42 </head> 42 </head>
43 <body onload="runTest()"> 43 <body onload="runTest()">
44 <p>Verify that dirty uiSourceCodes are not bound.</p> 44 <p>Verify that dirty uiSourceCodes are not bound.</p>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698