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

Side by Side Diff: content/test/data/gpu/functional_files/context.js

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 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Global variables. 5 // Global variables.
6 var gl_context; 6 var gl_context;
7 var gl_renderer; 7 var gl_renderer;
8 8
9 initializeWebGL = function(canvas) { 9 initializeWebGL = function(canvas) {
10 gl_context = null; 10 gl_context = null;
(...skipping 24 matching lines...) Expand all
35 gl_context.clearDepth(1); 35 gl_context.clearDepth(1);
36 gl_context.clear(gl_context.COLOR_BUFFER_BIT | 36 gl_context.clear(gl_context.COLOR_BUFFER_BIT |
37 gl_context.DEPTH_BUFFER_BIT); 37 gl_context.DEPTH_BUFFER_BIT);
38 38
39 // Also fetch the unmasked GL_RENDERER string. 39 // Also fetch the unmasked GL_RENDERER string.
40 var ext = gl_context.getExtension("WEBGL_debug_renderer_info"); 40 var ext = gl_context.getExtension("WEBGL_debug_renderer_info");
41 gl_renderer = gl_context.getParameter(ext.UNMASKED_RENDERER_WEBGL); 41 gl_renderer = gl_context.getParameter(ext.UNMASKED_RENDERER_WEBGL);
42 } 42 }
43 43
44 if (window.domAutomationController) { 44 if (window.domAutomationController) {
45 domAutomationController.setAutomationId(0);
46 domAutomationController.send("FINISHED"); 45 domAutomationController.send("FINISHED");
47 } 46 }
48 } 47 }
OLDNEW
« no previous file with comments | « content/test/data/gpu/functional_canvas_demo.html ('k') | content/test/data/gpu/functional_video.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698