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 --- .../core/hc_namednodemapwrongdocumenterr.xml | 57 ++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml (limited to 'test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml') diff --git a/test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml b/test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml new file mode 100644 index 0000000..bd2fedb --- /dev/null +++ b/test/testcases/tests/level1/core/hc_namednodemapwrongdocumenterr.xml @@ -0,0 +1,57 @@ + + + + + +hc_namednodemapWrongDocumentErr +Curt Arnold + + The "setNamedItem(arg)" method raises a + WRONG_DOCUMENT_ERR DOMException if "arg" was created + from a different document than the one that created + the NamedNodeMap. + + Create a NamedNodeMap object from the attributes of the + last child of the third employee and attempt to add + another Attr node to it that was created from a + different DOM document. This should raise the desired + exception. This method uses the "createAttribute(name)" + method from the Document interface. + + +2002-06-09 + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3