| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |