Bug 1272849 - browser_notifications_2.js: Properly clear the password field in the doorhanger. r=intermittent

--HG--
extra : source : 33f6d42d7fa92c72b4adb78cf1e6f19932266bf6
extra : histedit_source : eb5754044fcfb79bab3baad0fef2500f500ede9d
This commit is contained in:
Matthew Noorenberghe 2019-04-19 13:49:46 -07:00
Родитель abd7c112a7
Коммит bd58cd0090
2 изменённых файлов: 2 добавлений и 1 удалений

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

@ -71,7 +71,7 @@ skip-if = verify
[browser_notifications_username.js]
[browser_notifications_password.js]
[browser_notifications_2.js]
skip-if = (os == "linux") || (os == "win") || (os == "mac") # Bug 1272849 Main action button disabled state intermittent, Bug 1272849
skip-if = !verify # Bug 1272849
[browser_openPasswordManager.js]
[browser_passwordmgr_editing.js]
skip-if = os == "linux"

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

@ -35,6 +35,7 @@ add_task(async function test_empty_password() {
// Synthesize input to empty the field
passwordTextbox.focus();
await EventUtils.synthesizeKey("KEY_ArrowRight");
await EventUtils.synthesizeKey("KEY_ArrowRight");
await EventUtils.synthesizeKey("KEY_Backspace");
await EventUtils.synthesizeKey("KEY_Backspace");