Summary

Harness status: OK

Found 6 tests

Details

ResultTest NameMessage
PassChanging of template element's node document. Test that ownerDocument of an empty template and its content changes
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/template-element/node-document-changes.html:21: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/template-element/node-document-changes.html:22:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Template node owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:29:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:31:5)
PassChanging of template element's node document. Test that ownerDocument of a not empty template and its content changes
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/template-element/node-document-changes.html:43: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/template-element/node-document-changes.html:45:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Template node owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:52:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:54:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content descendants owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:57:5)
PassChanging of template element's node document. Test that ownerDocument of nested template and its content changes
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/template-element/node-document-changes.html:73: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/template-element/node-document-changes.html:74: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/template-element/node-document-changes.html:79:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Wrong nested template content owner document")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:81:5)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Template node owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:88:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:90:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content descendants owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:92:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Nested template node owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:96:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Nested template content owner document should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:99:5)
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Owner document of the nested template content descendants should be changed")
    at Test.<anonymous> ( /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:102:5)
PassChanging of template element's node document. Test document loaded 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, "Template node owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:118:5
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:120:5
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content descendants owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:123:5
PassChanging of template element's node document. Adobt template element into a document that has a browsing context
Asserts run
Pass
assert_true(true, "Failed to create new rendered document")
    at newIFrame ( /html/resources/common.js:97:5)
Pass
assert_not_equals(Document node with 2 children, Document node with 2 children, "Template node owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:140:5
Pass
assert_not_equals(Document node with 0 children, Document node with 2 children, "Template content owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:142:5
Pass
assert_not_equals(Document node with 0 children, Document node with 2 children, "Template content descendants owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:144:5
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Template node owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:147:5
Pass
assert_not_equals(Document node with 0 children, Document node with 2 children, "Template content owner document should be a new document")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:150:5
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content descendants owner document should be template content document owner")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:152:5
PassChanging of template element's node document. Test the case when both old and new owner documents of template element have browsing context
Asserts run
Pass
assert_true(true, "Failed to create new rendered document")
    at newIFrame ( /html/resources/common.js:97:5)
Pass
assert_not_equals(Document node with 2 children, Document node with 2 children, "Template node owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:170:5
Pass
assert_not_equals(Document node with 0 children, Document node with 0 children, "Template content owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:172:5
Pass
assert_not_equals(Document node with 0 children, Document node with 0 children, "Template content descendants owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:174:5
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "Template node owner document should be changed")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:177:5
Pass
assert_not_equals(Document node with 0 children, Document node with 2 children, "Template content owner document should be a new document")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:180:5
Pass
assert_equals(Document node with 0 children, Document node with 0 children, "Template content descendants owner document should be template content document owner")
    at  /html/semantics/scripting-1/the-template-element/template-element/node-document-changes.html:182:5