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

Side by Side Diff: content/test/data/gpu/pixel_webgl_noalpha_implicit_clear.html

Issue 2503453003: Remove all calls to domAutomationController.setAutomationId.
Patch Set: Fix nacl_browsertest_util.cc Created 3 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
« no previous file with comments | « content/test/data/gpu/pixel_video_vp9.html ('k') | content/test/data/gpu/pixel_webgl_util.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 2
3 <!-- READ BEFORE UPDATING: 3 <!-- READ BEFORE UPDATING:
4 If this test is updated make sure to increment the "revision" value of the 4 If this test is updated make sure to increment the "revision" value of the
5 associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure 5 associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure
6 that the baseline images are regenerated on the next run. 6 that the baseline images are regenerated on the next run.
7 --> 7 -->
8 8
9 <!-- 9 <!--
10 This is a regression test for crbug.com/666259 . 10 This is a regression test for crbug.com/666259 .
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 }; 63 };
64 countDown(); 64 countDown();
65 }; 65 };
66 66
67 function main() { 67 function main() {
68 var canvas = document.getElementById("c"); 68 var canvas = document.getElementById("c");
69 var gl = initGL(canvas, false, false); 69 var gl = initGL(canvas, false, false);
70 if (gl && setup(gl)) { 70 if (gl && setup(gl)) {
71 waitForComposite(function() { 71 waitForComposite(function() {
72 gl.drawArrays(gl.TRIANGLES, 0, 3); 72 gl.drawArrays(gl.TRIANGLES, 0, 3);
73 domAutomationController.setAutomationId(1);
74 domAutomationController.send("SUCCESS"); 73 domAutomationController.send("SUCCESS");
75 }); 74 });
76 } else { 75 } else {
77 domAutomationController.setAutomationId(1);
78 domAutomationController.send("FAILURE"); 76 domAutomationController.send("FAILURE");
79 } 77 }
80 } 78 }
81 </script> 79 </script>
82 </head> 80 </head>
83 <body onload="main()"> 81 <body onload="main()">
84 <div style="position:relative; width:200px; height:200px; background-color:#f00" ></div> 82 <div style="position:relative; width:200px; height:200px; background-color:#f00" ></div>
85 <div style="position:absolute; top:0px; left:0px"> 83 <div style="position:absolute; top:0px; left:0px">
86 <canvas id="c" width="200" height="200" class="nomargin"></canvas> 84 <canvas id="c" width="200" height="200" class="nomargin"></canvas>
87 </div> 85 </div>
88 </body> 86 </body>
89 </html> 87 </html>
OLDNEW
« no previous file with comments | « content/test/data/gpu/pixel_video_vp9.html ('k') | content/test/data/gpu/pixel_webgl_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698