Bug 1329628 - [Empty] Part 5. Add plain mochitest for addition information that addressing phishing issue.
MozReview-Commit-ID: 2NQc1Re3nbz
--- a/browser/extensions/formautofill/test/mochitest/formautofill_parent_utils.js
+++ b/browser/extensions/formautofill/test/mochitest/formautofill_parent_utils.js
@@ -27,16 +27,20 @@ var ParentUtils = {
return;
}
Services.obs.removeObserver(observer, topic);
sendAsyncMessage(contentMsg);
}, "formautofill-storage-changed");
},
+ getAdditionalInformationText() {
+ // TODO: extract text from the last item of popup.
+ },
+
observe(subject, topic, data) {
assert.ok(topic === "formautofill-storage-changed");
sendAsyncMessage("formautofill-storage-changed", {subject: null, topic, data});
},
cleanup() {
Services.obs.removeObserver(this, "formautofill-storage-changed");
this.cleanUpAddress();
--- a/browser/extensions/formautofill/test/mochitest/mochitest.ini
+++ b/browser/extensions/formautofill/test/mochitest/mochitest.ini
@@ -1,9 +1,9 @@
[DEFAULT]
support-files =
../../../../../toolkit/components/satchel/test/satchel_common.js
../../../../../toolkit/components/satchel/test/parent_utils.js
formautofill_common.js
formautofill_parent_utils.js
[test_basic_autocomplete_form.html]
-
+[test_formautofill_phishing.html]