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

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

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: incorporated falken's comment Created 3 years, 11 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 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1103 { "name": "type", "$ref": "Page.ResourceType", "description" : "Type of this resource." }, 1103 { "name": "type", "$ref": "Page.ResourceType", "description" : "Type of this resource." },
1104 { "name": "response", "$ref": "Response", "optional": true, "description": "Cached response data." }, 1104 { "name": "response", "$ref": "Response", "optional": true, "description": "Cached response data." },
1105 { "name": "bodySize", "type": "number", "description": "Cach ed response body size." } 1105 { "name": "bodySize", "type": "number", "description": "Cach ed response body size." }
1106 ] 1106 ]
1107 }, 1107 },
1108 { 1108 {
1109 "id": "Initiator", 1109 "id": "Initiator",
1110 "type": "object", 1110 "type": "object",
1111 "description": "Information about the request initiator.", 1111 "description": "Information about the request initiator.",
1112 "properties": [ 1112 "properties": [
1113 { "name": "type", "type": "string", "enum": ["parser", "scri pt", "other"], "description": "Type of this initiator." }, 1113 { "name": "type", "type": "string", "enum": ["parser", "scri pt", "preload", "other"], "description": "Type of this initiator." },
1114 { "name": "stack", "$ref": "Runtime.StackTrace", "optional": true, "description": "Initiator JavaScript stack trace, set for Script only." } , 1114 { "name": "stack", "$ref": "Runtime.StackTrace", "optional": true, "description": "Initiator JavaScript stack trace, set for Script only." } ,
1115 { "name": "url", "type": "string", "optional": true, "descri ption": "Initiator URL, set for Parser type only." }, 1115 { "name": "url", "type": "string", "optional": true, "descri ption": "Initiator URL, set for Parser type only." },
1116 { "name": "lineNumber", "type": "number", "optional": true, "description": "Initiator line number, set for Parser type only (0-based)." } 1116 { "name": "lineNumber", "type": "number", "optional": true, "description": "Initiator line number, set for Parser type only (0-based)." }
1117 ] 1117 ]
1118 }, 1118 },
1119 { 1119 {
1120 "id": "Cookie", 1120 "id": "Cookie",
1121 "type": "object", 1121 "type": "object",
1122 "description": "Cookie object", 1122 "description": "Cookie object",
1123 "properties": [ 1123 "properties": [
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 "name": "eventSourceMessageReceived", 1477 "name": "eventSourceMessageReceived",
1478 "description": "Fired when EventSource message is received.", 1478 "description": "Fired when EventSource message is received.",
1479 "parameters": [ 1479 "parameters": [
1480 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." }, 1480 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1481 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." }, 1481 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." },
1482 { "name": "eventName", "type": "string", "description": "Mes sage type." }, 1482 { "name": "eventName", "type": "string", "description": "Mes sage type." },
1483 { "name": "eventId", "type": "string", "description": "Messa ge identifier." }, 1483 { "name": "eventId", "type": "string", "description": "Messa ge identifier." },
1484 { "name": "data", "type": "string", "description": "Message content." } 1484 { "name": "data", "type": "string", "description": "Message content." }
1485 ], 1485 ],
1486 "experimental": true 1486 "experimental": true
1487 },
1488 {
1489 "name": "navigationPreloadSent",
1490 "description": "Fired when FetchEvent which has triggered a navi gation preload request is received.",
1491 "parameters": [
1492 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1493 { "name": "url", "type": "string", "description": "Navigatio n preload request URL." },
1494 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." },
1495 { "name": "wallTime", "$ref": "Timestamp", "description": "U TC Timestamp." },
1496 { "name": "initiator", "$ref": "Initiator", "description": " Request initiator." }
1497 ],
1498 "experimental": true
1499 },
1500 {
1501 "name": "navigationPreloadResponseReceived",
1502 "description": "Fired when navigation preload response is availa ble.",
1503 "parameters": [
1504 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1505 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." },
1506 { "name": "response", "$ref": "Response", "description": "Re sponse data." }
1507 ],
1508 "experimental": true
1509 },
1510 {
1511 "name": "navigationPreloadFailed",
1512 "description": "Fired when navigation preload request has failed .",
1513 "parameters": [
1514 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1515 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." },
1516 { "name": "errorMessage", "type": "string", "description": " Error message." }
1517 ],
1518 "experimental": true
1519 },
1520 {
1521 "name": "navigationPreloadFinished",
1522 "description": "Fired when navigation preload request has finish ed loading.",
1523 "parameters": [
1524 { "name": "requestId", "$ref": "RequestId", "description": " Request identifier." },
1525 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp." }
1526 ],
1527 "experimental": true
1487 } 1528 }
1488 ] 1529 ]
1489 }, 1530 },
1490 { 1531 {
1491 "domain": "Database", 1532 "domain": "Database",
1492 "experimental": true, 1533 "experimental": true,
1493 "types": [ 1534 "types": [
1494 { 1535 {
1495 "id": "DatabaseId", 1536 "id": "DatabaseId",
1496 "type": "string", 1537 "type": "string",
(...skipping 2998 matching lines...) Expand 10 before | Expand all | Expand 10 after
4495 "name": "accepted", 4536 "name": "accepted",
4496 "description": "Informs that port was successfully bound and got a specified connection id.", 4537 "description": "Informs that port was successfully bound and got a specified connection id.",
4497 "parameters": [ 4538 "parameters": [
4498 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, 4539 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." },
4499 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } 4540 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." }
4500 ] 4541 ]
4501 } 4542 }
4502 ] 4543 ]
4503 }] 4544 }]
4504 } 4545 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698