| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 "transform", | 59 "transform", |
| 60 "setTransform" | 60 "setTransform" |
| 61 ]; | 61 ]; |
| 62 | 62 |
| 63 /** | 63 /** |
| 64 * @const | 64 * @const |
| 65 * @type {Array.<string>} | 65 * @type {Array.<string>} |
| 66 */ | 66 */ |
| 67 CanvasRenderingContext2DResource.IgnoreProperties = [ | 67 CanvasRenderingContext2DResource.IgnoreProperties = [ |
| 68 "canvas", | 68 "canvas", |
| 69 "currentPath", | |
| 70 "createLinearGradient", | 69 "createLinearGradient", |
| 71 "createRadialGradient", | 70 "createRadialGradient", |
| 72 "createPattern", | 71 "createPattern", |
| 73 "save", | 72 "save", |
| 74 "restore", | 73 "restore", |
| 75 "clip", | 74 "clip", |
| 76 "getLineDash", | 75 "getLineDash", |
| 77 "setLineDash", | 76 "setLineDash", |
| 78 // Ignore the properties below. | 77 // Ignore the properties below. |
| 79 "clearRect", | 78 "clearRect", |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 </head> | 172 </head> |
| 174 <body onload="runTest()"> | 173 <body onload="runTest()"> |
| 175 <p> | 174 <p> |
| 176 Test to catch Canvas 2D API changes. | 175 Test to catch Canvas 2D API changes. |
| 177 If this test should ever fail, we should re-examine the Canvas 2D state saving/r
estoring logic in the | 176 If this test should ever fail, we should re-examine the Canvas 2D state saving/r
estoring logic in the |
| 178 InjectedScriptModule to include any latest changes to the API. | 177 InjectedScriptModule to include any latest changes to the API. |
| 179 | 178 |
| 180 </p> | 179 </p> |
| 181 </body> | 180 </body> |
| 182 </html> | 181 </html> |
| OLD | NEW |