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

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

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.or g/TR/html4/loose.dtd">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../http/tests/inspector/inspector-test.js"></script> 4 <script src="../http/tests/inspector/inspector-test.js"></script>
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 var inspectorJson = {"domains": [{ 8 var inspectorJson = {"domains": [{
9 "domain": "Page", 9 "domain": "Page",
10 "types": [{ 10 "types": [{
(...skipping 10 matching lines...) Expand all
21 {"name": "identifier", "type": "string"} 21 {"name": "identifier", "type": "string"}
22 ] 22 ]
23 }], 23 }],
24 "events": [{ 24 "events": [{
25 "name": "domContentEventFired", 25 "name": "domContentEventFired",
26 "parameters": [ 26 "parameters": [
27 {"name": "timestamp", "type": "number"} 27 {"name": "timestamp", "type": "number"}
28 ] 28 ]
29 }] 29 }]
30 }]}; 30 }]};
31 var commands = WebInspector.InspectorBackendHostedMode.generateCommands(insp ectorJson); 31 var commands = SDK.InspectorBackendHostedMode.generateCommands(inspectorJson );
32 InspectorTest.addResult(commands); 32 InspectorTest.addResult(commands);
33 InspectorTest.completeTest(); 33 InspectorTest.completeTest();
34 } 34 }
35 </script> 35 </script>
36 </head> 36 </head>
37 <body onload="runTest()"> 37 <body onload="runTest()">
38 <p>Tests correctness of code generated by InspectorBackend.</p> 38 <p>Tests correctness of code generated by InspectorBackend.</p>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698