Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / sources / debugger / event-listener-breakpoints-promises.html
index 61b81b5..22d4c1b 100644 (file)
@@ -18,7 +18,7 @@ function testFunction()
     var q = new Promise(function(res, rej) {
         reject = rej;
     });
-    q.then(function() {
+    q.catch(function() {
     });
 
     resolve(42);
@@ -30,7 +30,6 @@ var test = function()
     var pane = WebInspector.panels.sources.sidebarPanes.eventListenerBreakpoints;
     var numberOfPauses = 6;
 
-    WebInspector.inspectorView.showPanel("sources");
     InspectorTest.setQuiet(true);
     InspectorTest.startDebuggerTest(step1);