Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: LayoutTests/inspector/profiler/canvas2d/canvas2d-api-changes.html

Issue 14298022: Add support for new canvas ellipse method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase to upstream. Make canvas-ellipse-circumference cover more extensive cases. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698