diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /browser/extensions/formautofill/test/fixtures/third_party/BestBuy | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/extensions/formautofill/test/fixtures/third_party/BestBuy')
3 files changed, 630 insertions, 0 deletions
diff --git a/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_Payment.html b/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_Payment.html new file mode 100644 index 0000000000..41bece3ef2 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_Payment.html @@ -0,0 +1,283 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Checkout – Best Buy</title> + </head> + <body> + <form name="frmSearch" action="https://www.bestbuy.com/site/searchpage.jsp" method="GET"> + <input type="text" value="" name="st" maxlength="90" placeholder="Search Best Buy" id="gh-search-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"> + <input type="hidden" value="UTF-8" name="_dyncharset"> + <input type="hidden" value="pcat17071" name="id"> + <input type="hidden" value="page" name="type"> + <input type="hidden" value="Global" name="sc"> + <input type="hidden" value="1" name="cp"> + <input type="hidden" value="" name="nrp"> + <input type="hidden" value="" name="sp"> + <input type="hidden" value="" name="qp"> + <input type="hidden" value="n" name="list"> + <input type="hidden" value="true" name="af"> + <input type="hidden" value="y" name="iht"> + <input type="hidden" value="All Categories" name="usc"> + <input type="hidden" value="960" name="ks"> + <input type="hidden" id="keys" value="keys" name="keys"> + </form> + <form action="https://www-ssl.bestbuy.com/site/olspage.jsp?id=pcat17009&type=page&fastTrack=true" id="footer-email-form"> + <label for="footerEmailSignup">GET THE LATEST DEALS & MORE</label> + <input type="text" id="footerEmailSignup" name="email" placeholder="Enter E-Mail Address"> + <input type="submit" value="Sign Up" +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=""> + </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=""> + </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=""> + </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=""> + </div> + </label> + </div> + <div> + <label for="fulfillment.fulfillmentGroups.0.fulfillment.address.state"> + <span> + <p>State</p> + </span> + <div> + <select id="fulfillment.fulfillmentGroups.0.fulfillment.address.state" name="state"> + <option value="">Select a state</option> + <option value="AL">AL - Alabama</option> + <option value="AK">AK - Alaska</option> + <option value="AP">AP - Armed Forces Pacific</option> + <option value="AE">AE - Armed Force Europe</option> + <option value="AA">AA - Armed Forces America</option> + <option value="AZ">AZ - Arizona</option> + <option value="AR">AR - Arkansas</option> + <option value="CA">CA - California</option> + <option value="CO">CO - Colorado</option> + <option value="CT">CT - Connecticut</option> + <option value="DC">DC - Washington D.C.</option> + <option value="DE">DE - Delaware</option> + <option value="FL">FL - Florida</option> + <option value="GA">GA - Georgia</option> + <option value="GU">GU - Guam</option> + <option value="HI">HI - Hawaii</option> + <option value="ID">ID - Idaho</option> + <option value="IL">IL - Illinois</option> + <option value="IN">IN - Indiana</option> + <option value="IA">IA - Iowa</option> + <option value="KS">KS - Kansas</option> + <option value="KY">KY - Kentucky</option> + <option value="LA">LA - Louisiana</option> + <option value="ME">ME - Maine</option> + <option value="MD">MD - Maryland</option> + <option value="MA">MA - Massachusetts</option> + <option value="MI">MI - Michigan</option> + <option value="MN">MN - Minnesota</option> + <option value="MS">MS - Mississippi</option> + <option value="MO">MO - Missouri</option> + <option value="MT">MT - Montana</option> + <option value="NE">NE - Nebraska</option> + <option value="NV">NV - Nevada</option> + <option value="NH">NH - New Hampshire</option> + <option value="NJ">NJ - New Jersey</option> + <option value="NM">NM - New Mexico</option> + <option value="NY">NY - New York</option> + <option value="NC">NC - North Carolina</option> + <option value="ND">ND - North Dakota</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="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="VT">VT - Vermont</option> + <option value="VA">VA - Virginia</option> + <option value="VI">VI - Virgin Islands</option> + <option value="WA">WA - Washington</option> + <option value="WV">WV - West Virginia</option> + <option value="WI">WI - Wisconsin</option> + <option value="WY">WY - Wyoming</option> + </select> + </div> + </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=""> + </div> + </label> + </div> + </form> + <div role="search"> + <div id="app"> + <div> + <div> + <div> + <div> + <section> + <div> + <div> + <section> + <section> + <div> + <ul> + <li> + <label for="ispu-fulfillmentci779178028329"> + <div> + <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> + </strong> + <div> + <span> + <p>Store pick ups are usually ready within one hour and held for up to 8 days</p> + </span> + </div> + </label> + </li> + </ul> + </div> + <div> + <ul> + <li> + <label for="0losTwo Day"> + <div> + <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=""> +<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=""> +<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=""> +<i> +</i> + </div> + <span> + <p>Save this as my billing address</p> + </span> + </label> + </section> + </section> + </div> + <div> + <section> + <div> + <label for="user.emailAddress"> + <span> + <p>E-mail Address</p> + </span> + <div> + <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=""> + </div> + </label> + </div> + <div> + <label for="text-updates"> + <div> + <input type="checkbox" id="text-updates" value=""> + </div> + <span> + <p>Send me text notifications for my order</p> + </span> + </label> + </div> + </section> + </div> + </div> + </section> + </div> + </div> + </div> + </div> + </div> + </div> + </body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_ShippingAddress.html b/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_ShippingAddress.html new file mode 100644 index 0000000000..f8b88d0778 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/Checkout_ShippingAddress.html @@ -0,0 +1,326 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Checkout – Best Buy</title> + </head> + <body> + <form name="frmSearch" action="https://www.bestbuy.com/site/searchpage.jsp" method="GET"> + <label for="gh-search-input">Search Best Buy</label> + <input type="text" value="" name="st" maxlength="90" placeholder="Search Best Buy" id="gh-search-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" /> + <input type="hidden" value="UTF-8" name="_dyncharset" /> + <input type="hidden" value="pcat17071" name="id" /> + <input type="hidden" value="page" name="type" /> + <input type="hidden" value="Global" name="sc" /> + <input type="hidden" value="1" name="cp" /> + <input type="hidden" value="" name="nrp" /> + <input type="hidden" value="" name="sp" /> + <input type="hidden" value="" name="qp" /> + <input type="hidden" value="n" name="list" /> + <input type="hidden" value="true" name="af" /> + <input type="hidden" value="y" name="iht" /> + <input type="hidden" value="All Categories" name="usc" /> + <input type="hidden" value="960" name="ks" /> + <input type="hidden" id="keys" value="keys" name="keys" /> + </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="" +title="overall type: NAME_FIRST + server type: NAME_FIRST + heuristic type: NAME_FIRST + label: First Name + parseable name: firstName + field signature: 1855613035 + form signature: 670076259790528644" +autofill-prediction="NAME_FIRST" +/> + </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="" +title="overall type: NAME_LAST + server type: NAME_LAST + heuristic type: NAME_LAST + label: Last Name + parseable name: lastName + field signature: 4163345999 + form signature: 670076259790528644" +autofill-prediction="NAME_LAST" +/> + </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="" +title="overall type: ADDRESS_HOME_STREET_ADDRESS + server type: ADDRESS_HOME_STREET_ADDRESS + heuristic type: ADDRESS_HOME_LINE1 + label: Address + parseable name: street + field signature: 3370790275 + form signature: 670076259790528644" +autofill-prediction="ADDRESS_HOME_STREET_ADDRESS" +/> + </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="" +title="overall type: ADDRESS_HOME_CITY + server type: ADDRESS_HOME_CITY + heuristic type: ADDRESS_HOME_CITY + label: City + parseable name: city + field signature: 2098554694 + form signature: 670076259790528644" +autofill-prediction="ADDRESS_HOME_CITY" +/> + </div> + </label> + </div> + <div> + <label for="fulfillment.fulfillmentGroups.0.fulfillment.address.state"> + <span> + <p>State</p> + </span> + <div> + <select id="fulfillment.fulfillmentGroups.0.fulfillment.address.state" name="state" +title="overall type: ADDRESS_HOME_STATE + server type: ADDRESS_HOME_STATE + heuristic type: ADDRESS_HOME_STATE + label: State + parseable name: state + field signature: 1878375253 + form signature: 670076259790528644" +autofill-prediction="ADDRESS_HOME_STATE" +/> + <option value="">Select a state</option> + <option value="AL">AL - Alabama</option> + <option value="AK">AK - Alaska</option> + <option value="AP">AP - Armed Forces Pacific</option> + <option value="AE">AE - Armed Forces Europe</option> + <option value="AA">AA - Armed Forces America</option> + <option value="AZ">AZ - Arizona</option> + <option value="AR">AR - Arkansas</option> + <option value="CA">CA - California</option> + <option value="CO">CO - Colorado</option> + <option value="CT">CT - Connecticut</option> + <option value="DC">DC - Washington D.C.</option> + <option value="DE">DE - Delaware</option> + <option value="FL">FL - Florida</option> + <option value="GA">GA - Georgia</option> + <option value="GU">GU - Guam</option> + <option value="HI">HI - Hawaii</option> + <option value="ID">ID - Idaho</option> + <option value="IL">IL - Illinois</option> + <option value="IN">IN - Indiana</option> + <option value="IA">IA - Iowa</option> + <option value="KS">KS - Kansas</option> + <option value="KY">KY - Kentucky</option> + <option value="LA">LA - Louisiana</option> + <option value="ME">ME - Maine</option> + <option value="MD">MD - Maryland</option> + <option value="MA">MA - Massachusetts</option> + <option value="MI">MI - Michigan</option> + <option value="MN">MN - Minnesota</option> + <option value="MS">MS - Mississippi</option> + <option value="MO">MO - Missouri</option> + <option value="MT">MT - Montana</option> + <option value="NE">NE - Nebraska</option> + <option value="NV">NV - Nevada</option> + <option value="NH">NH - New Hampshire</option> + <option value="NJ">NJ - New Jersey</option> + <option value="NM">NM - New Mexico</option> + <option value="NY">NY - New York</option> + <option value="NC">NC - North Carolina</option> + <option value="ND">ND - North Dakota</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="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="VT">VT - Vermont</option> + <option value="VA">VA - Virginia</option> + <option value="VI">VI - Virgin Islands</option> + <option value="WA">WA - Washington</option> + <option value="WV">WV - West Virginia</option> + <option value="WI">WI - Wisconsin</option> + <option value="WY">WY - Wyoming</option> + </select> + </div> + </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="" +title="overall type: ADDRESS_HOME_ZIP + server type: ADDRESS_HOME_ZIP + heuristic type: ADDRESS_HOME_ZIP + label: ZIP Code + parseable name: zipcode + field signature: 390262106 + form signature: 670076259790528644" +autofill-prediction="ADDRESS_HOME_ZIP" +/> + </div> + </label> + </div> + </form> + <form action="https://www-ssl.bestbuy.com/site/olspage.jsp?id=pcat17009&type=page&fastTrack=true" id="footer-email-form"> +<label for="footerEmailSignup">GET THE LATEST DEALS & MORE</label> + <input type="text" id="footerEmailSignup" name="email" placeholder="Enter E-Mail Address" /> + <input type="submit" value="Sign Up" +title="Sign Up" /> + </form> + <div id="checkout-container"> + <div id="app"> + <div> + <div> + <div> + <div> + <section> + <div> + <div> + <section> + <section> + <div> + <ul> + <li> + <label for="ispu-fulfillmentci779178028329"> + <div> + <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> + <span> + <p>Store pick ups are usually ready within one hour and held for up to 8 days</p> + </span> + </div> + </label> + </li> + </ul> + </div> + <div> + <ul> + <li> + <label for="0losTwo Day"> + <div> + <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> +<p>Order Summary</p> +</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="" /> + </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="" /> + </div> + <span> + <p>Save this as my billing address</p> + </span> + </label> + </section> + </section> + </div> + <div> + <section> + <div> + <label for="user.emailAddress"> + <span> + <p>E-mail Address</p> + </span> + <div> + <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="" /> + </div> + </label> + </div> + <div> + <label for="text-updates"> + <div> + <input type="checkbox" id="text-updates" value="" /> + </div> + <span> + <p>Send me text notifications for my order</p> + </span> + </label> + </div> + </section> + </div> + </div> + </section> + </div> + </div> + </div> + </div> + </div> + </div> + </body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/SignIn.html b/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/SignIn.html new file mode 100644 index 0000000000..8111d49c37 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/BestBuy/SignIn.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <title>Sign In to BestBuy.com</title> + </head> + <body> + <form action="https://www-ssl.bestbuy.com/" name="ciaSignOn" > + <div> + <label for="fld-e">E-Mail Address</label> + <input type="email" name="email_MAGIC_HASH_1" id="fld-e" required="" /> + </div> + <div> + <label for="fld-p1">Password</label> + <div> + <input type="password" name="password_MAGIC_HASH_2" id="fld-p1" required="" /> + </div> + </div> + <input type="hidden" name="Salmon" value="MAGIC_HASH_3" /> + </form> + </body> +</html> |