зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
dbd3fc3d68
Коммит
32f44f262c
|
@ -29,6 +29,11 @@ support-files =
|
|||
subtst_prompt_async.html
|
||||
auth2/authenticate.sjs
|
||||
|
||||
[test_autofill_before_load.html]
|
||||
# This test doesn't pass because we can't ensure a cross-platform event that
|
||||
# occurs between DOMContentLoaded and Pageload
|
||||
skip-if = true
|
||||
[test_autofill_password-only.html]
|
||||
[test_basic_form.html]
|
||||
[test_basic_form_0pw.html]
|
||||
[test_basic_form_1pw.html]
|
||||
|
@ -43,30 +48,24 @@ skip-if = toolkit == 'android'
|
|||
[test_basic_form_html5.html]
|
||||
[test_basic_form_pwevent.html]
|
||||
[test_basic_form_pwonly.html]
|
||||
[test_bug_221634.html]
|
||||
# This test doesn't pass because we can't ensure a cross-platform event that
|
||||
# occurs between DOMContentLoaded and Pageload
|
||||
skip-if = true
|
||||
[test_bug_242956.html]
|
||||
[test_bug_360493_1.html]
|
||||
[test_bug_360493_2.html]
|
||||
[test_bug_391514.html]
|
||||
[test_bug_427033.html]
|
||||
[test_bug_444968.html]
|
||||
[test_bug_627616.html]
|
||||
skip-if = toolkit == 'android' #TIMED_OUT
|
||||
[test_bug_654348.html]
|
||||
[test_bug_776171.html]
|
||||
[test_form_action_1.html]
|
||||
[test_form_action_2.html]
|
||||
[test_form_action_javascript.html]
|
||||
[test_input_events.html]
|
||||
[test_input_events_for_identical_values.html]
|
||||
[test_master_password.html]
|
||||
skip-if = toolkit == 'android' #TIMED_OUT
|
||||
[test_master_password_cleanup.html]
|
||||
skip-if = toolkit == 'android'
|
||||
[test_maxlength.html]
|
||||
[test_notifications.html]
|
||||
skip-if = toolkit == 'android'
|
||||
[test_notifications_popup.html]
|
||||
skip-if = os == "linux" || toolkit == 'android' # bug 934057
|
||||
[test_passwords_in_type_password.html]
|
||||
[test_prompt.html]
|
||||
skip-if = os == "linux" || toolkit == 'android' #TIMED_OUT
|
||||
[test_prompt_async.html]
|
||||
|
@ -75,6 +74,7 @@ skip-if = toolkit == 'android' #TIMED_OUT
|
|||
skip-if = buildapp == 'mulet' || buildapp == 'b2g'
|
||||
[test_xhr.html]
|
||||
skip-if = toolkit == 'android' #TIMED_OUT
|
||||
[test_xhr_2.html]
|
||||
[test_xml_load.html]
|
||||
skip-if = toolkit == 'android' #TIMED_OUT
|
||||
[test_zzz_finish.html]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<iframe id="iframe"></iframe>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications - Basic 1un 1pw</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Subtest 1</h2>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications - Popup Windows</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Subtest 11 (popup windows)</h2>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications - autocomplete=off on the username field</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Subtest 2</h2>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications with 2 password fields and no username</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications - autocomplete=off on the password field</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Subtest 3</h2>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" >
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications - Form with only a username field</title>
|
||||
</head>
|
||||
<body>
|
||||
<h2>Subtest 5</h2>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications (private browsing)</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications (private browsing)</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications (private browsing)</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Subtest for Login Manager notifications (private browsing)</title>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
</head>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Multiple auth request</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for filling before the load event</title>
|
||||
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body onload="endTest();">
|
||||
Login Manager test: 221634
|
||||
Login Manager test: Bug 221634
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
|
@ -19,7 +20,7 @@ Login Manager test: 221634
|
|||
<button type="submit">Submit</button>
|
||||
<button type="reset"> Reset</button>
|
||||
</form>
|
||||
|
||||
|
||||
<img onload="performTest();" src="mlogosm.gif">
|
||||
</div>
|
||||
<pre id="test">
|
||||
|
@ -72,7 +73,7 @@ function performTest() {
|
|||
function endTest() {
|
||||
ok(dclHappened, "Sanity check to make sure DOMContentLoaded already happened");
|
||||
ok(testHappened, "Sanity check to make sure our test ran before pageload");
|
||||
|
||||
|
||||
// Check form1
|
||||
is($_(1, "uname").value, "testuser", "Rechecking filled username");
|
||||
is($_(1, "pword").value, "testpass", "Rechecking filled password");
|
|
@ -1,13 +1,14 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test password-only forms should prefer a password-only login when present</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
Login Manager test: 444968
|
||||
Login Manager test: Bug 444968
|
||||
<script>
|
||||
commonInit();
|
||||
SimpleTest.waitForExplicitFinish();
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test basic autofill</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test forms with no password fields</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Test autofill for forms with 1 password field</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test forms with 1 password field, part 2</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Test autofill for forms with 2 password fields</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
|
@ -189,4 +190,3 @@ SimpleTest.waitForExplicitFinish();
|
|||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for form fill with 2 password fields</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
Login Manager test: (placeholder)
|
||||
Login Manager test: form fill, 2 password fields
|
||||
<p id="display"></p>
|
||||
|
||||
<pre id="test">
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test autofill for forms with 3 password fields</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test basic autocomplete</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
|
@ -586,7 +587,7 @@ function* runTest() {
|
|||
uname = $_(3, "uname");
|
||||
pword = $_(3, "pword");
|
||||
checkACForm("singleuser5", "singlepass5");
|
||||
|
||||
|
||||
// Trigger autocomplete popup
|
||||
restoreForm();
|
||||
doKey("down");
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for html5 input types (email, tel, url, etc.)</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
@ -49,75 +50,74 @@ pwmgr.addLogin(login4);
|
|||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form2" action="http://bug600551-2">
|
||||
<input type="tel" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form3" action="http://bug600551-3">
|
||||
<input type="url" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<form id="form4" action="http://bug600551-4">
|
||||
<input type="number" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<!-- The following forms should not be filled with usernames -->
|
||||
<form id="form5" action="formtest.js">
|
||||
<input type="search" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form6" action="formtest.js">
|
||||
<input type="datetime" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form7" action="formtest.js">
|
||||
<input type="date" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form8" action="formtest.js">
|
||||
<input type="month" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form9" action="formtest.js">
|
||||
<input type="week" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form10" action="formtest.js">
|
||||
<input type="time" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form11" action="formtest.js">
|
||||
<input type="datetime-local" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form12" action="formtest.js">
|
||||
<input type="range" name="uname">
|
||||
<input type="password" name="pword">
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
|
||||
<form id="form13" action="formtest.js">
|
||||
<input type="color" name="uname">
|
||||
<input type="password" name="pword">
|
||||
|
@ -137,30 +137,30 @@ function startTest() {
|
|||
checkForm(2, "555-555-5555", "testpass2");
|
||||
checkForm(3, "http://mozilla.org", "testpass3");
|
||||
checkForm(4, "123456789", "testpass4");
|
||||
|
||||
|
||||
is($_(5, "uname").value, "", "type=search should not be considered a username");
|
||||
|
||||
|
||||
is($_(6, "uname").value, "", "type=datetime should not be considered a username");
|
||||
|
||||
|
||||
is($_(7, "uname").value, "", "type=date should not be considered a username");
|
||||
|
||||
|
||||
is($_(8, "uname").value, "", "type=month should not be considered a username");
|
||||
|
||||
|
||||
is($_(9, "uname").value, "", "type=week should not be considered a username");
|
||||
|
||||
|
||||
is($_(10, "uname").value, "", "type=time should not be considered a username");
|
||||
|
||||
|
||||
is($_(11, "uname").value, "", "type=datetime-local should not be considered a username");
|
||||
|
||||
|
||||
is($_(12, "uname").value, "50", "type=range should not be considered a username");
|
||||
|
||||
|
||||
is($_(13, "uname").value, "#000000", "type=color should not be considered a username");
|
||||
|
||||
pwmgr.removeLogin(login1);
|
||||
pwmgr.removeLogin(login2);
|
||||
pwmgr.removeLogin(login3);
|
||||
pwmgr.removeLogin(login4);
|
||||
|
||||
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test forms and logins without a username</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test bug 627616</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test bug 627616 related to proxy authentication</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="prompt_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
https://bugzilla.mozilla.org/show_bug.cgi?id=776171
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 776171</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for Bug 776171 related to HTTP auth</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test autocomplete due to multiple matching logins</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
Login Manager test: multiple login autocomplete
|
||||
Login Manager test: autocomplete due to multiple matching logins
|
||||
|
||||
<script>
|
||||
commonInit();
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for considering form action</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
Login Manager test: 360493
|
||||
Login Manager test: Bug 360493
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
|
@ -1,13 +1,14 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset"utf-8">
|
||||
<title>Test for considering form action</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
Login Manager test: 360493
|
||||
Login Manager test: Bug 360493
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test forms with a JS submit action</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for input events in Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for input events in Login Manager when username/password are filled in already</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for master password</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<script type="text/javascript" src="prompt_common.js"></script>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Test master password cleanup</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for maxlength attributes</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
Login Manager test: 391514
|
||||
Login Manager test: Bug 391514
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
<!-- normal form. -->
|
|
@ -1,13 +1,14 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test that passwords only get filled in type=password</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
<body>
|
||||
Login Manager test: 242956
|
||||
Login Manager test: Bug 242956
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
<!-- pword is not a type=password input -->
|
|
@ -4,7 +4,8 @@
|
|||
https://bugzilla.mozilla.org/show_bug.cgi?id=248970
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 248970</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for Private Browsing</title>
|
||||
<script type="application/javascript"
|
||||
src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="notification_common.js"></script>
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test username/password prompts</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<script type="text/javascript" src="prompt_common.js"></script>
|
||||
<script type="text/javascript" src="notification_common.js"></script>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for Async Auth Prompt</title>
|
||||
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
|
@ -426,7 +427,7 @@
|
|||
case 1:
|
||||
ok(true, "doCheck testNum 1");
|
||||
is(monitor.windowsRegistered, 3, "Registered 3 open dialogs");
|
||||
|
||||
|
||||
var authok1 = iframe1Doc.getElementById("ok").textContent;
|
||||
var proxyok1 = iframe1Doc.getElementById("proxy").textContent;
|
||||
|
||||
|
@ -450,7 +451,7 @@
|
|||
|
||||
function checkIframe(frame) {
|
||||
var doc = SpecialPowers.wrap(frame).contentDocument;
|
||||
|
||||
|
||||
var authok = doc.getElementById("ok").textContent;
|
||||
var proxyok = doc.getElementById("proxy").textContent;
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for recipes overriding login fields</title>
|
||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" href="/tests/SimpleTest/test.css" />
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for XHR prompts</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<script type="text/javascript" src="prompt_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
|
@ -145,7 +146,7 @@ function xhrLoad(xmlDoc) {
|
|||
ok(false, "Uhh, unhandled switch for testNum #" + testNum);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
doTest();
|
||||
}
|
||||
|
||||
|
@ -155,7 +156,7 @@ function doTest() {
|
|||
startCallbackTimer();
|
||||
makeRequest("authenticate.sjs?user=xhruser1&pass=xhrpass1&realm=xhr");
|
||||
break;
|
||||
|
||||
|
||||
case 2:
|
||||
// Test correct parenting, by opening another tab in the foreground,
|
||||
// and making sure the prompt re-focuses the original tab when shown:
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
https://bugzilla.mozilla.org/show_bug.cgi?id=654348
|
||||
-->
|
||||
<head>
|
||||
<title>Test for Bug 654348</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Test XHR auth with user and pass arguments</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Test XML document prompts</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<script type="text/javascript" src="prompt_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
|
@ -143,7 +144,7 @@ function xmlLoad(responseDoc) {
|
|||
ok(false, "Uhh, unhandled switch for testNum #" + testNum);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
doTest();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Test finalization for Login Manager</title>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="pwmgr_common.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
||||
</head>
|
||||
|
@ -10,7 +11,7 @@
|
|||
Login Manager test: finalization.
|
||||
<p id="display"></p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
|
||||
</div>
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
|
Загрузка…
Ссылка в новой задаче