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

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

Issue 226953004: Remove get/set currentPath in canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/script-tests/canvas-path-constructors.js ('k') | Source/core/html/canvas/CanvasRenderingContext2D.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698