git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a bug with the isXMLDoc test - also made sure that isXMLDoc was handling the...
[jquery.git]
/
test
/
unit
/
core.js
diff --git
a/test/unit/core.js
b/test/unit/core.js
index
8decd49
..
46858ce
100644
(file)
--- a/
test/unit/core.js
+++ b/
test/unit/core.js
@@
-281,7
+281,7
@@
test("isXMLDoc - HTML", function() {
try {
var body = jQuery(iframe).contents()[0];
try {
var body = jQuery(iframe).contents()[0];
- ok( jQuery.isXMLDoc( body ), "Iframe body element" );
+ ok( !jQuery.isXMLDoc( body ), "Iframe body element" );
} catch(e){
ok( false, "Iframe body element exception" );
}
} catch(e){
ok( false, "Iframe body element exception" );
}