| 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="../isolated-filesystem-test.js"></script> | 4 <script src="../isolated-filesystem-test.js"></script> |
| 5 <script src="./persistence-test.js"></script> | 5 <script src="./persistence-test.js"></script> |
| 6 <script src="./automapping-test.js"></script> | 6 <script src="./automapping-test.js"></script> |
| 7 <script> | 7 <script> |
| 8 | 8 |
| 9 function test() | 9 function test() |
| 10 { | 10 { |
| 11 var foo_js = { | 11 var foo_js = { |
| 12 content: "console.log('foo.js!');", | 12 content: "console.log('foo.js!');", |
| 13 time: new Date("December 1, 1989") | 13 time: new Date("December 1, 1989") |
| 14 }; | 14 }; |
| 15 | 15 |
| 16 var automappingTest = new InspectorTest.AutomappingTest(new WebInspector.Wor
kspace()); | 16 var automappingTest = new InspectorTest.AutomappingTest(new Workspace.Worksp
ace()); |
| 17 var fs = new InspectorTest.TestFileSystem("file:///var/www"); | 17 var fs = new InspectorTest.TestFileSystem("file:///var/www"); |
| 18 fs.reportCreated(onFileSystemCreated); | 18 fs.reportCreated(onFileSystemCreated); |
| 19 | 19 |
| 20 function onFileSystemCreated() | 20 function onFileSystemCreated() |
| 21 { | 21 { |
| 22 InspectorTest.runTestSuite(tests); | 22 InspectorTest.runTestSuite(tests); |
| 23 } | 23 } |
| 24 | 24 |
| 25 var tests = [ | 25 var tests = [ |
| 26 function addNetworkResource(next) | 26 function addNetworkResource(next) |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 automappingTest.waitUntilMappingIsStabilized(next); | 60 automappingTest.waitUntilMappingIsStabilized(next); |
| 61 }, | 61 }, |
| 62 ]; | 62 ]; |
| 63 } | 63 } |
| 64 </script> | 64 </script> |
| 65 </head> | 65 </head> |
| 66 <body onload="runTest()"> | 66 <body onload="runTest()"> |
| 67 <p>Verify that automapping works property when UISourceCodes come and go.</p> | 67 <p>Verify that automapping works property when UISourceCodes come and go.</p> |
| 68 </body> | 68 </body> |
| 69 </html> | 69 </html> |
| OLD | NEW |