Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/break-on-empty-event-listener.html

Issue 2234193002: DevTools: migrate some of the sources panel sidebar panes to view management, allow view toolbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/break-on-empty-event-listener.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/break-on-empty-event-listener.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/break-on-empty-event-listener.html
index aa6afe09a5f27dc869e4636dd7ac1c443edb4e08..bf8b76da504e4963e38542dabc2581911af0f027 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/break-on-empty-event-listener.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/break-on-empty-event-listener.html
@@ -21,19 +21,20 @@ function addEmptyEventListenerAndClick()
var test = function()
{
+ var pane = self.runtime.sharedInstance(WebInspector.EventListenerBreakpointsSidebarPane);
InspectorTest.startDebuggerTest(step1, true);
function step1()
{
var actions = [ "Print" ];
InspectorTest.waitUntilPausedAndPerformSteppingActions(actions, step2);
- WebInspector.panels.sources.sidebarPanes.eventListenerBreakpoints._setBreakpoint("listener:click");
+ pane._setBreakpoint("listener:click");
InspectorTest.evaluateInPageWithTimeout("addEmptyEventListenerAndClick()");
}
function step2()
{
- WebInspector.panels.sources.sidebarPanes.eventListenerBreakpoints._removeBreakpoint("listener:click");
+ pane._removeBreakpoint("listener:click");
InspectorTest.completeDebuggerTest();
}
}

Powered by Google App Engine
This is Rietveld 408576698