| Index: chrome/common/extensions/api/web_request.json
|
| diff --git a/chrome/common/extensions/api/web_request.json b/chrome/common/extensions/api/web_request.json
|
| index af94afe869f5b54bae7412ffbe85889105e7099c..42c17f82ebde238dfc5057ba5a4db1727a504b25 100644
|
| --- a/chrome/common/extensions/api/web_request.json
|
| +++ b/chrome/common/extensions/api/web_request.json
|
| @@ -106,6 +106,16 @@
|
| "method": {"type": "string", "description": "Standard HTTP method."},
|
| "frameId": {"type": "integer", "description": "The value 0 indicates that the request 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."},
|
| "parentFrameId": {"type": "integer", "description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."},
|
| + "postData": {
|
| + "type": "object",
|
| + "optional": true,
|
| + "description": "A dictionary containig POST data of the request. Only provided if extraInfoSpec contains requestPostData.",
|
| + "properties": {},
|
| + "additionalProperties": {
|
| + "type": "array",
|
| + "items": { "type": "string" }
|
| + }
|
| + },
|
| "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."},
|
| "type": {"type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"], "description": "How the requested resource will be used."},
|
| "timeStamp": {"type": "number", "description": "The time when this signal is triggered, in milliseconds since the epoch."}
|
| @@ -125,7 +135,7 @@
|
| "description": "Array of extra information that should be passed to the listener function.",
|
| "items": {
|
| "type": "string",
|
| - "enum": ["blocking"]
|
| + "enum": ["blocking", "requestPostData"]
|
| }
|
| }
|
| ],
|
|
|