LookupNamespaceURI and IsDefaultNamespace

Summary

Harness status: OK

Found 75 tests

Details

ResultTest NameMessage
PassDocumentFragment should have null namespace, prefix null
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentFragment should have null namespace, prefix ""
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentFragment should have null namespace, prefix "foo"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentFragment should have null namespace, prefix "xml"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentFragment should have null namespace, prefix "xmlns"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentFragment is in default namespace, prefix null
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocumentFragment is in default namespace, prefix ""
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocumentFragment is in default namespace, prefix "foo"
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocumentFragment is in default namespace, prefix "xmlns"
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocumentType should have null namespace, prefix null
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentType should have null namespace, prefix ""
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentType should have null namespace, prefix "foo"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentType should have null namespace, prefix "xml"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentType should have null namespace, prefix "xmlns"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocumentType is in default namespace, prefix null
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocumentType is in default namespace, prefix ""
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocumentType is in default namespace, prefix "foo"
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocumentType is in default namespace, prefix "xmlns"
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassElement should have null namespace, prefix null
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassElement should have null namespace, prefix ""
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassElement should not have namespace matching prefix with namespaceURI value
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassElement should have XML namespace
Asserts run
Pass
assert_equals("http://www.w3.org/XML/1998/namespace", "http://www.w3.org/XML/1998/namespace")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassElement should have XMLNS namespace
Asserts run
Pass
assert_equals("http://www.w3.org/2000/xmlns/", "http://www.w3.org/2000/xmlns/")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassElement has namespace URI matching prefix
Asserts run
Pass
assert_equals("fooNamespace", "fooNamespace")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassEmpty namespace is not default, prefix null
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassEmpty namespace is not default, prefix ""
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassfooNamespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
Passxmlns namespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassElement should have baz namespace, prefix null
Asserts run
Pass
assert_equals("bazURI", "bazURI")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassElement should have baz namespace, prefix ""
Asserts run
Pass
assert_equals("bazURI", "bazURI")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassElement should have namespace with xmlns prefix
Asserts run
Pass
assert_equals("http://www.w3.org/2000/xmlns/", "http://www.w3.org/2000/xmlns/")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassElement has bar namespace
Asserts run
Pass
assert_equals("barURI", "barURI")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassEmpty namespace is not default on fooElem, prefix null
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassEmpty namespace is not default on fooElem, prefix ""
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
Passbar namespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
Passbaz namespace is default
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassComment should inherit baz namespace
Asserts run
Pass
assert_equals("bazURI", "bazURI")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassComment should inherit baz namespace
Asserts run
Pass
assert_equals("bazURI", "bazURI")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassComment should inherit namespace URI matching prefix
Asserts run
Pass
assert_equals("fooNamespace", "fooNamespace")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassComment should inherit bar namespace
Asserts run
Pass
assert_equals("barURI", "barURI")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassFor comment, empty namespace is not default, prefix null
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor comment, empty namespace is not default, prefix ""
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor comment, fooNamespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor comment, xmlns namespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor comment, inherited bar namespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor comment, inherited baz namespace is default
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassChild element should inherit baz namespace
Asserts run
Pass
assert_equals("childNamespace", "childNamespace")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassChild element should have null namespace
Asserts run
Pass
assert_equals("childNamespace", "childNamespace")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassChild element should have XMLNS namespace
Asserts run
Pass
assert_equals("http://www.w3.org/2000/xmlns/", "http://www.w3.org/2000/xmlns/")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassChild element has namespace URI matching prefix
Asserts run
Pass
assert_equals("fooNamespace", "fooNamespace")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassEmpty namespace is not default for child, prefix null
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassEmpty namespace is not default for child, prefix ""
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassfooNamespace is not default for child
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
Passxmlns namespace is not default for child
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
Passbar namespace is not default for child
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
Passbaz namespace is default for child
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PasschildNamespace is default for child
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocument should have xhtml namespace, prefix null
Asserts run
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocument should have xhtml namespace, prefix ""
Asserts run
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocument has no namespace URI matching prefix
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocument has bar namespace
Asserts run
Pass
assert_equals("barURI", "barURI")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassFor document, empty namespace is not default, prefix null
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor document, empty namespace is not default, prefix ""
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor document, fooNamespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor document, xmlns namespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor document, bar namespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor document, baz namespace is not default
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassFor document, xhtml namespace is default
Asserts run
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:20:5)
PassDocument without documentElement has no namespace URI matching "xml"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDocument without documentElement has no namespace URI matching "xmlns"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDisconnected Attr has no namespace URI matching "xml"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassDisconnected Attr has no namespace URI matching "xmlns"
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassConnected Attr has namespace URI matching "xml"
Asserts run
Pass
assert_equals("http://www.w3.org/XML/1998/namespace", "http://www.w3.org/XML/1998/namespace")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassConnected Attr no namespace URI matching "xmlns"
Asserts run
Pass
assert_equals("http://www.w3.org/2000/xmlns/", "http://www.w3.org/2000/xmlns/")
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)
PassComment does not have bar namespace
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /dom/nodes/Node-lookupNamespaceURI.html:14:5)