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

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

Issue 1268353005: [DevTools] Support JQuery event listeners (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698