Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8035)

Unified Diff: chrome/test/data/autofill/read_only_field_test.html

Issue 6792035: Add an Autofill test to verify that Autofill does not fill in read-only fields. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/functional/autofill.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/autofill/read_only_field_test.html
===================================================================
--- chrome/test/data/autofill/read_only_field_test.html (revision 0)
+++ chrome/test/data/autofill/read_only_field_test.html (revision 0)
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<!-- HTML form used by autofill.AutofillTest.testNoAutofillForReadOnlyFields to
+test that Autofill does not fill in read-only fields. -->
+<html>
+ <head>
+ <title>AutoFill Form</title>
+ <style>
+ [readonly] { border-color: red; }
+ </style>
+ </head>
+ <body>
+ <form name="autofill_profile" action="" method="post">
+ <p>
+ <!-- Profile -->
+ <label for="firstname">First Name:</label> <input type="text" id="firstname" name="firstname"><br/>
+ <label for="middlename">Middle Name:</label> <input type="text" id="middle name" name="middlename"><br/>
+ <label for="lastname">Last Name:</label> <input type="text" id="lastname" name="lastname"><br/>
+ <label for="email">Email:</label> <input type="text" id="email" name="email" readonly><br/>
+ <label for="company">Company:</label> <input type="text" id="company" name="company"><br/>
+ <label for="address">Address:</label> <input type="text" id="address" name="address"><br/>
+ <label for="address2">Address 2:</label> <input type="text" id="address2" name="address2"><br/>
+ <label for="city">City:</label> <input type="text" id="city" name="city"><br/>
+ <label for="state">State:</label> <input type="text" id="state" name="state"><br/>
+ <label for="zipcode">Zip:</label> <input type="text" id="zipcode" name="zipcode"><br/>
+ <label for="country">Country:</label> <input type="text" id="country" name="country"><br/>
+ <label for="phone">Phone:</label> <input type="text" id="phone" name="phone"><br/>
+ <label for="fax">Fax:</label> <input type="text" id="fax" name="fax"><br/>
+ <input type="submit" value="Send"> <input type="reset">
+ </p>
+ </form>
+ </body>
+</html>
« no previous file with comments | « no previous file | chrome/test/functional/autofill.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698