OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 5400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5411 "description": "Fired when a request is about to occur.", | 5411 "description": "Fired when a request is about to occur.", |
5412 "parameters": [ | 5412 "parameters": [ |
5413 { | 5413 { |
5414 "type": "object", | 5414 "type": "object", |
5415 "name": "details", | 5415 "name": "details", |
5416 "properties": { | 5416 "properties": { |
5417 "requestId": {"type": "string", "description": "The ID of the requ
est. Request IDs are unique within a browser session. As a result, they could be
used to relate different events of the same request."}, | 5417 "requestId": {"type": "string", "description": "The ID of the requ
est. Request IDs are unique within a browser session. As a result, they could be
used to relate different events of the same request."}, |
5418 "url": {"type": "string"}, | 5418 "url": {"type": "string"}, |
5419 "method": {"type": "string", "description": "Standard HTTP method.
"}, | 5419 "method": {"type": "string", "description": "Standard HTTP method.
"}, |
5420 "frameId": {"type": "integer", "description": "0 indicates the req
uest happens in the main frame; a positive value indicates the ID of a subframe
in which the request happens. If the document of a (sub-)frame is loaded (<code>
type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId
</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs
are unique within a tab."}, | 5420 "frameId": {"type": "integer", "description": "0 indicates the req
uest happens in the main frame; a positive value indicates the ID of a subframe
in which the request happens. If the document of a (sub-)frame is loaded (<code>
type</code> is <code>main_frame</code> or <code>sub_frame</code>), <code>frameId
</code> indicates the ID of this frame, not the ID of the outer frame. Frame IDs
are unique within a tab."}, |
5421 "tabId": {"type": "integer", "description": "The ID of the tab in
which the request takes place. Set to null if the request isn't related to a tab
."}, | 5421 "tabId": {"type": "integer", "description": "The ID of the tab in
which the request takes place. Set to -1 if the request isn't related to a tab."
}, |
5422 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, | 5422 "type": {"type": "string", "enum": ["main_frame", "sub_frame", "st
ylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description
": "How the requested resource will be used."}, |
5423 "timeStamp": {"type": "number", "description": "The time when the
browser was about to make the request, in milliseconds since the epoch."} | 5423 "timeStamp": {"type": "number", "description": "The time when the
browser was about to make the request, in milliseconds since the epoch."} |
5424 } | 5424 } |
5425 } | 5425 } |
5426 ], | 5426 ], |
5427 "extraParameters": [ | 5427 "extraParameters": [ |
5428 { | 5428 { |
5429 "$ref": "RequestFilter", | 5429 "$ref": "RequestFilter", |
5430 "optional": true, | 5430 "optional": true, |
5431 "name": "filter", | 5431 "name": "filter", |
(...skipping 2653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8085 "description": "A string result code. The value is non-empty on
success only in tests.", | 8085 "description": "A string result code. The value is non-empty on
success only in tests.", |
8086 "optional": "true" | 8086 "optional": "true" |
8087 } | 8087 } |
8088 ] | 8088 ] |
8089 } | 8089 } |
8090 ] | 8090 ] |
8091 } | 8091 } |
8092 ] | 8092 ] |
8093 } | 8093 } |
8094 ] | 8094 ] |
OLD | NEW |