.body.append(outer);
        await Promise.resolve();
        reactions = [];
        document.getElementById("section").moveBefore(outer, null);
        await Promise.resolve();
        assert_array_equals(reactions, ["outer disconnected", "outer connected", "inner disconnected", "inner connected"]);
    }, "Reactions to atomic move are called in order of element, not in order of operation");

    promise_test(async t => {
        const ce = document.getElementById("ce");
        let reactions = [];
      