wrappedEventListener = function wrappedEventListener(e) {
      if (e['__wtf_ignore__']) {
        return;
      }
      var scope = self['__wtf_ignore__'] ? null : eventType();
      try {
        if (listener['handleEvent']) {
          // Listener is an EventListener.
          listener.handleEvent(e);
        } else {
          // Listener is a function.
          return listener.apply(self, arguments);
        }
      } finally {
        wtf.trace.Scope.leave(scope);
      }
    }
@param {string} type Event type.
@param {!EventListener|Function} listener Listener.
@param {boolean=} opt_capture Capture.
@this {!Object}