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 
{ x: 10, y: 20 },
          { x: 20, y: 20 },
          { x: 10, y: 10 },
          { x: 20, y: 10 },
        ],
      ]
    }
    it("should set quadpoints to null when empty", async function () {
      const highlightDict = new Dict(
      highlightDict.set("Type", Name.get("Annot")
      highlightDict.set("Subtype", Name.get("Highlight")
      highlightDict.set("Rect", [10, 10, 20, 20]
      highlightDict.set("QuadPoints", []
      const highlightRef = Ref.get(121, 0
      const xref = new XRefMock([{ ref: highlightRef, data: highlightDict }]
      const { data } = await AnnotationFactory.create(
        xref,
        highlightRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toEqual(AnnotationType.HIGHLIGHT
      expect(data.quadPoints).toEqual(null
    }
  }
  describe("UnderlineAnnotation", function () {
    it("should set quadpoints to null if not defined", async function () {
      const underlineDict = new Dict(
      underlineDict.set("Type", Name.get("Annot")
      underlineDict.set("Subtype", Name.get("Underline")