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
```
}
      }
    }
    ensureCatalog(prop, args) {
      return this.ensure(this.pdfDocument.catalog, prop, args
    }
    ensureDoc(prop, args) {
      return this.ensure(this.pdfDocument, prop, args
    }
  }
  const fontDataReader = new DefaultStandardFontDataFactory({
    baseUrl: STANDARD_FONT_DATA_URL,
  }
  function HandlerMock() {
    this.inputs = [];
  }
  HandlerMock.prototype = {
    send(name, data) {
      this.inputs.push({ name, data }
    },
    sendWithPromise(name, data) {
      if (name !== "FetchStandardFontData") {
        return Promise.reject(new Error(`Unsupported mock ${name}.`)
      }
      return fontDataReader.fetch(data
    },
  };
  let pdfManagerMock, idFactoryMock, partialEvaluator;
  beforeAll(async function () {
    pdfManagerMock = new PDFManagerMock({