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

Side by Side Diff: LayoutTests/inspector/profiler/canvas2d/canvas-get-resource-state.html

Issue 238263005: Unprefix webkitImageSmoothingEnabled -> imageSmoothingEnabled. As webkitImageSmoothingEnabled is re… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing some errors Created 6 years, 8 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 src="../canvas-profiler-test.js"></script> 4 <script src="../canvas-profiler-test.js"></script>
5 <script> 5 <script>
6 6
7 var context; 7 var context;
8 8
9 function createCanvasContext() 9 function createCanvasContext()
10 { 10 {
(...skipping 15 matching lines...) Expand all
26 context.lineJoin = "round"; 26 context.lineJoin = "round";
27 context.lineWidth = 3; 27 context.lineWidth = 3;
28 context.miterLimit = 11; 28 context.miterLimit = 11;
29 context.shadowBlur = 2; 29 context.shadowBlur = 2;
30 context.shadowColor = "#123456"; 30 context.shadowColor = "#123456";
31 context.shadowOffsetX = 3; 31 context.shadowOffsetX = 3;
32 context.shadowOffsetY = 4; 32 context.shadowOffsetY = 4;
33 context.strokeStyle = "rgb(101, 102, 103)"; 33 context.strokeStyle = "rgb(101, 102, 103)";
34 context.textAlign = "left"; 34 context.textAlign = "left";
35 context.textBaseline = "middle"; 35 context.textBaseline = "middle";
36 context.webkitImageSmoothingEnabled = false; 36 context.imageSmoothingEnabled = false;
37 context.setLineDash([3,4]); 37 context.setLineDash([3,4]);
38 } 38 }
39 39
40 function test() 40 function test()
41 { 41 {
42 var traceLogId; 42 var traceLogId;
43 var traceLogCallsNumber; 43 var traceLogCallsNumber;
44 InspectorTest.enableCanvasAgent(step1); 44 InspectorTest.enableCanvasAgent(step1);
45 function step1() 45 function step1()
46 { 46 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 </script> 92 </script>
93 </head> 93 </head>
94 <body onload="runTest()"> 94 <body onload="runTest()">
95 <p> 95 <p>
96 Tests canvas 2D ResourceState during the replay. 96 Tests canvas 2D ResourceState during the replay.
97 </p> 97 </p>
98 </body> 98 </body>
99 </html> 99 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/harness/results.html ('k') | LayoutTests/inspector/profiler/canvas2d/canvas-get-resource-state-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698