insert_adjacent_html-xhtml.xhtml

FAILExpected29 of 30 subtests pass351 ms

Details

Test
/domparsing/insert_adjacent_html-xhtml.xhtml
Harness
OK

Subtests

StatusSubtestMessage
PASSbeforeBegin content without next sibling
PASSAfterbegin content without next sibling
PASSBeforeEnd content without next sibling
PASSafterend content without next sibling
PASSbeforeBegin content again, with next sibling
PASSAfterbegin content again, with next sibling
PASSBeforeEnd content again, with next sibling
PASSafterend content again, with next sibling
PASSShould throw when inserting with invalid position string
PASSWhen the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (text)
PASSWhen the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (comments)
PASSWhen the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (elements)
PASSWhen the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (text)
PASSWhen the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (comments)
PASSWhen the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (elements)
PASSInserting after being and before end should order things correctly
PASSbeforeBegin child node not in tree but has parent
PASSAfterbegin child node not in tree but has parent
PASSBeforeEnd child node not in tree but has parent
PASSafterend child node not in tree but has parent
PASSShould not run script when appending things which have descendant <script> inserted via insertAdjacentHTML
PASSbeforeBegin content2 without next sibling
PASSAfterbegin content2 without next sibling
PASSBeforeEnd content2 without next sibling
PASSafterend content2 without next sibling
PASSbeforeBegin content2 test again, now that there's a next sibling
PASSAfterbegin content2 test again, now that there's a next sibling
PASSBeforeEnd content2 test again, now that there's a next sibling
PASSafterend content2 test again, now that there's a next sibling
FAILinsertAdjacentHTML in HTML
assert_throws_dom: function "function() {content.insertAdjacentHTML("beforeend", "<p>")}" did not throw
assert_throws_dom: function "function() {content.insertAdjacentHTML("beforeend", "<p>")}" did not throw