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 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
805 { | 805 { |
806 "name": "canEmulate", | 806 "name": "canEmulate", |
807 "description": "Tells whether emulation is supported.", | 807 "description": "Tells whether emulation is supported.", |
808 "returns": [ | 808 "returns": [ |
809 { "name": "result", "type": "boolean", "description": "True if emulation is supported." } | 809 { "name": "result", "type": "boolean", "description": "True if emulation is supported." } |
810 ], | 810 ], |
811 "handlers": ["browser"] | 811 "handlers": ["browser"] |
812 }, | 812 }, |
813 { | 813 { |
814 "name": "setVirtualTimePolicy", | 814 "name": "setVirtualTimePolicy", |
815 "description": "Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy .", | 815 "description": "Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy . Note this supersedes any previous time budget.", |
816 "parameters": [ | 816 "parameters": [ |
817 { "name": "policy", "$ref": "VirtualTimePolicy" } | 817 { "name": "policy", "$ref": "VirtualTimePolicy" }, |
818 { "name": "virtualTimeBudgetMs", "type": "integer", "optiona l": true, "description": "If set, after virtualTimeBudgetMs has elapsed, virtual time pauses and a virtualTimeBudgetExpired event is sent." } | |
dgozman
2016/08/01 19:53:13
Let's rename this to |budget|.
alex clarke (OOO till 29th)
2016/08/02 15:42:59
Done.
| |
818 ], | 819 ], |
819 "hidden": true | 820 "hidden": true |
820 } | 821 } |
822 ], | |
823 "events": [ | |
824 { | |
825 "name": "virtualTimeBudgetExpired", | |
826 "description": "Notification sent after the virual time budget f or the current VirtualTimePolicy has run out." | |
827 } | |
821 ] | 828 ] |
822 }, | 829 }, |
823 { | 830 { |
824 "domain": "Security", | 831 "domain": "Security", |
825 "description": "Security", | 832 "description": "Security", |
826 "hidden": true, | 833 "hidden": true, |
827 "types": [ | 834 "types": [ |
828 { | 835 { |
829 "id": "CertificateId", | 836 "id": "CertificateId", |
830 "type": "integer", | 837 "type": "integer", |
(...skipping 3630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4461 "description": "Informs that port was successfully bound and got a specified connection id.", | 4468 "description": "Informs that port was successfully bound and got a specified connection id.", |
4462 "parameters": [ | 4469 "parameters": [ |
4463 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, | 4470 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, |
4464 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } | 4471 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } |
4465 ], | 4472 ], |
4466 "handlers": ["browser"] | 4473 "handlers": ["browser"] |
4467 } | 4474 } |
4468 ] | 4475 ] |
4469 }] | 4476 }] |
4470 } | 4477 } |
OLD | NEW |