Because this method is called by OpenLayers.Function.bindAsEventListener, which conditionally assigns window.event already, e cannot be null or undefined here.