Bugzilla – Bug 17785
Tests: add some parent-less nodes to testNodes in common.js
Last modified: 2012-07-19 11:24:15 UTC
`document` is the only one right now; it would be nice to have a few more.
Which common.js? The one I wrote has lots of detached stuff: detachedDiv, detachedXmlElement, detachedTextNode, detachedForeignTextNode, detachedXmlTextNode, detachedProcessingInstruction, detachedComment, detachedForeignComment, detachedXmlComment, docfrag, foreignDocFrag, xmlDocFrag, plus of course foreignDoc and xmlDoc. Every one of these is in testNodes. Is there a different common.js somewhere in the webapps tests?
I probably looked at the test results in the wrong build; you're right that there are enough.