| Index: third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| index 20d6df070b8ac8afa91d05459657a515ec22cf8a..53229cd390ec2878997e310ea94aadbe1c19cbae 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/ConsoleModel.js
|
| @@ -50,7 +50,7 @@ WebInspector.ConsoleModel = function(target, logAgent)
|
| target.registerLogDispatcher(new WebInspector.LogDispatcher(this));
|
| this._logAgent.enable();
|
| }
|
| -}
|
| +};
|
|
|
| /** @enum {symbol} */
|
| WebInspector.ConsoleModel.Events = {
|
| @@ -58,7 +58,7 @@ WebInspector.ConsoleModel.Events = {
|
| MessageAdded: Symbol("MessageAdded"),
|
| MessageUpdated: Symbol("MessageUpdated"),
|
| CommandEvaluated: Symbol("CommandEvaluated")
|
| -}
|
| +};
|
|
|
| WebInspector.ConsoleModel.prototype = {
|
| /**
|
| @@ -176,7 +176,7 @@ WebInspector.ConsoleModel.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.SDKModel.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.ExecutionContext} executionContext
|
| @@ -237,7 +237,7 @@ WebInspector.ConsoleModel.evaluateCommandInConsole = function(executionContext,
|
|
|
| executionContext.evaluate(text, "console", !!useCommandLineAPI, false, false, true, true, printResult);
|
| WebInspector.userMetrics.actionTaken(WebInspector.UserMetrics.Action.ConsoleEvaluated);
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -291,7 +291,7 @@ WebInspector.ConsoleMessage = function(target, source, level, messageText, type,
|
| }
|
| }
|
| }
|
| -}
|
| +};
|
|
|
| WebInspector.ConsoleMessage.prototype = {
|
| /**
|
| @@ -434,7 +434,7 @@ WebInspector.ConsoleMessage.prototype = {
|
| }
|
| return this._isEqualStackTraces(stackTrace1.parent, stackTrace2.parent);
|
| }
|
| -}
|
| +};
|
|
|
| // Note: Keep these constants in sync with the ones in Console.h
|
| /**
|
| @@ -453,7 +453,7 @@ WebInspector.ConsoleMessage.MessageSource = {
|
| Other: "other",
|
| Deprecation: "deprecation",
|
| Worker: "worker"
|
| -}
|
| +};
|
|
|
| /**
|
| * @enum {string}
|
| @@ -477,7 +477,7 @@ WebInspector.ConsoleMessage.MessageType = {
|
| Profile: "profile",
|
| ProfileEnd: "profileEnd",
|
| Command: "command"
|
| -}
|
| +};
|
|
|
| /**
|
| * @enum {string}
|
| @@ -499,7 +499,7 @@ WebInspector.ConsoleMessage.MessageLevel = {
|
| WebInspector.ConsoleMessage.timestampComparator = function(a, b)
|
| {
|
| return a.timestamp - b.timestamp;
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!RuntimeAgent.ExceptionDetails} exceptionDetails
|
| @@ -515,7 +515,7 @@ WebInspector.ConsoleMessage.simpleTextFromException = function(exceptionDetails)
|
| text += " " + description;
|
| }
|
| return text;
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.Target} target
|
| @@ -542,7 +542,7 @@ WebInspector.ConsoleMessage.fromException = function(target, exceptionDetails, m
|
| timestamp,
|
| exceptionDetails.executionContextId,
|
| exceptionDetails.scriptId);
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -552,7 +552,7 @@ WebInspector.ConsoleMessage.fromException = function(target, exceptionDetails, m
|
| WebInspector.LogDispatcher = function(console)
|
| {
|
| this._console = console;
|
| -}
|
| +};
|
|
|
| WebInspector.LogDispatcher.prototype = {
|
| /**
|
| @@ -579,7 +579,7 @@ WebInspector.LogDispatcher.prototype = {
|
| payload.workerId);
|
| this._console.addMessage(consoleMessage);
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -592,7 +592,7 @@ WebInspector.MultitargetConsoleModel = function()
|
| WebInspector.targetManager.addModelListener(WebInspector.ConsoleModel, WebInspector.ConsoleModel.Events.MessageAdded, this._consoleMessageAdded, this);
|
| WebInspector.targetManager.addModelListener(WebInspector.ConsoleModel, WebInspector.ConsoleModel.Events.MessageUpdated, this._consoleMessageUpdated, this);
|
| WebInspector.targetManager.addModelListener(WebInspector.ConsoleModel, WebInspector.ConsoleModel.Events.CommandEvaluated, this._commandEvaluated, this);
|
| -}
|
| +};
|
|
|
| WebInspector.MultitargetConsoleModel.prototype = {
|
| /**
|
| @@ -661,7 +661,7 @@ WebInspector.MultitargetConsoleModel.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.Object.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @type {!WebInspector.MultitargetConsoleModel}
|
|
|