aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-07-08 23:19:09 +0000
committerJohn Resig <jeresig@gmail.com>2007-07-08 23:19:09 +0000
commit69ef5fac9e84623c1260cf4d548c1034ac7e45a8 (patch)
treef87b62d99a69e16f4b3e2c69b4b24548d5830ab9 /src/jquery
parentb5bf00a37368baf69595434c0329f869b9ca18e9 (diff)
downloadjquery-69ef5fac9e84623c1260cf4d548c1034ac7e45a8.tar.gz
jquery-69ef5fac9e84623c1260cf4d548c1034ac7e45a8.zip
Added basic support for IFrames, disabled a test which we don't take into account.
Diffstat (limited to 'src/jquery')
-rw-r--r--src/jquery/coreTest.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js
index 8d7e9f89c..602da848c 100644
--- a/src/jquery/coreTest.js
+++ b/src/jquery/coreTest.js
@@ -21,17 +21,14 @@ test("$()", function() {
$('<p>\r\n</p>');
ok( true, "Check for \\r and \\n in jQuery()" );
+ /* // Disabled until we add this functionality in
var pass = true;
try {
- var f = document.getElementById("iframe").contentDocument;
- f.open();
- f.write("<html><body></body></html>");
- f.close();
- $("<div>Testing</div>").appendTo(f.body);
+ $("<div>Testing</div>").appendTo(document.getElementById("iframe").contentDocument.body);
} catch(e){
pass = false;
}
- ok( pass, "$('&lt;tag&gt;') needs optional document parameter to ease cross-frame DOM wrangling, see #968" );
+ ok( pass, "$('&lt;tag&gt;') needs optional document parameter to ease cross-frame DOM wrangling, see #968" );*/
});
test("isFunction", function() {