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

Side by Side Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2918313002: Implement new referrer policies (Closed)
Patch Set: update public/platform/OWNERS per presubmit Created 3 years, 6 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
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "experimental": true, 5 "experimental": 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 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 "id": "Request", 1187 "id": "Request",
1188 "type": "object", 1188 "type": "object",
1189 "description": "HTTP request data.", 1189 "description": "HTTP request data.",
1190 "properties": [ 1190 "properties": [
1191 { "name": "url", "type": "string", "description": "Request U RL." }, 1191 { "name": "url", "type": "string", "description": "Request U RL." },
1192 { "name": "method", "type": "string", "description": "HTTP r equest method." }, 1192 { "name": "method", "type": "string", "description": "HTTP r equest method." },
1193 { "name": "headers", "$ref": "Headers", "description": "HTTP request headers." }, 1193 { "name": "headers", "$ref": "Headers", "description": "HTTP request headers." },
1194 { "name": "postData", "type": "string", "optional": true, "d escription": "HTTP POST request data." }, 1194 { "name": "postData", "type": "string", "optional": true, "d escription": "HTTP POST request data." },
1195 { "name": "mixedContentType", "optional": true, "type": "str ing", "enum": ["blockable", "optionally-blockable", "none"], "description": "The mixed content status of the request, as defined in http://www.w3.org/TR/mixed-c ontent/" }, 1195 { "name": "mixedContentType", "optional": true, "type": "str ing", "enum": ["blockable", "optionally-blockable", "none"], "description": "The mixed content status of the request, as defined in http://www.w3.org/TR/mixed-c ontent/" },
1196 { "name": "initialPriority", "$ref": "ResourcePriority", "de scription": "Priority of the resource request at the time request is sent."}, 1196 { "name": "initialPriority", "$ref": "ResourcePriority", "de scription": "Priority of the resource request at the time request is sent."},
1197 { "name": "referrerPolicy", "type": "string", "enum": [ "uns afe-url", "no-referrer-when-downgrade", "no-referrer", "origin", "origin-when-cr oss-origin", "no-referrer-when-downgrade-origin-when-cross-origin" ], "descripti on": "The referrer policy of the request, as defined in https://www.w3.org/TR/re ferrer-policy/" }, 1197 { "name": "referrerPolicy", "type": "string", "enum": [ "uns afe-url", "no-referrer-when-downgrade", "no-referrer", "origin", "origin-when-cr oss-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin" ] , "description": "The referrer policy of the request, as defined in https://www. w3.org/TR/referrer-policy/" },
1198 { "name": "isLinkPreload", "type": "boolean", "optional": tr ue, "description": "Whether is loaded via link preload." } 1198 { "name": "isLinkPreload", "type": "boolean", "optional": tr ue, "description": "Whether is loaded via link preload." }
1199 ] 1199 ]
1200 }, 1200 },
1201 { 1201 {
1202 "id": "SignedCertificateTimestamp", 1202 "id": "SignedCertificateTimestamp",
1203 "type" : "object", 1203 "type" : "object",
1204 "description": "Details of a signed certificate timestamp (SCT). ", 1204 "description": "Details of a signed certificate timestamp (SCT). ",
1205 "properties": [ 1205 "properties": [
1206 { "name": "status", "type": "string", "description": "Valida tion status." }, 1206 { "name": "status", "type": "string", "description": "Valida tion status." },
1207 { "name": "origin", "type": "string", "description": "Origin ." }, 1207 { "name": "origin", "type": "string", "description": "Origin ." },
(...skipping 3603 matching lines...) Expand 10 before | Expand all | Expand 10 after
4811 "parameters": [ 4811 "parameters": [
4812 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." } 4812 { "name": "windowId", "$ref": "WindowID", "description": "Br owser window id." }
4813 ], 4813 ],
4814 "returns": [ 4814 "returns": [
4815 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." } 4815 { "name": "bounds", "$ref": "Bounds", "description": "Bounds information of the window. When window state is 'minimized', the restored windo w position and size are returned." }
4816 ] 4816 ]
4817 } 4817 }
4818 ] 4818 ]
4819 }] 4819 }]
4820 } 4820 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698