Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassParsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test empty template
Asserts run
Pass
assert_not_equals(Element node <template id="tmpl"></template>, null, "Template element should not be null")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:26:5)
Pass
assert_not_equals(DocumentFragment node with 0 children, undefined, "Content attribute of template element should not be undefined")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:27:5)
Pass
assert_not_equals(DocumentFragment node with 0 children, null, "Content attribute of template element should not be null")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:29:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Wrong template node owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:32:5)
Pass
assert_not_equals(Document node with 0 children, Document node with 2 children, "Wrong template content owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:35:5)
Pass
assert_not_equals(Document node with 0 children, Document node with 2 children, "Wrong template content owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:36:5)
Pass
assert_equals(null, null, "Template content owner document should not have a browsing context")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:37:5)
PassParsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test not empty template
Asserts run
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Wrong template node owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:53:5)
Pass
assert_not_equals(Element node <template id="tmpl"><div xmlns="http://www.w3.org/1999/xh..., null, "Template element should not be null")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:56:5)
Pass
assert_not_equals(DocumentFragment node with 1 child, undefined, "Content attribute of template element should not be undefined")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:57:5)
Pass
assert_not_equals(DocumentFragment node with 1 child, null, "Content attribute of template element should not be null")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:59:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Wrong DIV node owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:63:5)
PassParsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test nested templates
Asserts run
Pass
assert_not_equals(Element node <template id="tmpl"><div xmlns="http://www.w3.org/1999/xh..., null, "Template element should not be null")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:80:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Wrong template node owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:81:5)
Pass
assert_not_equals(DocumentFragment node with 3 children, undefined, "Content attribute of template element should not be undefined")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:82:5)
Pass
assert_not_equals(DocumentFragment node with 3 children, null, "Content attribute of template element should not be null")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:84:5)
Pass
assert_not_equals(Element node <template id="tmpl2"><div xmlns="http://www.w3.org/1999/x..., null, "Nested template element should not be null")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:88:5)
Pass
assert_not_equals(DocumentFragment node with 1 child, undefined, "Content attribute of nested template element should not be undefined")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:89:5)
Pass
assert_not_equals(DocumentFragment node with 1 child, null, "Content attribute of nested template element should not be null")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:91:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Wrong nested template node owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:94:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Wrong DIV node owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:99:5)
PassParsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test loading XHTML document from a file
Asserts run
Pass
assert_true(true, "Failed to create new rendered document")
    at newIFrame ( /html/resources/common.js:97:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Wrong template node owner document")
    at  /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:112:5
Pass
assert_not_equals(DocumentFragment node with 5 children, undefined, "Content attribute of template element should not be undefined")
    at  /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:114:5
Pass
assert_not_equals(DocumentFragment node with 5 children, null, "Content attribute of template element should not be null")
    at  /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:116:5
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Wrong DIV node owner document")
    at  /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:120:5
PassParsing XHTML: Node's node document must be set to that of the element to which it will be appended. Test loading of XHTML document with nested templates from a file
Asserts run
Pass
assert_true(true, "Failed to create new rendered document")
    at newIFrame ( /html/resources/common.js:97:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Wrong template node owner document")
    at  /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:133:5
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Wrong template node owner document")
    at  /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:137:5
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Wrong DIV node owner document")
    at  /html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:141:5