From bb0bf3763647fbdc63509f065db473fe7bd8a60c Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Jul 2009 11:06:01 +0000 Subject: Merge DOMTS tests -- they're causing havoc with review diffs. svn path=/trunk/dom/; revision=8910 --- .../core/hc_nodereplacechildnodeancestor.xml | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml (limited to 'test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml') diff --git a/test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml b/test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml new file mode 100644 index 0000000..3c5ec89 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_nodereplacechildnodeancestor.xml @@ -0,0 +1,53 @@ + + + + + +hc_nodeReplaceChildNodeAncestor +Curt Arnold + + The "replaceChild(newChild,oldChild)" method raises a + HIERARCHY_REQUEST_ERR DOMException if the node to put + in is one of this node's ancestors. + + Retrieve the second employee and attempt to replace + one of its children with an ancestor node(root node). + An attempt to make such a replacement should raise the + desired exception. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3