function onload()
{
- testRunner.showWebInspector(JSON.stringify({lastActivePanel:"\"console\"", emulationEnabled: "true", drawerEditorShown: "false"}));
+ testRunner.showWebInspector(JSON.stringify({lastActivePanel:"\"console\"", emulationEnabled: "true"}));
runTest();
}
function test()
{
- InspectorTest.dumpLoadedModules();
+ InspectorTest.addResult("Drawer visible: " + WebInspector.inspectorView.drawerVisible());
+ InspectorTest.addResult("Selected view in drawer: " + WebInspector.inspectorView.selectedViewInDrawer());
InspectorTest.completeTest();
}
</head>
<body onload="onload()">
-<p>This test checks that loading with emulation turned on by default loads elements module.</p>
+<p>This test checks that loading with emulation turned on by default selects the "Emulation" view in drawer.</p>
</body>
</html>