1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22

content / test / data / gpu / simple.html [blame]

<html>
<head>
<script type="text/javascript">
function onLoad() {
  window.domAutomationController.reset = function() {
    window.domAutomationController._loaded = false;
    window.domAutomationController._succeeded = false;
    window.domAutomationController._finished = false;
    window.requestAnimationFrame(succeed);
  };
  window.domAutomationController.send("LOADED");
}

function succeed() {
  window.domAutomationController.send("SUCCESS");
}
</script>
</head>
<body onload="onLoad()">
Simple page.
</body>
</html>