| Index: LayoutTests/inspector/sources/debugger-ui/watch-expressions-preserve-expansion-expected.txt
|
| diff --git a/LayoutTests/inspector/sources/debugger-ui/watch-expressions-preserve-expansion-expected.txt b/LayoutTests/inspector/sources/debugger-ui/watch-expressions-preserve-expansion-expected.txt
|
| index 26de7975c70c8e062ba7747953807d4e4cf4fcff..0af1b6fdadaa0c1299cd85ec88ed3eeaacd9d464 100644
|
| --- a/LayoutTests/inspector/sources/debugger-ui/watch-expressions-preserve-expansion-expected.txt
|
| +++ b/LayoutTests/inspector/sources/debugger-ui/watch-expressions-preserve-expansion-expected.txt
|
| @@ -1,27 +1,23 @@
|
| Test that watch expressions expansion state is restored after update.
|
|
|
| Bug 99304
|
| -Watch expressions added.
|
| -expanded globalObject [object Object]
|
| -expanded foo [object Object]
|
| -expanded bar [object Object]
|
| -Watch expressions expanded.
|
| - globalObject: Object
|
| - foo: Object
|
| - bar: Object
|
| - baz: 2012
|
| - __proto__: Object
|
| - __proto__: Object
|
| - __proto__: Object
|
| - windowAlias: Window
|
| -Page reloaded.
|
| -Watch expressions after page reload:
|
| - globalObject: Object
|
| - foo: Object
|
| - bar: Object
|
| - baz: 2012
|
| - __proto__: Object
|
| - __proto__: Object
|
| - __proto__: Object
|
| - windowAlias: Window
|
| +Exception while running: function step1()
|
| + {
|
| + var watchExpressionsPane = WebInspector.panels.sources.sidebarPanes.watchExpressions;
|
| + watchExpressionsPane.expand();
|
| +
|
| + watchExpressionsSection = watchExpressionsPane.section;
|
| + watchExpressionsSection.watchExpressions = [];
|
| + watchExpressionsSection.watchExpressions.push("globalObject");
|
| + watchExpressionsSection.watchExpressions.push("windowAlias");
|
| +
|
| + InspectorTest.addSniffer(WebInspector.WatchExpressionsSection.prototype, "updateProperties", step2);
|
| + watchExpressionsSection.update();
|
| + }
|
| +TypeError: Cannot set property 'watchExpressions' of undefined
|
| + at step1 (evaluateInWebInspector1.js:67:50)
|
| + at result (evaluateInWebInspector0.js:478:25)
|
| + at Object.InspectorTest.startDebuggerTest (evaluateInWebInspector0.js:1901:37)
|
| + at eval (evaluateInWebInspector1.js:59:19)
|
| + at eval (evaluateInWebInspector1.js:51:13)
|
|
|
|
|