Chromium Code Reviews| Index: Source/devtools/Inspector-1.1.json |
| diff --git a/Source/devtools/Inspector-1.1.json b/Source/devtools/Inspector-1.1.json |
| index acb789159c4f4173c639866330043c3dca26f23a..1271ac66f6ea60c8b85fb67f6575158191d2e42f 100644 |
| --- a/Source/devtools/Inspector-1.1.json |
| +++ b/Source/devtools/Inspector-1.1.json |
| @@ -3202,11 +3202,15 @@ |
| { |
| "name": "scriptFailedToParse", |
| "parameters": [ |
| - { "name": "url", "type": "string", "description": "URL of the script that failed to parse." }, |
| - { "name": "scriptSource", "type": "string", "description": "Source text of the script that failed to parse." }, |
| - { "name": "startLine", "type": "integer", "description": "Line offset of the script within the resource." }, |
| - { "name": "errorLine", "type": "integer", "description": "Line with error." }, |
| - { "name": "errorMessage", "type": "string", "description": "Parse error message." } |
| + { "name": "scriptId", "$ref": "ScriptId", "description": "Identifier of the script parsed." }, |
|
aandrey
2014/07/07 19:44:32
- do we want backward compatibility? (I think it's
|
| + { "name": "url", "type": "string", "description": "URL or name of the script parsed (if any)." }, |
| + { "name": "startLine", "type": "integer", "description": "Line offset of the script within the resource with given URL (for script tags)." }, |
| + { "name": "startColumn", "type": "integer", "description": "Column offset of the script within the resource with given URL." }, |
| + { "name": "endLine", "type": "integer", "description": "Last line of the script." }, |
| + { "name": "endColumn", "type": "integer", "description": "Length of the last line of the script." }, |
| + { "name": "isContentScript", "type": "boolean", "optional": true, "description": "Determines whether this script is a user extension script." }, |
| + { "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.", "hidden": true } |
| ], |
| "description": "Fired when virtual machine fails to parse the script." |
| }, |