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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/error-in-watch-expressions.html

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: followed up on the watch test. 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/error-in-watch-expressions.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/error-in-watch-expressions.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/error-in-watch-expressions.html
index 1b48d8b0e5b0c3f5d3dfa224bd217a2ad240bb05..2c33e118df74d75a191c5badd5c6b1ebb8598d27 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/error-in-watch-expressions.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/error-in-watch-expressions.html
@@ -7,11 +7,14 @@ var foo = 123
var test = function()
{
- var watchExpressionsPane = WebInspector.panels.sources.sidebarPanes.watchExpressions;
- watchExpressionsPane.revealView();
- watchExpressionsPane.addExpression("#$%");
+ var watchExpressionsPane = self.runtime.sharedInstance(WebInspector.WatchExpressionsSidebarPane);
+ WebInspector.panels.sources._sidebarPaneStack.showView(WebInspector.panels.sources._watchSidebarPane).then(() => {
+ watchExpressionsPane.doUpdate();
+ watchExpressionsPane._createWatchExpression("#$%");
+ watchExpressionsPane._saveExpressions();
+ InspectorTest.deprecatedRunAfterPendingDispatches(step1);
+ });
- InspectorTest.deprecatedRunAfterPendingDispatches(step1);
function step1()
{

Powered by Google App Engine
This is Rietveld 408576698