Bug 1349490 - Part 3: Remove unused information in test fixtures.; r?MattN
MozReview-Commit-ID: 7UuujcN33S4
--- a/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_Payment.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_Payment.html
@@ -29,47 +29,47 @@ title="Sign Up">
</form>
<form action="javascript://">
<div>
<label for="fulfillment.fulfillmentGroups.0.fulfillment.address.firstName">
<span>
<p>First Name</p>
</span>
<div>
- <input type="text" id="fulfillment.fulfillmentGroups.0.fulfillment.address.firstName" name="firstName" maxlength="29" value="Tester">
+ <input type="text" id="fulfillment.fulfillmentGroups.0.fulfillment.address.firstName" name="firstName" maxlength="29" value="">
</div>
</label>
</div>
<div>
<label for="fulfillment.fulfillmentGroups.0.fulfillment.address.lastName">
<span>
<p>Last Name</p>
</span>
<div>
- <input type="text" id="fulfillment.fulfillmentGroups.0.fulfillment.address.lastName" name="lastName" maxlength="30" value="Mo">
+ <input type="text" id="fulfillment.fulfillmentGroups.0.fulfillment.address.lastName" name="lastName" maxlength="30" value="">
</div>
</label>
</div>
<div>
<label for="fulfillment.fulfillmentGroups.0.fulfillment.address.street">
<span>
<p>Address</p>
</span>
<div>
- <input type="text" id="fulfillment.fulfillmentGroups.0.fulfillment.address.street" name="street" maxlength="35" value="331 E EVELYN AVE">
+ <input type="text" id="fulfillment.fulfillmentGroups.0.fulfillment.address.street" name="street" maxlength="35" value="">
</div>
</label>
</div>
<div>
<label id="fulfillment.fulfillmentGroups.0.fulfillment.address.city" for="fulfillment.fulfillmentGroups.0.fulfillment.address.city">
<span>
<p>City</p>
</span>
<div>
- <input type="text" id="fulfillment.fulfillmentGroups.0.fulfillment.address.city" name="city" maxlength="30" value="MOUNTAIN VIEW">
+ <input type="text" id="fulfillment.fulfillmentGroups.0.fulfillment.address.city" name="city" maxlength="30" value="">
</div>
</label>
</div>
<div>
<label for="fulfillment.fulfillmentGroups.0.fulfillment.address.state">
<span>
<p>State</p>
</span>
@@ -137,17 +137,17 @@ title="Sign Up">
</label>
</div>
<div>
<label for="fulfillment.fulfillmentGroups.0.fulfillment.address.zipcode">
<span>
<p>ZIP Code</p>
</span>
<div>
- <input type="tel" id="fulfillment.fulfillmentGroups.0.fulfillment.address.zipcode" name="zipcode" maxlength="5" value="94041">
+ <input type="tel" id="fulfillment.fulfillmentGroups.0.fulfillment.address.zipcode" name="zipcode" maxlength="5" value="">
</div>
</label>
</div>
</form>
<div role="search">
<div id="app">
<div>
<div>
@@ -158,17 +158,17 @@ title="Sign Up">
<div>
<section>
<section>
<div>
<ul>
<li>
<label for="ispu-fulfillmentci779178028329">
<div>
- <input type="radio" id="ispu-fulfillmentci779178028329" name="fulfillment-options-list__radio_0" value="on">
+ <input type="radio" id="ispu-fulfillmentci779178028329" name="fulfillment-options-list__radio_0" value="">
<i>
</i>
</div>
<strong>
<span>Tomorrow</span>
<span>
<p> at a Best Buy store</p>
</span>
@@ -182,56 +182,56 @@ title="Sign Up">
</li>
</ul>
</div>
<div>
<ul>
<li>
<label for="0losTwo Day">
<div>
- <input type="radio" id="0losTwo Day" name="fulfillment-options-list__radio_0" value="on">
+ <input type="radio" id="0losTwo Day" name="fulfillment-options-list__radio_0" value="">
<i>
</i>
</div>
<strong>
<span>Wed, Mar 22</span>
</strong>- Two Day Shipping
</label>
</li>
<li>
<label for="0losOne Day">
<div>
- <input type="radio" id="0losOne Day" name="fulfillment-options-list__radio_0" value="on">
+ <input type="radio" id="0losOne Day" name="fulfillment-options-list__radio_0" value="">
<i>
</i>
</div>
<strong>
<span>Tue, Mar 21</span>
</strong>- One Day Shipping
</label>
</li>
<li>
<label for="0losSame Day">
<div>
- <input type="radio" id="0losSame Day" name="fulfillment-options-list__radio_0" value="on">
+ <input type="radio" id="0losSame Day" name="fulfillment-options-list__radio_0" value="">
<i>
</i>
</div>
<strong>
<span>Tomorrow</span>
</strong>- Same Day Shipping
</label>
</li>
</ul>
</div>
</section>
<section>
<label for="save-for-billing-address-0">
<div>
- <input type="checkbox" id="save-for-billing-address-0" value="on">
+ <input type="checkbox" id="save-for-billing-address-0" value="">
<i>
</i>
</div>
<span>
<p>Save this as my billing address</p>
</span>
</label>
</section>
@@ -240,34 +240,34 @@ title="Sign Up">
<div>
<section>
<div>
<label for="user.emailAddress">
<span>
<p>E-mail Address</p>
</span>
<div>
- <input id="user.emailAddress" name="emailAddress" value="formautofilltester@dummy.com">
+ <input id="user.emailAddress" name="emailAddress" value="">
</div>
</label>
</div>
<div>
<label for="user.phone">
<span>
<p>Phone Number</p>
</span>
<div>
- <input type="tel" id="user.phone" name="phone" maxlength="12" value="732 222 3232">
+ <input type="tel" id="user.phone" name="phone" maxlength="12" value="">
</div>
</label>
</div>
<div>
<label for="text-updates">
<div>
- <input type="checkbox" id="text-updates" value="on">
+ <input type="checkbox" id="text-updates" value="">
</div>
<span>
<p>Send me text notifications for my order</p>
</span>
</label>
</div>
</section>
</div>
--- a/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_ShippingAddress.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_ShippingAddress.html
@@ -213,17 +213,17 @@ title="Sign Up" />
<div>
<section>
<section>
<div>
<ul>
<li>
<label for="ispu-fulfillmentci779178028329">
<div>
- <input type="radio" id="ispu-fulfillmentci779178028329" name="fulfillment-options-list__radio_0" value="on" />
+ <input type="radio" id="ispu-fulfillmentci779178028329" name="fulfillment-options-list__radio_0" value="" />
</div>
<strong>
<span>Tomorrow</span>
<span>
<p> at a Best Buy store</p>
</span>
</strong>
<div>
@@ -235,17 +235,17 @@ title="Sign Up" />
</li>
</ul>
</div>
<div>
<ul>
<li>
<label for="0losTwo Day">
<div>
- <input type="radio" id="0losTwo Day" name="fulfillment-options-list__radio_0" value="on" />
+ <input type="radio" id="0losTwo Day" name="fulfillment-options-list__radio_0" value="" />
</div>
<strong>
<span>Wed, Mar 22</span>
</strong> - Two Day Shipping
<p>
Some items may arrive slower. See
<span>
<span>
@@ -253,30 +253,30 @@ title="Sign Up" />
</span>
</span> for details.
</p>
</label>
</li>
<li>
<label for="0losOne Day">
<div>
- <input type="radio" id="0losOne Day" name="fulfillment-options-list__radio_0" value="on" />
+ <input type="radio" id="0losOne Day" name="fulfillment-options-list__radio_0" value="" />
</div>
<strong>
<span>Tue, Mar 21</span>
</strong> - One Day Shipping
</label>
</li>
</ul>
</div>
</section>
<section>
<label for="save-for-billing-address-0">
<div>
- <input type="checkbox" id="save-for-billing-address-0" value="on" />
+ <input type="checkbox" id="save-for-billing-address-0" value="" />
</div>
<span>
<p>Save this as my billing address</p>
</span>
</label>
</section>
</section>
</div>
@@ -300,17 +300,17 @@ title="Sign Up" />
<div>
<input type="tel" id="user.phone" name="phone" maxlength="12" value="" />
</div>
</label>
</div>
<div>
<label for="text-updates">
<div>
- <input type="checkbox" id="text-updates" value="on" />
+ <input type="checkbox" id="text-updates" value="" />
</div>
<span>
<p>Send me text notifications for my order</p>
</span>
</label>
</div>
</section>
</div>
--- a/browser/extensions/formautofill/test/fixtures/third_party/CDW/Checkout_BillingPaymentInfo.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/CDW/Checkout_BillingPaymentInfo.html
@@ -19,45 +19,30 @@
<div>
</div>
<div>
<div>
</div>
<div id="newBillingAddressOptions">
<div>
<div>
- <input value="same" name="ctl00$ctl00$MainContentRoot$Body$addressOption" type="radio" id="sameAsShippingAddress" checked="checked"
+ <input value="" name="ctl00$ctl00$MainContentRoot$Body$addressOption" type="radio" id="sameAsShippingAddress" checked="checked"
title="overall type: UNKNOWN_TYPE
server type: NO_SERVER_DATA
heuristic type: UNKNOWN_TYPE
label: Use my Shipping Address as my Billing Address
parseable name: addressOption
field signature: 825932642
form signature: 11231346808802434240"
autofill-prediction="UNKNOWN_TYPE"
>
<label id="lbl1" for="sameAsShippingAddress">Use my Shipping Address as my Billing Address</label>
</div>
- <div id="sameShippingAddress">
- <div>
- <span id="shippingAddressFirstName">Tester</span>
- <span id="shippingAddressLastName">Mo</span>
- </div>
- <div>
- <span id="shippingCompany">Mozilla</span>
- </div>
- <div id="shippingAddressLine1">331 E. Evelyn Avenue</div>
- <div>
- <span id="shippingAddressCity">Mountain View</span>,
- <span id="shippingAddressState">CA</span>
- <span id="shippingAddressPostalCode">94041</span>
- </div>
- </div>
<div>
- <input value="new" name="ctl00$ctl00$MainContentRoot$Body$addressOption" type="radio" id="createNewAddress"
+ <input value="" name="ctl00$ctl00$MainContentRoot$Body$addressOption" type="radio" id="createNewAddress"
title="overall type: UNKNOWN_TYPE
server type: NO_SERVER_DATA
heuristic type: UNKNOWN_TYPE
label: Enter Billing Address
parseable name: addressOption
field signature: 825932642
form signature: 11231346808802434240"
autofill-prediction="UNKNOWN_TYPE"
@@ -391,47 +376,16 @@ title="Go to BBB">
</div>
</div>
</div>
<div>
<ul>
<li id="shippingAddressStep">
<a id="shippingAddressEdit">Edit</a>
<div id="shippingAddressStepDetails">
- <div>
- Address:
- </div>
- <div>
- <div>
- <span id="shippingAddressFirstName">Tester</span>
- <span id="shippingAddressLastName">Mo</span>
- </div>
- <div>
- <span id="shippingCompany">Mozilla</span>
- </div>
- <div id="shippingAddressLine1">331 E. Evelyn Avenue</div>
- <div>
- <span id="shippingAddressCity">Mountain View</span>,
- <span id="shippingAddressState">CA</span>
- <span id="shippingAddressPostalCode">94041</span>
- </div>
- </div>
- <div>
- <div>
- Contact Info:
- </div>
- <div>
- <div>
- <span id="contactEmail">formautofilltester@gmail.com</span>
- </div>
- <div>
- <span id="contactPhone">650-903-0800 650</span>
- </div>
- </div>
- </div>
</div>
</li>
<li id="shippingMethodStep">
<a id="shippingMethodEdit">Edit</a>
<div id="shippingMethodStepDetails">
<div>Shipping Method</div>
<div>
<div id="shippingMethodName">UPS Ground (2-3 days)</div>
--- a/browser/extensions/formautofill/test/fixtures/third_party/CostCo/Payment.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/CostCo/Payment.html
@@ -776,17 +776,17 @@ title="overall type: PHONE_HOME_CITY_AND
autofill-prediction="PHONE_HOME_CITY_AND_NUMBER"
>
</div>
</div>
<div id="email">
<label for="addressFormInlineEmail" id="addressFormInlineEmailLabel">EMAIL<span>*</span>
</label>
<div>
- <input id="addressFormInlineEmail" name="addressFormInlineEmail" type="text" maxlength="40" value="formautofilltester@gmail.com"
+ <input id="addressFormInlineEmail" name="addressFormInlineEmail" type="text" maxlength="40" value=""
title="overall type: EMAIL_ADDRESS
server type: EMAIL_ADDRESS
heuristic type: EMAIL_ADDRESS
label: EMAIL*
parseable name: addressFormInlineEmail
field signature: 2460631353
form signature: 16870043504464996221"
autofill-prediction="EMAIL_ADDRESS"
--- a/browser/extensions/formautofill/test/fixtures/third_party/CostCo/ShippingAddress.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/CostCo/ShippingAddress.html
@@ -389,17 +389,17 @@ title="overall type: PHONE_HOME_CITY_AND
autofill-prediction="PHONE_HOME_CITY_AND_NUMBER"
>
</div>
</div>
<div id="email">
<label for="addressFormInlineEmail" id="addressFormInlineEmailLabel">EMAIL<span>*</span>
</label>
<div>
- <input id="addressFormInlineEmail" name="addressFormInlineEmail" type="text" maxlength="40" value="formautofilltester@gmail.com"
+ <input id="addressFormInlineEmail" name="addressFormInlineEmail" type="text" maxlength="40" value=""
title="overall type: EMAIL_ADDRESS server type: EMAIL_ADDRESS heuristic type: EMAIL_ADDRESS label: EMAIL* parseable name: addressFormInlineEmail field signature: 2460631353 form signature: 9207149805122018522"
autofill-prediction="EMAIL_ADDRESS"
>
</div>
</div>
<div id="addressNickname">
<label for="addressFormInlineAddressNickName">ADDRESS NICKNAME<span>*</span>
<span> <span>?</span>
--- a/browser/extensions/formautofill/test/fixtures/third_party/Macys/Checkout_Payment.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/Macys/Checkout_Payment.html
@@ -211,104 +211,100 @@ autofill-prediction="CREDIT_CARD_VERIFIC
</section>
<fieldset id="rc-billing-address-container">
<div>
<div>
</div>
</div>
<div id="rc-use-shipping-container">
<div>
- <input type="checkbox" id="rc-use-shipping" name="useMyShippingAddress" value="true" checked=""
+ <input type="checkbox" id="rc-use-shipping" name="useMyShippingAddress" value="" checked=""
title="overall type: UNKNOWN_TYPE
server type: NO_SERVER_DATA
heuristic type: UNKNOWN_TYPE
label: Use my shipping address
parseable name: useMyShippingAddress
field signature: 1490259836
form signature: 4053649612452005841"
autofill-prediction="UNKNOWN_TYPE"
>
</div>
<div>
<label id="rc-use-shipping-label" for="rc-use-shipping">Use my shipping address</label>
</div>
</div>
<div id="co-useshippingAddress-summary">
<div>
- <p>Vance Chen</p>
- <p>1099 Maiden Lane</p>
- <p>102</p>
- <p>Ann Arbor, MI 48105</p>
</div>
</div>
<div id="rc-billing-address">
<div>
<div>
<label for="rc-payment-firstName">First name</label>
- <input type="text" maxlength="20" name="billingContact.firstName" id="rc-payment-firstName" value="Vance" autocorrect="off" autocomplete="given-name"
+ <input type="text" maxlength="20" name="billingContact.firstName" id="rc-payment-firstName" value="" autocorrect="off" autocomplete="given-name"
title="overall type: HTML_TYPE_GIVEN_NAME
server type: NAME_FIRST
heuristic type: NAME_FIRST
label: First name
parseable name: billingContact.firstName
field signature: 1110479879
form signature: 4053649612452005841"
autofill-prediction="HTML_TYPE_GIVEN_NAME"
>
</div>
</div>
<div>
<div>
<label for="rc-payment-lastName">Last name</label>
- <input type="text" maxlength="30" name="billingContact.lastName" id="rc-payment-lastName" value="Chen" autocorrect="off" autocomplete="family-name"
+ <input type="text" maxlength="30" name="billingContact.lastName" id="rc-payment-lastName" value="" autocorrect="off" autocomplete="family-name"
title="overall type: HTML_TYPE_FAMILY_NAME
server type: NAME_LAST
heuristic type: NAME_LAST
label: Last name
parseable name: billingContact.lastName
field signature: 724121833
form signature: 4053649612452005841"
autofill-prediction="HTML_TYPE_FAMILY_NAME"
>
</div>
</div>
<div>
<div>
<label for="rc-payment-line1">Address line 1</label>
- <input type="text" maxlength="35" name="billingAddress.addressLine1" id="rc-payment-line1" value="1099 Maiden Lane" autocorrect="off" autocomplete="address-line1"
+ <input type="text" maxlength="35" name="billingAddress.addressLine1" id="rc-payment-line1" value="" autocorrect="off" autocomplete="address-line1"
title="overall type: HTML_TYPE_ADDRESS_LINE1
server type: ADDRESS_HOME_LINE1
heuristic type: ADDRESS_HOME_LINE1
label: Address line 1
parseable name: billingAddress.addressLine1
field signature: 3436138513
form signature: 4053649612452005841"
autofill-prediction="HTML_TYPE_ADDRESS_LINE1"
>
</div>
</div>
<div>
<div>
<label for="rc-payment-line2">Address line 2 (optional)</label>
- <input type="text" maxlength="35" name="billingAddress.addressLine2" id="rc-payment-line2" autocorrect="off" autocomplete="address-line2" value="102"
+ <input type="text" maxlength="35" name="billingAddress.addressLine2" id="rc-payment-line2" autocorrect="off" autocomplete="address-line2" value=""
title="overall type: HTML_TYPE_ADDRESS_LINE2
server type: ADDRESS_HOME_LINE2
heuristic type: ADDRESS_HOME_LINE2
label: Address line 2 (optional)
parseable name: billingAddress.addressLine2
field signature: 3817149136
form signature: 4053649612452005841"
autofill-prediction="HTML_TYPE_ADDRESS_LINE2"
>
</div>
</div>
<div>
<div>
<label for="rc-payment-city">City</label>
- <input type="text" maxlength="25" name="billingAddress.city" id="rc-payment-city" value="Ann Arbor" autocorrect="off" autocomplete="address-level2"
+ <input type="text" maxlength="25" name="billingAddress.city" id="rc-payment-city" value="" autocorrect="off" autocomplete="address-level2"
title="overall type: HTML_TYPE_ADDRESS_LEVEL2
server type: ADDRESS_HOME_CITY
heuristic type: ADDRESS_HOME_CITY
label: City
parseable name: billingAddress.city
field signature: 2433902552
form signature: 4053649612452005841"
autofill-prediction="HTML_TYPE_ADDRESS_LEVEL2"
@@ -353,17 +349,17 @@ autofill-prediction="HTML_TYPE_ADDRESS_L
<option value="IA">IA</option>
<option value="KS">KS</option>
<option value="KY">KY</option>
<option value="LA">LA</option>
<option value="ME">ME</option>
<option value="MH">MH</option>
<option value="MD">MD</option>
<option value="MA">MA</option>
- <option value="MI" selected="">MI</option>
+ <option value="MI">MI</option>
<option value="MN">MN</option>
<option value="MS">MS</option>
<option value="MO">MO</option>
<option value="MT">MT</option>
<option value="NE">NE</option>
<option value="NV">NV</option>
<option value="NH">NH</option>
<option value="NJ">NJ</option>
@@ -390,17 +386,17 @@ autofill-prediction="HTML_TYPE_ADDRESS_L
<option value="WA">WA</option>
<option value="WV">WV</option>
<option value="WI">WI</option>
<option value="WY">WY</option>
</select>
</div>
<div>
<label for="rc-payment-zipCode">ZIP code</label>
- <input type="text" maxlength="5" pattern="\d*" name="billingAddress.zipCode" id="rc-payment-zipCode" value="48105" autocorrect="off" autocomplete="postal-code"
+ <input type="text" maxlength="5" pattern="\d*" name="billingAddress.zipCode" id="rc-payment-zipCode" value="" autocorrect="off" autocomplete="postal-code"
title="overall type: HTML_TYPE_POSTAL_CODE
server type: ADDRESS_HOME_ZIP
heuristic type: ADDRESS_HOME_ZIP
label: ZIP code
parseable name: billingAddress.zipCode
field signature: 837276327
form signature: 4053649612452005841"
autofill-prediction="HTML_TYPE_POSTAL_CODE"
@@ -416,17 +412,17 @@ autofill-prediction="HTML_TYPE_POSTAL_CO
<div>
<div>
We'll only contact you if we have questions about this order.
</div>
</div>
<div>
<div>
<label for="rc-payment-phone">Phone number</label>
- <input type="text" maxlength="14" pattern="\d*" name="billingAddress.phone" id="rc-payment-phone" value="(734) 111-2132" autocorrect="off" autocomplete="tel"
+ <input type="text" maxlength="14" pattern="\d*" name="billingAddress.phone" id="rc-payment-phone" value="" autocorrect="off" autocomplete="tel"
title="overall type: HTML_TYPE_TEL
server type: PHONE_HOME_CITY_AND_NUMBER
heuristic type: PHONE_HOME_WHOLE_NUMBER
label: Phone number
parseable name: billingAddress.phone
field signature: 2467847771
form signature: 4053649612452005841"
autofill-prediction="HTML_TYPE_TEL"
--- a/browser/extensions/formautofill/test/fixtures/third_party/NewEgg/BillingInfo.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/NewEgg/BillingInfo.html
@@ -671,25 +671,16 @@ title="overall type: UNKNOWN_TYPE
form signature: 16660402300910943442"
autofill-prediction="UNKNOWN_TYPE"
>
<label for="billingsameaddress">
Same as the shipping address
</label>
</li>
<li id="same-address">
- <ul>
- <li>331 E. Evelyn Avenue</li>
- <li>Mountain View,CA 94041</li>
- <li>United States</li>
- <li>650-903-0800</li>
- <li>
- formautofilltester@gmail.com
- </li>
- </ul>
</li>
<li id="new-address">
<div>
<input type="hidden" name="STransNumber" value="0">
<input type="hidden" name="action" value="">
<input type="hidden" name="OldContactWith" value="">
<ul>
<li>
@@ -715,17 +706,17 @@ autofill-prediction="ADDRESS_HOME_COUNTR
<label>Address</label>
<input
title="overall type: ADDRESS_HOME_LINE1
server type: ADDRESS_HOME_LINE1
heuristic type: ADDRESS_HOME_LINE1
label: Address
parseable name: SAddress1
field signature: 328501296
- form signature: 16660402300910943442" type="text" name="SAddress1" id="SAddress1" maxlength="100" value="331 E. Evelyn Avenue" placeholder=""
+ form signature: 16660402300910943442" type="text" name="SAddress1" id="SAddress1" maxlength="100" value="" placeholder=""
autofill-prediction="ADDRESS_HOME_LINE1"
>
</li>
<li>
<label>
Address 2
<span>
<strong>(OPTIONAL)</strong>
@@ -750,17 +741,17 @@ autofill-prediction="ADDRESS_HOME_LINE2"
<label id="lblCity">City</label>
<input
title="overall type: ADDRESS_HOME_CITY
server type: ADDRESS_HOME_CITY
heuristic type: ADDRESS_HOME_CITY
label: City
parseable name: SCity
field signature: 1173963820
- form signature: 16660402300910943442" type="text" name="SCity" id="SCity" maxlength="45" value="Mountain View"
+ form signature: 16660402300910943442" type="text" name="SCity" id="SCity" maxlength="45" value=""
autofill-prediction="ADDRESS_HOME_CITY"
>
</div>
</li>
<li>
<div>
<label for="stateDropDownList" id="lblState">State/Province/Region</label>
<div>
@@ -838,33 +829,33 @@ autofill-prediction="ADDRESS_HOME_STATE"
<label id="lblZip">Zip/Postal Code</label>
<input
title="overall type: ADDRESS_HOME_ZIP
server type: ADDRESS_HOME_ZIP
heuristic type: ADDRESS_HOME_ZIP
label: Zip/Postal Code
parseable name: SZip
field signature: 3887080504
- form signature: 16660402300910943442" maxlength="20" size="20" type="text" name="SZip" id="SZip" value="94041"
+ form signature: 16660402300910943442" maxlength="20" size="20" type="text" name="SZip" id="SZip" value=""
autofill-prediction="ADDRESS_HOME_ZIP"
>
</div>
</li>
<li>
<label>
Phone
</label>
<input
title="overall type: PHONE_HOME_CITY_AND_NUMBER
server type: PHONE_HOME_CITY_AND_NUMBER
heuristic type: PHONE_HOME_WHOLE_NUMBER
label: Phone
parseable name: ShippingPhone
field signature: 3574122515
- form signature: 16660402300910943442" type="text" name="ShippingPhone" maxlength="30" id="ShippingPhone" value="650-903-0800"
+ form signature: 16660402300910943442" type="text" name="ShippingPhone" maxlength="30" id="ShippingPhone" value=""
autofill-prediction="PHONE_HOME_CITY_AND_NUMBER"
>
</li>
<li>
<label>
</label>
<label>
--- a/browser/extensions/formautofill/test/fixtures/third_party/QVC/PaymentMethod.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/QVC/PaymentMethod.html
@@ -78,17 +78,17 @@ autofill-prediction="UNKNOWN_TYPE"
<label id="lblPrimaryPhone" for="txtPrimaryPhone">Home Phone:</label>
<input id="txtPrimaryPhone" type="tel" name="txtPrimaryPhone" autocomplete="off" autocorrect="off" value="" maxlength="14" size="14"
title="overall type: PHONE_HOME_CITY_AND_NUMBER server type: PHONE_HOME_CITY_AND_NUMBER heuristic type: PHONE_HOME_WHOLE_NUMBER label: Home Phone: parseable name: txtPrimaryPhone field signature: 918983855 form signature: 12190733459375771907"
autofill-prediction="PHONE_HOME_CITY_AND_NUMBER"
/>
</fieldset>
<fieldset>
<label id="lblEmailAddress" for="txtEmailAddress">Email Address:</label>
- <input id="txtEmailAddress" type="email" name="txtEmailAddress" autocomplete="on" autocorrect="off" value="formautofilltester@gmail.com"
+ <input id="txtEmailAddress" type="email" name="txtEmailAddress" autocomplete="on" autocorrect="off" value=""
title="overall type: EMAIL_ADDRESS server type: EMAIL_ADDRESS heuristic type: EMAIL_ADDRESS label: Email Address: parseable name: txtEmailAddress field signature: 653947670 form signature: 12190733459375771907"
autofill-prediction="EMAIL_ADDRESS"
/>
</fieldset>
<fieldset>
<label id="lblSsn" for="txtSsn">Social Security Number:</label>XXX-XX-<input id="txtSsn" type="text" pattern="[0-9]*" autocomplete="off" autocorrect="off" maxlength="4" size="4" name="txtLast4SSN" value=""
title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Social Security Number: parseable name: txtLast4SSN field signature: 598258955 form signature: 12190733459375771907"
autofill-prediction="UNKNOWN_TYPE"
--- a/browser/extensions/formautofill/test/fixtures/third_party/QVC/YourInformation.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/QVC/YourInformation.html
@@ -71,17 +71,17 @@ autofill-prediction="UNKNOWN_TYPE"
<label id="lblPrimaryPhone" for="txtPrimaryPhone">Home Phone:</label>
<input id="txtPrimaryPhone" type="tel" name="txtPrimaryPhone" autocomplete="off" autocorrect="off" value="" maxlength="14" size="14"
title="overall type: PHONE_HOME_CITY_AND_NUMBER server type: PHONE_HOME_CITY_AND_NUMBER heuristic type: PHONE_HOME_WHOLE_NUMBER label: Home Phone: parseable name: txtPrimaryPhone field signature: 918983855 form signature: 12190733459375771907"
autofill-prediction="PHONE_HOME_CITY_AND_NUMBER"
/>
</fieldset>
<fieldset>
<label id="lblEmailAddress" for="txtEmailAddress">Email Address:</label>
- <input id="txtEmailAddress" type="email" name="txtEmailAddress" autocomplete="on" autocorrect="off" value="formautofilltester@gmail.com"
+ <input id="txtEmailAddress" type="email" name="txtEmailAddress" autocomplete="on" autocorrect="off" value=""
title="overall type: EMAIL_ADDRESS server type: EMAIL_ADDRESS heuristic type: EMAIL_ADDRESS label: Email Address: parseable name: txtEmailAddress field signature: 653947670 form signature: 12190733459375771907"
autofill-prediction="EMAIL_ADDRESS"
/>
</fieldset>
<fieldset>
<label id="lblSsn" for="txtSsn">Social Security Number:</label>XXX-XX-<input id="txtSsn" type="text" pattern="[0-9]*" autocomplete="off" autocorrect="off" maxlength="4" size="4" name="txtLast4SSN" value=""
title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Social Security Number: parseable name: txtLast4SSN field signature: 598258955 form signature: 12190733459375771907"
autofill-prediction="UNKNOWN_TYPE"
--- a/browser/extensions/formautofill/test/fixtures/third_party/Sears/PaymentOptions.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/Sears/PaymentOptions.html
@@ -105,53 +105,53 @@ autofill-prediction="CREDIT_CARD_EXP_4_D
</div>
</div>
</form>
<form id="anotherBillingAddress" name="anotherBillingAddress" method="post" pd-form-id="1489978179817">
<div id="billingAddressForm">
<div>
<label for="order.billingInfo.firstName">First Name<span>*</span>
</label>
- <input type="text" name="order.billingInfo.firstName" maxlength="11" value="Vance" id="order.billingInfo.firstName" placeholder="First Name *"
+ <input type="text" name="order.billingInfo.firstName" maxlength="11" value="" id="order.billingInfo.firstName" placeholder="First Name *"
title="overall type: NAME_FIRST server type: NAME_FIRST heuristic type: NAME_FIRST label: First Name* parseable name: firstName field signature: 3077178767 form signature: 17982067175666068474"
autofill-prediction="NAME_FIRST"
/>
</div>
<div>
<label for="order.billingInfo.lastName">Last Name<span>*</span>
</label>
- <input type="text" name="order.billingInfo.lastName" value="Chen" id="order.billingInfo.lastName" placeholder="Last Name *"
+ <input type="text" name="order.billingInfo.lastName" value="" id="order.billingInfo.lastName" placeholder="Last Name *"
title="overall type: NAME_LAST server type: NAME_LAST heuristic type: NAME_LAST label: Last Name* parseable name: lastName field signature: 2325932944 form signature: 17982067175666068474"
autofill-prediction="NAME_LAST"
/>
</div>
<div id="divCityStateZipId_3">
<div id="divCityStateZipId_2">
<div>
<div>
<label for="order.billingInfo.address.address1">Street Address<span>*</span> - 24 character limit</label>
<input type="text" name="order.billingInfo.address.address1" value="Island Drvie" id="order.billingInfo.address.address1" placeholder="Street Address *"
title="overall type: ADDRESS_HOME_LINE1 server type: ADDRESS_HOME_LINE1 heuristic type: ADDRESS_HOME_LINE1 label: Street Address* - 24 character limit parseable name: address.address1 field signature: 796482076 form signature: 17982067175666068474"
autofill-prediction="ADDRESS_HOME_LINE1"
/>
</div>
<div>
<label for="order.billingInfo.address.address2">Apt. #</label>
- <input type="text" name="order.billingInfo.address.address2" value="102" id="order.billingInfo.address.address2" placeholder="Apt. #"
+ <input type="text" name="order.billingInfo.address.address2" value="" id="order.billingInfo.address.address2" placeholder="Apt. #"
title="overall type: ADDRESS_HOME_LINE2 server type: ADDRESS_HOME_LINE2 heuristic type: ADDRESS_HOME_LINE2 label: Apt. # parseable name: address.address2 field signature: 1242999964 form signature: 17982067175666068474"
autofill-prediction="ADDRESS_HOME_LINE2"
/>
</div>
</div>
<div id="divCityStateZipId">
<div>
<div>
<label for="order.billingInfo.address.city">City<span>*</span>
</label>
- <input type="text" name="order.billingInfo.address.city" value="Ann Arbor" id="order.billingInfo.address.city" placeholder="City *"
+ <input type="text" name="order.billingInfo.address.city" value="" id="order.billingInfo.address.city" placeholder="City *"
title="overall type: ADDRESS_HOME_CITY server type: ADDRESS_HOME_CITY heuristic type: ADDRESS_HOME_CITY label: City* parseable name: address.city field signature: 1372321658 form signature: 17982067175666068474"
autofill-prediction="ADDRESS_HOME_CITY"
/>
</div>
<div>
<label for="order.billingInfo.address.state">State<span>*</span>
</label>
<select name="order.billingInfo.address.state" id="order.billingInfo.address.state"
@@ -180,17 +180,17 @@ autofill-prediction="ADDRESS_HOME_STATE"
<option value="IN">IN</option>
<option value="IA">IA</option>
<option value="KS">KS</option>
<option value="KY">KY</option>
<option value="LA">LA</option>
<option value="ME">ME</option>
<option value="MD">MD</option>
<option value="MA">MA</option>
- <option value="MI" selected="selected">MI</option>
+ <option value="MI">MI</option>
<option value="MN">MN</option>
<option value="MS">MS</option>
<option value="MO">MO</option>
<option value="MT">MT</option>
<option value="NE">NE</option>
<option value="NV">NV</option>
<option value="NH">NH</option>
<option value="NJ">NJ</option>
@@ -217,30 +217,30 @@ autofill-prediction="ADDRESS_HOME_STATE"
<option value="WI">WI</option>
<option value="WY">WY</option>
</select>
</div>
</div>
<div>
<label for="order.billingInfo.address.zipCode">ZIP/Postal Code<span>*</span>
</label>
- <input type="text" name="order.billingInfo.address.zipCode" value="48105" id="order.billingInfo.address.zipCode" placeholder="ZIP Code *"
+ <input type="text" name="order.billingInfo.address.zipCode" value="" id="order.billingInfo.address.zipCode" placeholder="ZIP Code *"
title="overall type: ADDRESS_HOME_ZIP server type: ADDRESS_HOME_ZIP heuristic type: ADDRESS_HOME_ZIP label: ZIP/Postal Code* parseable name: address.zipCode field signature: 1420459778 form signature: 17982067175666068474"
autofill-prediction="ADDRESS_HOME_ZIP"
/>
</div>
<input type="hidden" id="order.billingInfo.address.poBoxOrMillitaryAdd" name="order.billingInfo.address.poBoxOrMillitaryAdd" value="" />
</div>
</div>
</div>
<div>
<div>
<label for="order.billingInfo.dayTimePhone">Phone Number<span>*</span>
</label>
- <input type="text" name="order.billingInfo.dayTimePhone" value="734-123-1231" id="order.billingInfo.dayTimePhone" placeholder="Phone Number *"
+ <input type="text" name="order.billingInfo.dayTimePhone" value="" id="order.billingInfo.dayTimePhone" placeholder="Phone Number *"
title="overall type: PHONE_HOME_CITY_AND_NUMBER server type: PHONE_HOME_CITY_AND_NUMBER heuristic type: PHONE_HOME_WHOLE_NUMBER label: Phone Number* parseable name: dayTimePhone field signature: 2509269658 form signature: 17982067175666068474"
autofill-prediction="PHONE_HOME_CITY_AND_NUMBER"
/>
</div>
<div>
<label for="order.billingInfo.dayTimePhoneExt">Ext.</label>
<input type="text" name="order.billingInfo.dayTimePhoneExt" value="" id="order.billingInfo.dayTimePhoneExt" placeholder="Ext."
title="overall type: PHONE_HOME_CITY_CODE server type: PHONE_HOME_CITY_CODE heuristic type: PHONE_HOME_EXTENSION label: Ext. parseable name: dayTimePhoneExt field signature: 1836849076 form signature: 17982067175666068474"
--- a/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Checkout.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Checkout.html
@@ -14,17 +14,17 @@
<p>Enter new zip code:</p>
<label>
</label>
<div>
<p>
<label>ZIP Code (required)</label>
</p>
<label>
-<input name="zip-code" value="94066" placeholder="" type="text">
+<input name="zip-code" value="" placeholder="" type="text">
</label>
</div>
<div>
<div>
<button type="submit">Calculate</button>
</div>
<div>
<button type="button">Cancel</button>
--- a/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Payment.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Payment.html
@@ -41,32 +41,32 @@
<label for="firstName">
<span>First name on
card*</span>
</label>
</div>
<div>
<div>
<label for="firstName">
-<input id="firstName" value="Kavi"
+<input id="firstName" value=""
name="firstName"
title="First name" autocomplete="section-payment given-name" maxlength="25">
</label>
</div>
</div>
<div>
<label for="lastName">
<span>Last name on
card*</span>
</label>
</div>
<div>
<div>
<label for="lastName">
-<input id="lastName" value="Jarslo"
+<input id="lastName" value=""
name="lastName"
title="Last name" autocomplete="section-payment family-name" maxlength="25">
</label>
</div>
</div>
<div>
<label for="creditCard">
<span>Card
@@ -181,17 +181,17 @@ title="cvv" value="" autocomplete="secti
<span>Phone number*</span>
<span>Ex: (415)
444 - 5555</span>
</label>
</div>
<div>
<div>
<label for="phone">
-<input id="phone" value="8984379853" name="phone"
+<input id="phone" value="" name="phone"
title="Phone" autocomplete="section-payment tel" maxlength="14" type="tel">
</label>
</div>
</div>
</div>
</div>
<div>
<div>
--- a/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Shipping.html
+++ b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Shipping.html
@@ -22,17 +22,17 @@
<p>Enter new zip code:</p>
<label>
</label>
<div>
<p>
<label>ZIP Code (required)</label>
</p>
<label>
-<input name="zip-code" value="94066" placeholder="" type="text">
+<input name="zip-code" value="" placeholder="" type="text">
</label>
</div>
<div>
<div>
<button type="submit">Calculate</button>
</div>
<div>
<button type="button">Cancel</button>
@@ -120,17 +120,17 @@ title="Apt, suite, bldg, c/o (optional)"
<span>
<span>
<span>City*</span>
</span>
</span>
</label>
<div>
<input
-title="City" name="city" value="San Bruno" type="text">
+title="City" name="city" value="" type="text">
</div>
<div>
<div>
<div>
<label for="5">
<span>State*</span>
</label>
<div>
@@ -138,17 +138,17 @@ title="City" name="city" value="San Brun
<select id="5"
title="State" name="state">
<option value="">
</option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
- <option selected="selected" value="CA">California</option>
+ <option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DC">District of Columbia</option>
<option value="DE">Delaware</option>
<option value="FL">Florida</option>
<option value="GA">Georgia</option>
<option value="HI">Hawaii</option>
<option value="ID">Idaho</option>
@@ -210,17 +210,17 @@ title="State" name="state">
<span>
<span>ZIP
Code*</span>
</span>
</span>
</label>
<div>
<input
-title="Zip code" name="postalCode" value="94066" type="text">
+title="Zip code" name="postalCode" value="" type="text">
</div>
</div>
</div>
</div>
<div>
<input id="4" name="isDefault" type="checkbox">
<label for="4">
<span>Set as my preferred address</span>