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

Side by Side Diff: LayoutTests/inspector/debugger/error-in-watch-expressions.html

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script> 4 <script>
5 5
6 var foo = 123 6 var foo = 123
7 7
8 var test = function() 8 var test = function()
9 { 9 {
10 // We need to initialize scripts panel so that watch expressions section is created. 10 // We need to initialize sources panel so that watch expressions section is created.
11 WebInspector.showPanel("scripts"); 11 WebInspector.showPanel("sources");
12 12
13 var watchExpressionsPane = WebInspector.panels.scripts.sidebarPanes.watchExp ressions; 13 var watchExpressionsPane = WebInspector.panels.sources.sidebarPanes.watchExp ressions;
14 watchExpressionsPane.expand(); 14 watchExpressionsPane.expand();
15 15
16 var watchExpressionsSection = watchExpressionsPane.section; 16 var watchExpressionsSection = watchExpressionsPane.section;
17 watchExpressionsSection.watchExpressions = []; 17 watchExpressionsSection.watchExpressions = [];
18 watchExpressionsSection.watchExpressions.push("#$%"); 18 watchExpressionsSection.watchExpressions.push("#$%");
19 watchExpressionsSection.update(); 19 watchExpressionsSection.update();
20 20
21 InspectorTest.runAfterPendingDispatches(step1); 21 InspectorTest.runAfterPendingDispatches(step1);
22 22
23 function step1() 23 function step1()
(...skipping 11 matching lines...) Expand all
35 </script> 35 </script>
36 </head> 36 </head>
37 37
38 <body onload="runTest()"> 38 <body onload="runTest()">
39 <p> 39 <p>
40 Tests that watches pane renders errors in red. 40 Tests that watches pane renders errors in red.
41 </p> 41 </p>
42 42
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698