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("getQuadPoints", function () {
    let dict, rect;
    beforeEach(function () {
      dict = new Dict(
      rect = [];
    }
    afterEach(function () {
      dict = null;
      rect = null;
    }
    it("should ignore missing quadpoints", function () {
      expect(getQuadPoints(dict, rect)).toEqual(null
    }
    it("should ignore non-array values", function () {
      dict.set("QuadPoints", "foo"
      expect(getQuadPoints(dict, rect)).toEqual(null
    }
    it("should ignore arrays where the length is not a multiple of eight", function () {
      dict.set("QuadPoints", [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
      expect(getQuadPoints(dict, rect)).toEqual(null
    }
    it("should ignore quadpoints if one coordinate lies outside the rectangle", function () {
      rect = [10, 10, 20, 20];
      const inputs = [
        [11, 11, 12, 12, 9, 13, 14, 14], 
        [11, 11, 12, 12, 13, 9, 14, 14], 
        [11, 11, 12, 12, 21, 13, 14, 14], 
        [11, 11, 12, 12, 13, 21, 14, 14], 
      ];