Index: src/inspector/js_protocol.json |
diff --git a/src/inspector/js_protocol.json b/src/inspector/js_protocol.json |
index 632448ddf8000203eb47c3cfee865dfce4c93572..d8e18d6eceb3b15b30df063b22f41d28c6c0c93a 100644 |
--- a/src/inspector/js_protocol.json |
+++ b/src/inspector/js_protocol.json |
@@ -712,7 +712,8 @@ |
{ "name": "isLiveEdit", "type": "boolean", "optional": true, "description": "True, if this script is generated as a result of the live edit operation.", "experimental": true }, |
{ "name": "sourceMapURL", "type": "string", "optional": true, "description": "URL of source map associated with script (if any)." }, |
{ "name": "hasSourceURL", "type": "boolean", "optional": true, "description": "True, if this script has sourceURL.", "experimental": true }, |
- { "name": "isModule", "type": "boolean", "optional": true, "description": "True, if this script is ES6 module.", "experimental": true } |
+ { "name": "isModule", "type": "boolean", "optional": true, "description": "True, if this script is ES6 module.", "experimental": true }, |
+ { "name": "length", "type": "integer", "optional": true, "description": "This script length.", "experimental": true } |
caseq
2017/03/07 21:25:36
drop "optional", perhaps?
dgozman
2017/03/07 21:27:56
Let's not. This way we don't guarantee anything an
kozy
2017/03/07 21:34:24
I prefer to land as optional, otherwise it require
|
], |
"description": "Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger." |
}, |
@@ -730,7 +731,8 @@ |
{ "name": "executionContextAuxData", "type": "object", "optional": true, "description": "Embedder-specific auxiliary data." }, |
{ "name": "sourceMapURL", "type": "string", "optional": true, "description": "URL of source map associated with script (if any)." }, |
{ "name": "hasSourceURL", "type": "boolean", "optional": true, "description": "True, if this script has sourceURL.", "experimental": true }, |
- { "name": "isModule", "type": "boolean", "optional": true, "description": "True, if this script is ES6 module.", "experimental": true } |
+ { "name": "isModule", "type": "boolean", "optional": true, "description": "True, if this script is ES6 module.", "experimental": true }, |
+ { "name": "length", "type": "integer", "optional": true, "description": "This script length.", "experimental": true } |
], |
"description": "Fired when virtual machine fails to parse the script." |
}, |