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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 "handlers": ["browser", "renderer"] | 708 "handlers": ["browser", "renderer"] |
709 }, | 709 }, |
710 { | 710 { |
711 "name": "setEmulatedMedia", | 711 "name": "setEmulatedMedia", |
712 "parameters": [ | 712 "parameters": [ |
713 { "name": "media", "type": "string", "description": "Media t
ype to emulate. Empty string disables the override." } | 713 { "name": "media", "type": "string", "description": "Media t
ype to emulate. Empty string disables the override." } |
714 ], | 714 ], |
715 "description": "Emulates the given media for CSS media queries." | 715 "description": "Emulates the given media for CSS media queries." |
716 }, | 716 }, |
717 { | 717 { |
| 718 "name": "setCPUThrottlingRate", |
| 719 "parameters": [ |
| 720 { "name": "rate", "type": "number", "description": "Throttli
ng rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc)." } |
| 721 ], |
| 722 "description": "Enables CPU throttling to emulate slow CPUs." |
| 723 }, |
| 724 { |
718 "name": "canEmulate", | 725 "name": "canEmulate", |
719 "description": "Tells whether emulation is supported.", | 726 "description": "Tells whether emulation is supported.", |
720 "returns": [ | 727 "returns": [ |
721 { "name": "result", "type": "boolean", "description": "True
if emulation is supported." } | 728 { "name": "result", "type": "boolean", "description": "True
if emulation is supported." } |
722 ], | 729 ], |
723 "handlers": ["browser"] | 730 "handlers": ["browser"] |
724 } | 731 } |
725 ], | 732 ], |
726 "events": [ | 733 "events": [ |
727 { | 734 { |
(...skipping 4571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5299 ], | 5306 ], |
5300 "returns": [ | 5307 "returns": [ |
5301 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5308 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
5302 ], | 5309 ], |
5303 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5310 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
5304 "hidden": true | 5311 "hidden": true |
5305 } | 5312 } |
5306 ] | 5313 ] |
5307 }] | 5314 }] |
5308 } | 5315 } |
OLD | NEW |