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 
idFactoryMock
        
        expect(data.annotationType).toEqual(AnnotationType.LINK
        expect(data.url).toEqual(
          "http://www.example.com/0013/001346/134685E.pdf#4.3"
        
        expect(data.unsafeUrl).toEqual("../../0013/001346/134685E.pdf#4.3"
        expect(data.dest).toBeUndefined(
      }
    
    it("should correctly parse a GoToR action, with named destination", async function () {
      const actionDict = new Dict(
      actionDict.set("Type", Name.get("Action")
      actionDict.set("S", Name.get("GoToR")
      actionDict.set("F", "http://www.example.com/test.pdf"
      actionDict.set("D", "15"
      const annotationDict = new Dict(
      annotationDict.set("Type", Name.get("Annot")
      annotationDict.set("Subtype", Name.get("Link")
      annotationDict.set("A", actionDict
      const annotationRef = Ref.get(495, 0
      const xref = new XRefMock([{ ref: annotationRef, data: annotationDict }]
      const { data } = await AnnotationFactory.create(
        xref,
        annotationRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toEqual(AnnotationType.LINK
      expect(data.url).toEqual("http://www.example.com/test.pdf#15"