[jQuery] Stopping event propagation on non-standard event types

[jQuery] Stopping event propagation on non-standard event types

<div>$(window)
     .bind('testEvent', function(e) {
      alert('1');
      e.stopPropagation();
      e.preventDefault();
      return false;
     })
     .bind('testEvent', function() {
      alert('2');
     })
     .trigger('testEvent');</div>
<div> </div>
<div>The above code doesn't stop the testEvent from triggering the second alert. Is the propagation prevention just for standard events such as 'click', etc.?</div>
<div> </div>
<div>-js</div>