From f95a48fa8d4ac8e66a152abd747e5b333e2b96e3 Mon Sep 17 00:00:00 2001 From: Andreea Pavel Date: Wed, 27 Mar 2019 08:47:24 +0200 Subject: [PATCH] Backed out changeset 3ca83116916b (bug 1325778) for failing /test_insecure_form_field_autocomplete.html on a CLOSED TREE --- .../mochitest/test_insecure_form_field_autocomplete.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/toolkit/components/passwordmgr/test/mochitest/test_insecure_form_field_autocomplete.html b/toolkit/components/passwordmgr/test/mochitest/test_insecure_form_field_autocomplete.html index 30de6bfbb813..7b583f2b2426 100644 --- a/toolkit/components/passwordmgr/test/mochitest/test_insecure_form_field_autocomplete.html +++ b/toolkit/components/passwordmgr/test/mochitest/test_insecure_form_field_autocomplete.html @@ -879,12 +879,10 @@ add_task(async function test_form12_formless() { checkACForm("", ""); let shownPromise = promiseACShown(); synthesizeKey("KEY_ArrowDown"); // open - let results = await shownPromise; + await shownPromise; - let expectedMenuItems = ["This connection is not secure. Logins entered here could be compromised. Learn More", - "testuser10"]; - checkAutoCompleteResults(results, expectedMenuItems, "mochi.test", "Check all menuitems are displayed correctly."); synthesizeKey("KEY_ArrowDown"); // skip insecure warning + // Trigger autocomplete synthesizeKey("KEY_ArrowDown"); checkACForm("", ""); // value shouldn't update let processedPromise = promiseFormsProcessed();