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

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

Issue 2102003002: Revert of [Devtools] Fixed websocket initiators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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": "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 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." }, 1397 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." },
1398 { "name": "response", "$ref": "WebSocketResponse", "descript ion": "WebSocket response data." } 1398 { "name": "response", "$ref": "WebSocketResponse", "descript ion": "WebSocket response data." }
1399 ], 1399 ],
1400 "hidden": true 1400 "hidden": true
1401 }, 1401 },
1402 { 1402 {
1403 "name": "webSocketCreated", 1403 "name": "webSocketCreated",
1404 "description": "Fired upon WebSocket creation.", 1404 "description": "Fired upon WebSocket creation.",
1405 "parameters": [ 1405 "parameters": [
1406 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." }, 1406 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1407 { "name": "url", "type": "string", "description": "WebSocket request URL." }, 1407 { "name": "url", "type": "string", "description": "WebSocket request URL." }
1408 { "name": "initiator", "$ref": "Initiator", "optional": true , "description": "Request initiator." }
1409 ], 1408 ],
1410 "hidden": true 1409 "hidden": true
1411 }, 1410 },
1412 { 1411 {
1413 "name": "webSocketClosed", 1412 "name": "webSocketClosed",
1414 "description": "Fired when WebSocket is closed.", 1413 "description": "Fired when WebSocket is closed.",
1415 "parameters": [ 1414 "parameters": [
1416 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." }, 1415 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1417 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." } 1416 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." }
1418 ], 1417 ],
(...skipping 2857 matching lines...) Expand 10 before | Expand all | Expand 10 after
4276 "description": "Dispatches protocol message from the target with given id.", 4275 "description": "Dispatches protocol message from the target with given id.",
4277 "parameters": [ 4276 "parameters": [
4278 { "name": "targetId", "$ref": "TargetID" }, 4277 { "name": "targetId", "$ref": "TargetID" },
4279 { "name": "message", "type": "string" } 4278 { "name": "message", "type": "string" }
4280 ], 4279 ],
4281 "handlers": ["browser"] 4280 "handlers": ["browser"]
4282 } 4281 }
4283 ] 4282 ]
4284 }] 4283 }]
4285 } 4284 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698