Added test for #975, so far it passes only in opera

This commit is contained in:
Jörn Zaefferer 2007-03-25 10:45:20 +00:00
parent a10afee0c3
commit b8aa9e7cfc

View File

@ -821,3 +821,8 @@ test("click() context", function() {
return false;
}).click();
});
test("$().html().evalScripts() Eval's Scripts Twice in Firefox, see #975", function() {
expect(1);
$("#main").html('<script type="text/javascript">ok( true, "execute script" );</script>').evalScripts();
});