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

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

Issue 2703253002: devtools: Make it possible to override the navigation referrer (Closed)
Patch Set: Reworked into a inspector protocol test Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | no next file » | 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 "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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 "name": "reload", 244 "name": "reload",
245 "parameters": [ 245 "parameters": [
246 { "name": "ignoreCache", "type": "boolean", "optional": true , "description": "If true, browser cache is ignored (as if the user pressed Shif t+refresh)." }, 246 { "name": "ignoreCache", "type": "boolean", "optional": true , "description": "If true, browser cache is ignored (as if the user pressed Shif t+refresh)." },
247 { "name": "scriptToEvaluateOnLoad", "type": "string", "optio nal": true, "description": "If set, the script will be injected into all frames of the inspected page after reload." } 247 { "name": "scriptToEvaluateOnLoad", "type": "string", "optio nal": true, "description": "If set, the script will be injected into all frames of the inspected page after reload." }
248 ], 248 ],
249 "description": "Reloads given page optionally ignoring the cache ." 249 "description": "Reloads given page optionally ignoring the cache ."
250 }, 250 },
251 { 251 {
252 "name": "navigate", 252 "name": "navigate",
253 "parameters": [ 253 "parameters": [
254 { "name": "url", "type": "string", "description": "URL to na vigate the page to." } 254 { "name": "url", "type": "string", "description": "URL to na vigate the page to." },
255 { "name": "referrer", "type": "string", "optional": true, "e xperimental": true, "description": "Referrer URL." }
255 ], 256 ],
256 "returns": [ 257 "returns": [
257 { "name": "frameId", "$ref": "FrameId", "experimental": true , "description": "Frame id that will be navigated." } 258 { "name": "frameId", "$ref": "FrameId", "experimental": true , "description": "Frame id that will be navigated." }
258 ], 259 ],
259 "description": "Navigates current page to the given URL." 260 "description": "Navigates current page to the given URL."
260 }, 261 },
261 { 262 {
262 "name": "stopLoading", 263 "name": "stopLoading",
263 "description": "Force the page stop all navigations and pending resource fetches.", 264 "description": "Force the page stop all navigations and pending resource fetches.",
264 "experimental": true 265 "experimental": true
(...skipping 4284 matching lines...) Expand 10 before | Expand all | Expand 10 after
4549 "name": "accepted", 4550 "name": "accepted",
4550 "description": "Informs that port was successfully bound and got a specified connection id.", 4551 "description": "Informs that port was successfully bound and got a specified connection id.",
4551 "parameters": [ 4552 "parameters": [
4552 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 4553 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
4553 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 4554 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
4554 ] 4555 ]
4555 } 4556 }
4556 ] 4557 ]
4557 }] 4558 }]
4558 } 4559 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698