| Index: third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| index 845f48573176441fa01948c6281e0a8fef3ea013..0ddf83f71c920f8111e4020eb948c280a0b8eba8 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js
|
| @@ -56,7 +56,7 @@ WebInspector.DebuggerModel = function(target)
|
| WebInspector.moduleSetting("enableAsyncStackTraces").addChangeListener(this.asyncStackTracesStateChanged, this);
|
|
|
| this.enableDebugger();
|
| -}
|
| +};
|
|
|
| /** @typedef {{location: ?WebInspector.DebuggerModel.Location, functionName: string}} */
|
| WebInspector.DebuggerModel.FunctionDetails;
|
| @@ -84,7 +84,7 @@ WebInspector.DebuggerModel.Events = {
|
| GlobalObjectCleared: Symbol("GlobalObjectCleared"),
|
| CallFrameSelected: Symbol("CallFrameSelected"),
|
| ConsoleCommandEvaluatedInSelectedCallFrame: Symbol("ConsoleCommandEvaluatedInSelectedCallFrame")
|
| -}
|
| +};
|
|
|
| /** @enum {string} */
|
| WebInspector.DebuggerModel.BreakReason = {
|
| @@ -96,7 +96,7 @@ WebInspector.DebuggerModel.BreakReason = {
|
| Assert: "assert",
|
| DebugCommand: "debugCommand",
|
| Other: "other"
|
| -}
|
| +};
|
|
|
| WebInspector.DebuggerModel.prototype = {
|
| /**
|
| @@ -713,7 +713,7 @@ WebInspector.DebuggerModel.prototype = {
|
| */
|
| addBreakpointListener: function(breakpointId, listener, thisObject)
|
| {
|
| - this._breakpointResolvedEventTarget.addEventListener(breakpointId, listener, thisObject)
|
| + this._breakpointResolvedEventTarget.addEventListener(breakpointId, listener, thisObject);
|
| },
|
|
|
| /**
|
| @@ -792,7 +792,7 @@ WebInspector.DebuggerModel.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.SDKModel.prototype
|
| -}
|
| +};
|
|
|
| WebInspector.DebuggerEventTypes = {
|
| JavaScriptPause: 0,
|
| @@ -808,7 +808,7 @@ WebInspector.DebuggerEventTypes = {
|
| WebInspector.DebuggerDispatcher = function(debuggerModel)
|
| {
|
| this._debuggerModel = debuggerModel;
|
| -}
|
| +};
|
|
|
| WebInspector.DebuggerDispatcher.prototype = {
|
| /**
|
| @@ -880,7 +880,7 @@ WebInspector.DebuggerDispatcher.prototype = {
|
| {
|
| this._debuggerModel._breakpointResolved(breakpointId, location);
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -897,7 +897,7 @@ WebInspector.DebuggerModel.Location = function(debuggerModel, scriptId, lineNumb
|
| this.scriptId = scriptId;
|
| this.lineNumber = lineNumber;
|
| this.columnNumber = columnNumber || 0;
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.DebuggerModel} debuggerModel
|
| @@ -907,7 +907,7 @@ WebInspector.DebuggerModel.Location = function(debuggerModel, scriptId, lineNumb
|
| WebInspector.DebuggerModel.Location.fromPayload = function(debuggerModel, payload)
|
| {
|
| return new WebInspector.DebuggerModel.Location(debuggerModel, payload.scriptId, payload.lineNumber, payload.columnNumber);
|
| -}
|
| +};
|
|
|
| WebInspector.DebuggerModel.Location.prototype = {
|
| /**
|
| @@ -940,7 +940,7 @@ WebInspector.DebuggerModel.Location.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.SDKObject.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -968,7 +968,7 @@ WebInspector.DebuggerModel.CallFrame = function(debuggerModel, script, payload)
|
| }
|
| if (payload.functionLocation)
|
| this._functionLocation = WebInspector.DebuggerModel.Location.fromPayload(debuggerModel, payload.functionLocation);
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {!WebInspector.DebuggerModel} debuggerModel
|
| @@ -985,7 +985,7 @@ WebInspector.DebuggerModel.CallFrame.fromPayloadArray = function(debuggerModel,
|
| result.push(new WebInspector.DebuggerModel.CallFrame(debuggerModel, script, callFrame));
|
| }
|
| return result;
|
| -}
|
| +};
|
|
|
| WebInspector.DebuggerModel.CallFrame.prototype = {
|
| /**
|
| @@ -1134,7 +1134,7 @@ WebInspector.DebuggerModel.CallFrame.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.SDKObject.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -1150,7 +1150,7 @@ WebInspector.DebuggerModel.Scope = function(callFrame, ordinal)
|
| this._ordinal = ordinal;
|
| this._startLocation = this._payload.startLocation ? WebInspector.DebuggerModel.Location.fromPayload(callFrame.debuggerModel, this._payload.startLocation) : null;
|
| this._endLocation = this._payload.endLocation ? WebInspector.DebuggerModel.Location.fromPayload(callFrame.debuggerModel, this._payload.endLocation) : null;
|
| -}
|
| +};
|
|
|
| WebInspector.DebuggerModel.Scope.prototype = {
|
| /**
|
| @@ -1219,7 +1219,7 @@ WebInspector.DebuggerModel.Scope.prototype = {
|
| var declarativeScope = this._type !== DebuggerAgent.ScopeType.With && this._type !== DebuggerAgent.ScopeType.Global;
|
| return declarativeScope ? "" : (this._payload.object.description || "");
|
| }
|
| -}
|
| +};
|
|
|
| /**
|
| * @constructor
|
| @@ -1241,7 +1241,7 @@ WebInspector.DebuggerPausedDetails = function(debuggerModel, callFrames, reason,
|
| this.breakpointIds = breakpointIds;
|
| if (asyncStackTrace)
|
| this.asyncStackTrace = this._cleanRedundantFrames(asyncStackTrace);
|
| -}
|
| +};
|
|
|
| WebInspector.DebuggerPausedDetails.prototype = {
|
| /**
|
| @@ -1275,7 +1275,7 @@ WebInspector.DebuggerPausedDetails.prototype = {
|
| },
|
|
|
| __proto__: WebInspector.SDKObject.prototype
|
| -}
|
| +};
|
|
|
| /**
|
| * @return {!Array<!WebInspector.DebuggerModel>}
|
| @@ -1289,7 +1289,7 @@ WebInspector.DebuggerModel.instances = function()
|
| result.push(debuggerModel);
|
| }
|
| return result;
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {?WebInspector.Target} target
|
| @@ -1300,4 +1300,4 @@ WebInspector.DebuggerModel.fromTarget = function(target)
|
| if (!target || !target.hasJSCapability())
|
| return null;
|
| return /** @type {?WebInspector.DebuggerModel} */ (target.model(WebInspector.DebuggerModel));
|
| -}
|
| +};
|
|
|