Index: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
index fb92cabb4fc6393cff41f33451c52c95acfdd069..724a1a7ed8f8cccb61119f59c9d42cb9c1fa9161 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js |
@@ -171,6 +171,11 @@ InspectorTest.resumeExecution = function(callback) |
InspectorTest.waitUntilResumed(callback); |
}; |
+InspectorTest.assertNotPaused = function() |
+{ |
+ InspectorTest.assertEquals(false, WebInspector.panels.sources.paused(), "Assert execution is not paused"); |
+}; |
+ |
InspectorTest.waitUntilPausedAndDumpStackAndResume = function(callback, options) |
{ |
InspectorTest.waitUntilPaused(paused); |
@@ -593,4 +598,9 @@ InspectorTest.evaluateOnCurrentCallFrame = function(code) |
return new Promise(succ => InspectorTest.debuggerModel.evaluateOnSelectedCallFrame(code, "console", false, true, false, false, InspectorTest.safeWrap(succ))); |
} |
+InspectorTest.domBreakpointsSidebarPane = function() |
+{ |
+ WebInspector.viewManager.showView("elements.eventListeners"); |
+ return self.runtime.sharedInstance(WebInspector.DOMBreakpointsSidebarPane); |
+} |
}; |