OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS Document.createElementNS |
| 3 PASS createElementNS test 0: null,undefined,null |
| 4 PASS createElementNS test 1: null,"foo",null |
| 5 PASS createElementNS test 2: null,"1foo","INVALID_CHARACTER_ERR" |
| 6 PASS createElementNS test 3: null,"f1oo",null |
| 7 PASS createElementNS test 4: null,"foo1",null |
| 8 PASS createElementNS test 5: null,"1foo","INVALID_CHARACTER_ERR" |
| 9 PASS createElementNS test 6: null,"̀foo","INVALID_CHARACTER_ERR" |
| 10 PASS createElementNS test 7: null,"}foo","INVALID_CHARACTER_ERR" |
| 11 PASS createElementNS test 8: null,"f}oo","INVALID_CHARACTER_ERR" |
| 12 PASS createElementNS test 9: null,"foo}","INVALID_CHARACTER_ERR" |
| 13 PASS createElementNS test 10: null,"foo","INVALID_CHARACTER_ERR" |
| 14 PASS createElementNS test 11: null,"foo","INVALID_CHARACTER_ERR" |
| 15 PASS createElementNS test 12: null,"foo","INVALID_CHARACTER_ERR" |
| 16 PASS createElementNS test 13: null,"<foo","INVALID_CHARACTER_ERR" |
| 17 PASS createElementNS test 14: null,"foo>","INVALID_CHARACTER_ERR" |
| 18 PASS createElementNS test 15: null,"<foo>","INVALID_CHARACTER_ERR" |
| 19 PASS createElementNS test 16: null,"f<oo","INVALID_CHARACTER_ERR" |
| 20 PASS createElementNS test 17: null,"^^","INVALID_CHARACTER_ERR" |
| 21 PASS createElementNS test 18: null,":foo","NAMESPACE_ERR" |
| 22 PASS createElementNS test 19: null,"f:oo","NAMESPACE_ERR" |
| 23 PASS createElementNS test 20: null,"foo:","NAMESPACE_ERR" |
| 24 PASS createElementNS test 21: null,":","NAMESPACE_ERR" |
| 25 PASS createElementNS test 22: null,"xml",null |
| 26 PASS createElementNS test 23: null,"xmlns","NAMESPACE_ERR" |
| 27 PASS createElementNS test 24: null,"xmlfoo",null |
| 28 PASS createElementNS test 25: null,"xml:foo","NAMESPACE_ERR" |
| 29 PASS createElementNS test 26: null,"xmlns:foo","NAMESPACE_ERR" |
| 30 PASS createElementNS test 27: null,"xmlfoo:bar","NAMESPACE_ERR" |
| 31 PASS createElementNS test 28: null,"null:xml","NAMESPACE_ERR" |
| 32 PASS createElementNS test 29: "",":foo","NAMESPACE_ERR" |
| 33 PASS createElementNS test 30: "","f:oo","NAMESPACE_ERR" |
| 34 PASS createElementNS test 31: "","foo:","NAMESPACE_ERR" |
| 35 FAIL createElementNS test 32: undefined,undefined,null assert_equals: expected (
object) null but got (string) "undefined" |
| 36 FAIL createElementNS test 33: undefined,"foo",null assert_equals: expected (obje
ct) null but got (string) "undefined" |
| 37 PASS createElementNS test 34: undefined,"1foo","INVALID_CHARACTER_ERR" |
| 38 FAIL createElementNS test 35: undefined,"f1oo",null assert_equals: expected (obj
ect) null but got (string) "undefined" |
| 39 FAIL createElementNS test 36: undefined,"foo1",null assert_equals: expected (obj
ect) null but got (string) "undefined" |
| 40 PASS createElementNS test 37: undefined,":foo","NAMESPACE_ERR" |
| 41 FAIL createElementNS test 38: undefined,"f:oo","NAMESPACE_ERR" assert_throws: fu
nction "function () { document.createElementNS(namespace, qualifi..." did not th
row |
| 42 PASS createElementNS test 39: undefined,"foo:","NAMESPACE_ERR" |
| 43 FAIL createElementNS test 40: undefined,"xml",null assert_equals: expected (obje
ct) null but got (string) "undefined" |
| 44 PASS createElementNS test 41: undefined,"xmlns","NAMESPACE_ERR" |
| 45 FAIL createElementNS test 42: undefined,"xmlfoo",null assert_equals: expected (o
bject) null but got (string) "undefined" |
| 46 PASS createElementNS test 43: undefined,"xml:foo","NAMESPACE_ERR" |
| 47 PASS createElementNS test 44: undefined,"xmlns:foo","NAMESPACE_ERR" |
| 48 FAIL createElementNS test 45: undefined,"xmlfoo:bar","NAMESPACE_ERR" assert_thro
ws: function "function () { document.createElementNS(namespace, qualifi..." did
not throw |
| 49 PASS createElementNS test 46: "http://example.com/","foo",null |
| 50 PASS createElementNS test 47: "http://example.com/","1foo","INVALID_CHARACTER_ER
R" |
| 51 PASS createElementNS test 48: "http://example.com/","f1oo",null |
| 52 PASS createElementNS test 49: "http://example.com/","foo1",null |
| 53 PASS createElementNS test 50: "http://example.com/",":foo","NAMESPACE_ERR" |
| 54 PASS createElementNS test 51: "http://example.com/","f:oo",null |
| 55 PASS createElementNS test 52: "http://example.com/","foo:","NAMESPACE_ERR" |
| 56 PASS createElementNS test 53: "http://example.com/","_:_",null |
| 57 PASS createElementNS test 54: "http://example.com/","_:h0",null |
| 58 PASS createElementNS test 55: "http://example.com/","_:test",null |
| 59 PASS createElementNS test 56: "http://example.com/","l_:_",null |
| 60 PASS createElementNS test 57: "http://example.com/","ns:_0",null |
| 61 PASS createElementNS test 58: "http://example.com/","ns:a0",null |
| 62 PASS createElementNS test 59: "http://example.com/","ns0:test",null |
| 63 PASS createElementNS test 60: "http://example.com/","a.b:c",null |
| 64 PASS createElementNS test 61: "http://example.com/","a-b:c",null |
| 65 PASS createElementNS test 62: "http://example.com/","a-b:c",null |
| 66 PASS createElementNS test 63: "http://example.com/","xml",null |
| 67 PASS createElementNS test 64: "http://example.com/","xmlns","NAMESPACE_ERR" |
| 68 PASS createElementNS test 65: "http://example.com/","XMLNS",null |
| 69 PASS createElementNS test 66: "http://example.com/","xmlfoo",null |
| 70 PASS createElementNS test 67: "http://example.com/","xml:foo","NAMESPACE_ERR" |
| 71 PASS createElementNS test 68: "http://example.com/","XML:foo",null |
| 72 PASS createElementNS test 69: "http://example.com/","xmlns:foo","NAMESPACE_ERR" |
| 73 PASS createElementNS test 70: "http://example.com/","XMLNS:foo",null |
| 74 PASS createElementNS test 71: "http://example.com/","xmlfoo:bar",null |
| 75 PASS createElementNS test 72: "http://example.com/","prefix::local","NAMESPACE_E
RR" |
| 76 PASS createElementNS test 73: "http://example.com/","namespaceURI:{","INVALID_CH
ARACTER_ERR" |
| 77 PASS createElementNS test 74: "http://example.com/","namespaceURI:}","INVALID_CH
ARACTER_ERR" |
| 78 PASS createElementNS test 75: "http://example.com/","namespaceURI:~","INVALID_CH
ARACTER_ERR" |
| 79 PASS createElementNS test 76: "http://example.com/","namespaceURI:'","INVALID_CH
ARACTER_ERR" |
| 80 PASS createElementNS test 77: "http://example.com/","namespaceURI:!","INVALID_CH
ARACTER_ERR" |
| 81 PASS createElementNS test 78: "http://example.com/","namespaceURI:@","INVALID_CH
ARACTER_ERR" |
| 82 PASS createElementNS test 79: "http://example.com/","namespaceURI:#","INVALID_CH
ARACTER_ERR" |
| 83 PASS createElementNS test 80: "http://example.com/","namespaceURI:$","INVALID_CH
ARACTER_ERR" |
| 84 PASS createElementNS test 81: "http://example.com/","namespaceURI:%","INVALID_CH
ARACTER_ERR" |
| 85 PASS createElementNS test 82: "http://example.com/","namespaceURI:^","INVALID_CH
ARACTER_ERR" |
| 86 PASS createElementNS test 83: "http://example.com/","namespaceURI:&","INVALID_CH
ARACTER_ERR" |
| 87 PASS createElementNS test 84: "http://example.com/","namespaceURI:*","INVALID_CH
ARACTER_ERR" |
| 88 PASS createElementNS test 85: "http://example.com/","namespaceURI:(","INVALID_CH
ARACTER_ERR" |
| 89 PASS createElementNS test 86: "http://example.com/","namespaceURI:)","INVALID_CH
ARACTER_ERR" |
| 90 PASS createElementNS test 87: "http://example.com/","namespaceURI:+","INVALID_CH
ARACTER_ERR" |
| 91 PASS createElementNS test 88: "http://example.com/","namespaceURI:=","INVALID_CH
ARACTER_ERR" |
| 92 PASS createElementNS test 89: "http://example.com/","namespaceURI:[","INVALID_CH
ARACTER_ERR" |
| 93 PASS createElementNS test 90: "http://example.com/","namespaceURI:]","INVALID_CH
ARACTER_ERR" |
| 94 PASS createElementNS test 91: "http://example.com/","namespaceURI:\\","INVALID_C
HARACTER_ERR" |
| 95 PASS createElementNS test 92: "http://example.com/","namespaceURI:/","INVALID_CH
ARACTER_ERR" |
| 96 PASS createElementNS test 93: "http://example.com/","namespaceURI:;","INVALID_CH
ARACTER_ERR" |
| 97 PASS createElementNS test 94: "http://example.com/","namespaceURI:`","INVALID_CH
ARACTER_ERR" |
| 98 PASS createElementNS test 95: "http://example.com/","namespaceURI:<","INVALID_CH
ARACTER_ERR" |
| 99 PASS createElementNS test 96: "http://example.com/","namespaceURI:>","INVALID_CH
ARACTER_ERR" |
| 100 PASS createElementNS test 97: "http://example.com/","namespaceURI:,","INVALID_CH
ARACTER_ERR" |
| 101 PASS createElementNS test 98: "http://example.com/","namespaceURI:a ","INVALID_C
HARACTER_ERR" |
| 102 PASS createElementNS test 99: "http://example.com/","namespaceURI:\"","INVALID_C
HARACTER_ERR" |
| 103 PASS createElementNS test 100: "/","foo",null |
| 104 PASS createElementNS test 101: "/","1foo","INVALID_CHARACTER_ERR" |
| 105 PASS createElementNS test 102: "/","f1oo",null |
| 106 PASS createElementNS test 103: "/","foo1",null |
| 107 PASS createElementNS test 104: "/",":foo","NAMESPACE_ERR" |
| 108 PASS createElementNS test 105: "/","f:oo",null |
| 109 PASS createElementNS test 106: "/","foo:","NAMESPACE_ERR" |
| 110 PASS createElementNS test 107: "/","xml",null |
| 111 PASS createElementNS test 108: "/","xmlns","NAMESPACE_ERR" |
| 112 PASS createElementNS test 109: "/","xmlfoo",null |
| 113 PASS createElementNS test 110: "/","xml:foo","NAMESPACE_ERR" |
| 114 PASS createElementNS test 111: "/","xmlns:foo","NAMESPACE_ERR" |
| 115 PASS createElementNS test 112: "/","xmlfoo:bar",null |
| 116 PASS createElementNS test 113: "http://www.w3.org/XML/1998/namespace","foo",null
|
| 117 PASS createElementNS test 114: "http://www.w3.org/XML/1998/namespace","1foo","IN
VALID_CHARACTER_ERR" |
| 118 PASS createElementNS test 115: "http://www.w3.org/XML/1998/namespace","f1oo",nul
l |
| 119 PASS createElementNS test 116: "http://www.w3.org/XML/1998/namespace","foo1",nul
l |
| 120 PASS createElementNS test 117: "http://www.w3.org/XML/1998/namespace",":foo","NA
MESPACE_ERR" |
| 121 PASS createElementNS test 118: "http://www.w3.org/XML/1998/namespace","f:oo",nul
l |
| 122 PASS createElementNS test 119: "http://www.w3.org/XML/1998/namespace","foo:","NA
MESPACE_ERR" |
| 123 PASS createElementNS test 120: "http://www.w3.org/XML/1998/namespace","xml",null
|
| 124 PASS createElementNS test 121: "http://www.w3.org/XML/1998/namespace","xmlns","N
AMESPACE_ERR" |
| 125 PASS createElementNS test 122: "http://www.w3.org/XML/1998/namespace","xmlfoo",n
ull |
| 126 PASS createElementNS test 123: "http://www.w3.org/XML/1998/namespace","xml:foo",
null |
| 127 PASS createElementNS test 124: "http://www.w3.org/XML/1998/namespace","xmlns:foo
","NAMESPACE_ERR" |
| 128 PASS createElementNS test 125: "http://www.w3.org/XML/1998/namespace","xmlfoo:ba
r",null |
| 129 PASS createElementNS test 126: "http://www.w3.org/XML/1998/namespaces","xml:foo"
,"NAMESPACE_ERR" |
| 130 PASS createElementNS test 127: "http://www.w3.org/xml/1998/namespace","xml:foo",
"NAMESPACE_ERR" |
| 131 PASS createElementNS test 128: "http://www.w3.org/2000/xmlns/","foo","NAMESPACE_
ERR" |
| 132 PASS createElementNS test 129: "http://www.w3.org/2000/xmlns/","1foo","INVALID_C
HARACTER_ERR" |
| 133 PASS createElementNS test 130: "http://www.w3.org/2000/xmlns/","f1oo","NAMESPACE
_ERR" |
| 134 PASS createElementNS test 131: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE
_ERR" |
| 135 PASS createElementNS test 132: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE
_ERR" |
| 136 PASS createElementNS test 133: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE
_ERR" |
| 137 PASS createElementNS test 134: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE
_ERR" |
| 138 PASS createElementNS test 135: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_
ERR" |
| 139 PASS createElementNS test 136: "http://www.w3.org/2000/xmlns/","xmlns",null |
| 140 PASS createElementNS test 137: "http://www.w3.org/2000/xmlns/","xmlfoo","NAMESPA
CE_ERR" |
| 141 PASS createElementNS test 138: "http://www.w3.org/2000/xmlns/","xml:foo","NAMESP
ACE_ERR" |
| 142 PASS createElementNS test 139: "http://www.w3.org/2000/xmlns/","xmlns:foo",null |
| 143 PASS createElementNS test 140: "http://www.w3.org/2000/xmlns/","xmlfoo:bar","NAM
ESPACE_ERR" |
| 144 PASS createElementNS test 141: "http://www.w3.org/2000/xmlns/","foo:xmlns","NAME
SPACE_ERR" |
| 145 PASS createElementNS test 142: "foo:","foo",null |
| 146 PASS createElementNS test 143: "foo:","1foo","INVALID_CHARACTER_ERR" |
| 147 PASS createElementNS test 144: "foo:","f1oo",null |
| 148 PASS createElementNS test 145: "foo:","foo1",null |
| 149 PASS createElementNS test 146: "foo:",":foo","NAMESPACE_ERR" |
| 150 PASS createElementNS test 147: "foo:","f:oo",null |
| 151 PASS createElementNS test 148: "foo:","foo:","NAMESPACE_ERR" |
| 152 PASS createElementNS test 149: "foo:","xml",null |
| 153 PASS createElementNS test 150: "foo:","xmlns","NAMESPACE_ERR" |
| 154 PASS createElementNS test 151: "foo:","xmlfoo",null |
| 155 PASS createElementNS test 152: "foo:","xml:foo","NAMESPACE_ERR" |
| 156 PASS createElementNS test 153: "foo:","xmlns:foo","NAMESPACE_ERR" |
| 157 PASS createElementNS test 154: "foo:","xmlfoo:bar",null |
| 158 PASS createElementNS test 155: "","","INVALID_CHARACTER_ERR" |
| 159 PASS createElementNS test 156: null,null,null |
| 160 PASS createElementNS test 157: null,"","INVALID_CHARACTER_ERR" |
| 161 FAIL createElementNS test 158: undefined,null,null assert_equals: expected (obje
ct) null but got (string) "undefined" |
| 162 FAIL createElementNS test 159: undefined,undefined,null assert_equals: expected
(object) null but got (string) "undefined" |
| 163 PASS createElementNS test 160: undefined,"","INVALID_CHARACTER_ERR" |
| 164 PASS createElementNS test 161: "http://example.com/",null,null |
| 165 PASS createElementNS test 162: "http://example.com/","","INVALID_CHARACTER_ERR" |
| 166 PASS createElementNS test 163: "/",null,null |
| 167 PASS createElementNS test 164: "/","","INVALID_CHARACTER_ERR" |
| 168 PASS createElementNS test 165: "http://www.w3.org/XML/1998/namespace",null,null |
| 169 PASS createElementNS test 166: "http://www.w3.org/XML/1998/namespace","","INVALI
D_CHARACTER_ERR" |
| 170 PASS createElementNS test 167: "http://www.w3.org/2000/xmlns/",null,"NAMESPACE_E
RR" |
| 171 PASS createElementNS test 168: "http://www.w3.org/2000/xmlns/","","INVALID_CHARA
CTER_ERR" |
| 172 PASS createElementNS test 169: "foo:",null,null |
| 173 PASS createElementNS test 170: "foo:","","INVALID_CHARACTER_ERR" |
| 174 PASS Lower-case HTML element without a prefix |
| 175 PASS Lower-case HTML element with a prefix |
| 176 PASS Lower-case non-HTML element without a prefix |
| 177 PASS Lower-case non-HTML element with a prefix |
| 178 PASS Upper-case HTML element without a prefix |
| 179 PASS Upper-case HTML element with a prefix |
| 180 PASS Upper-case non-HTML element without a prefix |
| 181 PASS Upper-case non-HTML element with a prefix |
| 182 PASS null namespace |
| 183 FAIL undefined namespace assert_equals: expected (object) null but got (string)
"undefined" |
| 184 PASS empty string namespace |
| 185 Harness: the test ran to completion. |
| 186 |
OLD | NEW |