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

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

Issue 1866213002: [DevTools] Move inspect from Inspector to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@inspector-connection
Patch Set: inspectRequested Created 4 years, 8 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/console-test.js"></script> 4 <script src="../../../http/tests/inspector/console-test.js"></script>
5 <script src="../../../http/tests/inspector/debugger-test.js"></script> 5 <script src="../../../http/tests/inspector/debugger-test.js"></script>
6 <script> 6 <script>
7 7
8 function testFunction() 8 function testFunction()
9 { 9 {
10 debugger; 10 debugger;
11 } 11 }
12 12
13 var test = function() 13 var test = function()
14 { 14 {
15 InspectorTest.addSniffer(WebInspector.Main.prototype, "inspect", inspect); 15 InspectorTest.addSniffer(WebInspector.RuntimeModel.prototype, "_inspectReque sted", inspect);
16 InspectorTest.addSniffer(WebInspector.Revealer, "revealPromise", oneRevealPr omise, true); 16 InspectorTest.addSniffer(WebInspector.Revealer, "revealPromise", oneRevealPr omise, true);
17 17
18 function oneRevealPromise(node, revealPromise) 18 function oneRevealPromise(node, revealPromise)
19 { 19 {
20 if (!(node instanceof WebInspector.RemoteObject)) 20 if (!(node instanceof WebInspector.RemoteObject))
21 return; 21 return;
22 revealPromise.then(updateFocusedNode); 22 revealPromise.then(updateFocusedNode);
23 } 23 }
24 24
25 function updateFocusedNode() 25 function updateFocusedNode()
(...skipping 24 matching lines...) Expand all
50 </script> 50 </script>
51 </head> 51 </head>
52 52
53 <body onload="runTest()"> 53 <body onload="runTest()">
54 <p id="p1"> 54 <p id="p1">
55 Tests that inspect() command line api works while on breakpoint. 55 Tests that inspect() command line api works while on breakpoint.
56 </p> 56 </p>
57 57
58 </body> 58 </body>
59 </html> 59 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/agents-enable-disable-expected.txt ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698