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.titleObj).toEqual({ str: "ReplyTitle", dir: "ltr" }
      expect(data.contentsObj).toEqual({ str: "ReplyText", dir: "ltr" }
      expect(data.creationDate).toEqual("D:20180523"
      expect(data.modificationDate).toEqual("D:20190523"
      expect(data.color).toEqual(new Uint8ClampedArray([102, 102, 102])
      expect(data.hasPopup).toEqual(false
    }
  }
  describe("TextAnnotation", function () {
    it("should not parse state model and state 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")
      annotationDict.set("Contents", "TestText"
      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
      replyDict.set("RT", Name.get("R")
      replyDict.set("Contents", "ReplyText"
      const xref = new XRefMock([
        { ref: annotationRef, data: annotationDict },
        { ref: replyRef, data: replyDict },
      ]
      annotationDict.assignXref(xref
      replyDict.assignXref(xref
      const { data } = await AnnotationFactory.create(
        xref,