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 
expect(data.replyType).toBeUndefined(
    }
    it("should parse IRT and set default RT when not defined", async function () {
      const annotationRef = Ref.get(819, 0
      const annotationDict = new Dict(
      annotationDict.set("Type", Name.get("Annot")
      annotationDict.set("Subtype", Name.get("Text")
      const replyRef = Ref.get(820, 0
      const replyDict = new Dict(
      replyDict.set("Type", Name.get("Annot")
      replyDict.set("Subtype", Name.get("Text")
      replyDict.set("IRT", annotationRef
      const xref = new XRefMock([
        { ref: annotationRef, data: annotationDict },
        { ref: replyRef, data: replyDict },
      ]
      annotationDict.assignXref(xref
      replyDict.assignXref(xref
      const { data } = await AnnotationFactory.create(
        xref,
        replyRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.inReplyTo).toEqual(annotationRef.toString()
      expect(data.replyType).toEqual("R"
    }
    it("should parse IRT/RT for a group type", async function () {
      const annotationRef = Ref.get(819, 0
      const annotationDict = new Dict(