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() |
{ |