<!DOCTYPE html>
<title>Node.moveBefore custom element reactions</title>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<script>
;
</script>

<body>
  <section id="section"></section>
  <script>
    let index = 0;
    function unique_element_name() {
        return `ce-${++index}`;
    }
    promise_test(async t => {
        const ce = document.getElementById("ce");
        let reactions = [];
        const element_name = unique_eleme