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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user