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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-getFunctionDetails.html

Issue 2122423002: [DevTools] Remove functionDetails from protocol.json (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-generator-details-from-protocol
Patch Set: a Created 4 years, 5 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
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
4 <script>
5
6 function test()
7 {
8 InspectorTest.sendCommand("Debugger.enable", { });
9 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "document.quer ySelector('object')" }, callbackEvaluate);
10
11 function callbackEvaluate(result)
12 {
13 InspectorTest.sendCommand("Debugger.getFunctionDetails", { "functionId": result.result.result.objectId }, callbackGetFunctionDetails);
14 }
15
16 function callbackGetFunctionDetails(result)
17 {
18 InspectorTest.log(JSON.stringify(result.result, null, 4));
19 InspectorTest.completeTest();
20 }
21 }
22 </script>
23 </head>
24 <body onLoad="runTest();">
25 <object type="application/pdf" data="data:text/plain,"></object>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698