function promiseConstructor(success)
        {
            this._removeFunction.callFunction(callCustomRemove, [
                WebInspector.RemoteObject.toCallArgument(this._removeFunction),
                WebInspector.RemoteObject.toCallArgument(this._type),
                WebInspector.RemoteObject.toCallArgument(this._originalHandler),
                WebInspector.RemoteObject.toCallArgument(this._useCapture)
            ], success);

            /**
             * @param {function(string, function(), boolean)} func
             * @param {string} type
             * @param {function()} listener
             * @param {boolean} useCapture
             */
            function callCustomRemove(func, type, listener, useCapture)
            {
                func.call(null, type, listener, useCapture);
            }
        }
@param {function()} success
@this {WebInspector.EventListener}