3 <script src="../http/tests/inspector/inspector-test.js"></script>
8 InspectorTest.runTestSuite([
9 function testInitialLoad(next)
11 InspectorTest.dumpLoadedModules(next);
14 function testCreateElementsPanel(next)
16 WebInspector.panel("elements");
17 InspectorTest.dumpLoadedModules(next);
20 function testCreateNetworkPanel(next)
22 WebInspector.panel("network");
23 InspectorTest.dumpLoadedModules(next);
26 function testShowSourcesPanel(next)
28 WebInspector.showPanel("sources");
29 InspectorTest.dumpLoadedModules(next);
32 function testOpenUISourceCode(next)
35 WebInspector.resourceTreeModel.forAllResources(function(r) {
36 if (r.url.indexOf("inspector-test.js") !== -1) {
41 var uiLocation = new WebInspector.UILocation(WebInspector.workspace.uiSourceCodeForOriginURL(resource.url), 2, 1);
42 WebInspector.Revealer.reveal(uiLocation);
43 InspectorTest.dumpLoadedModules(next);
51 <body onload="runTest()">
52 <p>This test validates initial set of loaded modules.</p>