Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / sources / debugger-ui / watch-expressions-preserve-expansion-expected.txt
blob0af1b6fdadaa0c1299cd85ec88ed3eeaacd9d464
1 Test that watch expressions expansion state is restored after update.
3 Bug 99304
4 Exception while running: function step1()
5     {
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();
16     }
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)