Backed out changeset 3ca83116916b (bug 1325778) for failing /test_insecure_form_field_autocomplete.html on a CLOSED TREE

This commit is contained in:
Andreea Pavel 2019-03-27 08:47:24 +02:00
Родитель ef6f8bfbc1
Коммит f95a48fa8d
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -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();