| 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 1a51bfa14bfc4cecc1c7665cca64c7252bf031b2..7cc367633d7b0edbe4e1cae950d015dc549131e0 100644
|
| --- a/Source/devtools/front_end/sdk/RuntimeModel.js
|
| +++ b/Source/devtools/front_end/sdk/RuntimeModel.js
|
| @@ -498,8 +498,9 @@ WebInspector.ExecutionContext.prototype = {
|
| * @param {boolean} useCapture
|
| * @param {?WebInspector.RemoteObject} handler
|
| * @param {!WebInspector.DebuggerModel.Location} location
|
| + * @param {string=} listenerType
|
| */
|
| -WebInspector.EventListener = function(target, type, useCapture, handler, location)
|
| +WebInspector.EventListener = function(target, type, useCapture, handler, location, listenerType)
|
| {
|
| WebInspector.SDKObject.call(this, target);
|
| this._type = type;
|
| @@ -507,6 +508,7 @@ WebInspector.EventListener = function(target, type, useCapture, handler, locatio
|
| this._handler = handler;
|
| this._location = location;
|
| this._sourceURL = location.script().contentURL();
|
| + this._listenerType = listenerType || "normal";
|
| }
|
|
|
| WebInspector.EventListener.prototype = {
|
| @@ -550,5 +552,21 @@ WebInspector.EventListener.prototype = {
|
| return this._sourceURL;
|
| },
|
|
|
| + /**
|
| + * @return {string}
|
| + */
|
| + listenerType: function()
|
| + {
|
| + return this._listenerType;
|
| + },
|
| +
|
| + /**
|
| + * @param {string} listenerType
|
| + */
|
| + setListenerType: function(listenerType)
|
| + {
|
| + this._listenerType = listenerType;
|
| + },
|
| +
|
| __proto__: WebInspector.SDKObject.prototype
|
| }
|
|
|