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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/inspector-backend-commands-generation.html

Issue 2109243003: Introduce --remote-debugging-frontend switch for custom remote debugging front-end (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: support absolute path instead of HTTP endpoint 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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <script src="../http/tests/inspector/inspector-test.js"></script>
5 <script>
6 function test()
7 {
8 var inspectorJson = {"domains": [{
9 "domain": "Page",
10 "types": [{
11 "id": "ResourceType",
12 "type": "string",
13 "enum": ["Document", "XHR", "console-api", "other"]
14 }],
15 "commands": [{
16 "name": "addScriptToEvaluateOnLoad",
17 "parameters": [
18 {"name": "scriptSource", "type": "string"}
19 ],
20 "returns": [
21 {"name": "identifier", "type": "string"}
22 ]
23 }],
24 "events": [{
25 "name": "domContentEventFired",
26 "parameters": [
27 {"name": "timestamp", "type": "number"}
28 ]
29 }]
30 }]};
31 var commands = WebInspector.InspectorBackendHostedMode.generateCommands(insp ectorJson);
32 InspectorTest.addResult(commands);
33 InspectorTest.completeTest();
34 }
35 </script>
36 </head>
37 <body onload="runTest()">
38 <p>Tests correctness of code generated by InspectorBackend.</p>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698