valRecord target is correct");
  assert_equals(removalRecord.removedNodes[0], target, "removedNodes contains the moved node");
  assert_equals(insertionRecord.target, newParent, "insertionRecord target is correct");
  assert_equals(insertionRecord.addedNodes[0], target, "addedNodes contains the moved node");
  observer.disconnect();
}

promise_test(async t => {
  await runTest(oldParent, target, newParent);
}, "[Connected move] MutationObserver removal + insertion is tracked by moveBefore()");

promise_test