Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / sources / debugger / script-formatter-breakpoints-2.html
index bf84af2..c45c05c 100644 (file)
@@ -7,11 +7,19 @@
 var test = function()
 {
     WebInspector.breakpointManager._storage._breakpoints = {};
-    var panel = WebInspector.inspectorView.showPanel("sources");
-    var scriptFormatter = InspectorTest.scriptFormatter();
+    var panel = WebInspector.panels.sources;
+    var scriptFormatter;
     var formattedSourceFrame;
 
     InspectorTest.runDebuggerTestSuite([
+        function testSetup(next)
+        {
+            InspectorTest.scriptFormatter().then(function(sf) {
+                scriptFormatter = sf;
+                next();
+            });
+        },
+
         function testBreakpointsSetAndRemoveInFormattedSource(next)
         {
             InspectorTest.showScriptSource("unformatted2.js", didShowScriptSource);