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

Side by Side Diff: Source/devtools/protocol.json

Issue 1315043008: [DevTools] Show blocked requests in Network panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 3 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 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications.", 10 "description": "Enables inspector domain notifications.",
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 "description": "Security details about a request.", 1223 "description": "Security details about a request.",
1224 "properties": [ 1224 "properties": [
1225 { "name": "protocol", "type": "string", "description": "Prot ocol name (e.g. \"TLS 1.2\" or \"QUIC\"." }, 1225 { "name": "protocol", "type": "string", "description": "Prot ocol name (e.g. \"TLS 1.2\" or \"QUIC\"." },
1226 { "name": "keyExchange", "type": "string", "description": "K ey Exchange used by the connection." }, 1226 { "name": "keyExchange", "type": "string", "description": "K ey Exchange used by the connection." },
1227 { "name": "cipher", "type": "string", "description": "Cipher name." }, 1227 { "name": "cipher", "type": "string", "description": "Cipher name." },
1228 { "name": "mac", "type": "string", "optional": true, "descri ption": "TLS MAC. Note that AEAD ciphers do not have separate MACs." }, 1228 { "name": "mac", "type": "string", "optional": true, "descri ption": "TLS MAC. Note that AEAD ciphers do not have separate MACs." },
1229 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "Certificate ID value." } 1229 { "name": "certificateId", "$ref": "CertificateId", "descrip tion": "Certificate ID value." }
1230 ] 1230 ]
1231 }, 1231 },
1232 { 1232 {
1233 "id": "BlockedReason",
1234 "type": "string",
1235 "description": "The reason why request was blocked.",
1236 "enum": ["csp", "mixed-content", "origin", "inspector", "other"] ,
1237 "hidden": true
1238 },
1239 {
1233 "id": "Response", 1240 "id": "Response",
1234 "type": "object", 1241 "type": "object",
1235 "description": "HTTP response data.", 1242 "description": "HTTP response data.",
1236 "properties": [ 1243 "properties": [
1237 { "name": "url", "type": "string", "description": "Response URL. This URL can be different from CachedResource.url in case of redirect." }, 1244 { "name": "url", "type": "string", "description": "Response URL. This URL can be different from CachedResource.url in case of redirect." },
1238 { "name": "status", "type": "number", "description": "HTTP r esponse status code." }, 1245 { "name": "status", "type": "number", "description": "HTTP r esponse status code." },
1239 { "name": "statusText", "type": "string", "description": "HT TP response status text." }, 1246 { "name": "statusText", "type": "string", "description": "HT TP response status text." },
1240 { "name": "headers", "$ref": "Headers", "description": "HTTP response headers." }, 1247 { "name": "headers", "$ref": "Headers", "description": "HTTP response headers." },
1241 { "name": "headersText", "type": "string", "optional": true, "description": "HTTP response headers text." }, 1248 { "name": "headersText", "type": "string", "optional": true, "description": "HTTP response headers text." },
1242 { "name": "mimeType", "type": "string", "description": "Reso urce mimeType as determined by the browser." }, 1249 { "name": "mimeType", "type": "string", "description": "Reso urce mimeType as determined by the browser." },
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 }, 1555 },
1549 { 1556 {
1550 "name": "loadingFailed", 1557 "name": "loadingFailed",
1551 "description": "Fired when HTTP request has failed to load.", 1558 "description": "Fired when HTTP request has failed to load.",
1552 "parameters": [ 1559 "parameters": [
1553 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." }, 1560 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1554 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." }, 1561 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." },
1555 { "name": "type", "$ref": "Page.ResourceType", "description" : "Resource type." }, 1562 { "name": "type", "$ref": "Page.ResourceType", "description" : "Resource type." },
1556 { "name": "errorText", "type": "string", "description": "Use r friendly error message." }, 1563 { "name": "errorText", "type": "string", "description": "Use r friendly error message." },
1557 { "name": "canceled", "type": "boolean", "optional": true, " description": "True if loading was canceled." }, 1564 { "name": "canceled", "type": "boolean", "optional": true, " description": "True if loading was canceled." },
1558 { "name": "blocked", "type": "boolean", "optional": true, "d escription": "True if loading was blocked by inspector." } 1565 { "name": "blockedReason", "$ref": "BlockedReason", "optiona l": true, "description": "The reason why loading was blocked, if any.", "hidden" : true }
1559 ] 1566 ]
1560 }, 1567 },
1561 { 1568 {
1562 "name": "webSocketWillSendHandshakeRequest", 1569 "name": "webSocketWillSendHandshakeRequest",
1563 "description": "Fired when WebSocket is about to initiate handsh ake.", 1570 "description": "Fired when WebSocket is about to initiate handsh ake.",
1564 "parameters": [ 1571 "parameters": [
1565 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." }, 1572 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1566 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." }, 1573 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." },
1567 { "name": "wallTime", "$ref": "Timestamp", "hidden": true, " description": "UTC Timestamp." }, 1574 { "name": "wallTime", "$ref": "Timestamp", "hidden": true, " description": "UTC Timestamp." },
1568 { "name": "request", "$ref": "WebSocketRequest", "descriptio n": "WebSocket request data." } 1575 { "name": "request", "$ref": "WebSocketRequest", "descriptio n": "WebSocket request data." }
(...skipping 3659 matching lines...) Expand 10 before | Expand all | Expand 10 after
5228 ], 5235 ],
5229 "returns": [ 5236 "returns": [
5230 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5237 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5231 ], 5238 ],
5232 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5239 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5233 "hidden": true 5240 "hidden": true
5234 } 5241 }
5235 ] 5242 ]
5236 }] 5243 }]
5237 } 5244 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sdk/NetworkRequest.js ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698