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
      
      const annotationStorage = new Map(
      const data = await annotation.save(
        partialEvaluator,
        task,
        annotationStorage
      
      expect(data).toEqual(null
    }
    it("should handle push buttons", async function () {
      const buttonWidgetRef = Ref.get(124, 0
      buttonWidgetDict.set("Ff", AnnotationFieldFlag.PUSHBUTTON
      const actionDict = new Dict(
      actionDict.set("S", Name.get("JavaScript")
      actionDict.set("JS", "do_something("
      buttonWidgetDict.set("A", actionDict
      const xref = new XRefMock([
        { ref: buttonWidgetRef, data: buttonWidgetDict },
      ]
      const { data } = await AnnotationFactory.create(
        xref,
        buttonWidgetRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toEqual(AnnotationType.WIDGET
      expect(data.pushButton).toEqual(true
      expect(data.actions.Action).toEqual(["do_something("]