gecko-dev/toolkit/components/passwordmgr/test/subtst_notifications_8.html
Matthew Noorenberghe 32f44f262c Bug 1170441 - Cleanup password manager mochitest titles/encodings/doctypes. r=test-only
--HG--
rename : toolkit/components/passwordmgr/test/test_bug_221634.html => toolkit/components/passwordmgr/test/test_autofill_before_load.html
rename : toolkit/components/passwordmgr/test/test_bug_444968.html => toolkit/components/passwordmgr/test/test_autofill_password-only.html
rename : toolkit/components/passwordmgr/test/test_bug_360493_1.html => toolkit/components/passwordmgr/test/test_form_action_1.html
rename : toolkit/components/passwordmgr/test/test_bug_360493_2.html => toolkit/components/passwordmgr/test/test_form_action_2.html
rename : toolkit/components/passwordmgr/test/test_bug_427033.html => toolkit/components/passwordmgr/test/test_form_action_javascript.html
rename : toolkit/components/passwordmgr/test/test_bug_391514.html => toolkit/components/passwordmgr/test/test_maxlength.html
rename : toolkit/components/passwordmgr/test/test_bug_242956.html => toolkit/components/passwordmgr/test/test_passwords_in_type_password.html
rename : toolkit/components/passwordmgr/test/test_bug_654348.html => toolkit/components/passwordmgr/test/test_xhr_2.html
extra : rebase_source : 654ac70c061f48352795ea6d942b6863127d0acf
2015-06-02 00:20:07 -07:00

30 lines
632 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Subtest for Login Manager notifications</title>
</head>
<body>
<h2>Subtest 8</h2>
<form id="form" action="formsubmit.sjs">
<input id="user" name="user">
<input id="pass" name="pass" type="password">
<button type='submit'>Submit</button>
</form>
<script>
function submitForm() {
userField.value = "notifyu1";
passField.value = "pass2";
form.submit();
}
window.onload = submitForm;
var form = document.getElementById("form");
var userField = document.getElementById("user");
var passField = document.getElementById("pass");
</script>
</body>
</html>