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

Side by Side Diff: chrome/test/data/gpu/feature_webgl.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
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>GPU Feature Testing: WebGL</title> 5 <title>GPU Feature Testing: WebGL</title>
6 <script> 6 <script>
7 var frameCount = 0; 7 var frameCount = 0;
8 var gl = null; 8 var gl = null;
9 9
10 function init() { 10 function init() {
(...skipping 24 matching lines...) Expand all
35 gl.clearColor(1.0/frameCount, 0.0, 0.0, 1.0); 35 gl.clearColor(1.0/frameCount, 0.0, 0.0, 1.0);
36 gl.clear(gl.COLOR_BUFFER_BIT); 36 gl.clear(gl.COLOR_BUFFER_BIT);
37 if (frameCount == 6) { 37 if (frameCount == 6) {
38 endTest(); 38 endTest();
39 } else { 39 } else {
40 window.requestAnimationFrame(draw); 40 window.requestAnimationFrame(draw);
41 } 41 }
42 } 42 }
43 43
44 function endTest() { 44 function endTest() {
45 domAutomationController.setAutomationId(1);
46 domAutomationController.send("FINISHED"); 45 domAutomationController.send("FINISHED");
47 } 46 }
48 </script> 47 </script>
49 </head> 48 </head>
50 <body onload="runTest()"> 49 <body onload="runTest()">
51 WebGL should trigger GPU process launch if it is allowed. 50 WebGL should trigger GPU process launch if it is allowed.
52 <canvas id="da-canvas" width="10" height="10"></canvas> 51 <canvas id="da-canvas" width="10" height="10"></canvas>
53 </body> 52 </body>
54 </html> 53 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/gpu/feature_raf_no_damage.html ('k') | chrome/test/data/gpu/webgl_conformance.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698