Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
| 3 "domains": [{ | 3 "domains": [{ |
| 4 "domain": "Inspector", | 4 "domain": "Inspector", |
| 5 "hidden": true, | 5 "hidden": true, |
| 6 "types": [], | 6 "types": [], |
| 7 "commands": [ | 7 "commands": [ |
| 8 { | 8 { |
| 9 "name": "enable", | 9 "name": "enable", |
| 10 "description": "Enables inspector domain notifications.", | 10 "description": "Enables inspector domain notifications.", |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 754 ], | 754 ], |
| 755 "description": "Enables CPU throttling to emulate slow CPUs." | 755 "description": "Enables CPU throttling to emulate slow CPUs." |
| 756 }, | 756 }, |
| 757 { | 757 { |
| 758 "name": "canEmulate", | 758 "name": "canEmulate", |
| 759 "description": "Tells whether emulation is supported.", | 759 "description": "Tells whether emulation is supported.", |
| 760 "returns": [ | 760 "returns": [ |
| 761 { "name": "result", "type": "boolean", "description": "True if emulation is supported." } | 761 { "name": "result", "type": "boolean", "description": "True if emulation is supported." } |
| 762 ], | 762 ], |
| 763 "handlers": ["browser"] | 763 "handlers": ["browser"] |
| 764 }, | |
| 765 { | |
| 766 "name": "enableVirtualTime", | |
| 767 "description": "Turns on virtualTime.", | |
| 768 "handlers": ["renderer"] | |
| 769 }, | |
| 770 { | |
| 771 "name": "setVirtualTimePolicy", | |
|
Sami
2016/06/29 16:22:27
Would renderer suspension also fall under this? Al
alex clarke (OOO till 29th)
2016/06/29 17:08:31
Potentially yes. I think we need to prototype tha
| |
| 772 "description": "Sets the current virtual time policy.", | |
| 773 "parameters": [ | |
| 774 { | |
| 775 "enum": [ | |
| 776 "advance", | |
| 777 "pause", | |
| 778 "pauseIfNetworkFetchesPending" | |
| 779 ], | |
| 780 "type": "string", | |
| 781 "name": "policy" | |
| 782 } | |
| 783 ], | |
| 784 "handlers": ["renderer"] | |
| 764 } | 785 } |
| 765 ] | 786 ] |
| 766 }, | 787 }, |
| 767 { | 788 { |
| 768 "domain": "Console", | 789 "domain": "Console", |
| 769 "description": "Console domain defines methods and events for interactio n with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A PI</a>. One needs to enable this domain using <code>enable</code> command in ord er to start receiving the console messages. Browser collects messages issued whi le console domain is not enabled as well and reports them using <code>messageAdd ed</code> notification upon enabling.", | 790 "description": "Console domain defines methods and events for interactio n with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A PI</a>. One needs to enable this domain using <code>enable</code> command in ord er to start receiving the console messages. Browser collects messages issued whi le console domain is not enabled as well and reports them using <code>messageAdd ed</code> notification upon enabling.", |
| 770 "dependencies": ["Runtime"], | 791 "dependencies": ["Runtime"], |
| 771 "types": [ | 792 "types": [ |
| 772 { | 793 { |
| 773 "id": "Timestamp", | 794 "id": "Timestamp", |
| (...skipping 3517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4291 "description": "Dispatches protocol message from the target with given id.", | 4312 "description": "Dispatches protocol message from the target with given id.", |
| 4292 "parameters": [ | 4313 "parameters": [ |
| 4293 { "name": "targetId", "$ref": "TargetID" }, | 4314 { "name": "targetId", "$ref": "TargetID" }, |
| 4294 { "name": "message", "type": "string" } | 4315 { "name": "message", "type": "string" } |
| 4295 ], | 4316 ], |
| 4296 "handlers": ["browser"] | 4317 "handlers": ["browser"] |
| 4297 } | 4318 } |
| 4298 ] | 4319 ] |
| 4299 }] | 4320 }] |
| 4300 } | 4321 } |
| OLD | NEW |