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

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: Patch to discuss about degenerate ellipse. Created 7 years, 5 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 27 matching lines...) Expand all
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698