| OLD | NEW |
| (Empty) |
| 1 description("Ensure that the constructor for Path object and dependent functions
exist."); | |
| 2 | |
| 3 shouldBe("typeof document.getElementById", '"function"'); | |
| 4 | |
| 5 var path = new Path2D(); | |
| 6 shouldBeType("path", "Path2D"); | |
| 7 shouldBe("typeof path.closePath", '"function"'); | |
| 8 shouldBe("typeof path.moveTo", '"function"'); | |
| 9 shouldBe("typeof path.lineTo", '"function"'); | |
| 10 shouldBe("typeof path.quadraticCurveTo", '"function"'); | |
| 11 shouldBe("typeof path.bezierCurveTo", '"function"'); | |
| 12 shouldBe("typeof path.arcTo", '"function"'); | |
| 13 shouldBe("typeof path.arc", '"function"'); | |
| 14 shouldBe("typeof path.rect", '"function"'); | |
| 15 shouldBe("typeof path.ellipse", '"function"'); | |
| OLD | NEW |