Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
| 3 "domains": [{ | 3 "domains": [{ |
| 4 "domain": "Inspector", | 4 "domain": "Inspector", |
| 5 "experimental": true, | 5 "experimental": 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 3534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3545 { | 3545 { |
| 3546 "domain": "Target", | 3546 "domain": "Target", |
| 3547 "description": "Supports additional targets discovery and allows to atta ch to them.", | 3547 "description": "Supports additional targets discovery and allows to atta ch to them.", |
| 3548 "experimental": true, | 3548 "experimental": true, |
| 3549 "types": [ | 3549 "types": [ |
| 3550 { | 3550 { |
| 3551 "id": "TargetID", | 3551 "id": "TargetID", |
| 3552 "type": "string" | 3552 "type": "string" |
| 3553 }, | 3553 }, |
| 3554 { | 3554 { |
| 3555 "id": "SessionID", | |
| 3556 "type": "string" | |
| 3557 }, | |
| 3558 { | |
| 3555 "id": "BrowserContextID", | 3559 "id": "BrowserContextID", |
| 3556 "type": "string" | 3560 "type": "string" |
| 3557 }, | 3561 }, |
| 3558 { | 3562 { |
| 3559 "id": "TargetInfo", | 3563 "id": "TargetInfo", |
| 3560 "type": "object", | 3564 "type": "object", |
| 3561 "properties": [ | 3565 "properties": [ |
| 3562 { "name": "targetId", "$ref": "TargetID" }, | 3566 { "name": "targetId", "$ref": "TargetID" }, |
| 3563 { "name": "type", "type": "string" }, | 3567 { "name": "type", "type": "string" }, |
| 3564 { "name": "title", "type": "string" }, | 3568 { "name": "title", "type": "string" }, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3598 }, | 3602 }, |
| 3599 { | 3603 { |
| 3600 "name": "setRemoteLocations", | 3604 "name": "setRemoteLocations", |
| 3601 "description": "Enables target discovery for the specified locat ions, when <code>setDiscoverTargets</code> was set to <code>true</code>.", | 3605 "description": "Enables target discovery for the specified locat ions, when <code>setDiscoverTargets</code> was set to <code>true</code>.", |
| 3602 "parameters": [ | 3606 "parameters": [ |
| 3603 { "name": "locations", "type": "array", "items": { "$ref": " RemoteLocation" }, "description": "List of remote locations." } | 3607 { "name": "locations", "type": "array", "items": { "$ref": " RemoteLocation" }, "description": "List of remote locations." } |
| 3604 ] | 3608 ] |
| 3605 }, | 3609 }, |
| 3606 { | 3610 { |
| 3607 "name": "sendMessageToTarget", | 3611 "name": "sendMessageToTarget", |
| 3608 "description": "Sends protocol message to the target with given id.", | 3612 "description": "Sends protocol message to the session with given id.", |
| 3609 "parameters": [ | 3613 "parameters": [ |
| 3610 { "name": "targetId", "$ref": "TargetID" }, | 3614 { "name": "sessionId", "$ref": "SessionID" }, |
| 3611 { "name": "message", "type": "string" } | 3615 { "name": "message", "type": "string" } |
| 3612 ] | 3616 ] |
| 3613 }, | 3617 }, |
| 3614 { | 3618 { |
| 3615 "name": "getTargetInfo", | 3619 "name": "getTargetInfo", |
| 3616 "description": "Returns information about a target.", | 3620 "description": "Returns information about a target.", |
| 3617 "parameters": [ | 3621 "parameters": [ |
| 3618 { "name": "targetId", "$ref": "TargetID" } | 3622 { "name": "targetId", "$ref": "TargetID" } |
| 3619 ], | 3623 ], |
| 3620 "returns": [ | 3624 "returns": [ |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 3638 { "name": "success", "type": "boolean" } | 3642 { "name": "success", "type": "boolean" } |
| 3639 ] | 3643 ] |
| 3640 }, | 3644 }, |
| 3641 { | 3645 { |
| 3642 "name": "attachToTarget", | 3646 "name": "attachToTarget", |
| 3643 "description": "Attaches to the target with given id.", | 3647 "description": "Attaches to the target with given id.", |
| 3644 "parameters": [ | 3648 "parameters": [ |
| 3645 { "name": "targetId", "$ref": "TargetID" } | 3649 { "name": "targetId", "$ref": "TargetID" } |
| 3646 ], | 3650 ], |
| 3647 "returns": [ | 3651 "returns": [ |
| 3648 { "name": "success", "type": "boolean", "description": "Whet her attach succeeded." } | 3652 { "name": "sessionId", "$ref": "SessionID", "optional": true , "description": "Id assigned to the session, only present if attached successfu lly." } |
| 3649 ] | 3653 ] |
| 3650 }, | 3654 }, |
| 3651 { | 3655 { |
| 3652 "name": "detachFromTarget", | 3656 "name": "detachFromTarget", |
| 3653 "description": "Detaches from the target with given id.", | 3657 "description": "Detaches from the session with given id.", |
| 3654 "parameters": [ | 3658 "parameters": [ |
| 3655 { "name": "targetId", "$ref": "TargetID" } | 3659 { "name": "sessionId", "$ref": "TargetID" } |
|
caseq
2017/06/27 18:29:30
s/TargetID/SessionID/
| |
| 3656 ] | 3660 ] |
| 3657 }, | 3661 }, |
| 3658 { | 3662 { |
| 3659 "name": "createBrowserContext", | 3663 "name": "createBrowserContext", |
| 3660 "description": "Creates a new empty BrowserContext. Similar to a n incognito profile but you can have more than one.", | 3664 "description": "Creates a new empty BrowserContext. Similar to a n incognito profile but you can have more than one.", |
| 3661 "returns": [ | 3665 "returns": [ |
| 3662 { "name": "browserContextId", "$ref": "BrowserContextID", "d escription": "The id of the context created." } | 3666 { "name": "browserContextId", "$ref": "BrowserContextID", "d escription": "The id of the context created." } |
| 3663 ] | 3667 ] |
| 3664 }, | 3668 }, |
| 3665 { | 3669 { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3705 "name": "targetDestroyed", | 3709 "name": "targetDestroyed", |
| 3706 "description": "Issued when a target is destroyed.", | 3710 "description": "Issued when a target is destroyed.", |
| 3707 "parameters": [ | 3711 "parameters": [ |
| 3708 { "name": "targetId", "$ref": "TargetID" } | 3712 { "name": "targetId", "$ref": "TargetID" } |
| 3709 ] | 3713 ] |
| 3710 }, | 3714 }, |
| 3711 { | 3715 { |
| 3712 "name": "attachedToTarget", | 3716 "name": "attachedToTarget", |
| 3713 "description": "Issued when attached to target because of auto-a ttach or <code>attachToTarget</code> command.", | 3717 "description": "Issued when attached to target because of auto-a ttach or <code>attachToTarget</code> command.", |
| 3714 "parameters": [ | 3718 "parameters": [ |
| 3719 { "name": "sessionId", "$ref": "SessionID", "description": " Id assigned to the session for future communication." }, | |
| 3715 { "name": "targetInfo", "$ref": "TargetInfo" }, | 3720 { "name": "targetInfo", "$ref": "TargetInfo" }, |
| 3716 { "name": "waitingForDebugger", "type": "boolean" } | 3721 { "name": "waitingForDebugger", "type": "boolean" } |
| 3717 ] | 3722 ] |
| 3718 }, | 3723 }, |
| 3719 { | 3724 { |
| 3720 "name": "detachedFromTarget", | 3725 "name": "detachedFromTarget", |
| 3721 "description": "Issued when detached from target for any reason (including <code>detachFromTarget</code> command).", | 3726 "description": "Issued when detached from session for any reason (including <code>detachFromTarget</code> command).", |
| 3722 "parameters": [ | 3727 "parameters": [ |
| 3723 { "name": "targetId", "$ref": "TargetID" } | 3728 { "name": "sessionId", "$ref": "SessionID" } |
| 3724 ] | 3729 ] |
| 3725 }, | 3730 }, |
| 3726 { | 3731 { |
| 3727 "name": "receivedMessageFromTarget", | 3732 "name": "receivedMessageFromTarget", |
| 3728 "description": "Notifies about new protocol message from attache d target.", | 3733 "description": "Notifies about a new protocol message from the s ession (as reported in <code>attachedToTarget</code> event).", |
| 3729 "parameters": [ | 3734 "parameters": [ |
| 3730 { "name": "targetId", "$ref": "TargetID" }, | 3735 { "name": "sessionId", "$ref": "SessionID" }, |
| 3731 { "name": "message", "type": "string" } | 3736 { "name": "message", "type": "string" } |
| 3732 ] | 3737 ] |
| 3733 } | 3738 } |
| 3734 ] | 3739 ] |
| 3735 }, | 3740 }, |
| 3736 { | 3741 { |
| 3737 "domain": "ServiceWorker", | 3742 "domain": "ServiceWorker", |
| 3738 "experimental": true, | 3743 "experimental": true, |
| 3739 "types": [ | 3744 "types": [ |
| 3740 { | 3745 { |
| (...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4827 "parameters": [ | 4832 "parameters": [ |
| 4828 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } | 4833 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } |
| 4829 ], | 4834 ], |
| 4830 "returns": [ | 4835 "returns": [ |
| 4831 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } | 4836 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } |
| 4832 ] | 4837 ] |
| 4833 } | 4838 } |
| 4834 ] | 4839 ] |
| 4835 }] | 4840 }] |
| 4836 } | 4841 } |
| OLD | NEW |