Index: Source/devtools/front_end/sdk/RuntimeModel.js |
diff --git a/Source/devtools/front_end/sdk/RuntimeModel.js b/Source/devtools/front_end/sdk/RuntimeModel.js |
index 4bdbb8e3b33c24102ec0c978db5d9ed71ba0b85e..60a84324571444931138a9a74d707ea131f95035 100644 |
--- a/Source/devtools/front_end/sdk/RuntimeModel.js |
+++ b/Source/devtools/front_end/sdk/RuntimeModel.js |
@@ -504,6 +504,7 @@ WebInspector.EventListener = function(debuggerModel, payload, objectId) |
this._useCapture = payload.useCapture; |
this._location = WebInspector.DebuggerModel.Location.fromPayload(debuggerModel, payload.location); |
this._handler = payload.handler ? this.target().runtimeModel.createRemoteObject(payload.handler) : null; |
+ this._handlerType = payload.handlerType || null; |
var script = debuggerModel.scriptForId(payload.location.scriptId); |
this._sourceName = script ? script.contentURL() : ""; |
this._objectId = objectId; |
@@ -545,6 +546,14 @@ WebInspector.EventListener.prototype = { |
/** |
* @return {string} |
*/ |
+ handlerType: function() |
+ { |
+ return this._handlerType || "general"; |
+ }, |
+ |
+ /** |
+ * @return {string} |
+ */ |
sourceName: function() |
{ |
return this._sourceName; |