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 
it("should handle missing /Subtype", async function () {
      const annotationDict = new Dict(
      annotationDict.set("Type", Name.get("Annot")
      const annotationRef = Ref.get(1, 0
      const xref = new XRefMock([{ ref: annotationRef, data: annotationDict }]
      const { data } = await AnnotationFactory.create(
        xref,
        annotationRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toBeUndefined(
    }
  }
  describe("getQuadPoints", function () {
    let dict, rect;
    beforeEach(function () {
      dict = new Dict(
      rect = [];
    }
    afterEach(function () {
      dict = null;
      rect = null;
    }
    it("should ignore missing quadpoints", function () {
      expect(getQuadPoints(dict, rect)).toEqual(null
    }
    it("should ignore non-array values", function () {
      dict.set("QuadPoints", "foo"