Chromium Code Reviews| 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 28 matching lines...) Expand all Loading... | |
| 39 */ | 39 */ |
| 40 CanvasRenderingContext2DResource.PathMethods = [ | 40 CanvasRenderingContext2DResource.PathMethods = [ |
| 41 "beginPath", | 41 "beginPath", |
| 42 "moveTo", | 42 "moveTo", |
| 43 "closePath", | 43 "closePath", |
| 44 "lineTo", | 44 "lineTo", |
| 45 "quadraticCurveTo", | 45 "quadraticCurveTo", |
| 46 "bezierCurveTo", | 46 "bezierCurveTo", |
| 47 "arcTo", | 47 "arcTo", |
| 48 "arc", | 48 "arc", |
| 49 "ellipse", | |
|
Stephen White
2013/08/27 14:23:50
Rather than just adding this, we should mark this
| |
| 49 "rect" | 50 "rect" |
| 50 ]; | 51 ]; |
| 51 | 52 |
| 52 /** | 53 /** |
| 53 * @const | 54 * @const |
| 54 * @type {Array.<string>} | 55 * @type {Array.<string>} |
| 55 */ | 56 */ |
| 56 CanvasRenderingContext2DResource.TransformationMatrixMethods = [ | 57 CanvasRenderingContext2DResource.TransformationMatrixMethods = [ |
| 57 "scale", | 58 "scale", |
| 58 "rotate", | 59 "rotate", |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 </head> | 178 </head> |
| 178 <body onload="runTest()"> | 179 <body onload="runTest()"> |
| 179 <p> | 180 <p> |
| 180 Test to catch Canvas 2D API changes. | 181 Test to catch Canvas 2D API changes. |
| 181 If this test should ever fail, we should re-examine the Canvas 2D state saving/r estoring logic in the | 182 If this test should ever fail, we should re-examine the Canvas 2D state saving/r estoring logic in the |
| 182 InjectedScriptModule to include any latest changes to the API. | 183 InjectedScriptModule to include any latest changes to the API. |
| 183 | 184 |
| 184 </p> | 185 </p> |
| 185 </body> | 186 </body> |
| 186 </html> | 187 </html> |
| OLD | NEW |