test("attr(String, Object) - Loaded via XML document", function() { expect(2); stop(); $.get('data/dashboard.xml', function(xml) { var titles = []; $('tab', xml).each(function() { titles.push($(this).attr('title')); }); ok( titles[0] == 'Location', 'attr() in XML context: Check first title' ); ok( titles[1] == 'Users', 'attr() in XML context: Check second title' ); start(); }); }); 
$("div").attr({foo: 'baz', zoo: 'ping'}).each(function(){ if ( this.getAttribute('foo') != "baz" && this.getAttribute('zoo') != "ping" ) pass = false; }); 
    test("attr(String, Object) - Loaded via XML document", function() {        expect(2);        stop();        $.get('data/dashboard.xml', function(xml) {               var titles = [];              $('tab', xml).each(function() {                    titles.push($(this).attr('title'));              });              ok( titles[0] == 'Location', 'attr() in XML context: Check first title' );              ok( titles[1] == 'Users', 'attr() in XML context: Check second title' );              start();        });    });
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1be558203961c43043d6e9de3341e8bb9c3dcbf3/core.js/buggy/test/unit/core.js