rem: $('tab', xml).each(function() { titles.push($(this).attr('title')); }); 
add: test("attr(String, Object)", function() { expect(7); var div = $("div"); div.attr("foo", "bar"); var pass = true; for ( var i = 0; i < div.size(); i++ ) { if ( div.get(i).getAttribute('foo') != "bar" ) pass = false; } ok( pass, "Set Attribute" );  ok( $("#foo").attr({"width": null}), "Try to set an attribute to nothing" );  $("#name").attr('name', 'something'); ok( $("#name").attr('name') == 'something', 'Set name attribute' ); $("#check2").attr('checked', true); ok( document.getElementById('check2').checked == true, 'Set checked attribute' ); $("#check2").attr('checked', false); ok( document.getElementById('check2').checked == false, 'Set checked attribute' ); $("#text1").attr('readonly', true); ok( document.getElementById('text1').readOnly == true, 'Set readonly attribute' ); $("#text1").attr('readonly', false); ok( document.getElementById('text1').readOnly == false, 'Set readonly attribute' ); }); 
context: 	  	$('tab', xml).each(function() {	    	titles.push($(this).attr('title'));	  	});
meta: 1375	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1375/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/clean/src/jquery/coreTest.js