diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /browser/extensions/formautofill/test/fixtures/autocomplete_off_on_inputs.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/extensions/formautofill/test/fixtures/autocomplete_off_on_inputs.html')
-rw-r--r-- | browser/extensions/formautofill/test/fixtures/autocomplete_off_on_inputs.html | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/browser/extensions/formautofill/test/fixtures/autocomplete_off_on_inputs.html b/browser/extensions/formautofill/test/fixtures/autocomplete_off_on_inputs.html new file mode 100644 index 0000000000..293240b9cc --- /dev/null +++ b/browser/extensions/formautofill/test/fixtures/autocomplete_off_on_inputs.html @@ -0,0 +1,77 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <title>Form Autofill Demo Page with autocomplete set to off on inputs within form elements</title> +</head> +<body> + <h1>Form Autofill Demo Page with autocomplete set to off on inputs within form elements</h1> + <form id="form"> + <p><label>organization: <input type="text" id="organization" name="organization" autocomplete="off" /></label></p> + <p><label>streetAddress: <input type="text" id="street-address" name="street-address" autocomplete="off" /></label></p> + <p><label>addressLevel2: <input type="text" id="address-level2" name="address-level2" autocomplete="off" /></label></p> + <p><label>addressLevel1: <input type="text" id="address-level1" name="address-level1" autocomplete="off" /></label></p> + <p><label>postalCode: <input type="text" id="postal-code" name="postal-code" autocomplete="off" /></label></p> + <p><label>country: <input type="text" id="country" name="country" autocomplete="off" /></label></p> + <p><label>tel: <input type="text" id="tel" name="tel" autocomplete="off" /></label></p> + <p><label>email: <input type="text" id="email" name="email" autocomplete="off" /></label></p> + <p><input type="submit" /></p> + <p><button type="reset">Reset</button></p> + </form> + + <form id="formB"> + <p><label>Organization: <input type="text" autocomplete="off" /></label></p> + <p><label><input type="text" id="B_address-line1" autocomplete="off" /></label></p> + <p><label><input type="text" name="address-line2" autocomplete="off" /></label></p> + <p><label><input type="text" id="B_address-line3" name="address-line3" autocomplete="off" /></label></p> + <p><label>City: <input type="text" name="address-level2" autocomplete="off" /></label></p> + <p><label>State: <select id="B_address-level1" autocomplete="off" ></select></label></p> + <p><input type="text" id="B_postal-code" name="postal-code" autocomplete="off" /></p> + <p><label>Country: <select multiple id="B_country" name="country" autocomplete="off" ></select></label></p> + <p><label>Telephone: <input id="B_tel" name="tel" autocomplete="off" /></label></p> + <p><label>Email: <input type="text" id="B_email" name="email" autocomplete="off" /></label></p> + <hr> + <p><label>cc-number <input type="text" id="B_cc-number" autocomplete="off" /></label></p> + <p><label>cc-name <input type="text" id="B_cc-name" autocomplete="off" /></label></p> + <p><label>cc-exp-month <input type="text" id="B_cc-exp-month" autocomplete="off" /></label></p> + <p><label>cc-exp-year <input type="text" id="B_cc-exp-year" autocomplete="off" /></label></p> + <hr> + <p><input type="submit" /></p> + <p><button type="reset">Reset</button></p> + </form> + + <form id="formC"> + <p><label><input type="text" name="someprefixAddrLine1" autocomplete="off" /></label></p> + <p><label>City: <input type="text" name="address-level2" autocomplete="off" /></label></p> + <p><label><input type="text" name="someprefixAddrLine2" autocomplete="off" /></label></p> + <p><label>Organization: <input type="text" name="organization" autocomplete="off" /></label></p> + <p><label><input type="text" name="someprefixAddrLine3" autocomplete="off" /></label></p> + </form> + + <form id="formD"> + <!-- + Ensure heuristics can correctly identify fields when there are + autocomplete="off" fields as well as missing autocomplete attributes + --> + <p><label>Organization: <input type="text" autocomplete="organization" /></label></p> + <p><label><input type="text" id="B_address-line1" autocomplete="off" /></label></p> + <p><label><input type="text" name="address-line2" /></label></p> + <p><label><input type="text" id="B_address-line3" name="address-line3" autocomplete="off" /></label></p> + <p><label>City: <input type="text" name="address-level2" /></label></p> + <p><label>State: <select id="B_address-level1" autocomplete="address-level1" ></select></label></p> + <p><input type="text" id="B_postal-code" name="postal-code" /></p> + <p><label>Country: <select multiple id="B_country" name="country" autocomplete="off" ></select></label></p> + <p><label>Telephone: <input id="B_tel" name="tel" autocomplete="tel" /></label></p> + <p><label>Email: <input type="text" id="B_email" name="email" autocomplete="off" /></label></p> + <hr> + <p><label>cc-number <input type="text" id="B_cc-number" autocomplete="off" /></label></p> + <p><label>cc-name <input type="text" id="B_cc-name" autocomplete="cc-name" /></label></p> + <p><label>cc-exp-month <input type="text" id="B_cc-exp-month" /></label></p> + <p><label>cc-exp-year <input type="text" id="B_cc-exp-year" /></label></p> + <hr> + <p><input type="submit" /></p> + <p><button type="reset">Reset</button></p> + </form> + +</body> +</html> |