Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index ce54677f1a64a547bcd019aee6b33f6f2f8796aa..a4c6bd92ae287a7fa907a1c8b4054d2814f7bc5f 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -2909,6 +2909,18 @@ |
"description": "Scope description." |
}, |
{ |
+ "id": "ExceptionMessage", |
vsevik
2014/05/21 13:16:33
Exception details
|
+ "type": "object", |
+ "description": "Exception message.", |
vsevik
2014/05/21 13:16:33
Detailed information on exception (or error) that
|
+ "properties": [ |
+ { "name": "text", "type": "string", "description": "Exception text." }, |
+ { "name": "url", "type": "string", "optional": true, "description": "URL of the message origin." }, |
+ { "name": "line", "type": "integer", "optional": true, "description": "Line number in the resource that generated this message." }, |
+ { "name": "column", "type": "integer", "optional": true, "description": "Column number in the resource that generated this message." }, |
+ { "name": "stackTrace", "$ref": "Console.StackTrace", "optional": true, "description": "JavaScript stack trace for assertions and error messages." } |
+ ] |
+ }, |
+ { |
"id": "SetScriptSourceError", |
"type": "object", |
"properties": [ |
@@ -3123,7 +3135,7 @@ |
], |
"returns": [ |
{ "name": "scriptId", "$ref": "ScriptId", "optional": true, "description": "Id of the script." }, |
- { "name": "syntaxErrorMessage", "type": "string", "optional": true, "description": "Syntax error message if compilation failed." } |
+ { "name": "exceptionMessage", "$ref": "ExceptionMessage", "optional": true, "description": "Exception message."} |
vsevik
2014/05/21 13:16:33
exceptionDetails here and in other places.
|
], |
"description": "Compiles expression." |
}, |
@@ -3138,7 +3150,7 @@ |
], |
"returns": [ |
{ "name": "result", "$ref": "Runtime.RemoteObject", "description": "Run result." }, |
- { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the script run." } |
+ { "name": "exceptionMessage", "$ref": "ExceptionMessage", "optional": true, "description": "Exception message."} |
], |
"description": "Runs script with given id in a given context." |
}, |