X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2FcoreTest.js;h=77fd17e52cf03fc227afaca6d97c006a204abfe2;hb=4903872c17f8809bd0c027092fc55d139d8ae789;hp=98a1ba8154ed565f79bb9bed448bb63cd37bb371;hpb=b8aa9e7cfcc8d6cae898661b75e6fb63a5288cb0;p=jquery.git diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index 98a1ba8..77fd17e 100644 --- a/src/jquery/coreTest.js +++ b/src/jquery/coreTest.js @@ -826,3 +826,12 @@ test("$().html().evalScripts() Eval's Scripts Twice in Firefox, see #975", funct 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