Tweaked the isXMLDoc iframe test case to test the document, not the body element...
authorJohn Resig <jeresig@gmail.com>
Thu, 27 Aug 2009 19:22:48 +0000 (19:22 +0000)
committerJohn Resig <jeresig@gmail.com>
Thu, 27 Aug 2009 19:22:48 +0000 (19:22 +0000)
commit957cd6fb2a2b7b8cfe9ac6b3f2b3cc2bc8163449
treecc2c7d228ca7ff133ee29942aababbdb1c5d91b7
parentf52c4a3d5fb69f143d90f9a032e2a004c36ccae3
Tweaked the isXMLDoc iframe test case to test the document, not the body element (which doesn't exist in IE). Also made the isXMLDoc code handle cases where elem is null, undefined, etc.
src/core.js
test/unit/core.js