rem: test("evalScripts() with no script elements", function() { expect(2);  var data = "this is just some bogus text"; $('#foo').html(data); ok ( true, 'before evalScripts()'); try { $('#foo').evalScripts(); } catch(e) { ok (false, 'exception evaluating scripts: ' + e.message); } ok ( true, 'after evalScripts()'); 
add: test("synchronous request", function() { expect(1); ok( /^{ "data"/.test( $.ajax({url: url("data/json_obj.js"), async: false}).responseText ), "check returned text" ); 
context: test("evalScripts() with no script elements", function() {    expect(2);    var data = "this is just some bogus text";    $('#foo').html(data);    ok ( true, 'before evalScripts()');    try {        $('#foo').evalScripts();    } catch(e) {        ok (false, 'exception evaluating scripts: ' + e.message);    }    ok ( true, 'after evalScripts()');});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/2ef4093cf7f52383dd43bd361864edcda27e5c3c/ajaxTest.js/buggy/src/ajax/ajaxTest.js