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

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

Issue 215193002: Removing webkit-prefixed image data HD APIs from 2D canvas (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: cleaned up obsolete tests Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/canvas/2d.imageDataHD-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 "setFillColor", 96 "setFillColor",
97 "setLineCap", 97 "setLineCap",
98 "setLineJoin", 98 "setLineJoin",
99 "setLineWidth", 99 "setLineWidth",
100 "setMiterLimit", 100 "setMiterLimit",
101 "setShadow", 101 "setShadow",
102 "setStrokeColor", 102 "setStrokeColor",
103 "stroke", 103 "stroke",
104 "strokeRect", 104 "strokeRect",
105 "strokeText", 105 "strokeText",
106 "webkitBackingStorePixelRatio",
107 "webkitGetImageDataHD",
108 "webkitPutImageDataHD"
109 ]; 106 ];
110 107
111 function collectPropertyNames(obj) 108 function collectPropertyNames(obj)
112 { 109 {
113 var propertyNames = []; 110 var propertyNames = [];
114 for (var property in obj) 111 for (var property in obj)
115 propertyNames.push(property); 112 propertyNames.push(property);
116 propertyNames.sort(); 113 propertyNames.sort();
117 return propertyNames; 114 return propertyNames;
118 } 115 }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 </head> 174 </head>
178 <body onload="runTest()"> 175 <body onload="runTest()">
179 <p> 176 <p>
180 Test to catch Canvas 2D API changes. 177 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 178 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. 179 InjectedScriptModule to include any latest changes to the API.
183 180
184 </p> 181 </p>
185 </body> 182 </body>
186 </html> 183 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/canvas/2d.imageDataHD-expected.txt ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698