| 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":
|
|
|