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

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

Issue 12077029: Removing the Dev channel restriction for requestBody of Web Request API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "webRequest", 7 "namespace": "webRequest",
8 "properties": { 8 "properties": {
9 "MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES": { 9 "MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES": {
10 "value": 20, 10 "value": 20,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 "name": "details", 127 "name": "details",
128 "properties": { 128 "properties": {
129 "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."}, 129 "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."},
130 "url": {"type": "string"}, 130 "url": {"type": "string"},
131 "method": {"type": "string", "description": "Standard HTTP method. "}, 131 "method": {"type": "string", "description": "Standard HTTP method. "},
132 "frameId": {"type": "integer", "description": "The value 0 indicat es 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 f rame. Frame IDs are unique within a tab."}, 132 "frameId": {"type": "integer", "description": "The value 0 indicat es 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 f rame. Frame IDs are unique within a tab."},
133 "parentFrameId": {"type": "integer", "description": "ID of frame t hat wraps the frame which sent the request. Set to -1 if no parent frame exists. "}, 133 "parentFrameId": {"type": "integer", "description": "ID of frame t hat wraps the frame which sent the request. Set to -1 if no parent frame exists. "},
134 "requestBody": { 134 "requestBody": {
135 "type": "object", 135 "type": "object",
136 "optional": true, 136 "optional": true,
137 "description": "Contains the HTTP request body data. Experimenta l feature, only available in DEV or CANARY channels. Only provided if extraInfoS pec contains 'requestBody'.", 137 "description": "Contains the HTTP request body data. Only provid ed if extraInfoSpec contains 'requestBody'.",
138 "properties": { 138 "properties": {
139 "error": {"type": "string", "optional": true, "description": " Errors when obtaining request body data."}, 139 "error": {"type": "string", "optional": true, "description": " Errors when obtaining request body data."},
140 "formData": { 140 "formData": {
141 "type": "object", 141 "type": "object",
142 "optional": true, 142 "optional": true,
143 "description": "If the request method is POST and the body i s a sequence of key-value pairs encoded in UTF8, encoded as either multipart/for m-data, or application/x-www-form-urlencoded, this dictionary is present and for each key contains the list of all values for that key. If the data is of anothe r media type, or if it is malformed, the dictionary is not present. An example v alue of this dictionary is {'key': ['value1', 'value2']}.", 143 "description": "If the request method is POST and the body i s a sequence of key-value pairs encoded in UTF8, encoded as either multipart/for m-data, or application/x-www-form-urlencoded, this dictionary is present and for each key contains the list of all values for that key. If the data is of anothe r media type, or if it is malformed, the dictionary is not present. An example v alue of this dictionary is {'key': ['value1', 'value2']}.",
144 "properties": {}, 144 "properties": {},
145 "additionalProperties": { 145 "additionalProperties": {
146 "type": "array", 146 "type": "array",
147 "items": { "type": "string" } 147 "items": { "type": "string" }
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 { 533 {
534 "$ref": "RequestFilter", 534 "$ref": "RequestFilter",
535 "name": "filter", 535 "name": "filter",
536 "description": "A set of filters that restricts the events that will be sent to this listener." 536 "description": "A set of filters that restricts the events that will be sent to this listener."
537 } 537 }
538 ] 538 ]
539 } 539 }
540 ] 540 ]
541 } 541 }
542 ] 542 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698