From 8f547c7bd349e0dc905e0dc5f32edbf1e01061ce 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 --- .../level1/core/hc_elementwrongdocumenterr.xml | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml (limited to 'test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml') diff --git a/test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml b/test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml new file mode 100644 index 0000000..8d36120 --- /dev/null +++ b/test/testcases/tests/level1/core/hc_elementwrongdocumenterr.xml @@ -0,0 +1,56 @@ + + + + + +hc_elementWrongDocumentErr +Curt Arnold + + The "setAttributeNode(newAttr)" method raises an + "WRONG_DOCUMENT_ERR DOMException if the "newAttr" + was created from a different document than the one that + created this document. + + Retrieve the last employee and attempt to set a new + attribute node for its "employee" element. The new + attribute was created from a document other than the + one that created this element, therefore a + WRONG_DOCUMENT_ERR DOMException should be raised. + + This test uses the "createAttribute(newAttr)" method + from the Document interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3