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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 </head> | 177 </head> |
177 <body onload="runTest()"> | 178 <body onload="runTest()"> |
178 <p> | 179 <p> |
179 Test to catch Canvas 2D API changes. | 180 Test to catch Canvas 2D API changes. |
180 If this test should ever fail, we should re-examine the Canvas 2D state saving/r
estoring logic in the | 181 If this test should ever fail, we should re-examine the Canvas 2D state saving/r
estoring logic in the |
181 InjectedScriptModule to include any latest changes to the API. | 182 InjectedScriptModule to include any latest changes to the API. |
182 | 183 |
183 </p> | 184 </p> |
184 </body> | 185 </body> |
185 </html> | 186 </html> |
OLD | NEW |