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