OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "experimental.record", | 3 "namespace": "experimental.record", |
| 4 "description": "The <code>chrome.experimental.record</code> API.", |
4 "types": [ | 5 "types": [ |
5 { | 6 { |
6 "id": "SessionDetails", | 7 "id": "SessionDetails", |
7 "type": "object", | 8 "type": "object", |
8 "description": "", | 9 "description": "", |
9 "properties": { | 10 "properties": { |
10 "extensionPath": { | 11 "extensionPath": { |
11 "type": "string", | 12 "type": "string", |
12 "optional": true, | 13 "optional": true, |
13 "description": | 14 "description": |
14 "Absolute path to an unpacked extension to run in the subbrowser
session." | 15 "Absolute path to an unpacked extension to run in the subbrowser
session." |
15 } | 16 } |
16 } | 17 } |
17 }, | 18 }, |
18 { | 19 { |
19 "id": "ReplayURLsResult", | 20 "id": "ReplayURLsResult", |
20 "type": "object", | 21 "type": "object", |
21 "description": "Return value for Replay callback", | 22 "description": "Return value for Replay callback", |
22 "properties": { | 23 "properties": { |
23 "runTime": { | 24 "runTime": { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 "name": "replayURLs", | 74 "name": "replayURLs", |
74 "description": "", | 75 "description": "", |
75 "type": "function", | 76 "type": "function", |
76 "parameters": [ | 77 "parameters": [ |
77 { | 78 { |
78 "type": "string", | 79 "type": "string", |
79 "name": "captureName", | 80 "name": "captureName", |
80 "description": "Unique name of capture. Use to determine cache." | 81 "description": "Unique name of capture. Use to determine cache." |
81 }, | 82 }, |
82 { | 83 { |
83 "type": "integer", | 84 "type": "integer", |
84 "name": "repeatCount", | 85 "name": "repeatCount", |
85 "minimum": 0, | 86 "minimum": 0, |
86 "maximum": 100 | 87 "maximum": 100 |
87 }, | 88 }, |
88 { | 89 { |
89 "$ref": "SessionDetails", | 90 "$ref": "SessionDetails", |
90 "name": "details", | 91 "name": "details", |
91 "optional": true | 92 "optional": true |
92 }, | 93 }, |
93 { | 94 { |
94 "name": "callback", | 95 "name": "callback", |
95 "type": "function", | 96 "type": "function", |
96 "optional": true, | 97 "optional": true, |
97 "description": "Called when playback has completed.", | 98 "description": "Called when playback has completed.", |
98 "parameters": [ | 99 "parameters": [ |
99 { | 100 { |
100 "$ref": "ReplayURLsResult", | 101 "$ref": "ReplayURLsResult", |
101 "name": "result" | 102 "name": "result" |
102 } | 103 } |
103 ] | 104 ] |
104 } | 105 } |
105 ] | 106 ] |
106 } | 107 } |
107 ] | 108 ] |
108 } | 109 } |
109 ] | 110 ] |
OLD | NEW |