DOM: fix test case which relied on outdated Name/QName production
diff --git a/dom/nodes/Document-createElement.html b/dom/nodes/Document-createElement.html
index bacaff0..a749627 100644
--- a/dom/nodes/Document-createElement.html
+++ b/dom/nodes/Document-createElement.html
@@ -77,7 +77,7 @@
"1foo",
"1:foo",
"fo o",
- "\u0BC6foo",
+ "\u0300foo",
"}foo",
"f}oo",
"foo}",
@@ -90,7 +90,7 @@
"f<oo",
"-foo",
".foo",
- "\u0BC6",
+ "\u0300",
]
var xmlIframe = document.querySelector('[src="/common/dummy.xml"]');
diff --git a/dom/nodes/Document-createElementNS.js b/dom/nodes/Document-createElementNS.js
index bf5e12c..2cf2948 100644
--- a/dom/nodes/Document-createElementNS.js
+++ b/dom/nodes/Document-createElementNS.js
@@ -10,7 +10,8 @@
[null, "1foo", "INVALID_CHARACTER_ERR"],
[null, "f1oo", null],
[null, "foo1", null],
- [null, "\u0BC6foo", "INVALID_CHARACTER_ERR"],
+ [null, "\u0BC6foo", null],
+ [null, "\u037Efoo", "INVALID_CHARACTER_ERR"],
[null, "}foo", "INVALID_CHARACTER_ERR"],
[null, "f}oo", "INVALID_CHARACTER_ERR"],
[null, "foo}", "INVALID_CHARACTER_ERR"],
@@ -73,8 +74,12 @@
["http://example.com/", "a:0", "INVALID_CHARACTER_ERR"],
["http://example.com/", "0:a", "INVALID_CHARACTER_ERR"],
["http://example.com/", "a:_", null],
- ["http://example.com/", "a:\u0BC6", "INVALID_CHARACTER_ERR"],
- ["http://example.com/", "\u0BC6:a", "INVALID_CHARACTER_ERR"],
+ ["http://example.com/", "a:\u0BC6", null],
+ ["http://example.com/", "a:\u037E", "INVALID_CHARACTER_ERR"],
+ ["http://example.com/", "a:\u0300", "INVALID_CHARACTER_ERR"],
+ ["http://example.com/", "\u0BC6:a", null],
+ ["http://example.com/", "\u0300:a", "INVALID_CHARACTER_ERR"],
+ ["http://example.com/", "\u037E:a", "INVALID_CHARACTER_ERR"],
["http://example.com/", "a:a\u0BC6", null],
["http://example.com/", "a\u0BC6:a", null],
["http://example.com/", "xml:test", "NAMESPACE_ERR"],