Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / profiler / profiler-test.js
index 7718b18..7e551ad 100644 (file)
@@ -1,9 +1,10 @@
 var initialize_ProfilerTest = function() {
 
+InspectorTest.preloadPanel("profiles");
+
 InspectorTest.startProfilerTest = function(callback)
 {
     Runtime.experiments.enableForTest("disableAgentsWhenProfile");
-    WebInspector.inspectorView.showPanel("profiles");
 
     InspectorTest.addResult("Profiler was enabled.");
     InspectorTest.addSniffer(WebInspector.panels.profiles, "_addProfileHeader", InspectorTest._profileHeaderAdded, true);