Fix Format.XML test where a defined variable wasn't used. This resulted in an

"DOM Exception: INVALID_CHARACTER_ERR (5)" in Chrome 17.
This commit is contained in:
Marc Jansen
2012-02-15 10:44:34 +01:00
parent c776dac2c2
commit 436301c9ed

View File

@@ -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");