Index: chrome/common/extensions/api/extension_api.json |
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json |
index e45d1b11393baa024b1dcd3bc3caf534067620ec..e70687f12f86010acb5a5dce2abd3257c11e61c4 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -4664,7 +4664,7 @@ |
"type": "array", |
"optional": true, |
"description": "A list of request types. Requests that cannot match any of the types will be filtered out.", |
- "items": { "type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "other"] } |
+ "items": { "type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"] } |
}, |
"tabId": { "type": "integer", "optional": true }, |
"windowId": { "type": "integer", "optional": true } |
@@ -4765,7 +4765,7 @@ |
"method": {"type": "string", "description": "Standard HTTP method."}, |
"frameId": {"type": "integer", "description": "0 indicates 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."}, |
"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."}, |
- "type": {"type": "string", "enum": ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "other"], "description": "How the requested resource will be used."}, |
+ "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 the browser was about to make the request, in milliseconds since the epoch."} |
} |
} |