add:  var first = 0; $("#simon1").one("click", function() { ok( true, "Execute event only once" ); $(this).toggle(function() { ok( first++ == 0, "toggle(Function,Function) assigned from within one('xxx'), see #1054" ); }, function() { ok( first == 1, "toggle(Function,Function) assigned from within one('xxx'), see #1054" ); }); return false; }).click().click().click(); }); 
context: 	$("#firstp").toggle(function () {		equals(arguments.length, 4, "toggle correctly passes through additional triggered arguments, see #1701" )	}, function() {}).trigger("click", [ 1, 2, 3 ]);
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3217/3261544c38ca70cc02c5eed7d0ab2c40c521a588/event.js/clean/test/unit/event.js