rem: equals( $("#firstp").triggerHandler("foo", [eventObj, 1, "2", "abc"], handler), "test", "Verify handler response" ); 
add: equals( $("#firstp").triggerHandler("click", [eventObj, 1, "2", "abc"], handler), "test", "Verify handler response" ); 
context: test("trigger(event, [data], [fn])", function() {	expect(40);	var handler = function(event, a, b, c) {		equals( event.type, "click", "check passed data" );		equals( a, 1, "check passed data" );		equals( b, "2", "check passed data" );		equals( c, "abc", "check passed data" );		return "test";	};	var handler2 = function(a, b, c) {		equals( a, 1, "check passed data" );		equals( b, "2", "check passed data" );		equals( c, "abc", "check passed data" );		return "test2";	};	// Simulate a "native" click	$("#firstp")[0].click = function(){		ok( true, "Native call was triggered" );	};	// Triggers handlrs and native	// Trigger 5	$("#firstp").bind("click", handler).trigger("click", [1, "2", "abc"]);	// Triggers handlers, native, and extra fn	// Triggers 8	$("#firstp").trigger("click", [1, "2", "abc"], handler2);	// Simulate a "native" click	$("#firstp")[0].click = function(){		ok( false, "Native call was triggered" );	};	// Trigger only the handlers (no native)	// Triggers 5	equals( $("#firstp").triggerHandler("click", [1, "2", "abc"]), "test", "Verify handler response" );	// Trigger only the handlers (no native) and extra fn	// Triggers 8	equals( $("#firstp").triggerHandler("click", [1, "2", "abc"], handler2), "test", "Verify handler response" );	// Build fake click event to pass in	var eventObj = jQuery.event.fix({ type: "click", target: document.body });	// Trigger only the handlers (no native), with external event obj	// Triggers 5	equals( $("#firstp").triggerHandler("foo", [eventObj, 1, "2", "abc"]), "test", "Verify handler response" );	// Trigger only the handlers (no native) and extra fn, with external event obj	// Triggers 9	equals( $("#firstp").triggerHandler("foo", [eventObj, 1, "2", "abc"], handler), "test", "Verify handler response" );});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3217/d5f2129ac49e04185b49b7d5a548efa451d31dbc/event.js/buggy/test/unit/event.js