Attach (recommended) or Link to PDF file here:
[multiple.pdf](https://github.com/mozilla/pdf.js/files/6344777/multiple.pdf)

Steps to reproduce the problem:
1. Write something in a field

What is the expected behavior? (add screenshot)
The 3 fields must have the same value

What went wrong? (add screenshot)
The 2 other fields are empty

The three fields share the same name `Text3`.
It works as expected in Adobe and Chrome.
const name = event.target.name;
      for (const checkbox of document.getElementsByName(name)) {
        if (checkbox !== event.target) {
          checkbox.checked = false;
          storage.setValue(
            checkbox.parentNode.getAttribute("data-annotation-id"),
            { value: false }
          );
        }
      }
      storage.setValue(id, { value: event.target.checked });
    });
    if (this.enableScripting && this.hasJSActions) {
      element.addEventListener("updatefromsandbox", event => {
        const { detail } = event;
        const actions = {
          value() {
            event.target.checked = detail.value !== "Off";
            storage.setValue(id, { value: event.target.checked });
          },
          focus() {
            setTimeout(() => event.target.focus({ preventScroll: false }), 0);
          },
          hidden() {
            event.target.style.visibility = detail.hidden
              ? "hidden"
              : "visible";
            storage.setValue(id, { hidden: detail.hidden });
          },
          editable() {