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("PopupAnnotation", function () {
    it("should inherit properties from its parent", async function () {
      const parentDict = new Dict(
      parentDict.set("Type", Name.get("Annot")
      parentDict.set("Subtype", Name.get("Text")
      parentDict.set("M", "D:20190423"
      parentDict.set("C", [0, 0, 1]
      const popupDict = new Dict(
      popupDict.set("Type", Name.get("Annot")
      popupDict.set("Subtype", Name.get("Popup")
      popupDict.set("Parent", parentDict
      const popupRef = Ref.get(13, 0
      const xref = new XRefMock([{ ref: popupRef, data: popupDict }]
      const { data } = await AnnotationFactory.create(
        xref,
        popupRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toEqual(AnnotationType.POPUP
      expect(data.modificationDate).toEqual("D:20190423"
      expect(data.color).toEqual(new Uint8ClampedArray([0, 0, 255])
    }
    it("should handle missing parent properties", async function () {
      const parentDict = new Dict(
      parentDict.set("Type", Name.get("Annot")
      parentDict.set("Subtype", Name.get("Text")
      const popupDict = new Dict(
      popupDict.set("Type", Name.get("Annot")