| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../http/tests/inspector/inspector-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 | 5 |
| 6 function test() | 6 function test() |
| 7 { | 7 { |
| 8 InspectorTest.runTestSuite([ | 8 InspectorTest.runTestSuite([ |
| 9 function testInitialLoad(next) | 9 function testInitialLoad(next) |
| 10 { | 10 { |
| 11 InspectorTest.dumpLoadedModules(next); | 11 InspectorTest.dumpLoadedModules(next); |
| 12 }, | 12 }, |
| 13 | 13 |
| 14 function testCreateElementsPanel(next) | 14 function testCreateElementsPanel(next) |
| 15 { | 15 { |
| 16 WebInspector.inspectorView.panel("elements").then(InspectorTest.dump
LoadedModules.bind(InspectorTest, next)); | 16 WebInspector.inspectorView.panel("elements").then(InspectorTest.dump
LoadedModules.bind(InspectorTest, self.runtime.loadModulePromise("animation").th
en(next))); |
| 17 }, | 17 }, |
| 18 | 18 |
| 19 function testCreateNetworkPanel(next) | 19 function testCreateNetworkPanel(next) |
| 20 { | 20 { |
| 21 WebInspector.inspectorView.panel("network").then(InspectorTest.dumpL
oadedModules.bind(InspectorTest, next)); | 21 WebInspector.inspectorView.panel("network").then(InspectorTest.dumpL
oadedModules.bind(InspectorTest, next)); |
| 22 }, | 22 }, |
| 23 | 23 |
| 24 function testShowSourcesPanel(next) | 24 function testShowSourcesPanel(next) |
| 25 { | 25 { |
| 26 WebInspector.inspectorView.panel("sources").then(InspectorTest.dumpL
oadedModules.bind(InspectorTest, next)); | 26 WebInspector.inspectorView.panel("sources").then(InspectorTest.dumpL
oadedModules.bind(InspectorTest, next)); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 42 ]); | 42 ]); |
| 43 } | 43 } |
| 44 | 44 |
| 45 </script> | 45 </script> |
| 46 </head> | 46 </head> |
| 47 | 47 |
| 48 <body onload="runTest()"> | 48 <body onload="runTest()"> |
| 49 <p>This test validates initial set of loaded modules.</p> | 49 <p>This test validates initial set of loaded modules.</p> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| OLD | NEW |