Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 7741014: Fix mismatch about tabId in code and webrequest API documentation if requests don't belong to a tab (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/extensions/docs/experimental.webRequest.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 ]
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/experimental.webRequest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698