Summary

Harness status: OK

Found 35 tests

Details

ResultTest NameMessage
PassMust not throw INVALID_STATE_ERR for a detached node.
Asserts runNo asserts ran
PassMust throw TypeError when calling without arguments
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {                 range.createContextualFragment();         }")
    at Test.<anonymous> ( /domparsing/createContextualFragment.html:20:9)
PassSimple test with paragraphs
Asserts run
Pass
assert_true(true, "Unexpected result (collapsed Range)")
    at Test.<anonymous> ( /domparsing/createContextualFragment.html:42:9)
Pass
assert_true(true, "Unexpected result (Range ends in <script>)")
    at Test.<anonymous> ( /domparsing/createContextualFragment.html:48:9)
PassDon't auto-create <body> when applied to <html>
Asserts run
Pass
assert_true(true, "Unexpected result (collapsed Range)")
    at Test.<anonymous> ( /domparsing/createContextualFragment.html:64:9)
Pass
assert_true(true, "Unexpected result (Range ends in <head>)")
    at Test.<anonymous> ( /domparsing/createContextualFragment.html:70:9)
Pass<script>s should be run when appended to the document (but not before)
Asserts run
Pass
assert_false(false, "Sanity check")
    at Test.<anonymous> ( /domparsing/createContextualFragment.html:78:9)
Pass
assert_false(false, "Fragment created but not yet added to document, should not have run")
    at Test.<anonymous> ( /domparsing/createContextualFragment.html:82:9)
Pass
assert_true(true, "Fragment created and added to document, should run")
    at Test.<anonymous> ( /domparsing/createContextualFragment.html:84:9)
PasscreateContextualFragment should work even when the context is <area>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <base>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <basefont>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <bgsound>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <br>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <col>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <embed>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <frame>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <hr>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <img>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <input>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <keygen>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <link>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <meta>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <param>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <source>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <track>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <wbr>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <menuitem>
Asserts runNo asserts ran
PasscreateContextualFragment should work even when the context is <image>
Asserts runNo asserts ran
Pass<html> and <body> must work the same, 1
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
Pass<html> and <body> must work the same, 2
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
PassImplicit <body> creation
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
PassNamespace generally shouldn't matter
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
Pass<html> in a different namespace shouldn't be special
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
PassSVG namespace shouldn't be special
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
Passnull should be stringified
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
Passundefined should be stringified
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
PassText nodes shouldn't be special
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)
PassNon-Element parent should not be special
Asserts run
Pass
assert_true(true, "Results are supposed to be equivalent")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:137:9)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:142:17)
Pass
assert_equals(Document node with 2 children, Document node with 2 children, "ownerDocument must be set to that of the reference node")
    at Test.testEquivalence ( /domparsing/createContextualFragment.html:146:17)