mirror of
https://github.com/servo/servo.git
synced 2025-06-17 12:54:28 +00:00
Treat application/xml like text/xml in ParserContext::process_response
Update wpt
This commit is contained in:
parent
011e52f6ed
commit
53e518ea01
8 changed files with 8 additions and 648 deletions
|
@ -652,13 +652,11 @@ impl FetchResponseListener for ParserContext {
|
||||||
parser.parse_sync();
|
parser.parse_sync();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Some(ContentType(Mime(TopLevel::Text, SubLevel::Xml, _))) => {}, // Handle text/xml
|
Some(ContentType(Mime(TopLevel::Text, SubLevel::Xml, _))) | // Handle text/xml, application/xml
|
||||||
|
Some(ContentType(Mime(TopLevel::Application, SubLevel::Xml, _))) => {},
|
||||||
|
Some(ContentType(Mime(TopLevel::Application, SubLevel::Ext(ref sub), _)))
|
||||||
|
if sub.as_str() == "xhtml+xml".to_owned() => {}, // Handle xhtml (application/xhtml+xml)
|
||||||
Some(ContentType(Mime(toplevel, sublevel, _))) => {
|
Some(ContentType(Mime(toplevel, sublevel, _))) => {
|
||||||
if toplevel.as_str() == "application" && sublevel.as_str() == "xhtml+xml" {
|
|
||||||
// Handle xhtml (application/xhtml+xml).
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Show warning page for unknown mime types.
|
// Show warning page for unknown mime types.
|
||||||
let page = format!("<html><body><p>Unknown content type ({}/{}).</p></body></html>",
|
let page = format!("<html><body><p>Unknown content type ({}/{}).</p></body></html>",
|
||||||
toplevel.as_str(),
|
toplevel.as_str(),
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[Document-constructor-xml.xml]
|
[Document-constructor-xml.xml]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
expected: ERROR
|
||||||
|
|
|
@ -1,110 +1,5 @@
|
||||||
[Document-createElement.html]
|
[Document-createElement.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
[createElement(undefined) in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement(null) in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("f1oo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo1") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("fெ") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("fooெ") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement(":") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement(":foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("f:oo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo:") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("f:o:o") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("f::oo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("f::oo:") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo:0") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo:_") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo:ெ") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo:fooெ") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("fooெ:foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("xml") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("xmlns") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("xmlfoo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("xml:foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("xmlns:foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("xmlfoo:bar") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("svg") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("math") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("FOO") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("marK") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("İnput") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("ınput") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("1foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("1:foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("fo o") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("ெfoo") in HTML document]
|
[createElement("ெfoo") in HTML document]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -114,42 +9,6 @@
|
||||||
[createElement("ெfoo") in XHTML document]
|
[createElement("ெfoo") in XHTML document]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElement("}foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("f}oo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo}") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("\\ufffffoo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("f\\uffffoo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo\\uffff") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("<foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("foo>") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("<foo>") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("f<oo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("-foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement(".foo") in XML document]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElement("ெ") in HTML document]
|
[createElement("ெ") in HTML document]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,5 @@
|
||||||
[Document-createElementNS.html]
|
[Document-createElementNS.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
[createElementNS test in XML document: null,null,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,undefined,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"1foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"f1oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"foo1",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in HTML document: null,"ெfoo","INVALID_CHARACTER_ERR"]
|
[createElementNS test in HTML document: null,"ெfoo","INVALID_CHARACTER_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -27,54 +9,9 @@
|
||||||
[createElementNS test in XHTML document: null,"ெfoo","INVALID_CHARACTER_ERR"]
|
[createElementNS test in XHTML document: null,"ெfoo","INVALID_CHARACTER_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"}foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"f}oo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"foo}","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"\\ufffffoo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"f\\uffffoo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"foo\\uffff","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"<foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"foo>","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"<foo>","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"f<oo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"^^","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"fo o","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"-foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,".foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,":foo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: null,":foo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"f:oo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"foo:","NAMESPACE_ERR"]
|
[createElementNS test in XML document: null,"foo:","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -84,117 +21,24 @@
|
||||||
[createElementNS test in XML document: null,":","NAMESPACE_ERR"]
|
[createElementNS test in XML document: null,":","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"xml",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"xmlns","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"xmlfoo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"xml:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"xmlns:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"xmlfoo:bar","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"null:xml","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "",null,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "",":foo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "",":foo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "","f:oo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "","foo:","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "","foo:","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,null,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,undefined,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"1foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"f1oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"foo1",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,":foo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: undefined,":foo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"f:oo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"foo:","NAMESPACE_ERR"]
|
[createElementNS test in XML document: undefined,"foo:","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"f::oo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: undefined,"f::oo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"xml",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"xmlns","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"xmlfoo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"xml:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"xmlns:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"xmlfoo:bar","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","1foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","<foo>","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","fo<o","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","-foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/",".foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","f1oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","foo1",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/",":foo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "http://example.com/",":foo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","f:oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","f:o:o","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "http://example.com/","f:o:o","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -213,12 +57,6 @@
|
||||||
[createElementNS test in XHTML document: "http://example.com/","a:0","NAMESPACE_ERR"]
|
[createElementNS test in XHTML document: "http://example.com/","a:0","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","0:a","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","a:_",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in HTML document: "http://example.com/","a:ெ","NAMESPACE_ERR"]
|
[createElementNS test in HTML document: "http://example.com/","a:ெ","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -237,363 +75,33 @@
|
||||||
[createElementNS test in XHTML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR"]
|
[createElementNS test in XHTML document: "http://example.com/","ெ:a","INVALID_CHARACTER_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","a:aெ",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","aெ:a",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","xml:test","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","xmlns:test","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","test:xmlns",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","xmlns","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","_:_",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","_:h0",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","_:test",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","l_:_",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","ns:_0",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","ns:a0",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","ns0:test",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","a.b:c",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","a-b:c",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","xml",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","XMLNS",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","xmlfoo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","xml:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","XML:foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","xmlns:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","XMLNS:foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","xmlfoo:bar",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","prefix::local","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "http://example.com/","prefix::local","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:{","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:}","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:~","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:'","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:!","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:@","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:#","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:$","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:%","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:^","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:&","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:*","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:(","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:)","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:+","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:=","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:[","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:\]","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:\\\\","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:/","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:;","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:`","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:<","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:>","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:,","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:a ","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","namespaceURI:\\"","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","1foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","f1oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","foo1",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/",":foo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "/",":foo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","f:oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","foo:","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "/","foo:","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","xml",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","xmlns","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","xmlfoo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","xml:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","xmlns:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","xmlfoo:bar",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","1foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","f1oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo1",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",":foo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","f:oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","foo:","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xml",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xmlns","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xmlfoo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xml:foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xmlns:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","xmlfoo:bar",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespaces","xml:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/xml/1998/namespace","xml:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","1foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","f1oo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo1","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",":foo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","f:oo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xml","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xmlns",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xmlfoo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xml:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xmlns:foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","xmlfoo:bar","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","foo:xmlns","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","foo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","1foo","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","f1oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","foo1",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:",":foo","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "foo:",":foo","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","f:oo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","foo:","NAMESPACE_ERR"]
|
[createElementNS test in XML document: "foo:","foo:","NAMESPACE_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","xml",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","xmlns","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","xmlfoo",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","xml:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","xmlns:foo","NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","xmlfoo:bar",null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "","","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: null,"","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: undefined,"","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/",null,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://example.com/","","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/",null,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "/","","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace",null,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/XML/1998/namespace","","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/",null,"NAMESPACE_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "http://www.w3.org/2000/xmlns/","","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:",null,null]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in XML document: "foo:","","INVALID_CHARACTER_ERR"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[createElementNS test in HTML document: null,":foo","INVALID_CHARACTER_ERR"]
|
[createElementNS test in HTML document: null,":foo","INVALID_CHARACTER_ERR"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[Node-contains-xml.xml]
|
[Node-contains-xml.xml]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
expected: ERROR
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[Node-isEqualNode-xhtml.xhtml]
|
|
||||||
type: testharness
|
|
||||||
[isEqualNode should return true when only the internal subsets of DocumentTypes differ.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[getElementsByClassName-10.xml]
|
[getElementsByClassName-10.xml]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
expected: ERROR
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
[getElementsByClassName-11.xml]
|
[getElementsByClassName-11.xml]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
expected: ERROR
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue