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 
]
      const { data } = await AnnotationFactory.create(
        xref,
        buttonWidgetRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.url).toEqual("https://developer.mozilla.org/en-US/"
    }
    it("should handle URL in AA dict in push buttons", async function () {
      const buttonWidgetRef = Ref.get(124, 0
      buttonWidgetDict.set("Ff", AnnotationFieldFlag.PUSHBUTTON
      // D stands for MouseDown.
      const dDict = new Dict(
      dDict.set("S", Name.get("JavaScript")
      dDict.set(
        "JS",
        "app.launchURL('https://developer.mozilla.org/en-US/', true)"
      
      const actionDict = new Dict(
      actionDict.set("D", dDict
      buttonWidgetDict.set("AA", actionDict
      const xref = new XRefMock([
        { ref: buttonWidgetRef, data: buttonWidgetDict },
      ]
      const { data } = await AnnotationFactory.create(
        xref,
        buttonWidgetRef,
        pdfManagerMock,
        idFactoryMock