chromium/chrome/test/data/automation/sends_message_on_load.html

<!-- Used for testing that the automation code waits until the onload handler
---- has finished.
!-->
<html>
  <script>
    window.onload = function() {
      window.domAutomationController.send(1);
    }
  </script>
</html>