Bug 17785 - Tests: add some parent-less nodes to testNodes in common.js
Summary: Tests: add some parent-less nodes to testNodes in common.js
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2012-07-15 19:29 UTC by Ms2ger
Modified: 2012-07-19 11:24 UTC (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ms2ger 2012-07-15 19:29:50 UTC
`document` is the only one right now; it would be nice to have a few more.
Comment 1 Aryeh Gregor 2012-07-19 07:28:51 UTC
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?
Comment 2 Ms2ger 2012-07-19 11:24:15 UTC
I probably looked at the test results in the wrong build; you're right that there are enough.