X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2FcoreTest.js;h=77fd17e52cf03fc227afaca6d97c006a204abfe2;hb=4903872c17f8809bd0c027092fc55d139d8ae789;hp=4c6515a8fb0cde7a8dee0f4ca46e8e98d7872f41;hpb=e2b52e1e401af05a6fe3ca7bf9e714f973fc4d61;p=jquery.git diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index 4c6515a..77fd17e 100644 --- a/src/jquery/coreTest.js +++ b/src/jquery/coreTest.js @@ -821,3 +821,17 @@ test("click() context", function() { return false; }).click(); }); + +test("$().html().evalScripts() Eval's Scripts Twice in Firefox, see #975", function() { + expect(1); + $("#main").html('').evalScripts(); +}); + +test("$('') needs optional document parameter to ease cross-frame DOM wrangling, see #968", function() { + var f = frames["iframe"].document; + f.open(); + f.write(""); + f.close(); + $("
Testing
").appendTo(f.body); + ok( true, "passed" ); +}); \ No newline at end of file