Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector-enabled / sources / debugger / script-formatter-breakpoints-4.html
index ef67d56..88280ee 100644 (file)
@@ -25,10 +25,18 @@ function onload()
 var test = function()
 {
     WebInspector.breakpointManager._storage._breakpoints = {};
-    var panel = WebInspector.inspectorView.showPanel("sources");
-    var scriptFormatter = InspectorTest.scriptFormatter();
+    var panel = WebInspector.panels.sources;
+    var scriptFormatter;
 
     InspectorTest.runDebuggerTestSuite([
+        function testSetup(next)
+        {
+            InspectorTest.scriptFormatter().then(function(sf) {
+                scriptFormatter = sf;
+                next();
+            });
+        },
+
         function testBreakpointSetInOriginalAndRemovedInFormatted(next)
         {
             InspectorTest.showScriptSource("script-formatter-breakpoints-4.html", didShowScriptSource);