From 436301c9ede591c1d336b0ec9d22a1009e4380e6 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Wed, 15 Feb 2012 10:44:34 +0100 Subject: [PATCH] Fix Format.XML test where a defined variable wasn't used. This resulted in an "DOM Exception: INVALID_CHARACTER_ERR (5)" in Chrome 17. --- tests/Format/XML.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Format/XML.html b/tests/Format/XML.html index 8da8fbf1e3..ff663c3f5e 100644 --- a/tests/Format/XML.html +++ b/tests/Format/XML.html @@ -147,7 +147,7 @@ var uri = "http://foo.com"; var prefix = "foo"; var localName = "bar"; - var qualifiedName = prefix + ":" + name; + var qualifiedName = prefix + ":" + localName; var node = format.createElementNS(uri, qualifiedName); t.eq(node.nodeType, 1, "node has correct type");