Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(271)

Unified Diff: LayoutTests/inspector/sources/debugger-ui/watch-expressions-preserve-expansion-expected.txt

Issue 1271253005: Auto-rebaseline for r200178 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698