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/Walmart | |
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/Walmart')
3 files changed, 712 insertions, 0 deletions
diff --git a/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Checkout.html b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Checkout.html new file mode 100644 index 0000000000..ee5ded483e --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Checkout.html @@ -0,0 +1,243 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta name="generator" content="HTML Tidy for HTML5 for Mac OS X version 5.4.0"> + <meta http-equiv="content-type" content="text/html; charset=utf-8"> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> + <title> +</title> + </head> + <body> + <form> + <p>Enter new zip code:</p> + <label> +</label> + <div> + <p> +<label>ZIP Code (required)</label> +</p> + <label> +<input name="zip-code" value="" placeholder="" type="text"> +</label> + </div> + <div> + <div> +<button type="submit">Calculate</button> +</div> + <div> +<button type="button">Cancel</button> +</div> + </div> + </form> + <form> + <label> +<span> +<span>Promo code + (optional)</span> +</span> +</label> + <div> +<input name="promoCode"> +</div> + <button type="submit"> +<span>Apply</span> +</button> + </form> + <form method="post" novalidate=""> + <div> + <div> +<label> +<span>Email address (required)</span> +</label> +</div> + <div> + <div> +<label> +<input +title="Email address" placeholder="" name="email" type="email"> +</label> +</div> + </div> + </div> + <div> + <div> + <div> +<label> +<span>Password (required)</span> +</label> +</div> + <div> + <div> +<label> +<input +title="Password" placeholder="" name="password" + type="password"> +</label> +</div> + <div> +<label> +<button type="button"> +<label>Show</label> +</button> +</label> +</div> + </div> + <div> +<label> +<span>Password (required)</span> +</label> +</div> + <div> + <div> +<label> +<input +title="Password" placeholder="" name="password" + autocomplete="off" tabindex="-1" type="text"> +</label> +</div> + <div> +<label> +<button type="button" tabindex="-1"> +<label>Hide</label> +</button> +</label> +</div> + </div> + </div> + </div> + <div> + <div> + <div> +<button type="button">Forgot password?</button> +</div> + </div> + </div> + <div> +<button type="submit">Sign In</button> +</div> + </form> + <form novalidate="" method="post"> + <div>*required field</div> + <div> +<label> +<span>First name*</span> +</label> +</div> + <div> + <div> +<label> +<input +title="First name" placeholder="" name="firstName" type="text"> +</label> +</div> + </div> + <div> +<label> +<span>Last name*</span> +</label> +</div> + <div> + <div> +<label> +<input +title="Last name" placeholder="" name="lastName" + type="text"> +</label> +</div> + </div> + <div> +<label> +<span>Email address*</span> +</label> +</div> + <div> + <div> +<label> +<input +title="Email address" placeholder="" name="email" autocomplete="off" type="email"> +</label> +</div> + </div> + <div> +<input tabindex="-1" +title="Email Address" type="text"> +<input tabindex="-1" title="Password" type="password"> +</div> + <div> + <div> + <div> +<label> +<span>Password*</span> +</label> +</div> + <div> + <div> +<label> +<input +title="Password" placeholder="" name="password" + autocomplete="new-password" type="password"> +<span>Your password + must be between 6 and 12 characters.</span> +</label> + </div> + <div> +<label> +<button type="button"> +<label>Show</label> +</button> +</label> +</div> + </div> + <div> +<label> +<span>Password*</span> +</label> +</div> + <div> + <div> +<label> +<input +title="Password" placeholder="" name="password" + autocomplete="off" tabindex="-1" type="text"> +<span>Your password + must be between 6 and 12 characters.</span> +</label> + </div> + <div> +<label> +<button type="button" tabindex="-1"> +<label>Hide</label> +</button> +</label> +</div> + </div> + </div> + </div> + <div> +<span> +<span>By clicking Create Account, you acknowledge you + have read and agreed to our</span> +<a target="_blank">Terms of + Use</a> +<span>and</span> +<a target="_blank">Privacy + Policy</a> +<span>.</span> +</span> + </div> + <button type="submit">Create Account</button> + <div> + <div> +<input name="newsletter" id="checkbox-0" value="true" checked="checked" type="checkbox"> +<label for="checkbox-0"> +<span>Email me + about Rollbacks, special pricing, hot new items, gift ideas and + more.</span> +</label> + </div> + </div> + </form> + </body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Payment.html b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Payment.html new file mode 100644 index 0000000000..f6a46387b2 --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Payment.html @@ -0,0 +1,235 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta name="generator" content="HTML Tidy for HTML5 for Mac OS X version 5.4.0"> + <meta http-equiv="content-type" content="text/html; charset=utf-8"> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> + <title>Checkout</title> + <meta property="og:type" content="Website"> + <meta property="og:image" content="http://sphotos-b.xx.fbcdn.net/hphotos-ash4/229244_10150189115584236_162217_n.jpg"> + <meta property="og:site_name" content="Walmart.com"> + <meta property="fb:app_id" content="105223049547814"> + <meta property="twitter:card" content="summary"> + <meta property="twitter:image" content="https://pbs.twimg.com/profile_images/616833885/walmart_logo_youtube_bigger.jpg"> + <meta property="twitter:site" content="@walmart"> + <meta property="og:title" content="Checkout"> + <meta property="twitter:title" content="Checkout"> + </head> + <body> + <form> + <label> +<span> +<span>Promo code + (optional)</span> +</span> +</label> + <div> +<input name="promoCode"> +</div> + <button type="submit"> +<span>Apply</span> +</button> + </form> + <form> + <div> + <div> + <div> + <div>* required field</div> + <div> +<label for="firstName"> +<span>First name on + card*</span> +</label> + </div> + <div> + <div> +<label for="firstName"> +<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="" + name="lastName" +title="Last name" autocomplete="section-payment family-name" maxlength="25"> +</label> +</div> + </div> + <div> +<label for="creditCard"> +<span>Card + number*</span> +</label> + </div> + <div> + <div> +<label for="creditCard"> +<input id="creditCard" pattern="[0-9]*" inputmode="numeric" name="creditCard" autocomplete="section-payment cc-number" maxlength="16"> +</label> +</div> + </div> + <div> + <div> + <div> + <label> +<span>Expiration date*</span> +</label> + <div> + <span> + <label for="month-chooser"> + <svg width="11" height="6"> + <polygon fill="#027DC3" points="5.5,6 0,0 11,0"> +</polygon> + </svg> + <select id="month-chooser" name="month-chooser" autocomplete="section-payment cc-exp-month"> + <option selected="selected" value="" disabled="disabled"> + MM + </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> + </label> + </span> + </div> + <span> / </span> + <div> + <span> + <label for="year-chooser"> + <svg width="11" height="6"> + <polygon fill="#027DC3" points="5.5,6 0,0 11,0"> +</polygon> + </svg> + <select id="year-chooser" name="year-chooser" autocomplete="section-payment cc-exp-year"> + <option selected="selected" value="" disabled="disabled"> + YY + </option> + <option value="2017">17</option> + <option value="2018">18</option> + <option value="2019">19</option> + <option value="2020">20</option> + <option value="2021">21</option> + <option value="2022">22</option> + <option value="2023">23</option> + <option value="2024">24</option> + <option value="2025">25</option> + <option value="2026">26</option> + <option value="2027">27</option> + </select> + </label> + </span> + </div> + </div> + </div> + <div> + <input +title=" " name="brwsrAutofillText" type="text"> + <input +title=" " name="brwsrAutofillPassword" type="password"> + <div> + <div> + <label for="cvv"> +<span> +<span> +<span>Security code*</span> + </span> +</span> +</label> + <div> +<label for="cvv"> +<button type="button"> +<label for="cvv"> +<span name="help" size="1" alt="Icon for help"> +</span> +</label> +</button> +</label> +</div> + </div> + <div> + <div> +<input id="cvv" name="cvv" +title="cvv" value="" autocomplete="section-payment cc-csc" maxlength="3" pattern="[0-9]*" inputmode="numeric" type="password"> +</div> + </div> + </div> + </div> + </div> + <div> +<label for="phone"> +<span>Phone number*</span> +<span>Ex: (415) + 444 - 5555</span> +</label> + </div> + <div> + <div> +<label for="phone"> +<input id="phone" value="" name="phone" +title="Phone" autocomplete="section-payment tel" maxlength="14" type="tel"> +</label> +</div> + </div> + </div> + </div> + <div> + <div> + <div> + <label> +<input checked="checked" type="checkbox"> +</label> + <div> +<label> +<span>Same as shipping</span> +</label> +</div> + <div> + <p> +<span>22F., No.55, Haiiu 1st Rd., Bafu Dist.,</span> +<br> + <span> +<span>San Bruno</span> +<span>,</span> +</span> + <span> +<span>CA</span> +</span> +<span>94066</span> + </p> + </div> + </div> + </div> + </div> + </div> + <div> + <div> +<button type="button"> +<span>Review Your + Order</span> +</button> + </div> + </div> + </form> + </body> +</html> diff --git a/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Shipping.html b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Shipping.html new file mode 100644 index 0000000000..5f07a05bab --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/third_party/Walmart/Shipping.html @@ -0,0 +1,234 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta name="generator" content="HTML Tidy for HTML5 for Mac OS X version 5.4.0"> + <meta http-equiv="content-type" content="text/html; charset=utf-8"> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> + <title>Checkout</title> + <meta property="og:type" content="Website"> + <meta property="og:image" content="http://sphotos-b.xx.fbcdn.net/hphotos-ash4/229244_10150189115584236_162217_n.jpg"> + <meta property="og:site_name" content="Walmart.com"> + <meta property="fb:app_id" content="105223049547814"> + <meta property="twitter:card" content="summary"> + <meta property="twitter:image" content="https://pbs.twimg.com/profile_images/616833885/walmart_logo_youtube_bigger.jpg"> + <meta property="twitter:site" content="@walmart"> + <meta property="og:title" content="Checkout"> + <meta property="twitter:title" content="Checkout"> + </head> + <body> + <form> + <p>Enter new zip code:</p> + <label> +</label> + <div> + <p> +<label>ZIP Code (required)</label> +</p> + <label> +<input name="zip-code" value="" placeholder="" type="text"> +</label> + </div> + <div> + <div> +<button type="submit">Calculate</button> +</div> + <div> +<button type="button">Cancel</button> +</div> + </div> + </form> + <form> + <label> +<span> +<span>Promo code + (optional)</span> +</span> +</label> + <div> +<input name="promoCode"> +</div> + <button type="submit"> +<span>Apply</span> +</button> + </form> + <form> + <div> + <div> + <div> + <div> + <div>*required field</div> + <label> +<span> +<span> +<span>First name*</span> +</span> +</span> +</label> + <div> +<input +title="First name" name="firstName" type="text"> +</div> + <label> +<span> +<span> +<span>Last name*</span> +</span> +</span> +</label> + <div> +<input +title="Last name" name="lastName" type="text"> +</div> + <label> +<span> +<span> +<span>Phone number*</span> +</span> +</span> +</label> + <div> +<input minlength="10" maxlength="14" +title="Phone number" name="phone" type="text"> +</div> + </div> + <div> + <label> +<span> +<span> +<span>Street address*</span> +</span> +</span> +</label> + <div> +<input +title="Street address" name="addressLineOne" type="text"> +</div> + <label> +<span> +<span> +<span>Apt, suite, etc (optional)</span> +</span> +</span> +</label> + <div> +<input +title="Apt, suite, bldg, c/o (optional)" name="addressLineTwo" type="text"> +</div> + <label> +<span> +<span> +<span>City*</span> +</span> +</span> +</label> + <div> +<input +title="City" name="city" value="" type="text"> +</div> + <div> + <div> + <div> + <label for="5"> +<span>State*</span> +</label> + <div> + <div> + <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 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> + <option value="IL">Illinois</option> + <option value="IN">Indiana</option> + <option value="IA">Iowa</option> + <option value="KS">Kansas</option> + <option value="KY">Kentucky</option> + <option value="LA">Louisiana</option> + <option value="ME">Maine</option> + <option value="MD">Maryland</option> + <option value="MA">Massachusetts</option> + <option value="MI">Michigan</option> + <option value="MN">Minnesota</option> + <option value="MS">Mississippi</option> + <option value="MO">Missouri</option> + <option value="MT">Montana</option> + <option value="NE">Nebraska</option> + <option value="NV">Nevada</option> + <option value="NH">New Hampshire</option> + <option value="NJ">New Jersey</option> + <option value="NM">New Mexico</option> + <option value="NY">New York</option> + <option value="NC">North Carolina</option> + <option value="ND">North Dakota</option> + <option value="OH">Ohio</option> + <option value="OK">Oklahoma</option> + <option value="OR">Oregon</option> + <option value="PA">Pennsylvania</option> + <option value="RI">Rhode Island</option> + <option value="SC">South Carolina</option> + <option value="SD">South Dakota</option> + <option value="TN">Tennessee</option> + <option value="TX">Texas</option> + <option value="UT">Utah</option> + <option value="VT">Vermont</option> + <option value="VA">Virginia</option> + <option value="WA">Washington</option> + <option value="WV">West Virginia</option> + <option value="WI">Wisconsin</option> + <option value="WY">Wyoming</option> + <option value="AA">Armed Forces Americas</option> + <option value="AP">Armed Forces Pacific</option> + <option value="AE">Armed Forces other</option> + <option value="AS">American Samoa</option> + <option value="GU">Guam</option> + <option value="MP">N. Mariana Islands</option> + <option value="PW">Palau</option> + <option value="PR">Puerto Rico</option> + <option value="VI">Virgin Islands</option> + </select> + </div> + </div> + </div> + </div> + <div> + <label> +<span> +<span> +<span>ZIP + Code*</span> +</span> +</span> +</label> + <div> +<input +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> +</label> +</div> + </div> + </div> + </div> + </form> + </body> +</html> |