diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index a7d7aa609829..a66b317cb32a 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4449,7 +4449,6 @@ pref("signon.masterPasswordReprompt.timeout_ms", 900000); // 15 Minutes pref("browser.formfill.debug", false); pref("browser.formfill.enable", true); pref("browser.formfill.expire_days", 180); -pref("browser.formfill.saveHttpsForms", true); pref("browser.formfill.agedWeight", 2); pref("browser.formfill.bucketSize", 1); pref("browser.formfill.maxTimeGroupings", 25); diff --git a/toolkit/components/satchel/formSubmitListener.js b/toolkit/components/satchel/formSubmitListener.js index 30f6a19625a9..f05985776359 100644 --- a/toolkit/components/satchel/formSubmitListener.js +++ b/toolkit/components/satchel/formSubmitListener.js @@ -20,7 +20,6 @@ var satchelFormListener = { debug: true, enabled: true, - saveHttpsForms: true, init() { Services.obs.addObserver(this, "earlyformsubmit"); @@ -32,7 +31,6 @@ var satchelFormListener = { updatePrefs() { this.debug = Services.prefs.getBoolPref("browser.formfill.debug"); this.enabled = Services.prefs.getBoolPref("browser.formfill.enable"); - this.saveHttpsForms = Services.prefs.getBoolPref("browser.formfill.saveHttpsForms"); }, // Implements the Luhn checksum algorithm as described at @@ -95,13 +93,6 @@ var satchelFormListener = { this.log("Form submit observer notified."); - if (!this.saveHttpsForms) { - if (actionURI.schemeIs("https")) - return; - if (form.ownerDocument.documentURIObject.schemeIs("https")) - return; - } - if (form.hasAttribute("autocomplete") && form.getAttribute("autocomplete").toLowerCase() == "off") return; diff --git a/toolkit/components/satchel/test/subtst_form_submission_1.html b/toolkit/components/satchel/test/subtst_form_submission_1.html index aa7117ead699..7cfaeebf8123 100644 --- a/toolkit/components/satchel/test/subtst_form_submission_1.html +++ b/toolkit/components/satchel/test/subtst_form_submission_1.html @@ -6,11 +6,6 @@ -
- - -
-
@@ -22,14 +17,11 @@ } function clickButton(num) { - if (num == 21) + if (num == 100) document.querySelectorAll("button")[0].click(); - else if (num == 100) - document.querySelectorAll("button")[1].click(); } // set the input's value (can't use a default value, as satchel will ignore it) - document.getElementById("subtest1").value = "subtestValue"; document.getElementById("subtest2").value = "subtestValue"; diff --git a/toolkit/components/satchel/test/test_form_submission.html b/toolkit/components/satchel/test/test_form_submission.html index 7e85648c1700..f5101e90e466 100644 --- a/toolkit/components/satchel/test/test_form_submission.html +++ b/toolkit/components/satchel/test/test_form_submission.html @@ -142,29 +142,21 @@
- -
- - -
- - - -
- + +
-
- + +
-
+
@@ -246,12 +238,6 @@ - -
- - -
-