The test file at https://github.com/mozilla/pdf.js/blob/master/test/pdfs/annotation-choice-widget.pdf contains listboxes, which are not rendered correctly when printed right now. These kinds of fields are made by https://github.com/mozilla/pdf.js/blob/master/src/display/annotation_layer.js#L672-L678.

/cc @calixteman 
pdfManagerMock,
            idFactoryMock
          ).then(({ data }) => {
            expect(data.annotationType).toEqual(AnnotationType.WIDGET
            const valid = invalidFieldFlags.length === 0;
            expect(data.comb).toEqual(valid
            
            if (!valid) {
              flags -= invalidFieldFlags.pop(
            }
          }
        }
      }
      await promise;
    }
    it("should render regular text for printing", async function () {
      const textWidgetRef = Ref.get(271, 0
      const xref = new XRefMock([
        { ref: textWidgetRef, data: textWidgetDict },
        helvRefObj,
      ]
      const task = new WorkerTask("test print"
      partialEvaluator.xref = xref;
      const annotation = await AnnotationFactory.create(
        xref,
        textWidgetRef,
        pdfManagerMock,
        idFactoryMock
      
      const annotationStorage = new Map(