Chromium Code Reviews| Index: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
| index 4d6594c32ee9f7bf2b0afb129a931d6f484f1661..07f298262d074dac9ea8cc0f1e0452603dc0b5af 100644 |
| --- a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
| +++ b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
| @@ -308,6 +308,28 @@ |
| "description": "Issued when all executionContexts were cleared in browser" |
| }, |
| { |
| + "name": "exceptionUnhandled", |
|
pfeldman
2016/07/07 01:12:17
exceptionThrown
dgozman
2016/07/08 18:56:41
Done.
|
| + "description": "Issued when exception was thrown and unhandled.", |
| + "parameters": [ |
| + { "name": "exceptionId", "type": "integer", "description": "Exception id." }, |
| + { "name": "timestamp", "type": "number", "description": "Number of seconds since epoch. TODO(dgozman): unify with Console.Timestamp" }, |
| + { "name": "details", "$ref": "ExceptionDetails" }, |
| + { "name": "exception", "$ref": "RemoteObject", "optional": true, "description": "Exception object." }, |
| + { "name": "executionContextId", "$ref": "ExecutionContextId", "optional": true, "description": "Identifier of the context where exception happened." } |
| + ], |
| + "hidden": true |
| + }, |
| + { |
| + "name": "exceptionRevoked", |
| + "description": "Issued when unhandled exception was revoked.", |
| + "parameters": [ |
| + { "name": "timestamp", "type": "number", "description": "Number of seconds since epoch. TODO(dgozman): unify with Console.Timestamp" }, |
|
pfeldman
2016/07/07 01:12:17
Can we use this as an opportunity to migrate to ms
dgozman
2016/07/08 18:56:41
Done.
|
| + { "name": "message", "type": "string", "description": "Message describing why exception was revoked." }, |
| + { "name": "revokedExceptionId", "type": "integer", "description": "The id of revoked exception, as reported in <code>exceptionUnhandled</code>." } |
|
pfeldman
2016/07/07 01:12:17
exceptionId
dgozman
2016/07/08 18:56:41
Done.
|
| + ], |
| + "hidden": true |
| + }, |
| + { |
| "name": "inspectRequested", |
| "parameters": [ |
| { "name": "object", "$ref": "RemoteObject" }, |
| @@ -742,7 +764,7 @@ |
| "description": "Console message.", |
| "properties": [ |
| { "name": "source", "type": "string", "enum": ["xml", "javascript", "network", "console-api", "storage", "appcache", "rendering", "security", "other", "deprecation"], "description": "Message source." }, |
| - { "name": "level", "type": "string", "enum": ["log", "warning", "error", "debug", "info", "revokedError"], "description": "Message severity." }, |
| + { "name": "level", "type": "string", "enum": ["log", "warning", "error", "debug", "info"], "description": "Message severity." }, |
| { "name": "text", "type": "string", "description": "Message text." }, |
| { "name": "type", "type": "string", "optional": true, "enum": ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd"], "description": "Console message type." }, |
| { "name": "scriptId", "type": "string", "optional": true, "description": "Script ID of the message origin." }, |