1 Test that watch expressions expansion state is restored after update.
4 Exception while running: function step1()
6 var watchExpressionsPane = WebInspector.panels.sources.sidebarPanes.watchExpressions;
7 watchExpressionsPane.expand();
9 watchExpressionsSection = watchExpressionsPane.section;
10 watchExpressionsSection.watchExpressions = [];
11 watchExpressionsSection.watchExpressions.push("globalObject");
12 watchExpressionsSection.watchExpressions.push("windowAlias");
14 InspectorTest.addSniffer(WebInspector.WatchExpressionsSection.prototype, "updateProperties", step2);
15 watchExpressionsSection.update();
17 TypeError: Cannot set property 'watchExpressions' of undefined
18 at step1 (evaluateInWebInspector1.js:67:50)
19 at result (evaluateInWebInspector0.js:478:25)
20 at Object.InspectorTest.startDebuggerTest (evaluateInWebInspector0.js:1901:37)
21 at eval (evaluateInWebInspector1.js:59:19)
22 at eval (evaluateInWebInspector1.js:51:13)