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 
"should correctly parse a URI action, where the URI entry " +
        "has an incorrect encoding (bug 1122280)",
      async function () {
        const actionStream = new StringStream(
          "<<\n" +
            "/Type /Action\n" +
            "/S /URI\n" +
            "/URI (http://www.example.com/\\303\\274\\303\\266\\303\\244)\n" +
            ">>\n"
        
        const parser = new Parser({
          lexer: new Lexer(actionStream),
          xref: null,
        }
        const actionDict = parser.getObj(
        const annotationDict = new Dict(
        annotationDict.set("Type", Name.get("Annot")
        annotationDict.set("Subtype", Name.get("Link")
        annotationDict.set("A", actionDict
        const annotationRef = Ref.get(8, 0
        const xref = new XRefMock([
          { ref: annotationRef, data: annotationDict },
        ]
        const { data } = await AnnotationFactory.create(
          xref,
          annotationRef,
          pdfManagerMock,
          idFactoryMock
        
        expect(data.annotationType).toEqual(AnnotationType.LINK