 hideTarget.style.display = "none";
    editor.value = "new value";
    assert_equals(editor.value, "new value", "The value should be set properly");
  } finally {
    finalize(editor);
  }
}, `<${params.get("editor")}>.value = "new value" (without focus)`);

promise_test(async () => {
  const [hideTarget, editor] = init();
  try {
    editor.focus();
    hideTarget.style.display = "none";
    editor.value = "new value";
    assert_equals(editor.value, "new value", "The value should be set properly");
  } f