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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-do-not-bind-dirty-sourcecode.html

Issue 2349343002: DevTools: introduce persistence/ module (Closed)
Patch Set: bring sanity to workspace-mapping.html Created 4 years, 2 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../inspector-test.js"></script>
4 <script src="../debugger-test.js"></script>
5 <script src="../workspace-test.js"></script>
6 <script src="../console-test.js"></script>
7 <script src="../isolated-filesystem-test.js"></script>
8 <script src="./persistence-test.js"></script>
9 <script src="./resources/foo.js"></script>
10 <script>
11
12 function test()
13 {
14 var fs = new InspectorTest.TestFileSystem("file:///var/www");
15 InspectorTest.addFooJSFile(fs);
16 fs.reportCreated(function() { });
17
18 InspectorTest.runTestSuite([
19 function waitForUISourceCodes(next)
20 {
21 Promise.all([
22 InspectorTest.waitForUISourceCode("foo.js", WebInspector.project Types.Network)
23 .then(uiSourceCode => uiSourceCode.setWorkingCopy("dirty.")) ,
24 InspectorTest.waitForUISourceCode("foo.js", WebInspector.project Types.FileSystem)
25 ]).then(next);
26 },
27
28 function addFileSystemMapping(next)
29 {
30 WebInspector.fileSystemMapping.addFileMapping(fs.fileSystemPath, "ht tp://127.0.0.1:8000", "/");
31 next();
32 },
33
34 function dumpConsoleMessages(next)
35 {
36 InspectorTest.dumpConsoleMessages();
37 next();
38 },
39 ]);
40 };
41 </script>
42 </head>
43 <body onload="runTest()">
44 <p>Verify that dirty uiSourceCodes are not bound.</p>
45 </body>
46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698