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
```
}
  describe("AnnotationFactory", function () {
    it("should get id for annotation", async function () {
      const annotationDict = new Dict(
      annotationDict.set("Type", Name.get("Annot")
      annotationDict.set("Subtype", Name.get("Link")
      const annotationRef = Ref.get(10, 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.id).toEqual("10R"
    }
    it(
      "should handle, and get fallback IDs for, annotations that are not " +
        "indirect objects (issue 7569)",
      async function () {
        const annotationDict = new Dict(
        annotationDict.set("Type", Name.get("Annot")
        annotationDict.set("Subtype", Name.get("Link")
        const xref = new XRefMock(
        const idFactory = createIdFactory( 0
        const annotation1 = AnnotationFactory.create(
          xref,
          annotationDict,
          pdfManagerMock,