OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
3 "domains": [ | 3 "domains": [ |
4 { | 4 { |
5 "domain": "Schema", | 5 "domain": "Schema", |
6 "description": "Provides information about the protocol schema.", | 6 "description": "Provides information about the protocol schema.", |
7 "types": [ | 7 "types": [ |
8 { | 8 { |
9 "id": "Domain", | 9 "id": "Domain", |
10 "type": "object", | 10 "type": "object", |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
464 }, | 464 }, |
465 { | 465 { |
466 "id": "SearchMatch", | 466 "id": "SearchMatch", |
467 "type": "object", | 467 "type": "object", |
468 "description": "Search match for resource.", | 468 "description": "Search match for resource.", |
469 "properties": [ | 469 "properties": [ |
470 { "name": "lineNumber", "type": "number", "description": "Li ne number in resource content." }, | 470 { "name": "lineNumber", "type": "number", "description": "Li ne number in resource content." }, |
471 { "name": "lineContent", "type": "string", "description": "L ine with match content." } | 471 { "name": "lineContent", "type": "string", "description": "L ine with match content." } |
472 ], | 472 ], |
473 "experimental": true | 473 "experimental": true |
474 }, | |
475 { | |
476 "id": "BreakLocation", | |
477 "type": "object", | |
478 "properties": [ | |
479 { "name": "location", "$ref": "Location", "description": "Po ssible break location." }, | |
dgozman
2017/03/01 22:10:47
Let's "inherit" here as well.
kozy
2017/03/01 23:14:13
Done.
| |
480 { "name": "type", "type": "string", "enum": [ "debuggerState ment", "call", "return" ], "optional": true } | |
481 ], | |
482 "experimental": true | |
474 } | 483 } |
475 ], | 484 ], |
476 "commands": [ | 485 "commands": [ |
477 { | 486 { |
478 "name": "enable", | 487 "name": "enable", |
479 "description": "Enables debugger for the given page. Clients sho uld not assume that the debugging has been enabled until the result for this com mand is received." | 488 "description": "Enables debugger for the given page. Clients sho uld not assume that the debugging has been enabled until the result for this com mand is received." |
480 }, | 489 }, |
481 { | 490 { |
482 "name": "disable", | 491 "name": "disable", |
483 "description": "Disables debugger for given page." | 492 "description": "Disables debugger for given page." |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
531 "description": "Removes JavaScript breakpoint." | 540 "description": "Removes JavaScript breakpoint." |
532 }, | 541 }, |
533 { | 542 { |
534 "name": "getPossibleBreakpoints", | 543 "name": "getPossibleBreakpoints", |
535 "parameters": [ | 544 "parameters": [ |
536 { "name": "start", "$ref": "Location", "description": "Start of range to search possible breakpoint locations in." }, | 545 { "name": "start", "$ref": "Location", "description": "Start of range to search possible breakpoint locations in." }, |
537 { "name": "end", "$ref": "Location", "optional": true, "desc ription": "End of range to search possible breakpoint locations in (excluding). When not specifed, end of scripts is used as end of range." }, | 546 { "name": "end", "$ref": "Location", "optional": true, "desc ription": "End of range to search possible breakpoint locations in (excluding). When not specifed, end of scripts is used as end of range." }, |
538 { "name": "restrictToFunction", "type": "boolean", "optional ": true, "description": "Only consider locations which are in the same (non-nest ed) function as start." } | 547 { "name": "restrictToFunction", "type": "boolean", "optional ": true, "description": "Only consider locations which are in the same (non-nest ed) function as start." } |
539 ], | 548 ], |
540 "returns": [ | 549 "returns": [ |
541 { "name": "locations", "type": "array", "items": { "$ref": " Location" }, "description": "List of the possible breakpoint locations." } | 550 { "name": "locations", "type": "array", "items": { "$ref": " BreakLocation" }, "description": "List of the possible breakpoint locations." } |
542 ], | 551 ], |
543 "description": "Returns possible locations for breakpoint. scrip tId in start and end range locations should be the same.", | 552 "description": "Returns possible locations for breakpoint. scrip tId in start and end range locations should be the same.", |
544 "experimental": true | 553 "experimental": true |
545 }, | 554 }, |
546 { | 555 { |
547 "name": "continueToLocation", | 556 "name": "continueToLocation", |
548 "parameters": [ | 557 "parameters": [ |
549 { "name": "location", "$ref": "Location", "description": "Lo cation to continue to." } | 558 { "name": "location", "$ref": "Location", "description": "Lo cation to continue to." } |
550 ], | 559 ], |
551 "description": "Continues execution until specific location is r eached." | 560 "description": "Continues execution until specific location is r eached." |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1055 { | 1064 { |
1056 "name": "heapStatsUpdate", | 1065 "name": "heapStatsUpdate", |
1057 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", | 1066 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", |
1058 "parameters": [ | 1067 "parameters": [ |
1059 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} | 1068 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} |
1060 ] | 1069 ] |
1061 } | 1070 } |
1062 ] | 1071 ] |
1063 }] | 1072 }] |
1064 } | 1073 } |
OLD | NEW |