| OLD | NEW |
| 1 var createElementNS_tests = [ | 1 var createElementNS_tests = [ |
| 2 /* Arrays with three elements: | 2 /* Arrays with three elements: |
| 3 * the namespace argument | 3 * the namespace argument |
| 4 * the qualifiedName argument | 4 * the qualifiedName argument |
| 5 * the expected exception, or null if none | 5 * the expected exception, or null if none |
| 6 */ | 6 */ |
| 7 [null, undefined, null], | 7 [null, undefined, null], |
| 8 [null, "foo", null], | 8 [null, "foo", null], |
| 9 [null, "1foo", "INVALID_CHARACTER_ERR"], | 9 [null, "1foo", "INVALID_CHARACTER_ERR"], |
| 10 [null, "f1oo", null], | 10 [null, "f1oo", null], |
| 11 [null, "foo1", null], | 11 [null, "foo1", null], |
| 12 [null, "1foo", "INVALID_CHARACTER_ERR"], |
| 12 [null, "\u0300foo", "INVALID_CHARACTER_ERR"], | 13 [null, "\u0300foo", "INVALID_CHARACTER_ERR"], |
| 13 [null, "}foo", "INVALID_CHARACTER_ERR"], | 14 [null, "}foo", "INVALID_CHARACTER_ERR"], |
| 14 [null, "f}oo", "INVALID_CHARACTER_ERR"], | 15 [null, "f}oo", "INVALID_CHARACTER_ERR"], |
| 15 [null, "foo}", "INVALID_CHARACTER_ERR"], | 16 [null, "foo}", "INVALID_CHARACTER_ERR"], |
| 16 [null, "\uFFFFfoo", "INVALID_CHARACTER_ERR"], | 17 [null, "\uFFFFfoo", "INVALID_CHARACTER_ERR"], |
| 17 [null, "f\uFFFFoo", "INVALID_CHARACTER_ERR"], | 18 [null, "f\uFFFFoo", "INVALID_CHARACTER_ERR"], |
| 18 [null, "foo\uFFFF", "INVALID_CHARACTER_ERR"], | 19 [null, "foo\uFFFF", "INVALID_CHARACTER_ERR"], |
| 19 [null, "<foo", "INVALID_CHARACTER_ERR"], | 20 [null, "<foo", "INVALID_CHARACTER_ERR"], |
| 20 [null, "foo>", "INVALID_CHARACTER_ERR"], | 21 [null, "foo>", "INVALID_CHARACTER_ERR"], |
| 21 [null, "<foo>", "INVALID_CHARACTER_ERR"], | 22 [null, "<foo>", "INVALID_CHARACTER_ERR"], |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 ["http://example.com/", "foo:", "NAMESPACE_ERR"], | 59 ["http://example.com/", "foo:", "NAMESPACE_ERR"], |
| 59 ["http://example.com/", "_:_", null], | 60 ["http://example.com/", "_:_", null], |
| 60 ["http://example.com/", "_:h0", null], | 61 ["http://example.com/", "_:h0", null], |
| 61 ["http://example.com/", "_:test", null], | 62 ["http://example.com/", "_:test", null], |
| 62 ["http://example.com/", "l_:_", null], | 63 ["http://example.com/", "l_:_", null], |
| 63 ["http://example.com/", "ns:_0", null], | 64 ["http://example.com/", "ns:_0", null], |
| 64 ["http://example.com/", "ns:a0", null], | 65 ["http://example.com/", "ns:a0", null], |
| 65 ["http://example.com/", "ns0:test", null], | 66 ["http://example.com/", "ns0:test", null], |
| 66 ["http://example.com/", "a.b:c", null], | 67 ["http://example.com/", "a.b:c", null], |
| 67 ["http://example.com/", "a-b:c", null], | 68 ["http://example.com/", "a-b:c", null], |
| 69 ["http://example.com/", "a-b:c", null], |
| 68 ["http://example.com/", "xml", null], | 70 ["http://example.com/", "xml", null], |
| 69 ["http://example.com/", "xmlns", "NAMESPACE_ERR"], | 71 ["http://example.com/", "xmlns", "NAMESPACE_ERR"], |
| 70 ["http://example.com/", "XMLNS", null], | 72 ["http://example.com/", "XMLNS", null], |
| 71 ["http://example.com/", "xmlfoo", null], | 73 ["http://example.com/", "xmlfoo", null], |
| 72 ["http://example.com/", "xml:foo", "NAMESPACE_ERR"], | 74 ["http://example.com/", "xml:foo", "NAMESPACE_ERR"], |
| 73 ["http://example.com/", "XML:foo", null], | 75 ["http://example.com/", "XML:foo", null], |
| 74 ["http://example.com/", "xmlns:foo", "NAMESPACE_ERR"], | 76 ["http://example.com/", "xmlns:foo", "NAMESPACE_ERR"], |
| 75 ["http://example.com/", "XMLNS:foo", null], | 77 ["http://example.com/", "XMLNS:foo", null], |
| 76 ["http://example.com/", "xmlfoo:bar", null], | 78 ["http://example.com/", "xmlfoo:bar", null], |
| 77 ["http://example.com/", "prefix::local", "NAMESPACE_ERR"], | 79 ["http://example.com/", "prefix::local", "NAMESPACE_ERR"], |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 ["foo:", ":foo", "NAMESPACE_ERR"], | 153 ["foo:", ":foo", "NAMESPACE_ERR"], |
| 152 ["foo:", "f:oo", null], | 154 ["foo:", "f:oo", null], |
| 153 ["foo:", "foo:", "NAMESPACE_ERR"], | 155 ["foo:", "foo:", "NAMESPACE_ERR"], |
| 154 ["foo:", "xml", null], | 156 ["foo:", "xml", null], |
| 155 ["foo:", "xmlns", "NAMESPACE_ERR"], | 157 ["foo:", "xmlns", "NAMESPACE_ERR"], |
| 156 ["foo:", "xmlfoo", null], | 158 ["foo:", "xmlfoo", null], |
| 157 ["foo:", "xml:foo", "NAMESPACE_ERR"], | 159 ["foo:", "xml:foo", "NAMESPACE_ERR"], |
| 158 ["foo:", "xmlns:foo", "NAMESPACE_ERR"], | 160 ["foo:", "xmlns:foo", "NAMESPACE_ERR"], |
| 159 ["foo:", "xmlfoo:bar", null], | 161 ["foo:", "xmlfoo:bar", null], |
| 160 ] | 162 ] |
| OLD | NEW |