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

Side by Side Diff: LayoutTests/inspector/sources/debugger/debugger-command-line-api.html

Issue 206253005: DevTools: Get rid of WebInspector.ConsoleModel.UIDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address vsevik's comments Created 6 years, 9 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 src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script> 5 <script>
6 6
7 function testFunction() 7 function testFunction()
8 { 8 {
9 debugger; 9 debugger;
10 } 10 }
11 11
12 var test = function() 12 var test = function()
13 { 13 {
14 InspectorTest.addSniffer(WebInspector.Main.prototype, "inspect", inspect); 14 InspectorTest.addSniffer(WebInspector.Main.prototype, "inspect", inspect);
15 InspectorTest.addSniffer(WebInspector.Revealer, "reveal", updateFocusedNode) ; 15 InspectorTest.addSniffer(WebInspector.Revealer, "reveal", updateFocusedNode, true);
16 16
17 function updateFocusedNode(node) 17 function updateFocusedNode(node)
18 { 18 {
19 if (!(node instanceof WebInspector.DOMNode)) 19 if (!(node instanceof WebInspector.DOMNode))
20 return; 20 return;
21 21
22 InspectorTest.addResult("Selected node id: '" + WebInspector.panels.elem ents.selectedDOMNode().getAttribute("id") + "'."); 22 InspectorTest.addResult("Selected node id: '" + WebInspector.panels.elem ents.selectedDOMNode().getAttribute("id") + "'.");
23 InspectorTest.completeDebuggerTest(); 23 InspectorTest.completeDebuggerTest();
24 } 24 }
25 25
(...skipping 19 matching lines...) Expand all
45 </script> 45 </script>
46 </head> 46 </head>
47 47
48 <body onload="runTest()"> 48 <body onload="runTest()">
49 <p id="p1"> 49 <p id="p1">
50 Tests that inspect() command line api works while on breakpoint. 50 Tests that inspect() command line api works while on breakpoint.
51 </p> 51 </p>
52 52
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/command-line-api-inspect.html ('k') | Source/devtools/front_end/ConsoleModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698