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

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

Issue 2826573002: DevTools: fix tests to ensure clean revert of persistence2.0 (Closed)
Patch Set: Created 3 years, 8 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
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="../console-test.js"></script> 5 <script src="../console-test.js"></script>
6 <script src="../isolated-filesystem-test.js"></script> 6 <script src="../isolated-filesystem-test.js"></script>
7 <script src="./persistence-test.js"></script> 7 <script src="./persistence-test.js"></script>
8 <script src="./resources/foo.js"></script> 8 <script src="./resources/foo.js"></script>
9 <script> 9 <script>
10 10
11 function test() 11 function test()
12 { 12 {
13 Runtime.experiments.enableForTest('persistence2');
13 var testMapping = InspectorTest.initializeTestMapping(); 14 var testMapping = InspectorTest.initializeTestMapping();
14 var fs = new InspectorTest.TestFileSystem("file:///var/www"); 15 var fs = new InspectorTest.TestFileSystem("file:///var/www");
15 InspectorTest.addFooJSFile(fs); 16 InspectorTest.addFooJSFile(fs);
16 fs.reportCreated(function() { }); 17 fs.reportCreated(function() { });
17 18
18 InspectorTest.runTestSuite([ 19 InspectorTest.runTestSuite([
19 function waitForUISourceCodes(next) 20 function waitForUISourceCodes(next)
20 { 21 {
21 Promise.all([ 22 Promise.all([
22 InspectorTest.waitForUISourceCode("foo.js", Workspace.projectTyp es.Network) 23 InspectorTest.waitForUISourceCode("foo.js", Workspace.projectTyp es.Network)
(...skipping 14 matching lines...) Expand all
37 } 38 }
38 }, 39 },
39 ]); 40 ]);
40 }; 41 };
41 </script> 42 </script>
42 </head> 43 </head>
43 <body onload="runTest()"> 44 <body onload="runTest()">
44 <p>Verify that dirty uiSourceCodes are not bound.</p> 45 <p>Verify that dirty uiSourceCodes are not bound.</p>
45 </body> 46 </body>
46 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698