chromium/chrome/test/data/password/inner_frame.html

<html>
<body>

<script>
function send_post() {
  window.parent.postMessage("SignupComplete", "*");
}
</script>

<form action="inner_frame.html" onsubmit="send_post(); return false;"
      id="deleting_form">
  <input type="text" id="username_field" name="username_field">
  <input type="password" id="password_field" name="password_field">
  <input type="submit" id="submit_button" name="submit_button">
</form>

</body>
</html>