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

Unified Diff: content/test/data/gpu/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/data/gpu/pixel_webgl_util.js ('k') | content/test/data/net_info.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/gpu/webgl.html
diff --git a/content/test/data/gpu/webgl.html b/content/test/data/gpu/webgl.html
index 7dd2cb334869887ab236896446f08fe399c5ba91..e6f87104c0a5363faefa691688338a2689178964 100644
--- a/content/test/data/gpu/webgl.html
+++ b/content/test/data/gpu/webgl.html
@@ -6,8 +6,6 @@ var w, h;
var gl;
var extension;
-var alreadySetAutomationId = false;
-
function testHorizontalBands() {
gl.enable(gl.SCISSOR_TEST);
@@ -51,8 +49,6 @@ function testContextRestored() {
var a = new Uint8Array(w * h * 4);
gl.readPixels(0, 0, w, h, gl.RGBA, gl.UNSIGNED_BYTE, a);
- if (!alreadySetAutomationId)
- window.domAutomationController.setAutomationId(1);
if (a[0] == 0 && a[1] == 0 && a[2] == 255)
window.domAutomationController.send("SUCCESS");
else
@@ -88,8 +84,6 @@ function testQuantityLoss() {
// a garbage collect.
garbageCanvases = null;
- window.domAutomationController.setAutomationId(1);
- alreadySetAutomationId = true;
window.domAutomationController.send("LOADED");
// Trying to provoke garbage collection through excessive allocations.
@@ -134,8 +128,6 @@ function contextLostTest(kind)
case "kill_after_notification":
// The browser test waits for notification from the page that it
// has been loaded before navigating to about:gpucrash.
- window.domAutomationController.setAutomationId(1);
- alreadySetAutomationId = true;
window.domAutomationController.send("LOADED");
break;
case "forced_quantity_loss":
« no previous file with comments | « content/test/data/gpu/pixel_webgl_util.js ('k') | content/test/data/net_info.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698