| Index: content/test/data/gpu/pixel_webgl.html
|
| diff --git a/content/test/data/gpu/pixel_webgl.html b/content/test/data/gpu/pixel_webgl.html
|
| deleted file mode 100644
|
| index b1f60f1f6b3594cc582da245a31158fc6fe7db72..0000000000000000000000000000000000000000
|
| --- a/content/test/data/gpu/pixel_webgl.html
|
| +++ /dev/null
|
| @@ -1,58 +0,0 @@
|
| -<!DOCTYPE HTML>
|
| -
|
| -<!-- READ BEFORE UPDATING:
|
| -If this test is updated make sure to increment the "revision" value of the
|
| -associated test in content/test/gpu/page_sets/pixel_tests.py. This will ensure
|
| -that the baseline images are regenerated on the next run.
|
| --->
|
| -
|
| -<html>
|
| -<head>
|
| -<title>WebGL Test: Green Triangle over Black Background</title>
|
| -<style type="text/css">
|
| -.nomargin {
|
| - margin: 0px auto;
|
| -}
|
| -</style>
|
| -
|
| -<script src="pixel_webgl_util.js"></script>
|
| -
|
| -<script>
|
| -var g_swapsBeforeAck = 15;
|
| -var gl;
|
| -
|
| -function main()
|
| -{
|
| - var canvas = document.getElementById("c");
|
| - gl = initGL(canvas);
|
| - if (gl && setup(gl)) {
|
| - drawSomeFrames();
|
| - } else {
|
| - domAutomationController.setAutomationId(1);
|
| - domAutomationController.send("FAILURE");
|
| - }
|
| -}
|
| -
|
| -function drawSomeFrames()
|
| -{
|
| - if (g_swapsBeforeAck == 0) {
|
| - domAutomationController.setAutomationId(1);
|
| - domAutomationController.send("SUCCESS");
|
| - } else {
|
| - g_swapsBeforeAck--;
|
| - drawTriangle(gl);
|
| - window.webkitRequestAnimationFrame(drawSomeFrames);
|
| - }
|
| -}
|
| -
|
| -
|
| -
|
| -</script>
|
| -</head>
|
| -<body onload="main()">
|
| -<div style="position:relative; width:200px; height:200px; background-color:black"></div>
|
| -<div style="position:absolute; top:0px; left:0px">
|
| -<canvas id="c" width="200" height="200" class="nomargin"></canvas>
|
| -</div>
|
| -</body>
|
| -</html>
|
|
|