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

Side by Side Diff: chrome/test/data/autofill/autofill_noform_dynamic.html

Issue 1081803003: Limit form-less Autofilling to pages that look like checkout pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: suppress msvc warning Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <!-- Autofill test with dynamically created fields, and without a form tag. --> 2 <!-- Autofill test with dynamically created fields, and without a form tag. -->
3 <html> 3 <html>
4 <head> 4 <head>
5 <title>Dynamic Autofill Test - No Form</title> 5 <title>Dynamic Autofill Test - No Form - Collects address information</title >
6 <script> 6 <script>
7 function AddFields() { 7 function AddFields() {
8 var fields = document.getElementById("fields"); 8 var fields = document.getElementById("fields");
9 9
10 var email_label = document.createElement("label"); 10 var email_label = document.createElement("label");
11 email_label.setAttribute("for", "email"); 11 email_label.setAttribute("for", "email");
12 var email_input = document.createElement("input"); 12 var email_input = document.createElement("input");
13 email_input.setAttribute("type", "text"); 13 email_input.setAttribute("type", "text");
14 email_input.setAttribute("id", "EMAIL_ADDRESS"); 14 email_input.setAttribute("id", "EMAIL_ADDRESS");
15 fields.appendChild(email_label); 15 fields.appendChild(email_label);
(...skipping 22 matching lines...) Expand all
38 <label for="zip">Zip:</label> <input type="text" id="ADDRESS_HOME_ZIP" ><b r> 38 <label for="zip">Zip:</label> <input type="text" id="ADDRESS_HOME_ZIP" ><b r>
39 <label for="country">Country:</label> <input type="text" id="ADDRESS_HOME_ COUNTRY" ><br> 39 <label for="country">Country:</label> <input type="text" id="ADDRESS_HOME_ COUNTRY" ><br>
40 <!-- Dynamically generated. 40 <!-- Dynamically generated.
41 <label for="email">Email:</label> <input type="text" id="EMAIL_ADDRESS"><b r> 41 <label for="email">Email:</label> <input type="text" id="EMAIL_ADDRESS"><b r>
42 <label for="phone">Phone:</label> <input type="text" id="PHONE_HOME_WHOLE_ NUMBER"><br> 42 <label for="phone">Phone:</label> <input type="text" id="PHONE_HOME_WHOLE_ NUMBER"><br>
43 //--> 43 //-->
44 </p> 44 </p>
45 </body> 45 </body>
46 </html> 46 </html>
47 47
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698