OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 Found 391 tests; 369 PASS, 22 FAIL, 0 TIMEOUT, 0 NOTRUN. | |
3 PASS DOMImplementation.createDocument(namespace, qualifiedName, doctype) | |
4 PASS createDocument test: null,null,null,null | |
5 PASS createDocument test: metadata for null,null,null | |
6 PASS createDocument test: characterSet aliases for null,null,null | |
7 PASS createDocument test: null,undefined,null,null | |
8 PASS createDocument test: metadata for null,undefined,null | |
9 PASS createDocument test: characterSet aliases for null,undefined,null | |
10 PASS createDocument test: null,"foo",null,null | |
11 PASS createDocument test: metadata for null,"foo",null | |
12 PASS createDocument test: characterSet aliases for null,"foo",null | |
13 PASS createDocument test: null,"1foo",null,"INVALID_CHARACTER_ERR" | |
14 PASS createDocument test: null,"f1oo",null,null | |
15 PASS createDocument test: metadata for null,"f1oo",null | |
16 PASS createDocument test: characterSet aliases for null,"f1oo",null | |
17 PASS createDocument test: null,"foo1",null,null | |
18 PASS createDocument test: metadata for null,"foo1",null | |
19 PASS createDocument test: characterSet aliases for null,"foo1",null | |
20 PASS createDocument test: null,"ெfoo",null,"INVALID_CHARACTER_ERR" | |
21 PASS createDocument test: null,"}foo",null,"INVALID_CHARACTER_ERR" | |
22 PASS createDocument test: null,"f}oo",null,"INVALID_CHARACTER_ERR" | |
23 PASS createDocument test: null,"foo}",null,"INVALID_CHARACTER_ERR" | |
24 PASS createDocument test: null,"\ufffffoo",null,"INVALID_CHARACTER_ERR" | |
25 PASS createDocument test: null,"f\uffffoo",null,"INVALID_CHARACTER_ERR" | |
26 PASS createDocument test: null,"foo\uffff",null,"INVALID_CHARACTER_ERR" | |
27 PASS createDocument test: null,"<foo",null,"INVALID_CHARACTER_ERR" | |
28 PASS createDocument test: null,"foo>",null,"INVALID_CHARACTER_ERR" | |
29 PASS createDocument test: null,"<foo>",null,"INVALID_CHARACTER_ERR" | |
30 PASS createDocument test: null,"f<oo",null,"INVALID_CHARACTER_ERR" | |
31 PASS createDocument test: null,"^^",null,"INVALID_CHARACTER_ERR" | |
32 PASS createDocument test: null,"fo o",null,"INVALID_CHARACTER_ERR" | |
33 PASS createDocument test: null,"-foo",null,"INVALID_CHARACTER_ERR" | |
34 PASS createDocument test: null,".foo",null,"INVALID_CHARACTER_ERR" | |
35 FAIL createDocument test: null,":foo",null,"INVALID_CHARACTER_ERR" assert_throws
: function "function () { document.implementation.createDocument(namespace, qual
ifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDo
cument' on 'DOMImplementation': The qualified name provided (':foo') has an empt
y namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property
"code" is equal to 14, expected 5 | |
36 PASS createDocument test: null,"f:oo",null,"NAMESPACE_ERR" | |
37 FAIL createDocument test: null,"foo:",null,"INVALID_CHARACTER_ERR" assert_throws
: function "function () { document.implementation.createDocument(namespace, qual
ifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDo
cument' on 'DOMImplementation': The qualified name provided ('foo:') has an empt
y local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code"
is equal to 14, expected 5 | |
38 FAIL createDocument test: null,"f:o:o",null,"INVALID_CHARACTER_ERR" assert_throw
s: function "function () { document.implementation.createDocument(namespace, qua
lifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createD
ocument' on 'DOMImplementation': The qualified name provided ('f:o:o') contains
multiple colons." that is not a DOMException INVALID_CHARACTER_ERR: property "co
de" is equal to 14, expected 5 | |
39 FAIL createDocument test: null,":",null,"INVALID_CHARACTER_ERR" assert_throws: f
unction "function () { document.implementation.createDocument(namespace, qualifi
edName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocum
ent' on 'DOMImplementation': The qualified name provided (':') has an empty name
space prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "code"
is equal to 14, expected 5 | |
40 PASS createDocument test: null,"xml",null,null | |
41 PASS createDocument test: metadata for null,"xml",null | |
42 PASS createDocument test: characterSet aliases for null,"xml",null | |
43 PASS createDocument test: null,"xmlns",null,"NAMESPACE_ERR" | |
44 PASS createDocument test: null,"xmlfoo",null,null | |
45 PASS createDocument test: metadata for null,"xmlfoo",null | |
46 PASS createDocument test: characterSet aliases for null,"xmlfoo",null | |
47 PASS createDocument test: null,"xml:foo",null,"NAMESPACE_ERR" | |
48 PASS createDocument test: null,"xmlns:foo",null,"NAMESPACE_ERR" | |
49 PASS createDocument test: null,"xmlfoo:bar",null,"NAMESPACE_ERR" | |
50 PASS createDocument test: null,"null:xml",null,"NAMESPACE_ERR" | |
51 PASS createDocument test: "",null,null,null | |
52 PASS createDocument test: metadata for "",null,null | |
53 PASS createDocument test: characterSet aliases for "",null,null | |
54 FAIL createDocument test: "",":foo",null,"INVALID_CHARACTER_ERR" assert_throws:
function "function () { document.implementation.createDocument(namespace, qualif
iedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocu
ment' on 'DOMImplementation': The qualified name provided (':foo') has an empty
namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "c
ode" is equal to 14, expected 5 | |
55 PASS createDocument test: "","f:oo",null,"NAMESPACE_ERR" | |
56 FAIL createDocument test: "","foo:",null,"INVALID_CHARACTER_ERR" assert_throws:
function "function () { document.implementation.createDocument(namespace, qualif
iedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDocu
ment' on 'DOMImplementation': The qualified name provided ('foo:') has an empty
local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code" i
s equal to 14, expected 5 | |
57 PASS createDocument test: undefined,null,null,null | |
58 PASS createDocument test: metadata for undefined,null,null | |
59 PASS createDocument test: characterSet aliases for undefined,null,null | |
60 PASS createDocument test: undefined,undefined,null,null | |
61 PASS createDocument test: metadata for undefined,undefined,null | |
62 PASS createDocument test: characterSet aliases for undefined,undefined,null | |
63 PASS createDocument test: undefined,"foo",null,null | |
64 PASS createDocument test: metadata for undefined,"foo",null | |
65 PASS createDocument test: characterSet aliases for undefined,"foo",null | |
66 PASS createDocument test: undefined,"1foo",null,"INVALID_CHARACTER_ERR" | |
67 PASS createDocument test: undefined,"f1oo",null,null | |
68 PASS createDocument test: metadata for undefined,"f1oo",null | |
69 PASS createDocument test: characterSet aliases for undefined,"f1oo",null | |
70 PASS createDocument test: undefined,"foo1",null,null | |
71 PASS createDocument test: metadata for undefined,"foo1",null | |
72 PASS createDocument test: characterSet aliases for undefined,"foo1",null | |
73 FAIL createDocument test: undefined,":foo",null,"INVALID_CHARACTER_ERR" assert_t
hrows: function "function () { document.implementation.createDocument(namespace,
qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'cre
ateDocument' on 'DOMImplementation': The qualified name provided (':foo') has an
empty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: prop
erty "code" is equal to 14, expected 5 | |
74 PASS createDocument test: undefined,"f:oo",null,"NAMESPACE_ERR" | |
75 FAIL createDocument test: undefined,"foo:",null,"INVALID_CHARACTER_ERR" assert_t
hrows: function "function () { document.implementation.createDocument(namespace,
qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'cre
ateDocument' on 'DOMImplementation': The qualified name provided ('foo:') has an
empty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "
code" is equal to 14, expected 5 | |
76 FAIL createDocument test: undefined,"f::oo",null,"INVALID_CHARACTER_ERR" assert_
throws: function "function () { document.implementation.createDocument(namespace
, qualifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'cr
eateDocument' on 'DOMImplementation': The qualified name provided ('f::oo') cont
ains multiple colons." that is not a DOMException INVALID_CHARACTER_ERR: propert
y "code" is equal to 14, expected 5 | |
77 PASS createDocument test: undefined,"xml",null,null | |
78 PASS createDocument test: metadata for undefined,"xml",null | |
79 PASS createDocument test: characterSet aliases for undefined,"xml",null | |
80 PASS createDocument test: undefined,"xmlns",null,"NAMESPACE_ERR" | |
81 PASS createDocument test: undefined,"xmlfoo",null,null | |
82 PASS createDocument test: metadata for undefined,"xmlfoo",null | |
83 PASS createDocument test: characterSet aliases for undefined,"xmlfoo",null | |
84 PASS createDocument test: undefined,"xml:foo",null,"NAMESPACE_ERR" | |
85 PASS createDocument test: undefined,"xmlns:foo",null,"NAMESPACE_ERR" | |
86 PASS createDocument test: undefined,"xmlfoo:bar",null,"NAMESPACE_ERR" | |
87 PASS createDocument test: "http://example.com/","foo",null,null | |
88 PASS createDocument test: metadata for "http://example.com/","foo",null | |
89 PASS createDocument test: characterSet aliases for "http://example.com/","foo",n
ull | |
90 PASS createDocument test: "http://example.com/","1foo",null,"INVALID_CHARACTER_E
RR" | |
91 PASS createDocument test: "http://example.com/","<foo>",null,"INVALID_CHARACTER_
ERR" | |
92 PASS createDocument test: "http://example.com/","fo<o",null,"INVALID_CHARACTER_E
RR" | |
93 PASS createDocument test: "http://example.com/","-foo",null,"INVALID_CHARACTER_E
RR" | |
94 PASS createDocument test: "http://example.com/",".foo",null,"INVALID_CHARACTER_E
RR" | |
95 PASS createDocument test: "http://example.com/","f1oo",null,null | |
96 PASS createDocument test: metadata for "http://example.com/","f1oo",null | |
97 PASS createDocument test: characterSet aliases for "http://example.com/","f1oo",
null | |
98 PASS createDocument test: "http://example.com/","foo1",null,null | |
99 PASS createDocument test: metadata for "http://example.com/","foo1",null | |
100 PASS createDocument test: characterSet aliases for "http://example.com/","foo1",
null | |
101 FAIL createDocument test: "http://example.com/",":foo",null,"INVALID_CHARACTER_E
RR" assert_throws: function "function () { document.implementation.createDocumen
t(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to
execute 'createDocument' on 'DOMImplementation': The qualified name provided (':
foo') has an empty namespace prefix." that is not a DOMException INVALID_CHARACT
ER_ERR: property "code" is equal to 14, expected 5 | |
102 PASS createDocument test: "http://example.com/","f:oo",null,null | |
103 PASS createDocument test: metadata for "http://example.com/","f:oo",null | |
104 PASS createDocument test: characterSet aliases for "http://example.com/","f:oo",
null | |
105 FAIL createDocument test: "http://example.com/","f:o:o",null,"INVALID_CHARACTER_
ERR" assert_throws: function "function () { document.implementation.createDocume
nt(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to
execute 'createDocument' on 'DOMImplementation': The qualified name provided ('
f:o:o') contains multiple colons." that is not a DOMException INVALID_CHARACTER_
ERR: property "code" is equal to 14, expected 5 | |
106 FAIL createDocument test: "http://example.com/","foo:",null,"INVALID_CHARACTER_E
RR" assert_throws: function "function () { document.implementation.createDocumen
t(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to
execute 'createDocument' on 'DOMImplementation': The qualified name provided ('f
oo:') has an empty local name." that is not a DOMException INVALID_CHARACTER_ERR
: property "code" is equal to 14, expected 5 | |
107 FAIL createDocument test: "http://example.com/","f::oo",null,"INVALID_CHARACTER_
ERR" assert_throws: function "function () { document.implementation.createDocume
nt(namespace, qualifiedName, doctype) }" threw object "NamespaceError: Failed to
execute 'createDocument' on 'DOMImplementation': The qualified name provided ('
f::oo') contains multiple colons." that is not a DOMException INVALID_CHARACTER_
ERR: property "code" is equal to 14, expected 5 | |
108 PASS createDocument test: "http://example.com/","a:0",null,"INVALID_CHARACTER_ER
R" | |
109 PASS createDocument test: "http://example.com/","0:a",null,"INVALID_CHARACTER_ER
R" | |
110 PASS createDocument test: "http://example.com/","a:_",null,null | |
111 PASS createDocument test: metadata for "http://example.com/","a:_",null | |
112 PASS createDocument test: characterSet aliases for "http://example.com/","a:_",n
ull | |
113 PASS createDocument test: "http://example.com/","a:ெ",null,"INVALID_CHARACTER_ER
R" | |
114 PASS createDocument test: "http://example.com/","ெ:a",null,"INVALID_CHARACTER_ER
R" | |
115 PASS createDocument test: "http://example.com/","a:aெ",null,null | |
116 PASS createDocument test: metadata for "http://example.com/","a:aெ",null | |
117 PASS createDocument test: characterSet aliases for "http://example.com/","a:aெ",
null | |
118 PASS createDocument test: "http://example.com/","aெ:a",null,null | |
119 PASS createDocument test: metadata for "http://example.com/","aெ:a",null | |
120 PASS createDocument test: characterSet aliases for "http://example.com/","aெ:a",
null | |
121 PASS createDocument test: "http://example.com/","xml:test",null,"NAMESPACE_ERR" | |
122 PASS createDocument test: "http://example.com/","xmlns:test",null,"NAMESPACE_ERR
" | |
123 PASS createDocument test: "http://example.com/","test:xmlns",null,null | |
124 PASS createDocument test: metadata for "http://example.com/","test:xmlns",null | |
125 PASS createDocument test: characterSet aliases for "http://example.com/","test:x
mlns",null | |
126 PASS createDocument test: "http://example.com/","xmlns",null,"NAMESPACE_ERR" | |
127 PASS createDocument test: "http://example.com/","_:_",null,null | |
128 PASS createDocument test: metadata for "http://example.com/","_:_",null | |
129 PASS createDocument test: characterSet aliases for "http://example.com/","_:_",n
ull | |
130 PASS createDocument test: "http://example.com/","_:h0",null,null | |
131 PASS createDocument test: metadata for "http://example.com/","_:h0",null | |
132 PASS createDocument test: characterSet aliases for "http://example.com/","_:h0",
null | |
133 PASS createDocument test: "http://example.com/","_:test",null,null | |
134 PASS createDocument test: metadata for "http://example.com/","_:test",null | |
135 PASS createDocument test: characterSet aliases for "http://example.com/","_:test
",null | |
136 PASS createDocument test: "http://example.com/","l_:_",null,null | |
137 PASS createDocument test: metadata for "http://example.com/","l_:_",null | |
138 PASS createDocument test: characterSet aliases for "http://example.com/","l_:_",
null | |
139 PASS createDocument test: "http://example.com/","ns:_0",null,null | |
140 PASS createDocument test: metadata for "http://example.com/","ns:_0",null | |
141 PASS createDocument test: characterSet aliases for "http://example.com/","ns:_0"
,null | |
142 PASS createDocument test: "http://example.com/","ns:a0",null,null | |
143 PASS createDocument test: metadata for "http://example.com/","ns:a0",null | |
144 PASS createDocument test: characterSet aliases for "http://example.com/","ns:a0"
,null | |
145 PASS createDocument test: "http://example.com/","ns0:test",null,null | |
146 PASS createDocument test: metadata for "http://example.com/","ns0:test",null | |
147 PASS createDocument test: characterSet aliases for "http://example.com/","ns0:te
st",null | |
148 PASS createDocument test: "http://example.com/","a.b:c",null,null | |
149 PASS createDocument test: metadata for "http://example.com/","a.b:c",null | |
150 PASS createDocument test: characterSet aliases for "http://example.com/","a.b:c"
,null | |
151 PASS createDocument test: "http://example.com/","a-b:c",null,null | |
152 PASS createDocument test: metadata for "http://example.com/","a-b:c",null | |
153 PASS createDocument test: characterSet aliases for "http://example.com/","a-b:c"
,null | |
154 PASS createDocument test: "http://example.com/","xml",null,null | |
155 PASS createDocument test: metadata for "http://example.com/","xml",null | |
156 PASS createDocument test: characterSet aliases for "http://example.com/","xml",n
ull | |
157 PASS createDocument test: "http://example.com/","XMLNS",null,null | |
158 PASS createDocument test: metadata for "http://example.com/","XMLNS",null | |
159 PASS createDocument test: characterSet aliases for "http://example.com/","XMLNS"
,null | |
160 PASS createDocument test: "http://example.com/","xmlfoo",null,null | |
161 PASS createDocument test: metadata for "http://example.com/","xmlfoo",null | |
162 PASS createDocument test: characterSet aliases for "http://example.com/","xmlfoo
",null | |
163 PASS createDocument test: "http://example.com/","xml:foo",null,"NAMESPACE_ERR" | |
164 PASS createDocument test: "http://example.com/","XML:foo",null,null | |
165 PASS createDocument test: metadata for "http://example.com/","XML:foo",null | |
166 PASS createDocument test: characterSet aliases for "http://example.com/","XML:fo
o",null | |
167 PASS createDocument test: "http://example.com/","xmlns:foo",null,"NAMESPACE_ERR"
| |
168 PASS createDocument test: "http://example.com/","XMLNS:foo",null,null | |
169 PASS createDocument test: metadata for "http://example.com/","XMLNS:foo",null | |
170 PASS createDocument test: characterSet aliases for "http://example.com/","XMLNS:
foo",null | |
171 PASS createDocument test: "http://example.com/","xmlfoo:bar",null,null | |
172 PASS createDocument test: metadata for "http://example.com/","xmlfoo:bar",null | |
173 PASS createDocument test: characterSet aliases for "http://example.com/","xmlfoo
:bar",null | |
174 FAIL createDocument test: "http://example.com/","prefix::local",null,"INVALID_CH
ARACTER_ERR" assert_throws: function "function () { document.implementation.crea
teDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError: F
ailed to execute 'createDocument' on 'DOMImplementation': The qualified name pro
vided ('prefix::local') contains multiple colons." that is not a DOMException IN
VALID_CHARACTER_ERR: property "code" is equal to 14, expected 5 | |
175 PASS createDocument test: "http://example.com/","namespaceURI:{",null,"INVALID_C
HARACTER_ERR" | |
176 PASS createDocument test: "http://example.com/","namespaceURI:}",null,"INVALID_C
HARACTER_ERR" | |
177 PASS createDocument test: "http://example.com/","namespaceURI:~",null,"INVALID_C
HARACTER_ERR" | |
178 PASS createDocument test: "http://example.com/","namespaceURI:'",null,"INVALID_C
HARACTER_ERR" | |
179 PASS createDocument test: "http://example.com/","namespaceURI:!",null,"INVALID_C
HARACTER_ERR" | |
180 PASS createDocument test: "http://example.com/","namespaceURI:@",null,"INVALID_C
HARACTER_ERR" | |
181 PASS createDocument test: "http://example.com/","namespaceURI:#",null,"INVALID_C
HARACTER_ERR" | |
182 PASS createDocument test: "http://example.com/","namespaceURI:$",null,"INVALID_C
HARACTER_ERR" | |
183 PASS createDocument test: "http://example.com/","namespaceURI:%",null,"INVALID_C
HARACTER_ERR" | |
184 PASS createDocument test: "http://example.com/","namespaceURI:^",null,"INVALID_C
HARACTER_ERR" | |
185 PASS createDocument test: "http://example.com/","namespaceURI:&",null,"INVALID_C
HARACTER_ERR" | |
186 PASS createDocument test: "http://example.com/","namespaceURI:*",null,"INVALID_C
HARACTER_ERR" | |
187 PASS createDocument test: "http://example.com/","namespaceURI:(",null,"INVALID_C
HARACTER_ERR" | |
188 PASS createDocument test: "http://example.com/","namespaceURI:)",null,"INVALID_C
HARACTER_ERR" | |
189 PASS createDocument test: "http://example.com/","namespaceURI:+",null,"INVALID_C
HARACTER_ERR" | |
190 PASS createDocument test: "http://example.com/","namespaceURI:=",null,"INVALID_C
HARACTER_ERR" | |
191 PASS createDocument test: "http://example.com/","namespaceURI:[",null,"INVALID_C
HARACTER_ERR" | |
192 PASS createDocument test: "http://example.com/","namespaceURI:]",null,"INVALID_C
HARACTER_ERR" | |
193 PASS createDocument test: "http://example.com/","namespaceURI:\\",null,"INVALID_
CHARACTER_ERR" | |
194 PASS createDocument test: "http://example.com/","namespaceURI:/",null,"INVALID_C
HARACTER_ERR" | |
195 PASS createDocument test: "http://example.com/","namespaceURI:;",null,"INVALID_C
HARACTER_ERR" | |
196 PASS createDocument test: "http://example.com/","namespaceURI:`",null,"INVALID_C
HARACTER_ERR" | |
197 PASS createDocument test: "http://example.com/","namespaceURI:<",null,"INVALID_C
HARACTER_ERR" | |
198 PASS createDocument test: "http://example.com/","namespaceURI:>",null,"INVALID_C
HARACTER_ERR" | |
199 PASS createDocument test: "http://example.com/","namespaceURI:,",null,"INVALID_C
HARACTER_ERR" | |
200 PASS createDocument test: "http://example.com/","namespaceURI:a ",null,"INVALID_
CHARACTER_ERR" | |
201 PASS createDocument test: "http://example.com/","namespaceURI:\"",null,"INVALID_
CHARACTER_ERR" | |
202 PASS createDocument test: "/","foo",null,null | |
203 PASS createDocument test: metadata for "/","foo",null | |
204 PASS createDocument test: characterSet aliases for "/","foo",null | |
205 PASS createDocument test: "/","1foo",null,"INVALID_CHARACTER_ERR" | |
206 PASS createDocument test: "/","f1oo",null,null | |
207 PASS createDocument test: metadata for "/","f1oo",null | |
208 PASS createDocument test: characterSet aliases for "/","f1oo",null | |
209 PASS createDocument test: "/","foo1",null,null | |
210 PASS createDocument test: metadata for "/","foo1",null | |
211 PASS createDocument test: characterSet aliases for "/","foo1",null | |
212 FAIL createDocument test: "/",":foo",null,"INVALID_CHARACTER_ERR" assert_throws:
function "function () { document.implementation.createDocument(namespace, quali
fiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDoc
ument' on 'DOMImplementation': The qualified name provided (':foo') has an empty
namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: property "
code" is equal to 14, expected 5 | |
213 PASS createDocument test: "/","f:oo",null,null | |
214 PASS createDocument test: metadata for "/","f:oo",null | |
215 PASS createDocument test: characterSet aliases for "/","f:oo",null | |
216 FAIL createDocument test: "/","foo:",null,"INVALID_CHARACTER_ERR" assert_throws:
function "function () { document.implementation.createDocument(namespace, quali
fiedName, doctype) }" threw object "NamespaceError: Failed to execute 'createDoc
ument' on 'DOMImplementation': The qualified name provided ('foo:') has an empty
local name." that is not a DOMException INVALID_CHARACTER_ERR: property "code"
is equal to 14, expected 5 | |
217 PASS createDocument test: "/","xml",null,null | |
218 PASS createDocument test: metadata for "/","xml",null | |
219 PASS createDocument test: characterSet aliases for "/","xml",null | |
220 PASS createDocument test: "/","xmlns",null,"NAMESPACE_ERR" | |
221 PASS createDocument test: "/","xmlfoo",null,null | |
222 PASS createDocument test: metadata for "/","xmlfoo",null | |
223 PASS createDocument test: characterSet aliases for "/","xmlfoo",null | |
224 PASS createDocument test: "/","xml:foo",null,"NAMESPACE_ERR" | |
225 PASS createDocument test: "/","xmlns:foo",null,"NAMESPACE_ERR" | |
226 PASS createDocument test: "/","xmlfoo:bar",null,null | |
227 PASS createDocument test: metadata for "/","xmlfoo:bar",null | |
228 PASS createDocument test: characterSet aliases for "/","xmlfoo:bar",null | |
229 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo",null,null
| |
230 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","f
oo",null | |
231 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","foo",null | |
232 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","1foo",null,"IN
VALID_CHARACTER_ERR" | |
233 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","f1oo",null,nul
l | |
234 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","f
1oo",null | |
235 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","f1oo",null | |
236 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","foo1",null,nul
l | |
237 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","f
oo1",null | |
238 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","foo1",null | |
239 FAIL createDocument test: "http://www.w3.org/XML/1998/namespace",":foo",null,"IN
VALID_CHARACTER_ERR" assert_throws: function "function () { document.implementat
ion.createDocument(namespace, qualifiedName, doctype) }" threw object "Namespace
Error: Failed to execute 'createDocument' on 'DOMImplementation': The qualified
name provided (':foo') has an empty namespace prefix." that is not a DOMExceptio
n INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5 | |
240 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","f:oo",null,nul
l | |
241 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","f
:oo",null | |
242 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","f:oo",null | |
243 FAIL createDocument test: "http://www.w3.org/XML/1998/namespace","foo:",null,"IN
VALID_CHARACTER_ERR" assert_throws: function "function () { document.implementat
ion.createDocument(namespace, qualifiedName, doctype) }" threw object "Namespace
Error: Failed to execute 'createDocument' on 'DOMImplementation': The qualified
name provided ('foo:') has an empty local name." that is not a DOMException INVA
LID_CHARACTER_ERR: property "code" is equal to 14, expected 5 | |
244 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xml",null,null
| |
245 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","x
ml",null | |
246 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","xml",null | |
247 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xmlns",null,"N
AMESPACE_ERR" | |
248 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xmlfoo",null,n
ull | |
249 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","x
mlfoo",null | |
250 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","xmlfoo",null | |
251 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xml:foo",null,
null | |
252 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","x
ml:foo",null | |
253 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","xml:foo",null | |
254 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xmlns:foo",nul
l,"NAMESPACE_ERR" | |
255 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",nu
ll,null | |
256 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace","x
mlfoo:bar",null | |
257 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","xmlfoo:bar",null | |
258 PASS createDocument test: "http://www.w3.org/XML/1998/namespaces","xml:foo",null
,"NAMESPACE_ERR" | |
259 PASS createDocument test: "http://www.w3.org/xml/1998/namespace","xml:foo",null,
"NAMESPACE_ERR" | |
260 PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo",null,"NAMESPACE_
ERR" | |
261 PASS createDocument test: "http://www.w3.org/2000/xmlns/","1foo",null,"INVALID_C
HARACTER_ERR" | |
262 PASS createDocument test: "http://www.w3.org/2000/xmlns/","f1oo",null,"NAMESPACE
_ERR" | |
263 PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo1",null,"NAMESPACE
_ERR" | |
264 FAIL createDocument test: "http://www.w3.org/2000/xmlns/",":foo",null,"INVALID_C
HARACTER_ERR" assert_throws: function "function () { document.implementation.cre
ateDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError:
Failed to execute 'createDocument' on 'DOMImplementation': The qualified name pr
ovided (':foo') has an empty namespace prefix." that is not a DOMException INVAL
ID_CHARACTER_ERR: property "code" is equal to 14, expected 5 | |
265 PASS createDocument test: "http://www.w3.org/2000/xmlns/","f:oo",null,"NAMESPACE
_ERR" | |
266 FAIL createDocument test: "http://www.w3.org/2000/xmlns/","foo:",null,"INVALID_C
HARACTER_ERR" assert_throws: function "function () { document.implementation.cre
ateDocument(namespace, qualifiedName, doctype) }" threw object "NamespaceError:
Failed to execute 'createDocument' on 'DOMImplementation': The qualified name pr
ovided ('foo:') has an empty local name." that is not a DOMException INVALID_CHA
RACTER_ERR: property "code" is equal to 14, expected 5 | |
267 PASS createDocument test: "http://www.w3.org/2000/xmlns/","xml",null,"NAMESPACE_
ERR" | |
268 PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlns",null,null | |
269 PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/","xmlns",n
ull | |
270 PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/xmlns
/","xmlns",null | |
271 PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlfoo",null,"NAMESPA
CE_ERR" | |
272 PASS createDocument test: "http://www.w3.org/2000/xmlns/","xml:foo",null,"NAMESP
ACE_ERR" | |
273 PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlns:foo",null,null | |
274 PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/","xmlns:fo
o",null | |
275 PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/xmlns
/","xmlns:foo",null | |
276 PASS createDocument test: "http://www.w3.org/2000/xmlns/","xmlfoo:bar",null,"NAM
ESPACE_ERR" | |
277 PASS createDocument test: "http://www.w3.org/2000/xmlns/","foo:xmlns",null,"NAME
SPACE_ERR" | |
278 PASS createDocument test: "foo:","foo",null,null | |
279 PASS createDocument test: metadata for "foo:","foo",null | |
280 PASS createDocument test: characterSet aliases for "foo:","foo",null | |
281 PASS createDocument test: "foo:","1foo",null,"INVALID_CHARACTER_ERR" | |
282 PASS createDocument test: "foo:","f1oo",null,null | |
283 PASS createDocument test: metadata for "foo:","f1oo",null | |
284 PASS createDocument test: characterSet aliases for "foo:","f1oo",null | |
285 PASS createDocument test: "foo:","foo1",null,null | |
286 PASS createDocument test: metadata for "foo:","foo1",null | |
287 PASS createDocument test: characterSet aliases for "foo:","foo1",null | |
288 FAIL createDocument test: "foo:",":foo",null,"INVALID_CHARACTER_ERR" assert_thro
ws: function "function () { document.implementation.createDocument(namespace, qu
alifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'create
Document' on 'DOMImplementation': The qualified name provided (':foo') has an em
pty namespace prefix." that is not a DOMException INVALID_CHARACTER_ERR: propert
y "code" is equal to 14, expected 5 | |
289 PASS createDocument test: "foo:","f:oo",null,null | |
290 PASS createDocument test: metadata for "foo:","f:oo",null | |
291 PASS createDocument test: characterSet aliases for "foo:","f:oo",null | |
292 FAIL createDocument test: "foo:","foo:",null,"INVALID_CHARACTER_ERR" assert_thro
ws: function "function () { document.implementation.createDocument(namespace, qu
alifiedName, doctype) }" threw object "NamespaceError: Failed to execute 'create
Document' on 'DOMImplementation': The qualified name provided ('foo:') has an em
pty local name." that is not a DOMException INVALID_CHARACTER_ERR: property "cod
e" is equal to 14, expected 5 | |
293 PASS createDocument test: "foo:","xml",null,null | |
294 PASS createDocument test: metadata for "foo:","xml",null | |
295 PASS createDocument test: characterSet aliases for "foo:","xml",null | |
296 PASS createDocument test: "foo:","xmlns",null,"NAMESPACE_ERR" | |
297 PASS createDocument test: "foo:","xmlfoo",null,null | |
298 PASS createDocument test: metadata for "foo:","xmlfoo",null | |
299 PASS createDocument test: characterSet aliases for "foo:","xmlfoo",null | |
300 PASS createDocument test: "foo:","xml:foo",null,"NAMESPACE_ERR" | |
301 PASS createDocument test: "foo:","xmlns:foo",null,"NAMESPACE_ERR" | |
302 PASS createDocument test: "foo:","xmlfoo:bar",null,null | |
303 PASS createDocument test: metadata for "foo:","xmlfoo:bar",null | |
304 PASS createDocument test: characterSet aliases for "foo:","xmlfoo:bar",null | |
305 PASS createDocument test: null,null,false,object "TypeError" | |
306 PASS createDocument test: null,"",null,null | |
307 PASS createDocument test: metadata for null,"",null | |
308 PASS createDocument test: characterSet aliases for null,"",null | |
309 PASS createDocument test: undefined,null,undefined,null | |
310 PASS createDocument test: metadata for undefined,null,undefined | |
311 PASS createDocument test: characterSet aliases for undefined,null,undefined | |
312 PASS createDocument test: undefined,undefined,undefined,null | |
313 PASS createDocument test: metadata for undefined,undefined,undefined | |
314 PASS createDocument test: characterSet aliases for undefined,undefined,undefined
| |
315 PASS createDocument test: undefined,"",undefined,null | |
316 PASS createDocument test: metadata for undefined,"",undefined | |
317 PASS createDocument test: characterSet aliases for undefined,"",undefined | |
318 PASS createDocument test: "http://example.com/",null,null,null | |
319 PASS createDocument test: metadata for "http://example.com/",null,null | |
320 PASS createDocument test: characterSet aliases for "http://example.com/",null,nu
ll | |
321 PASS createDocument test: "http://example.com/","",null,null | |
322 PASS createDocument test: metadata for "http://example.com/","",null | |
323 PASS createDocument test: characterSet aliases for "http://example.com/","",null
| |
324 PASS createDocument test: "/",null,null,null | |
325 PASS createDocument test: metadata for "/",null,null | |
326 PASS createDocument test: characterSet aliases for "/",null,null | |
327 PASS createDocument test: "/","",null,null | |
328 PASS createDocument test: metadata for "/","",null | |
329 PASS createDocument test: characterSet aliases for "/","",null | |
330 PASS createDocument test: "http://www.w3.org/XML/1998/namespace",null,null,null | |
331 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace",nu
ll,null | |
332 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace",null,null | |
333 PASS createDocument test: "http://www.w3.org/XML/1998/namespace","",null,null | |
334 PASS createDocument test: metadata for "http://www.w3.org/XML/1998/namespace",""
,null | |
335 PASS createDocument test: characterSet aliases for "http://www.w3.org/XML/1998/n
amespace","",null | |
336 PASS createDocument test: "http://www.w3.org/2000/xmlns/",null,null,null | |
337 PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/",null,null
| |
338 PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/xmlns
/",null,null | |
339 PASS createDocument test: "http://www.w3.org/2000/xmlns/","",null,null | |
340 PASS createDocument test: metadata for "http://www.w3.org/2000/xmlns/","",null | |
341 PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/xmlns
/","",null | |
342 PASS createDocument test: "foo:",null,null,null | |
343 PASS createDocument test: metadata for "foo:",null,null | |
344 PASS createDocument test: characterSet aliases for "foo:",null,null | |
345 PASS createDocument test: "foo:","",null,null | |
346 PASS createDocument test: metadata for "foo:","",null | |
347 PASS createDocument test: characterSet aliases for "foo:","",null | |
348 PASS createDocument test: null,null,DocumentType node <!DOCTYPE foo>,null | |
349 PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE foo
> | |
350 PASS createDocument test: characterSet aliases for null,null,DocumentType node <
!DOCTYPE foo> | |
351 PASS createDocument test: null,null,DocumentType node <!DOCTYPE html>,null | |
352 PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE htm
l> | |
353 PASS createDocument test: characterSet aliases for null,null,DocumentType node <
!DOCTYPE html> | |
354 PASS createDocument test: null,null,DocumentType node <!DOCTYPE bar>,null | |
355 PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE bar
> | |
356 PASS createDocument test: characterSet aliases for null,null,DocumentType node <
!DOCTYPE bar> | |
357 PASS createDocument test: null,null,DocumentType node <!DOCTYPE baz>,null | |
358 PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE baz
> | |
359 PASS createDocument test: characterSet aliases for null,null,DocumentType node <
!DOCTYPE baz> | |
360 PASS createDocument test: null,null,DocumentType node <!DOCTYPE quz>,null | |
361 PASS createDocument test: metadata for null,null,DocumentType node <!DOCTYPE quz
> | |
362 PASS createDocument test: characterSet aliases for null,null,DocumentType node <
!DOCTYPE quz> | |
363 PASS createDocument test: null,"foo",DocumentType node <!DOCTYPE foo>,null | |
364 PASS createDocument test: metadata for null,"foo",DocumentType node <!DOCTYPE fo
o> | |
365 PASS createDocument test: characterSet aliases for null,"foo",DocumentType node
<!DOCTYPE foo> | |
366 PASS createDocument test: "foo",null,DocumentType node <!DOCTYPE foo>,null | |
367 PASS createDocument test: metadata for "foo",null,DocumentType node <!DOCTYPE fo
o> | |
368 PASS createDocument test: characterSet aliases for "foo",null,DocumentType node
<!DOCTYPE foo> | |
369 PASS createDocument test: "foo","bar",DocumentType node <!DOCTYPE foo>,null | |
370 PASS createDocument test: metadata for "foo","bar",DocumentType node <!DOCTYPE f
oo> | |
371 PASS createDocument test: characterSet aliases for "foo","bar",DocumentType node
<!DOCTYPE foo> | |
372 PASS createDocument test: "http://www.w3.org/1999/xhtml","",null,null | |
373 PASS createDocument test: metadata for "http://www.w3.org/1999/xhtml","",null | |
374 PASS createDocument test: characterSet aliases for "http://www.w3.org/1999/xhtml
","",null | |
375 PASS createDocument test: "http://www.w3.org/2000/svg","",null,null | |
376 PASS createDocument test: metadata for "http://www.w3.org/2000/svg","",null | |
377 PASS createDocument test: characterSet aliases for "http://www.w3.org/2000/svg",
"",null | |
378 PASS createDocument test: "http://www.w3.org/1998/Math/MathML","",null,null | |
379 PASS createDocument test: metadata for "http://www.w3.org/1998/Math/MathML","",n
ull | |
380 PASS createDocument test: characterSet aliases for "http://www.w3.org/1998/Math/
MathML","",null | |
381 PASS createDocument test: null,"html",null,null | |
382 PASS createDocument test: metadata for null,"html",null | |
383 PASS createDocument test: characterSet aliases for null,"html",null | |
384 PASS createDocument test: null,"svg",null,null | |
385 PASS createDocument test: metadata for null,"svg",null | |
386 PASS createDocument test: characterSet aliases for null,"svg",null | |
387 PASS createDocument test: null,"math",null,null | |
388 PASS createDocument test: metadata for null,"math",null | |
389 PASS createDocument test: characterSet aliases for null,"math",null | |
390 PASS createDocument test: null,"",DocumentType node <!DOCTYPE html -//W3C//DTD X
HTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt
d> | |
391 PASS createDocument test: null,"",DocumentType node <!DOCTYPE svg -//W3C//DTD SV
G 1.1//EN http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd> | |
392 PASS createDocument test: null,"",DocumentType node <!DOCTYPE math -//W3C//DTD M
athML 2.0//EN http://www.w3.org/Math/DTD/mathml2/mathml2.dtd> | |
393 PASS createDocument with missing arguments | |
394 Harness: the test ran to completion. | |
395 | |
OLD | NEW |