| 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="../workspace-test.js"></script> | 5 <script src="../workspace-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 sourcesNavigator = new WebInspector.SourcesNavigatorView(); | 14 var sourcesNavigator = new WebInspector.SourcesNavigatorView(); |
| 14 sourcesNavigator.show(WebInspector.inspectorView.element); | 15 sourcesNavigator.show(WebInspector.inspectorView.element); |
| 15 var fs = new InspectorTest.TestFileSystem("file:///var/www"); | 16 var fs = new InspectorTest.TestFileSystem("file:///var/www"); |
| 16 var fsEntry = InspectorTest.addFooJSFile(fs); | 17 var fsEntry = InspectorTest.addFooJSFile(fs); |
| 17 | 18 |
| 18 InspectorTest.runTestSuite([ | 19 InspectorTest.runTestSuite([ |
| 19 function addFileSystem(next) | 20 function addFileSystem(next) |
| 20 { | 21 { |
| 21 fs.reportCreated(next); | 22 fs.reportCreated(next); |
| 22 }, | 23 }, |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 } | 65 } |
| 65 }, | 66 }, |
| 66 ]); | 67 ]); |
| 67 }; | 68 }; |
| 68 </script> | 69 </script> |
| 69 </head> | 70 </head> |
| 70 <body onload="runTest()"> | 71 <body onload="runTest()"> |
| 71 <p>Verify that navigator view removes mapped UISourceCodes.</p> | 72 <p>Verify that navigator view removes mapped UISourceCodes.</p> |
| 72 </body> | 73 </body> |
| 73 </html> | 74 </html> |
| OLD | NEW |