module("ajax");
+if ( location.protocol != "file:" ) {
+
test("serialize()", function() {
expect(1);
var data = $(':input').not('button').serialize();
test("load(String, Object, Function) - check scripts", function() {
expect(7);
stop();
- testFoo = undefined;
- foobar = null;
+ window.testFoo = undefined;
+ window.foobar = null;
var verifyEvaluation = function() {
ok( foobar == "bar", 'Check if script src was evaluated after load' );
ok( $('#ap').html() == 'bar', 'Check if script evaluation has modified DOM');
}
ok ( true, 'after evalScripts()');
});
+
+}