OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 var CanvasRenderingContext2DResource = {}; | 6 var CanvasRenderingContext2DResource = {}; |
7 | 7 |
8 /** | 8 /** |
9 * @const | 9 * @const |
10 * @type {Array.<string>} | 10 * @type {Array.<string>} |
(...skipping 27 matching lines...) Expand all Loading... |
38 */ | 38 */ |
39 CanvasRenderingContext2DResource.PathMethods = [ | 39 CanvasRenderingContext2DResource.PathMethods = [ |
40 "beginPath", | 40 "beginPath", |
41 "moveTo", | 41 "moveTo", |
42 "closePath", | 42 "closePath", |
43 "lineTo", | 43 "lineTo", |
44 "quadraticCurveTo", | 44 "quadraticCurveTo", |
45 "bezierCurveTo", | 45 "bezierCurveTo", |
46 "arcTo", | 46 "arcTo", |
47 "arc", | 47 "arc", |
| 48 "ellipse", |
48 "rect" | 49 "rect" |
49 ]; | 50 ]; |
50 | 51 |
51 /** | 52 /** |
52 * @const | 53 * @const |
53 * @type {Array.<string>} | 54 * @type {Array.<string>} |
54 */ | 55 */ |
55 CanvasRenderingContext2DResource.TransformationMatrixMethods = [ | 56 CanvasRenderingContext2DResource.TransformationMatrixMethods = [ |
56 "scale", | 57 "scale", |
57 "rotate", | 58 "rotate", |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 </head> | 176 </head> |
176 <body onload="runTest()"> | 177 <body onload="runTest()"> |
177 <p> | 178 <p> |
178 Test to catch Canvas 2D API changes. | 179 Test to catch Canvas 2D API changes. |
179 If this test should ever fail, we should re-examine the Canvas 2D state saving/r
estoring logic in the | 180 If this test should ever fail, we should re-examine the Canvas 2D state saving/r
estoring logic in the |
180 InjectedScriptModule to include any latest changes to the API. | 181 InjectedScriptModule to include any latest changes to the API. |
181 | 182 |
182 </p> | 183 </p> |
183 </body> | 184 </body> |
184 </html> | 185 </html> |
OLD | NEW |