diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot')
3 files changed, 1063 insertions, 0 deletions
diff --git a/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/Payment.html b/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/Payment.html new file mode 100644 index 0000000000..06b9f8e763 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/Payment.html @@ -0,0 +1,672 @@ +<!DOCTYPE html> +<html lang="en-US"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> + <meta http-equiv="expires" content="0"> + <meta http-equiv="pragma" content="no-cache"> + <meta http-equiv="cache-control" content="no-cache"> + <meta http-equiv="pragma-directive" content="no-cache"> + <meta http-equiv="cache-directive" content="no-cache"> + <meta name="robots" content="NOODP, NOYDIR"> + <title> +</title> + </head> + <body> + <meta name="apple-itunes-app" content="app-id=471037434"> + <title>Office Supplies, Furniture, Technology at Offic Depot</title> + <meta name="description" content="Shop office supplies, furniture & technology at Office Depot. For paper, ink, toner & more, find trusted brands at everyday low prices."> + <meta name="keywords" content="office supplies, office furniture, technology, electronics"> + <meta property="og:image" content="https://secure.www.odcdn.com/images/us/od/brand.png"> + <form name="anonymousConfirmForm" method="post" action="https://www.officedepot.com/checkout/anonymousConfirmRouter.do" id="confirmFormId" novalidate="novalidate"> + <input type="hidden" name="partialReg" value="false"> + <input type="hidden" name="cartIsNotAllPickup" value="true"> + <input type="hidden" name="step" value="bill"> + <input type="hidden" name="orderNumber" value="914646582" id="orderNumber"> + <input type="hidden" name="orderSubNumber" value="001" id="orderSubNumber"> + <input type="hidden" name="linked" value="false"> + <input type="hidden" name="billToID" value=""> + <input type="hidden" name="requestFromPage" value="true"> + <input type="hidden" name="nececessaryToRevalidate" id="nececessaryToRevalidate" value="false"> + <input type="hidden" name="revalidateTrigger" id="revalidateTrigger" value=""> + <input type="submit" name="cmd_confirm" tabindex="1"> + <input type="hidden" name="proceedFromBill" value="true"> + <input type="hidden" name="flowMode" id="flowMode" value="ANONYMOUS"> + <div id="checkoutBillingV3"> + <div> + <div> + <div> + <input type="hidden" name="guestEmailOptIn" value="true"> + <input type="hidden" id="isAnonCheckout" value="true"> + <div> + <input type="hidden" name="payWithSavedCard" id="payWithSavedCard" value="false"> + <input type="hidden" id="cardTypeForMaskedValue" value=""> + <input type="hidden" id="showCardList" value="false"> + <div id="payWithCreditCard"> + <div id="iFrameFields"> + <div id="creditCardIframe"> + <div id="cardValidationError"> +</div> + <div id="preventFlicker"> + <div id="creditCardFrame"> + <div id="iFrameExpDateFields"> + <label>Expiration Date</label> + <select name="paymentFormInfo.payPageFormInfo.creditCardExpMonth" +title="overall type: CREDIT_CARD_EXP_MONTH server type: CREDIT_CARD_EXP_MONTH heuristic type: UNKNOWN_TYPE label: Expiration Date parseable name: paymentFormInfo.payPageFormInfo.creditCardExpMonth field signature: 1909413716 form signature: 4882000530220881601" tabindex="2" +autofill-prediction="CREDIT_CARD_EXP_MONTH" +> + <option value=" "> + -- + </option> + <option value="01"> + 01 + </option> + <option value="02"> + 02 + </option> + <option value="03"> + 03 + </option> + <option value="04"> + 04 + </option> + <option value="05"> + 05 + </option> + <option value="06"> + 06 + </option> + <option value="07"> + 07 + </option> + <option value="08"> + 08 + </option> + <option value="09"> + 09 + </option> + <option value="10"> + 10 + </option> + <option value="11"> + 11 + </option> + <option value="12"> + 12 + </option> + </select> + <select name="paymentFormInfo.payPageFormInfo.creditCardExpYear" +title="overall type: CREDIT_CARD_EXP_4_DIGIT_YEAR server type: CREDIT_CARD_EXP_4_DIGIT_YEAR heuristic type: CREDIT_CARD_EXP_DATE_4_DIGIT_YEAR label: Expiration Date parseable name: paymentFormInfo.payPageFormInfo.creditCardExpYear field signature: 884603578 form signature: 4882000530220881601" tabindex="3" +autofill-prediction="CREDIT_CARD_EXP_4_DIGIT_YEAR" +> + <option value=""> + -- + </option> + <option value="17"> + 2017 + </option> + <option value="18"> + 2018 + </option> + <option value="19"> + 2019 + </option> + <option value="20"> + 2020 + </option> + <option value="21"> + 2021 + </option> + <option value="22"> + 2022 + </option> + <option value="23"> + 2023 + </option> + <option value="24"> + 2024 + </option> + <option value="25"> + 2025 + </option> + <option value="26"> + 2026 + </option> + <option value="27"> + 2027 + </option> + <option value="28"> + 2028 + </option> + <option value="29"> + 2029 + </option> + <option value="30"> + 2030 + </option> + <option value="31"> + 2031 + </option> + <option value="32"> + 2032 + </option> + <option value="33"> + 2033 + </option> + <option value="34"> + 2034 + </option> + <option value="35"> + 2035 + </option> + </select> + </div> + <div id="frameFields"> + <input type="hidden" id="getMerchantIdPrefix" value="CKWWW"> + <input type="hidden" id="paypageRegistrationId" name="paymentFormInfo.payPageFormInfo.payPageRegistrationId" > + <input type="hidden" id="bin" name="paymentFormInfo.payPageFormInfo.binRange"> + <input type="hidden" id="merchantTxnId" name="paymentFormInfo.payPageFormInfo.merchantTxnId" value="CKWWW-201732012117"> + <input type="hidden" id="orderId" name="paymentFormInfo.payPageFormInfo.orderId" value="914646582-001"> + <input type="hidden" id="code" name="paymentFormInfo.payPageFormInfo.code"> + <input type="hidden" id="responseTime" name="paymentFormInfo.payPageFormInfo.responseTime" > + <input type="hidden" id="message" name="paymentFormInfo.payPageFormInfo.message" size="100"> + <input type="hidden" id="litleTxnId" name="paymentFormInfo.payPageFormInfo.litleTxnId"> + <input type="hidden" id="type" name="paymentFormInfo.payPageFormInfo.cardType"> + <input type="hidden" id="firstSix" name="paymentFormInfo.payPageFormInfo.firstSix"> + <input type="hidden" id="lastFour" name="paymentFormInfo.payPageFormInfo.lastFour"> + <input type="hidden" id="timeoutMessage" name="paymentFormInfo.payPageFormInfo.timeoutMessage" > + </div> + </div> + </div> + </div> + </div> + <div> + <div> + <label for="paymentFormInfo.tenderType" > + <input type="radio" name="paymentFormInfo.tenderType" value="CR" checked +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Credit Card parseable name: paymentFormInfo.tenderType field signature: 920121368 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE" +> Credit Card</label> + </div> + </div> + </div> + <div id="payWithPayPal"> + <input type="hidden" name="paypalInfoInSession" id="paypalInfoInSession" value="false"> + <div> + <label for="paymentFormInfo.tenderType" > + <input type="radio" name="paymentFormInfo.tenderType" value="PL" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Pay with PayPal You'll be redirected to the PayPal site to sign in and confirm your payment. You wil parseable name: paymentFormInfo.tenderType field signature: 920121368 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE" +> + </label> + </div> + </div> + <div id="payWithMasterPass"> + <div> + <label for="paymentFormInfo.tenderType" > + <input type="radio" name="paymentFormInfo.tenderType" value="MS" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Pay with MasterPass You'll be redirected to the MasterPass site to sign in and confirm your payment. parseable name: paymentFormInfo.tenderType field signature: 920121368 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE" +> +</label> + </div> + </div> + </div> + </div> + <div id="checkoutBillingAddressSection"> + <div id="shippingInfo"> + <input type="hidden" name="addrsForm[2].firstName" value="Tester" id="firstName-2"> + <input type="hidden" name="addrsForm[2].lastName" value="Mo" id="lastName-2"> + <input type="hidden" name="addrsForm[2].shiptoName" value="Mozilla" id="shiptoName-2"> + <input type="hidden" name="addrsForm[2].address1" value="331 E. Evelyn Avenue" id="address1-2"> + <input type="hidden" name="addrsForm[2].address2" value="" id="address2-2"> + <input type="hidden" name="addrsForm[2].city" value="MOUNTAIN VIEW" id="city-2"> + <input type="hidden" name="addrsForm[2].state" value="CA" id="state-2"> + <input type="hidden" name="addrsForm[2].postalCode1" value="94041" id="postalCode1-2"> + <input type="hidden" name="addrsForm[2].country" value="USA" id="country-2"> + <input type="hidden" name="addrsForm[2].phoneNumber1" value="650" id="phoneNumber1-2"> + <input type="hidden" name="addrsForm[2].phoneNumber2" value="903" id="phoneNumber2-2"> + <input type="hidden" name="addrsForm[2].phoneNumber3" value="0800" id="phoneNumber3-2"> + <input type="hidden" name="addrsForm[2].phoneNumber4" value="0800" id="phoneNumber4-2"> + <input type="hidden" name="addrsForm[2].email" value="formautofilltester@gmail.com" id="email-2"> + <input type="hidden" name="shippingEmailPreferences.optInSelected" value="true"> + </div> + <div id="billingInfo"> + <div> + <label> + <input type="checkbox" name="sameAsBilling" id="billingAddressSameAsShipping" checked tabindex="4" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Same as Shipping parseable name: sameAsBilling field signature: 2684212655 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE" +> Same as Shipping</label> + </div> + <div id="reg_billingInfo"> + <div id="anonymousBillingInfoForm"> + <input type="hidden" id="country-0" name="addrsForm[0].country" value="USA"> + <div> + <div> + <div> + <div> + <label for="firstName-0"> +<em>*</em>First Name:</label> + <input type="text" id="firstName-0" name="addrsForm[0].firstName" value="" maxlength="30" +title="overall type: CREDIT_CARD_NAME_FIRST server type: NAME_FIRST heuristic type: CREDIT_CARD_NAME_FIRST label: *First Name: parseable name: addrsForm[0].firstName field signature: 923482701 form signature: 4882000530220881601" +autofill-prediction="CREDIT_CARD_NAME_FIRST" +> + </div> + </div> + <div> + <div> + <label for="lastName-0"> +<em>*</em>Last Name:</label> + <input type="text" id="lastName-0" name="addrsForm[0].lastName" value="" maxlength="30" +title="overall type: CREDIT_CARD_NAME_LAST server type: NAME_LAST heuristic type: CREDIT_CARD_NAME_LAST label: *Last Name: parseable name: addrsForm[0].lastName field signature: 3226352217 form signature: 4882000530220881601" +autofill-prediction="CREDIT_CARD_NAME_LAST" +> + </div> + </div> + </div> + <div> + <label for="shipToName-0">Company Name:</label> + <input type="text" id="shipToName-0" name="addrsForm[0].shiptoName" value="" maxlength="30" +title="overall type: COMPANY_NAME server type: COMPANY_NAME heuristic type: COMPANY_NAME label: Company Name: parseable name: addrsForm[0].shiptoName field signature: 2508018426 form signature: 4882000530220881601" +autofill-prediction="COMPANY_NAME" +> + </div> + <div> + <label for="address1-0"> +<em>*</em>Address:</label> + <input type="text" id="address1-0" name="addrsForm[0].address1" value="" maxlength="25" +title="overall type: ADDRESS_HOME_LINE1 server type: ADDRESS_HOME_LINE1 heuristic type: ADDRESS_HOME_LINE1 label: *Address: parseable name: addrsForm[0].address1 field signature: 3908367322 form signature: 4882000530220881601" +autofill-prediction="ADDRESS_HOME_LINE1" +> + </div> + <div> + <label for="address2-0">Address Line 2: <span>(optional)</span> +</label> + <input type="text" id="address2-0" name="addrsForm[0].address2" value="" maxlength="25" +title="overall type: ADDRESS_HOME_LINE2 server type: ADDRESS_HOME_LINE2 heuristic type: ADDRESS_HOME_LINE2 label: Address Line 2: (optional) parseable name: addrsForm[0].address2 field signature: 3866764654 form signature: 4882000530220881601" +autofill-prediction="ADDRESS_HOME_LINE2" +> + </div> + <div> + <div> + <div> + <label for="postalCode1-0"> +<em>*</em>Postal Code:</label> + <input type="text" id="postalCode1-0" name="addrsForm[0].postalCode1" value="" maxlength="9" +title="overall type: ADDRESS_HOME_ZIP server type: ADDRESS_HOME_ZIP heuristic type: ADDRESS_HOME_ZIP label: *Postal Code: parseable name: addrsForm[0].postalCode1 field signature: 1708240695 form signature: 4882000530220881601" +autofill-prediction="ADDRESS_HOME_ZIP" +> + </div> + </div> + </div> + <div> + <div> + <div > + <label for="checkoutCityAndState"> +<em>*</em>City & State</label> + <select id="checkoutCityAndState" +title="overall type: ADDRESS_HOME_CITY server type: NO_SERVER_DATA heuristic type: ADDRESS_HOME_CITY label: *City & State parseable name: checkoutCityAndState field signature: 3899416585 form signature: 4882000530220881601" +autofill-prediction="ADDRESS_HOME_CITY" +> + </select> + </div> + </div> + </div> + <div> + <div> + <div> + <label for="city-0"> +<em>*</em>City:</label> + <input type="text" id="city-0" name="addrsForm[0].city" value="" +title="overall type: ADDRESS_HOME_CITY server type: ADDRESS_HOME_CITY heuristic type: ADDRESS_HOME_CITY label: *City: parseable name: addrsForm[0].city field signature: 1634404945 form signature: 4882000530220881601" +autofill-prediction="ADDRESS_HOME_CITY" +> + </div> + </div> + <div> + <div > + <label for="state-0"> +<em>*</em>State:</label> + <select name="addrsForm[0].state" id="state-0" size="1" +title="overall type: ADDRESS_HOME_STATE server type: ADDRESS_HOME_STATE heuristic type: ADDRESS_HOME_STATE label: *State: parseable name: addrsForm[0].state field signature: 3377657622 form signature: 4882000530220881601" +autofill-prediction="ADDRESS_HOME_STATE" +> + <option value="{blank}"> Select a state + </option> + <option value="AK"> AK - Alaska + </option> + <option value="AL"> AL - Alabama + </option> + <option value="AR"> AR - Arkansas + </option> + <option value="AZ"> AZ - Arizona + </option> + <option value="CA"> CA - California + </option> + <option value="CO"> CO - Colorado + </option> + <option value="CT"> CT - Connecticut + </option> + <option value="DC"> DC - District of Columbia + </option> + <option value="DE"> DE - Delaware + </option> + <option value="FL"> FL - Florida + </option> + <option value="GA"> GA - Georgia + </option> + <option value="HI"> HI - Hawaii + </option> + <option value="IA"> IA - Iowa + </option> + <option value="ID"> ID - Idaho + </option> + <option value="IL"> IL - Illinois + </option> + <option value="IN"> IN - Indiana + </option> + <option value="KS"> KS - Kansas + </option> + <option value="KY"> KY - Kentucky + </option> + <option value="LA"> LA - Louisiana + </option> + <option value="MA"> MA - Massachusetts + </option> + <option value="MD"> MD - Maryland + </option> + <option value="ME"> ME - Maine + </option> + <option value="MI"> MI - Michigan + </option> + <option value="MN"> MN - Minnesota + </option> + <option value="MO"> MO - Missouri + </option> + <option value="MS"> MS - Mississippi + </option> + <option value="MT"> MT - Montana + </option> + <option value="NC"> NC - North Carolina + </option> + <option value="ND"> ND - North Dakota + </option> + <option value="NE"> NE - Nebraska + </option> + <option value="NH"> NH - New Hampshire + </option> + <option value="NJ"> NJ - New Jersey + </option> + <option value="NM"> NM - New Mexico + </option> + <option value="NV"> NV - Nevada + </option> + <option value="NY"> NY - New York + </option> + <option value="OH"> OH - Ohio + </option> + <option value="OK"> OK - Oklahoma + </option> + <option value="OR"> OR - Oregon + </option> + <option value="PA"> PA - Pennsylvania + </option> + <option value="PR"> PR - Puerto Rico + </option> + <option value="RI"> RI - Rhode Island + </option> + <option value="SC"> SC - South Carolina + </option> + <option value="SD"> SD - South Dakota + </option> + <option value="TN"> TN - Tennessee + </option> + <option value="TX"> TX - Texas + </option> + <option value="UT"> UT - Utah + </option> + <option value="VA"> VA - Virginia + </option> + <option value="VI"> VI - US Virgin Islands + </option> + <option value="VT"> VT - Vermont + </option> + <option value="WA"> WA - Washington + </option> + <option value="WI"> WI - Wisconsin + </option> + <option value="WV"> WV - West Virginia + </option> + <option value="WY"> WY - Wyoming + </option> + </select> + </div> + </div> + </div> + <div> + <div> + <div> + <label> +<em>*</em>Phone:</label> + <input type="tel" id="phoneNumber1-0" name="addrsForm[0].phoneNumber1" value="" maxlength="3" +title="overall type: PHONE_HOME_CITY_CODE server type: PHONE_HOME_CITY_CODE heuristic type: PHONE_HOME_CITY_CODE label: *Phone: parseable name: addrsForm[0].phoneNumber1 field signature: 1254557631 form signature: 4882000530220881601" +autofill-prediction="PHONE_HOME_CITY_CODE" +> + <input type="tel" id="phoneNumber2-0" name="addrsForm[0].phoneNumber2" value="" maxlength="3" +title="overall type: PHONE_HOME_NUMBER server type: PHONE_HOME_NUMBER heuristic type: PHONE_HOME_NUMBER label: *Phone: parseable name: addrsForm[0].phoneNumber2 field signature: 1999321122 form signature: 4882000530220881601" +autofill-prediction="PHONE_HOME_NUMBER" +> + <input type="tel" id="phoneNumber3-0" name="addrsForm[0].phoneNumber3" value="" maxlength="4" +title="overall type: PHONE_HOME_NUMBER server type: PHONE_HOME_NUMBER heuristic type: PHONE_HOME_NUMBER label: *Phone: parseable name: addrsForm[0].phoneNumber3 field signature: 348537713 form signature: 4882000530220881601" +autofill-prediction="PHONE_HOME_NUMBER" +> + </div> + </div> + <div> + <div> + <label for="phoneNumber4-0">Ext</label> + <input type="tel" id="phoneNumber4-0" name="addrsForm[0].phoneNumber4" value="" maxlength="4" +title="overall type: PHONE_HOME_NUMBER server type: PHONE_HOME_NUMBER heuristic type: PHONE_HOME_EXTENSION label: Ext parseable name: addrsForm[0].phoneNumber4 field signature: 3060772033 form signature: 4882000530220881601" +autofill-prediction="PHONE_HOME_NUMBER" +> + </div> + </div> + </div> + <div> + <div> + <div id="addressChangeEmailConfirm"> + <label for="email-0"> +<em>*</em>Email Address:</label> + <input type="email" id="email-0" name="addrsForm[0].email" value="" maxlength="40" +title="overall type: EMAIL_ADDRESS server type: EMAIL_ADDRESS heuristic type: EMAIL_ADDRESS label: *Email Address: parseable name: addrsForm[0].email field signature: 1389763646 form signature: 4882000530220881601" +autofill-prediction="EMAIL_ADDRESS" +> + </div> + </div> + </div> + </div> + </div> + </div> + <div> + <input type="hidden" name="billingEmailPreferences.emailHtml" value="true"> + <div> + <input type="hidden" name="billingEmailPreferences.optInSelected" value="true"> +<a target="_blank">Privacy Policy</a> + </div> + </div> + </div> + </div> + <div> + <div id="checkoutBillLoyalty"> + <div id="rewardsSections"> + <div id="noWorkLifeRewards"> + <div> + <div> + <div> + <input type="text" name="loyaltyID" +title="overall type: PHONE_HOME_CITY_AND_NUMBER server type: PHONE_HOME_CITY_AND_NUMBER heuristic type: UNKNOWN_TYPE label: Apply parseable name: loyaltyID field signature: 1222391720 form signature: 4882000530220881601" maxlength="10" value="" +autofill-prediction="PHONE_HOME_CITY_AND_NUMBER" +> + <p> +<a + >Member number lookup</a> + </p> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div id="checkoutBillingGiftCards"> + <div> + <div> + <div> + <div> + <div> + <label for="gcInput">Gift card or certificate number</label> + <input type="tel" name="paymentFormInfo.storedValueCardNumber" maxlength="19" value="" id="gcInput" +title="overall type: CREDIT_CARD_NUMBER server type: CREDIT_CARD_NUMBER heuristic type: UNKNOWN_TYPE label: Gift card or certificate number parseable name: paymentFormInfo.storedValueCardNumber field signature: 2610516022 form signature: 4882000530220881601" +autofill-prediction="CREDIT_CARD_NUMBER" +> + </div> + </div> + <div> + <div> + <label for="gcPinInput">PIN</label> + <input type="tel" name="paymentFormInfo.storedValueCardPin" maxlength="4" value="" id="gcPinInput" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: PIN parseable name: paymentFormInfo.storedValueCardPin field signature: 3801610036 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE"> +<img src="./Office%20Supplies,%20Furniture,%20Technology%20at%20Office%20Depot%20-%20Payment_files/info-blue.png" alt="Need Help?" title="Need Help?" id="giftCardPinTooltipTarget" +> + </div> + </div> + </div> + </div> + </div> + </div> + <div> + <div> + <input type="hidden" id="couponCount" value="0"> + <input type="hidden" id="invalidCouponNumber" value=""> + <input type="hidden" id="couponInWhichStep" value="checkoutV2"> + <input type="hidden" id="couponRemove" value="Remove Coupon"> + <input type="hidden" id="close" value="Close"> + <input type="hidden" id="invalidCouponCode" value="<p>Invalid Coupon Code</p>"> + <input type="hidden" id="validCouponCode" value="<p>Coupon Code Applied</p>"> + <input type="hidden" id="validCouponPrompt" value="This coupon has been applied to your order."> + <input type="hidden" id="couponRemoveFailHeader" value="Remove Coupon Fail"> + <input type="hidden" name="offer.x" value="y"> + <div> + <div id="couponDialog" +title="Coupon Offer"> + <div> + <div> + <ul> + <li> + <input type="button" value="Skip and Continue"> + </li> + <li> + <input type="button" value="See Offer Details"> + </li> + </ul> + </div> + </div> + </div> + <div> + <div> + <div> + <label for="referralCode">Coupon Code:</label> + <input type="tel" name="referralCode" id="referralCode" size="14" maxlength="14" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Coupon Code: parseable name: referralCode field signature: 2314309716 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE" +> + </div> + </div> + </div> + </div> + </div> + </div> + <div> + <input type="hidden" name="customLabelsPermissionsForm.requestor" value="confirm"> + <input type="hidden" name="modifyFormDataWithBackendData" value="true"> + <div id="checkoutBillingAdditionalInfo"> + <div> + <div> + <div> + <div> + <label for="sourceCode">Catalog/source code, Federal government code <img src="./Office%20Supplies,%20Furniture,%20Technology%20at%20Office%20Depot%20-%20Payment_files/info-blue.png" alt="What is a Catalog or Source Code, Federal Government Code?" +title="What is a Catalog or Source Code, Federal Government Code?"> + </label> + <input type="text" name="sourceCode" maxlength="5" size="22" autocomplete="" value="" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Catalog/source code, Federal government code parseable name: sourceCode field signature: 1650657570 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE" +> + </div> + </div> + </div> + <div> + <div> + <div> + <label>Customer PO#</label> + <input type="text" name="poName" maxlength="22" size="22" autocomplete="" value="" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Customer PO# parseable name: poName field signature: 330999673 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE" +> + </div> + </div> + </div> + <div> + <div> + <label>Comments</label> + <p> +<label>Informational purposes only. Not utilized by our delivery carriers.</label> + </p> + <textarea name="commentText" cols="30" rows="3" maxlength="87" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Comments Informational purposes only. Not utilized by our delivery carriers. parseable name: commentText field signature: 2293147818 form signature: 4882000530220881601" +autofill-prediction="UNKNOWN_TYPE" +> +</textarea> + <span id="">87</span> + </div> + </div> + </div> + </div> + </div> + <div id="paymentsButtonsMainBilling"> + <input type="hidden" id="showPayPalCheckoutButton_toggleCheck" name="showPayPalCheckoutButton_toggleCheck" value="true"> + <input type="hidden" id="showMasterPassCheckoutButton_toggleCheck" name="showMasterPassCheckoutButton_toggleCheck" value="true"> + </div> + </div> + <div> + <div> + <div> + <div> + <table> + <tbody> + <tr> + <td colspan="4"> + <input type="hidden" name="cartRow[0].cartEntryId" value="0"> + <input type="hidden" name="cartRow[0].minQty" value="0"> + <input type="hidden" name="cartRow[0].originalQty" value="0"> + <input type="hidden" name="cartRow[0].skuNoEffort" value="510493"> + <input type="hidden" name="cartRow[0].qtyMinimumLimitation" value="1"> + <input type="hidden" name="cartRow[0].qtyIncrementLimitation" value="1"> + </td> + </tr> + </tbody> + </table> + </div> + </div> + </div> + <div id="paymentsOrderSummary"> + <input type="hidden" id="showPayPalCheckoutButton_toggleCheck" name="showPayPalCheckoutButton_toggleCheck" value="true"> + <input type="hidden" id="showMasterPassCheckoutButton_toggleCheck" name="showMasterPassCheckoutButton_toggleCheck" value="true"> + </div> + </div> + </div> + </div> + </form> + </body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/ShippingAddress.html b/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/ShippingAddress.html new file mode 100644 index 0000000000..849e3be495 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/ShippingAddress.html @@ -0,0 +1,347 @@ +<!DOCTYPE html> +<html lang="en-US"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> + <meta http-equiv="expires" content="0"> + <meta http-equiv="pragma" content="no-cache"> + <meta http-equiv="cache-control" content="no-cache"> + <meta http-equiv="pragma-directive" content="no-cache"> + <meta http-equiv="cache-directive" content="no-cache"> + <meta name="robots" content="NOODP, NOYDIR"> + <title> +</title> + </head> + <body> + <meta name="apple-itunes-app" content="app-id=471037434"> + <title>Office Supplies, Furniture, Technology at Office Depot</title> + <meta name="description" content="Shop office supplies, furniture & technology at Office Depot. For paper, ink, toner & more, find trusted brands at everyday low prices."> + <meta name="keywords" content="office supplies, office furniture, technology, electronics"> + <meta property="og:image" content="https://secure.www.odcdn.com/images/us/od/brand.png"> + <form name="anonymousConfirmForm" method="post" action="https://www.officedepot.com/checkout/anonymousConfirmRouter.do" id="confirmFormId" novalidate="novalidate"> + <input type="hidden" name="partialReg" value="false"> +<input type="hidden" name="cartIsNotAllPickup" value="true"> +<input type="hidden" name="returnurl" value="/checkout/checkout/anonymousConfirmRouter.do"> + <div id="shipPageV2"> + <div> + <div> + <div> + <div> + <div> + <div> + <div id="reg_shippingInfo"> + <input id="skipGroup1ShippingAddress" type="hidden" name="skipGroup1ShippingAddress" value="false"> + <div> + <input type="hidden" id="country-2" name="addrsForm[2].country" value="USA"> + <div> + <div> + <div> + <div > + <label for="firstName-2" > + <em>*</em>First Name:</label> + <input type="text" id="firstName-2" name="addrsForm[2].firstName" value="" maxlength="30" tabindex="1" +title="overall type: NAME_FIRST server type: NAME_FIRST heuristic type: NAME_FIRST label: *First Name: parseable name: addrsForm[2].firstName field signature: 3337773590 form signature: 5001876119589580889" +autofill-prediction="NAME_FIRST" +> + </div> + </div> + <div> + <div > + <label for="lastName-2"> + <em>*</em>Last Name:</label> + <input type="text" id="lastName-2" name="addrsForm[2].lastName" value="" maxlength="30" tabindex="2" +title="overall type: NAME_LAST server type: NAME_LAST heuristic type: NAME_LAST label: *Last Name: parseable name: addrsForm[2].lastName field signature: 3075576638 form signature: 5001876119589580889" +autofill-prediction="NAME_LAST" +> + </div> + </div> + </div> + <div> + <label for="shipToName-2"> Company Name:</label> + <input type="text" id="shipToName-2" name="addrsForm[2].shiptoName" value="" maxlength="30" tabindex="3" +title="overall type: COMPANY_NAME server type: COMPANY_NAME heuristic type: COMPANY_NAME label: Company Name: parseable name: addrsForm[2].shiptoName field signature: 2052742641 form signature: 5001876119589580889" +autofill-prediction="COMPANY_NAME" +> + </div> + <div > + <label for="address1-2"> + <em>*</em>Address:</label> + <input type="text" id="address1-2" name="addrsForm[2].address1" value="" maxlength="25" tabindex="4" +title="overall type: ADDRESS_HOME_LINE1 server type: ADDRESS_HOME_LINE1 heuristic type: ADDRESS_HOME_LINE1 label: *Address: parseable name: addrsForm[2].address1 field signature: 2660215956 form signature: 5001876119589580889" +autofill-prediction="ADDRESS_HOME_LINE1" +> + </div> + <div> + <label for="address2-2"> Address Line 2: + <span>(optional)</span> +</label> + <input type="text" id="address2-2" name="addrsForm[2].address2" value="" maxlength="25" tabindex="5" +title="overall type: ADDRESS_HOME_LINE2 server type: ADDRESS_HOME_LINE2 heuristic type: ADDRESS_HOME_LINE2 label: Address Line 2: (optional) parseable name: addrsForm[2].address2 field signature: 2293911247 form signature: 5001876119589580889" +autofill-prediction="ADDRESS_HOME_LINE2" +> + </div> + <div> + <div> + <div > + <label for="postalCode1-2"> + <em>*</em>Postal Code:</label> + <input type="text" id="postalCode1-2" name="addrsForm[2].postalCode1" value="" maxlength="9" tabindex="6" +title="overall type: ADDRESS_HOME_ZIP server type: ADDRESS_HOME_ZIP heuristic type: ADDRESS_HOME_ZIP label: *Postal Code: parseable name: addrsForm[2].postalCode1 field signature: 1044898225 form signature: 5001876119589580889" +autofill-prediction="ADDRESS_HOME_ZIP" +> + </div> + </div> + </div> + <div> + <div> + <div > + <label for="checkoutCityAndState"> +<em>*</em> +</em>City & State</label> + <select id="checkoutCityAndState" +title="overall type: ADDRESS_HOME_CITY server type: NO_SERVER_DATA heuristic type: ADDRESS_HOME_CITY label: *City & State parseable name: checkoutCityAndState field signature: 3899416585 form signature: 5001876119589580889" +autofill-prediction="ADDRESS_HOME_CITY" +> + <option value="0"> MOUNTAIN VIEW, CA + </option> + <option value="other"> Other City and State + </option> + </select> + </div> + </div> + </div> + <div> + <div> + <div > + <label for="city-2"> + <em>*</em>City:</label> + <input type="text" id="city-2" name="addrsForm[2].city" value="" +title="overall type: ADDRESS_HOME_CITY server type: ADDRESS_HOME_CITY heuristic type: ADDRESS_HOME_CITY label: *City: parseable name: addrsForm[2].city field signature: 2341281094 form signature: 5001876119589580889" +autofill-prediction="ADDRESS_HOME_CITY" +> + </div> + </div> + <div> + <div > + <label for="state-2"> + <em>*</em>State:</label> + <select name="addrsForm[2].state" id="state-2" size="1" +title="overall type: ADDRESS_HOME_STATE server type: ADDRESS_HOME_STATE heuristic type: ADDRESS_HOME_STATE label: *State: parseable name: addrsForm[2].state field signature: 3265256938 form signature: 5001876119589580889" +autofill-prediction="ADDRESS_HOME_STATE" +> + <option value="{blank}"> Select a state + </option> + <option value="AK"> AK - Alaska + </option> + <option value="AL"> AL - Alabama + </option> + <option value="AR"> AR - Arkansas + </option> + <option value="AZ"> AZ - Arizona + </option> + <option value="CA"> CA - California + </option> + <option value="CO"> CO - Colorado + </option> + <option value="CT"> CT - Connecticut + </option> + <option value="DC"> DC - District of Columbia + </option> + <option value="DE"> DE - Delaware + </option> + <option value="FL"> FL - Florida + </option> + <option value="GA"> GA - Georgia + </option> + <option value="HI"> HI - Hawaii + </option> + <option value="IA"> IA - Iowa + </option> + <option value="ID"> ID - Idaho + </option> + <option value="IL"> IL - Illinois + </option> + <option value="IN"> IN - Indiana + </option> + <option value="KS"> KS - Kansas + </option> + <option value="KY"> KY - Kentucky + </option> + <option value="LA"> LA - Louisiana + </option> + <option value="MA"> MA - Massachusetts + </option> + <option value="MD"> MD - Maryland + </option> + <option value="ME"> ME - Maine + </option> + <option value="MI"> MI - Michigan + </option> + <option value="MN"> MN - Minnesota + </option> + <option value="MO"> MO - Missouri + </option> + <option value="MS"> MS - Mississippi + </option> + <option value="MT"> MT - Montana + </option> + <option value="NC"> NC - North Carolina + </option> + <option value="ND"> ND - North Dakota + </option> + <option value="NE"> NE - Nebraska + </option> + <option value="NH"> NH - New Hampshire + </option> + <option value="NJ"> NJ - New Jersey + </option> + <option value="NM"> NM - New Mexico + </option> + <option value="NV"> NV - Nevada + </option> + <option value="NY"> NY - New York + </option> + <option value="OH"> OH - Ohio + </option> + <option value="OK"> OK - Oklahoma + </option> + <option value="OR"> OR - Oregon + </option> + <option value="PA"> PA - Pennsylvania + </option> + <option value="PR"> PR - Puerto Rico + </option> + <option value="RI"> RI - Rhode Island + </option> + <option value="SC"> SC - South Carolina + </option> + <option value="SD"> SD - South Dakota + </option> + <option value="TN"> TN - Tennessee + </option> + <option value="TX"> TX - Texas + </option> + <option value="UT"> UT - Utah + </option> + <option value="VA"> VA - Virginia + </option> + <option value="VI"> VI - US Virgin Islands + </option> + <option value="VT"> VT - Vermont + </option> + <option value="WA"> WA - Washington + </option> + <option value="WI"> WI - Wisconsin + </option> + <option value="WV"> WV - West Virginia + </option> + <option value="WY"> WY - Wyoming + </option> + </select> + </div> + </div> + </div> + <div> + <div> + <div> + <label> + <em>*</em>Phone:</label> + <input type="tel" id="phoneNumber1-2" name="addrsForm[2].phoneNumber1" value="" maxlength="3" +title="overall type: PHONE_HOME_CITY_CODE server type: PHONE_HOME_CITY_CODE heuristic type: PHONE_HOME_CITY_CODE label: *Phone: parseable name: addrsForm[2].phoneNumber1 field signature: 3051888398 form signature: 5001876119589580889" tabindex="7" +autofill-prediction="PHONE_HOME_CITY_CODE" +> + <input type="tel" id="phoneNumber2-2" name="addrsForm[2].phoneNumber2" value="" maxlength="3" +title="overall type: PHONE_HOME_NUMBER server type: PHONE_HOME_NUMBER heuristic type: PHONE_HOME_NUMBER label: *Phone: parseable name: addrsForm[2].phoneNumber2 field signature: 4001233923 form signature: 5001876119589580889" tabindex="8" +autofill-prediction="PHONE_HOME_NUMBER" +> + <input type="tel" id="phoneNumber3-2" name="addrsForm[2].phoneNumber3" value="" maxlength="4" +title="overall type: PHONE_HOME_NUMBER server type: PHONE_HOME_NUMBER heuristic type: PHONE_HOME_NUMBER label: *Phone: parseable name: addrsForm[2].phoneNumber3 field signature: 3507119292 form signature: 5001876119589580889" tabindex="9" +autofill-prediction="PHONE_HOME_NUMBER" +> + </div> + </div> + <div> + <div> + <label for="phoneNumber4-2"> Ext</label> + <input type="tel" id="phoneNumber4-2" name="addrsForm[2].phoneNumber4" value="" maxlength="4" tabindex="10" +title="overall type: PHONE_HOME_NUMBER server type: PHONE_HOME_NUMBER heuristic type: PHONE_HOME_EXTENSION label: Ext parseable name: addrsForm[2].phoneNumber4 field signature: 2592995828 form signature: 5001876119589580889" +autofill-prediction="PHONE_HOME_NUMBER" +> + </div> + </div> + </div> + <div> + <div> + <div id="addressChangeEmailConfirm" > + <label for="email-2"> + <em>*</em>Email Address:</label> + <input type="email" id="email-2" name="addrsForm[2].email" value="" maxlength="40" tabindex="11" +title="overall type: EMAIL_ADDRESS server type: EMAIL_ADDRESS heuristic type: EMAIL_ADDRESS label: *Email Address: parseable name: addrsForm[2].email field signature: 3353412459 form signature: 5001876119589580889" +autofill-prediction="EMAIL_ADDRESS" +> + </div> + </div> + </div> + </div> + </div> + </div> + <div> + <input type="checkbox" id="guestEmailOptIn" name="guestEmailOptIn" checked="checked" tabindex="12" +title="overall type: UNKNOWN_TYPE server type: NO_SERVER_DATA heuristic type: UNKNOWN_TYPE label: Send me exclusive coupons and special offers to my inbox. parseable name: guestEmailOptIn field signature: 2624588538 form signature: 5001876119589580889" +autofill-prediction="UNKNOWN_TYPE"> +<input type="hidden" name="guestEmailOptIn" value="false"> +<label for="guestEmailOptIn" +>Send me exclusive coupons and special offers to my inbox.</label> + </div> + <input type="hidden" name="shippingEmailPreferences.emailHtml" value="true"> +<input type="hidden" name="shippingEmailPreferences.optInSelected" value="true"> + </div> + </div> + </div> + </div> + </div> + <div> + <div> + <div> + <div> + <table> + <tbody> + <tr> + <td colspan="4"> +<input type="hidden" name="cartRow[0].cartEntryId" value="0"> +<input type="hidden" name="cartRow[0].minQty" value="0"> + <input type="hidden" name="cartRow[0].originalQty" value="0"> +<input type="hidden" name="cartRow[0].skuNoEffort" value="510493"> +<input type="hidden" name="cartRow[0].qtyMinimumLimitation" value="1"> +<input type="hidden" name="cartRow[0].qtyIncrementLimitation" value="1"> + </td> + </tr> + </tbody> + </table> + </div> + </div> + </div> + </div> + </div> + <input type="hidden" name="step" value="ship"> +<input type="hidden" name="orderNumber" value="914646582"> +<input type="hidden" name="orderSubNumber" value="001"> +<input type="hidden" name="sameAsBilling" value="true"> + <input type="hidden" name="linked" value="false"> +<input type="hidden" name="billToID" value=""> +<input type="hidden" name="nececessaryToRevalidate" id="nececessaryToRevalidate" value="false"> + <input type="hidden" name="revalidateTrigger" id="revalidateTrigger" value=""> +<input type="hidden" name="group1Error" id="group1Error" value="false"> +<input type="hidden" name="flowMode" id="flowMode" value="ANONYMOUS"> + <div id="skipGroupOne"> + <div> + <input type="submit" value="Edit" name="cmd_edit" id="editShipping" +title="Edit"> +<button type="submit" name="cmd_confirm" id="continue">Continue</button> + </div> + </div> + </div> + </form> + <input type="hidden" name="enableGoogleAddr" id="enableGoogleAddr" value="true"> + </body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/SignIn.html b/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/SignIn.html new file mode 100644 index 0000000000..70b55feddd --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/OfficeDepot/SignIn.html @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<html lang="en-US"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> + <meta http-equiv="expires" content="0"> + <meta http-equiv="pragma" content="no-cache"> + <meta http-equiv="cache-control" content="no-cache"> + <meta http-equiv="pragma-directive" content="no-cache"> + <meta http-equiv="cache-directive" content="no-cache"> + <meta name="robots" content="NOODP, NOYDIR"> + <title> +</title> + </head> + <body> + <meta name="apple-itunes-app" content="app-id=471037434"> + <title>Office Supplies, Furniture, Technology at Office Depot</title> + <meta name="description" content="Shop office supplies, furniture & technology at Office Depot. For paper, ink, toner & more, find trusted brands at everyday low prices."> + <meta name="keywords" content="office supplies, office furniture, technology, electronics"> + <meta property="og:image" content="https://secure.www.odcdn.com/images/us/od/brand.png"> + <form name="loginForm" method="post" action="https://www.officedepot.com/account/loginAccountSet.do" autocomplete="off" id="loginForm"> + <input type="hidden" name="confirmationRequired" value="false"> + <input type="hidden" name="requestor" value="accountSummary"> + <input type="hidden" name="loginDestination" value=""> + <input type="hidden" id="isLoginFromRewardsModal" name="isLoginFromRewardsModal"> + <input type="hidden" name="reqLevel" value="ACCOUNT"> + <div> + <label for="loginName-0">Login name or email address</label> + <label>Logging in as a different user may cause pricing changes</label> + <input type="text" name="loginName" maxlength="100" size="10" autocomplete="" value="" id="loginName-0" tabindex="1"> + </div> + <div> + <label for="loginPassword">Password</label> + <input type="password" name="password" maxlength="50" size="10" value="" id="loginPassword" tabindex="2"> + <span id="forgotPasswordLink"> +<a >Forgot login name/password?</a> +</span> + </div> + <div> + <input type="checkbox" name="autoLogin" tabindex="3" value="on"> Keep me logged in + </div> + </form> + </body> +</html> |