Configuration:
- PDF.js version: 2.0.550

Steps to reproduce the problem:
1. Render document in SVG mode `renderMode="svg"`

What is the expected behavior? (add screenshot)
Rendering annotations same way as they rendered on canvas

What went wrong? (add screenshot)
```
Warning: Unimplemented operator beginAnnotations
Warning: Unimplemented operator endAnnotations
```
"white-listed formats",
      async function () {
        function checkJsAction(params) {
          const jsEntry = params.jsEntry;
          const expectedUrl = params.expectedUrl;
          const expectedUnsafeUrl = params.expectedUnsafeUrl;
          const expectedNewWindow = params.expectedNewWindow;
          const actionDict = new Dict(
          actionDict.set("Type", Name.get("Action")
          actionDict.set("S", Name.get("JavaScript")
          actionDict.set("JS", jsEntry
          const annotationDict = new Dict(
          annotationDict.set("Type", Name.get("Annot")
          annotationDict.set("Subtype", Name.get("Link")
          annotationDict.set("A", actionDict
          const annotationRef = Ref.get(46, 0
          const xref = new XRefMock([
            { ref: annotationRef, data: annotationDict },
          ]
          return AnnotationFactory.create(
            xref,
            annotationRef,
            pdfManagerMock,
            idFactoryMock
          ).then(({ data }) => {
            expect(data.annotationType).toEqual(AnnotationType.LINK
            expect(data.url).toEqual(expectedUrl
            expect(data.unsafeUrl).toEqual(expectedUnsafeUrl
            expect(data.dest).toBeUndefined(
            expect(data.newWindow).toEqual(expectedNewWindow