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

Unified Diff: chrome/test/data/autofill/heuristics/input/bug_471748.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, 8 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
Index: chrome/test/data/autofill/heuristics/input/bug_471748.html
diff --git a/chrome/test/data/autofill/heuristics/input/bug_471748.html b/chrome/test/data/autofill/heuristics/input/bug_471748.html
index 27b9ac3f5e3340d533611fbc0534d78c34df3940..0ef0e3beedd2be53ab0712b79ac66b7e7db93391 100644
--- a/chrome/test/data/autofill/heuristics/input/bug_471748.html
+++ b/chrome/test/data/autofill/heuristics/input/bug_471748.html
@@ -1,41 +1,46 @@
-<div class="pay_method">
- <h3 class="h_check">Pay with Credit Card:</h3>
+<head>
+ <title>Payment Information</title>
+</head>
+<form name="info" method="post" action="https://www.runningwarehouse.com/finalcheckout.html" id="creditcard">
+ <div class="pay_method">
+ <h3 class="h_check">Pay with Credit Card:</h3>
- <div class="saved_wrap clearfix">
+ <div class="saved_wrap clearfix">
- </div>
+ </div>
- <div id="fade_card">
- <div class="cc_row card_type cf">
- <label for="cctype">Card Type:</label>
- <div class="cc_selwrap">
- <div class="dropdownbox"><div class="current_selection"><span class="selection_text" title="Visa">Visa</span><span class="drop_arrow"><span></span></span></div><ul class="optionslist"><li class="option selected">Visa</li><li class="option">MasterCard</li><li class="option">American Express</li><li class="option">Discover</li></ul></div><select name="ccType" id="cctype" class="fancy_select" style="display: none;">
- <option value="VISA" selected="">Visa</option>
- <option value="MASTERCARD">MasterCard</option>
- <option value="AMEX">American Express</option>
- <option value="DISCOVER">Discover</option>
- </select>
+ <div id="fade_card">
+ <div class="cc_row card_type cf">
+ <label for="cctype">Card Type:</label>
+ <div class="cc_selwrap">
+ <div class="dropdownbox"><div class="current_selection"><span class="selection_text" title="Visa">Visa</span><span class="drop_arrow"><span></span></span></div><ul class="optionslist"><li class="option selected">Visa</li><li class="option">MasterCard</li><li class="option">American Express</li><li class="option">Discover</li></ul></div><select name="ccType" id="cctype" class="fancy_select" style="display: none;">
+ <option value="VISA" selected="">Visa</option>
+ <option value="MASTERCARD">MasterCard</option>
+ <option value="AMEX">American Express</option>
+ <option value="DISCOVER">Discover</option>
+ </select>
+ </div>
+ <div class="cc_iconwrap">
+ <span class="cc_icon ic_visa selected">Visa</span>
+ <span class="cc_icon ic_mc">MasterCard</span>
+ <span class="cc_icon ic_ae">American Express</span>
+ <span class="cc_icon ic_disc">Discover</span>
+ </div>
</div>
- <div class="cc_iconwrap">
- <span class="cc_icon ic_visa selected">Visa</span>
- <span class="cc_icon ic_mc">MasterCard</span>
- <span class="cc_icon ic_ae">American Express</span>
- <span class="cc_icon ic_disc">Discover</span>
+ <div class="cc_row cc_num">
+ <label for="cardnum">Card #:</label>
+ <input type="text" name="cardnum" id="cardnum" maxlength="19" class="check_text">
+ </div>
+ <div class="cc_row">
+ <label for="expdate">Expire Date:</label>
+ <input type="text" name="expdate" id="expdate" maxlength="5" class="check_text">
+ <span>MM/YY</span>
+ </div>
+ <div class="cc_row">
+ <label for="cvv2">CCV2:</label>
+ <input type="text" name="cvv2" id="cvv2" maxlength="4" class="check_text">
+ <a href="https://www.runningwarehouse.com/cvv2.html#cvv2_info" class="lightboxpop" data-boxheight="375" data-boxwidth="500">what's this?</a>
</div>
- </div>
- <div class="cc_row cc_num">
- <label for="cardnum">Card #:</label>
- <input type="text" name="cardnum" id="cardnum" maxlength="19" class="check_text">
- </div>
- <div class="cc_row">
- <label for="expdate">Expire Date:</label>
- <input type="text" name="expdate" id="expdate" maxlength="5" class="check_text">
- <span>MM/YY</span>
- </div>
- <div class="cc_row">
- <label for="cvv2">CCV2:</label>
- <input type="text" name="cvv2" id="cvv2" maxlength="4" class="check_text">
- <a href="https://www.runningwarehouse.com/cvv2.html#cvv2_info" class="lightboxpop" data-boxheight="375" data-boxwidth="500">what's this?</a>
</div>
</div>
-</div>
+</form>
« no previous file with comments | « chrome/test/data/autofill/heuristics/input/bug_465576.html ('k') | chrome/test/data/autofill/heuristics/input/bug_471831.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698