Pass | beforeBegin content without next sibling | Asserts runPass | assert_equals("i", "i", "Should have had <i> as previous sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:18:5) | Pass | assert_equals("script", "script", "Should have had <script> as second previous child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:19:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:20:5) |
|
Pass | Afterbegin content without next sibling | Asserts runPass | assert_equals("b", "b", "Should have had <b> as first child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:26:5) | Pass | assert_equals("script", "script", "Should have had <script> as second child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:27:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:28:5) |
|
Pass | BeforeEnd content without next sibling | Asserts runPass | assert_equals("u", "u", "Should have had <u> as last child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:34:5) | Pass | assert_equals("script", "script", "Should have had <script> as penultimate child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:35:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:36:5) |
|
Pass | afterend content without next sibling | Asserts runPass | assert_equals("a", "a", "Should have had <a> as next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:42:5) | Pass | assert_equals("script", "script", "Should have had <script> as second next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:43:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:44:5) |
|
Pass | beforeBegin content again, with next sibling | Asserts runPass | assert_equals("i", "i", "Should have had <i> as previous sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:18:5) | Pass | assert_equals("script", "script", "Should have had <script> as second previous child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:19:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:20:5) |
|
Pass | Afterbegin content again, with next sibling | Asserts runPass | assert_equals("b", "b", "Should have had <b> as first child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:26:5) | Pass | assert_equals("script", "script", "Should have had <script> as second child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:27:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:28:5) |
|
Pass | BeforeEnd content again, with next sibling | Asserts runPass | assert_equals("u", "u", "Should have had <u> as last child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:34:5) | Pass | assert_equals("script", "script", "Should have had <script> as penultimate child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:35:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:36:5) |
|
Pass | afterend content again, with next sibling | Asserts runPass | assert_equals("a", "a", "Should have had <a> as next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:42:5) | Pass | assert_equals("script", "script", "Should have had <script> as second next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:43:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:44:5) |
|
Pass | Should throw when inserting with invalid position string | Asserts runPass | assert_throws_dom("SYNTAX_ERR", function "function() {content.insertAdjacentHTML("bar", "foo")}")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:53:3) | Pass | assert_throws_dom("SYNTAX_ERR", function "function() {content.insertAdjacentHTML("beforebegÄ°n", "foo")}")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:54:3) | Pass | assert_throws_dom("SYNTAX_ERR", function "function() {content.insertAdjacentHTML("beforebegın", "foo")}")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:55:3) |
|
Pass | When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (text) | Asserts runPass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("afterend", "") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:3:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("beforebegin", "") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:6:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("afterend", "foo") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:9:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("beforebegin", "foo") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:12:5) |
|
Pass | When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (comments) | Asserts runPass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("afterend", "<!-- fail -->") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:17:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("beforebegin", "<!-- fail -->") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:20:5) |
|
Pass | When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (elements) | Asserts runPass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("afterend", "<div></div>") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:25:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("beforebegin", "<div></div>") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:28:5) |
|
Pass | When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (text) | Asserts runPass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("afterend", "") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:3:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("beforebegin", "") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:6:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("afterend", "foo") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:9:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("beforebegin", "foo") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:12:5) |
|
Pass | When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (comments) | Asserts runPass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("afterend", "<!-- fail -->") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:17:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("beforebegin", "<!-- fail -->") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:20:5) |
|
Pass | When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (elements) | Asserts runPass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("afterend", "<div></div>") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:25:5) | Pass | assert_throws_dom("NO_MODIFICATION_ALLOWED_ERR", function "function() { element.insertAdjacentHTML("beforebegin", "<div></div>") }")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.js:28:5) |
|
Pass | Inserting after being and before end should order things correctly | Asserts runPass | assert_equals("foobar", "foobar")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:68:3) |
|
Pass | beforeBegin child node not in tree but has parent | Asserts runPass | assert_equals("i", "i", "Should have had <i> as previous sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:18:5) | Pass | assert_equals("script", "script", "Should have had <script> as second previous child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:19:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:20:5) |
|
Pass | Afterbegin child node not in tree but has parent | Asserts runPass | assert_equals("b", "b", "Should have had <b> as first child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:26:5) | Pass | assert_equals("script", "script", "Should have had <script> as second child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:27:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:28:5) |
|
Pass | BeforeEnd child node not in tree but has parent | Asserts runPass | assert_equals("u", "u", "Should have had <u> as last child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:34:5) | Pass | assert_equals("script", "script", "Should have had <script> as penultimate child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:35:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:36:5) |
|
Pass | afterend child node not in tree but has parent | Asserts runPass | assert_equals("a", "a", "Should have had <a> as next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:42:5) | Pass | assert_equals("script", "script", "Should have had <script> as second next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:43:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:44:5) |
|
Pass | Should not run script when appending things which have descendant <script> inserted via insertAdjacentHTML | Asserts runPass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:77:3) |
|
Pass | beforeBegin content2 without next sibling | Asserts runPass | assert_equals("i", "i", "Should have had <i> as previous sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:18:5) | Pass | assert_equals("script", "script", "Should have had <script> as second previous child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:19:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:20:5) |
|
Pass | Afterbegin content2 without next sibling | Asserts runPass | assert_equals("b", "b", "Should have had <b> as first child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:26:5) | Pass | assert_equals("script", "script", "Should have had <script> as second child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:27:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:28:5) |
|
Pass | BeforeEnd content2 without next sibling | Asserts runPass | assert_equals("u", "u", "Should have had <u> as last child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:34:5) | Pass | assert_equals("script", "script", "Should have had <script> as penultimate child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:35:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:36:5) |
|
Pass | afterend content2 without next sibling | Asserts runPass | assert_equals("a", "a", "Should have had <a> as next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:42:5) | Pass | assert_equals("script", "script", "Should have had <script> as second next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:43:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:44:5) |
|
Pass | beforeBegin content2 test again, now that there's a next sibling | Asserts runPass | assert_equals("i", "i", "Should have had <i> as previous sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:18:5) | Pass | assert_equals("script", "script", "Should have had <script> as second previous child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:19:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:20:5) |
|
Pass | Afterbegin content2 test again, now that there's a next sibling | Asserts runPass | assert_equals("b", "b", "Should have had <b> as first child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:26:5) | Pass | assert_equals("script", "script", "Should have had <script> as second child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:27:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:28:5) |
|
Pass | BeforeEnd content2 test again, now that there's a next sibling | Asserts runPass | assert_equals("u", "u", "Should have had <u> as last child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:34:5) | Pass | assert_equals("script", "script", "Should have had <script> as penultimate child")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:35:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:36:5) |
|
Pass | afterend content2 test again, now that there's a next sibling | Asserts runPass | assert_equals("a", "a", "Should have had <a> as next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:42:5) | Pass | assert_equals("script", "script", "Should have had <script> as second next sibling")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:43:5) | Pass | assert_false(false, "script should not have run")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:44:5) |
|
Pass | Inserting kids of the <html> element should not do weird things with implied <body>/<head> tags | Asserts runPass | assert_equals(1, 1, "Should still have one head")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:88:3) | Pass | assert_equals(1, 1, "Should still have one body")
at Test.<anonymous> ( /domparsing/insert_adjacent_html.html:89:3) |
|