Index: src/inspector/js_protocol.json |
diff --git a/src/inspector/js_protocol.json b/src/inspector/js_protocol.json |
index e2d04bfa899253b7221d2d209d2b5ff0138e59ac..2c410c398d024950ded2d6f0bf5cad04c0467612 100644 |
--- a/src/inspector/js_protocol.json |
+++ b/src/inspector/js_protocol.json |
@@ -471,6 +471,15 @@ |
{ "name": "lineContent", "type": "string", "description": "Line with match content." } |
], |
"experimental": true |
+ }, |
+ { |
+ "id": "BreakLocation", |
+ "type": "object", |
+ "properties": [ |
+ { "name": "location", "$ref": "Location", "description": "Possible break location." }, |
dgozman
2017/03/01 22:10:47
Let's "inherit" here as well.
kozy
2017/03/01 23:14:13
Done.
|
+ { "name": "type", "type": "string", "enum": [ "debuggerStatement", "call", "return" ], "optional": true } |
+ ], |
+ "experimental": true |
} |
], |
"commands": [ |
@@ -538,7 +547,7 @@ |
{ "name": "restrictToFunction", "type": "boolean", "optional": true, "description": "Only consider locations which are in the same (non-nested) function as start." } |
], |
"returns": [ |
- { "name": "locations", "type": "array", "items": { "$ref": "Location" }, "description": "List of the possible breakpoint locations." } |
+ { "name": "locations", "type": "array", "items": { "$ref": "BreakLocation" }, "description": "List of the possible breakpoint locations." } |
], |
"description": "Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.", |
"experimental": true |