<!DOCTYPE html>
<meta charset=utf-8>
<title>ParentNode.append</title>
<link rel=help href="https://dom.spec.whatwg.org/#dom-parentnode-append">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="pre-insertion-validation-hierarchy.js"></script>
<script>
preInsertionValidateHierarchy("append");

function test_append(node, nodeName) {
    test(function() {
        const parent = node.cloneNode();
        parent.append();
        assert_array_e