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 
describe("MarkupAnnotation", function () {
    let dict, ref;
    beforeAll(function () {
      dict = new Dict(
      ref = Ref.get(1, 0
    }
    afterAll(function () {
      dict = ref = null;
    }
    it("should set and get a valid creation date", function () {
      const markupAnnotation = new MarkupAnnotation({ dict, ref }
      markupAnnotation.setCreationDate("D:20190422"
      expect(markupAnnotation.creationDate).toEqual("D:20190422"
    }
    it("should not set and get an invalid creation date", function () {
      const markupAnnotation = new MarkupAnnotation({ dict, ref }
      markupAnnotation.setCreationDate(undefined
      expect(markupAnnotation.creationDate).toEqual(null
    }
    it("should not parse IRT/RT when not defined", async function () {
      dict.set("Type", Name.get("Annot")
      dict.set("Subtype", Name.get("Text")
      const xref = new XRefMock([{ ref, data: dict }]
      const { data } = await AnnotationFactory.create(
        xref,
        ref,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.inReplyTo).toBeUndefined(