chromium/ios/testing/data/http_server_files/autofill_smoke_test.html

<!DOCTYPE html>

<!--
Copyright 2016 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.5"/>
    <title>Autofill Smoke Test</title>

    <script>

      var FillFormPresident = function() {
	  var form = document.forms['profile_form'];
	  form['name'].value = 'George Washington';
	  form['address'].value = '1600 Pennsylvania Ave NW';
	  form['city'].value = 'Washington';
	  form['state'].value = 'DC';
	  form['zip'].value = '20500';
      }

      var BasicFillForm = function(str) {
	  var form = document.forms['form300'];
          form['n300'].value = str;
      }

    </script>
  </head>

  <h3>Profile Autofill</h3>

<form name="addr1.1" id="profile_form" action="destination.html" method="post">
  Name: <input type="text" name="name" id="form_name" /><br />
  Address: <input type="text" name="address" id="form_address" /><br />
  City: <input type="text" name="city" id="form_city" /><br />
  State: <select name="state" id="form_state">
    <option value="CA">CA</option>
    <option value="MA">MA</option>
    <option value="NY">NY</option>
    <option value="MD">MD</option>
    <option value="OR">OR</option>
    <option value="OH">OH</option>
    <option value="IL">IL</option>
    <option value="DC">DC</option>
  </select> <br />
  Zip: <input name="zip" id="form_zip"> <br />
  Email: <input name="email" id="form_email"> <br />
  <input type="reset" value="Reset" />
  <input id="submit_profile" type="submit" value="Submit Profile" />
</form>

<button type="button" onclick="FillFormPresident()" id="fill_profile_president">Fill Form (President)</button>
<br />

</html>