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 
popupDict.assignXref(xref
      replyDict.assignXref(xref
      const { data } = await AnnotationFactory.create(
        xref,
        replyRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.inReplyTo).toEqual(annotationRef.toString()
      expect(data.replyType).toEqual("Group"
      expect(data.titleObj).toEqual({ str: "ParentTitle", dir: "ltr" }
      expect(data.contentsObj).toEqual({ str: "ParentText", dir: "ltr" }
      expect(data.creationDate).toEqual("D:20180423"
      expect(data.modificationDate).toEqual("D:20190423"
      expect(data.color).toEqual(new Uint8ClampedArray([0, 0, 255])
      expect(data.hasPopup).toEqual(true
    }
    it("should parse IRT/RT for a reply type", async function () {
      const annotationRef = Ref.get(819, 0
      const annotationDict = new Dict(
      annotationDict.set("Type", Name.get("Annot")
      annotationDict.set("Subtype", Name.get("Text")
      annotationDict.set("T", "ParentTitle"
      annotationDict.set("Contents", "ParentText"
      annotationDict.set("CreationDate", "D:20180423"
      annotationDict.set("M", "D:20190423"
      annotationDict.set("C", [0, 0, 1]
      const popupRef = Ref.get(820, 0
      const popupDict = new Dict(
      popupDict.set("Type", Name.get("Annot")