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(getQuadPoints(dict, rect)).toEqual(null
    }
    it("should ignore arrays where the length is not a multiple of eight", function () {
      dict.set("QuadPoints", [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
      expect(getQuadPoints(dict, rect)).toEqual(null
    }
    it("should ignore quadpoints if one coordinate lies outside the rectangle", function () {
      rect = [10, 10, 20, 20];
      const inputs = [
        [11, 11, 12, 12, 9, 13, 14, 14], 
        [11, 11, 12, 12, 13, 9, 14, 14], 
        [11, 11, 12, 12, 21, 13, 14, 14], 
        [11, 11, 12, 12, 13, 21, 14, 14], 
      ];
      for (const input of inputs) {
        dict.set("QuadPoints", input
        expect(getQuadPoints(dict, rect)).toEqual(null
      }
    }
    it("should process quadpoints in the standard order", function () {
      rect = [10, 10, 20, 20];
      dict.set(
        "QuadPoints",
        [10, 20, 20, 20, 10, 10, 20, 10, 11, 19, 19, 19, 11, 11, 19, 11]
      
      expect(getQuadPoints(dict, rect)).toEqual([
        [
          { x: 10, y: 20 },
          { x: 20, y: 20 },
          { x: 10, y: 10 },