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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html b/LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html
index f62e52a7cb6042c14b87f09e162d20d12b014f13..470043ecda71029429d3366b0ca6d4cf00fd9db4 100644
--- a/LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html
+++ b/LayoutTests/inspector/sources/debugger/debugger-step-into-custom-element-callbacks.html
@@ -31,8 +31,8 @@ function testFunction() {
var test = function() {
InspectorTest.resumeExecution = function(callback) {
- if (WebInspector.panels.sources.paused)
- WebInspector.panels.sources.togglePause();
+ if (WebInspector.inspectorView.panel("sources").paused)
+ WebInspector.inspectorView.panel("sources").togglePause();
InspectorTest.waitUntilResumed(callback);
};
@@ -52,10 +52,10 @@ var test = function() {
function stepOverThenIn(name, callback) {
InspectorTest.addResult("Stepping to " + name + "...");
- WebInspector.panels.sources._stepOverButton.element.click();
+ WebInspector.inspectorView.panel("sources")._stepOverButton.element.click();
InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, function() {
InspectorTest.addResult("Stepping into " + name + "...");
- WebInspector.panels.sources._stepIntoButton.element.click();
+ WebInspector.inspectorView.panel("sources")._stepIntoButton.element.click();
InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, callback));
}));
}

Powered by Google App Engine
This is Rietveld 408576698