--- a/toolkit/components/passwordmgr/test/mochitest/test_prompt.html
+++ b/toolkit/components/passwordmgr/test/mochitest/test_prompt.html
@@ -307,17 +307,17 @@ add_task(function* runTests() {
const defaultTitle = "the title";
const defaultMsg = "the message";
// popupNotifications (not *popup*) is a constant, per-tab container. So, we
// only need to fetch it once.
var popupNotifications = getPopupNotifications(window.top);
ok(popupNotifications, "Got popupNotifications");
- // ===== test 1 =====
+ info("===== test 1 =====");
state = {
msg : "the message",
title : "the title",
textValue : "abc",
passValue : "",
iconClass : "question-icon",
titleHidden : true,
textHidden : false,
@@ -335,17 +335,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.prompt(defaultTitle, defaultMsg, "http://example.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, "abc", result);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(result.value, "xyz", "Checking prompt() returned value");
- // ===== test 2 =====
+ info("===== test 2 =====");
state = {
msg : "the message",
title : "the title",
textValue : "abc",
passValue : "",
iconClass : "question-icon",
titleHidden : true,
textHidden : false,
@@ -360,17 +360,17 @@ add_task(function* runTests() {
buttonClick : "cancel",
};
promptDone = handlePrompt(state, action);
isOk = prompter1.prompt(defaultTitle, defaultMsg, "http://example.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, "abc", result);
yield promptDone;
ok(!isOk, "Checking dialog return value (cancel)");
- // ===== test 10 =====
+ info("===== test 10 =====");
// Default password provided, existing logins are ignored.
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "inputpw",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -389,17 +389,17 @@ add_task(function* runTests() {
pword.value = "inputpw";
promptDone = handlePrompt(state, action);
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://example.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "secret", "Checking returned password");
- // ===== test 11 =====
+ info("===== test 11 =====");
// Default password provided, existing logins are ignored.
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "inputpw",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -416,17 +416,17 @@ add_task(function* runTests() {
};
pword.value = "inputpw";
promptDone = handlePrompt(state, action);
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://example.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
yield promptDone;
ok(!isOk, "Checking dialog return value (cancel)");
- // ===== test 12 =====
+ info("===== test 12 =====");
// No default password provided, realm does not match existing login.
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -445,25 +445,25 @@ add_task(function* runTests() {
pword.value = null;
promptDone = handlePrompt(state, action);
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://nonexample.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "secret", "Checking returned password");
- // ===== test 13 =====
+ info("===== test 13 =====");
// No default password provided, matching login is returned w/o prompting.
pword.value = null;
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://example.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "examplepass", "Checking returned password");
- // ===== test 14 =====
+ info("===== test 14 =====");
// No default password provided, none of the logins from this host are
// password-only so the user is prompted.
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "",
iconClass : "authentication-icon question-icon",
@@ -483,59 +483,59 @@ add_task(function* runTests() {
pword.value = null;
promptDone = handlePrompt(state, action);
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "secret", "Checking returned password");
- // ===== test 15 =====
+ info("===== test 15 =====");
// No default password provided, matching login is returned w/o prompting.
pword.value = null;
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://user1name@example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "user1pass", "Checking returned password");
- // ===== test 16 =====
+ info("===== test 16 =====");
// No default password provided, matching login is returned w/o prompting.
pword.value = null;
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://user2name@example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "user2pass", "Checking returned password");
- // ===== test 17 =====
+ info("===== test 17 =====");
// No default password provided, matching login is returned w/o prompting.
pword.value = null;
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://user3%2Ename%40host@example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "user3pass", "Checking returned password");
- // ===== test 18 =====
+ info("===== test 18 =====");
// No default password provided, matching login is returned w/o prompting.
pword.value = null;
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://100@beef@example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "user3pass", "Checking returned password");
- // ===== test 19 =====
+ info("===== test 19 =====");
// No default password provided, matching login is returned w/o prompting.
pword.value = null;
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "http://100%25beef@example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "user3pass", "Checking returned password");
// XXX test saving a password with Ci.nsIAuthPrompt.SAVE_PASSWORD_PERMANENTLY
- // ===== test 30 =====
+ info("===== test 30 =====");
// We don't pre-fill or save for NS_GetAuthKey-generated realms, but we should still prompt
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -554,17 +554,17 @@ add_task(function* runTests() {
pword.value = null;
promptDone = handlePrompt(state, action);
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "example2.com:80 (somerealm)",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "fill2pass", "Checking returned password");
- // ===== test 31 =====
+ info("===== test 31 =====");
// We don't pre-fill or save for NS_GetAuthKey-generated realms, but we should still prompt
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -583,17 +583,17 @@ add_task(function* runTests() {
pword.value = null;
promptDone = handlePrompt(state, action);
isOk = prompter1.promptPassword(defaultTitle, defaultMsg, "example2.com:80 (somerealm)",
Ci.nsIAuthPrompt.SAVE_PASSWORD_PERMANENTLY, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(pword.value, "fill2pass", "Checking returned password");
- // ===== test 100 =====
+ info("===== test 100 =====");
state = {
msg : "the message",
title : "the title",
textValue : "inuser",
passValue : "inpass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
textHidden : false,
@@ -614,17 +614,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "http://nonexample.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, uname, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(uname.value, "outuser", "Checking returned username");
is(pword.value, "outpass", "Checking returned password");
- // ===== test 101 =====
+ info("===== test 101 =====");
state = {
msg : "the message",
title : "the title",
textValue : "inuser",
passValue : "inpass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
textHidden : false,
@@ -641,17 +641,17 @@ add_task(function* runTests() {
uname.value = "inuser";
pword.value = "inpass";
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "http://nonexample.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, uname, pword);
yield promptDone;
ok(!isOk, "Checking dialog return value (cancel)");
- // ===== test 102 =====
+ info("===== test 102 =====");
// test filling in existing password-only login
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "examplepass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -671,17 +671,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "http://example.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_PERMANENTLY, uname, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(uname.value, "", "Checking returned username");
is(pword.value, "examplepass", "Checking returned password");
- // ===== test 103 =====
+ info("===== test 103 =====");
// test filling in existing login (undetermined from multiple selection)
// user2name/user2pass would also be valid to fill here.
state = {
msg : "the message",
title : "the title",
textValue : "user1name",
passValue : "user1pass",
iconClass : "authentication-icon question-icon",
@@ -702,17 +702,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "http://example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_PERMANENTLY, uname, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
ok(uname.value == "user1name" || uname.value == "user2name", "Checking returned username");
ok(pword.value == "user1pass" || uname.value == "user2pass", "Checking returned password");
- // ===== test 104 =====
+ info("===== test 104 =====");
// test filling in existing login (user1 from multiple selection)
state = {
msg : "the message",
title : "the title",
textValue : "user1name",
passValue : "user1pass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -732,17 +732,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "http://example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_PERMANENTLY, uname, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(uname.value, "user1name", "Checking returned username");
is(pword.value, "user1pass", "Checking returned password");
- // ===== test 105 =====
+ info("===== test 105 =====");
// test filling in existing login (user2 from multiple selection)
state = {
msg : "the message",
title : "the title",
textValue : "user2name",
passValue : "user2pass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -762,17 +762,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "http://example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_PERMANENTLY, uname, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(uname.value, "user2name", "Checking returned username");
is(pword.value, "user2pass", "Checking returned password");
- // ===== test 106 =====
+ info("===== test 106 =====");
// test changing password
state = {
msg : "the message",
title : "the title",
textValue : "user2name",
passValue : "user2pass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -793,17 +793,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "http://example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_PERMANENTLY, uname, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(uname.value, "user2name", "Checking returned username");
is(pword.value, "NEWuser2pass", "Checking returned password");
- // ===== test 107 =====
+ info("===== test 107 =====");
// test changing password (back to original value)
state = {
msg : "the message",
title : "the title",
textValue : "user2name",
passValue : "NEWuser2pass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -824,17 +824,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "http://example2.com",
Ci.nsIAuthPrompt.SAVE_PASSWORD_PERMANENTLY, uname, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(uname.value, "user2name", "Checking returned username");
is(pword.value, "user2pass", "Checking returned password");
- // ===== test 120 =====
+ info("===== test 120 =====");
// We don't pre-fill or save for NS_GetAuthKey-generated realms, but we should still prompt
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -856,17 +856,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter1.promptUsernameAndPassword(defaultTitle, defaultMsg, "example2.com:80 (somerealm)",
Ci.nsIAuthPrompt.SAVE_PASSWORD_NEVER, uname, pword);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(uname.value, "fill2user", "Checking returned username");
is(pword.value, "fill2pass", "Checking returned password");
- // ===== test 121 =====
+ info("===== test 121 =====");
// We don't pre-fill or save for NS_GetAuthKey-generated realms, but we should still prompt
state = {
msg : "the message",
title : "the title",
textValue : "",
passValue : "",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -909,17 +909,17 @@ add_task(function* runTests() {
SpecialPowers.Services.
scriptSecurityManager.getSystemPrincipal(),
null, // aTriggeringPrincipal
Ci.nsILoadInfo.SEC_ALLOW_CROSS_ORIGIN_DATA_IS_NULL,
Ci.nsIContentPolicy.TYPE_OTHER);
var level = Ci.nsIAuthPrompt2.LEVEL_NONE;
- // ===== test 500 =====
+ info("===== test 500 =====");
state = {
msg : "http://example.com is requesting your username and password.\n\nThe site says: “some realm”",
title : "Authentication Required",
textValue : "inuser",
passValue : "inpass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
textHidden : false,
@@ -942,17 +942,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter2.promptAuth(channel1, level, authinfo);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(authinfo.username, "outuser", "Checking returned username");
is(authinfo.password, "outpass", "Checking returned password");
- // ===== test 501 =====
+ info("===== test 501 =====");
state = {
msg : "http://example.com is requesting your username and password.\n\nThe site says: “some realm”",
title : "Authentication Required",
textValue : "outuser",
passValue : "outpass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
textHidden : false,
@@ -967,17 +967,17 @@ add_task(function* runTests() {
buttonClick : "cancel",
};
promptDone = handlePrompt(state, action);
isOk = prompter2.promptAuth(channel1, level, authinfo);
yield promptDone;
ok(!isOk, "Checking dialog return value (cancel)");
- // ===== test 502 =====
+ info("===== test 502 =====");
// test filling in password-only login
state = {
msg : "http://example.com is requesting your username and password.\n\nThe site says: “http://example.com”",
title : "Authentication Required",
textValue : "",
passValue : "examplepass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -999,17 +999,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter2.promptAuth(channel1, level, authinfo);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(authinfo.username, "", "Checking returned username");
is(authinfo.password, "examplepass", "Checking returned password");
- // ===== test 503 =====
+ info("===== test 503 =====");
// test filling in existing login (undetermined from multiple selection)
// user2name/user2pass would also be valid to fill here.
state = {
msg : "http://example2.com is requesting your username and password.\n\nThe site says: “http://example2.com”",
title : "Authentication Required",
textValue : "user1name",
passValue : "user1pass",
iconClass : "authentication-icon question-icon",
@@ -1032,17 +1032,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter2.promptAuth(channel2, level, authinfo);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
ok(authinfo.username == "user1name" || authinfo.username == "user2name", "Checking returned username");
ok(authinfo.password == "user1pass" || authinfo.password == "user2pass", "Checking returned password");
- // ===== test 504 =====
+ info("===== test 504 =====");
// test filling in existing login (undetermined --> user1)
// user2name/user2pass would also be valid to fill here.
state = {
msg : "http://example2.com is requesting your username and password.\n\nThe site says: “http://example2.com”",
title : "Authentication Required",
textValue : "user1name",
passValue : "user1pass",
iconClass : "authentication-icon question-icon",
@@ -1068,17 +1068,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter2.promptAuth(channel2, level, authinfo);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(authinfo.username, "user1name", "Checking returned username");
is(authinfo.password, "user1pass", "Checking returned password");
- // ===== test 505 =====
+ info("===== test 505 =====");
// test filling in existing login (undetermined --> user2)
// user2name/user2pass would also be valid to fill here.
state = {
msg : "http://example2.com is requesting your username and password.\n\nThe site says: “http://example2.com”",
title : "Authentication Required",
textValue : "user1name",
passValue : "user1pass",
iconClass : "authentication-icon question-icon",
@@ -1105,17 +1105,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter2.promptAuth(channel2, level, authinfo);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(authinfo.username, "user2name", "Checking returned username");
is(authinfo.password, "user2pass", "Checking returned password");
- // ===== test 506 =====
+ info("===== test 506 =====");
// test changing a password (undetermined --> user2 w/ newpass)
// user2name/user2pass would also be valid to fill here.
state = {
msg : "http://example2.com is requesting your username and password.\n\nThe site says: “http://example2.com”",
title : "Authentication Required",
textValue : "user1name",
passValue : "user1pass",
iconClass : "authentication-icon question-icon",
@@ -1142,17 +1142,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter2.promptAuth(channel2, level, authinfo);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(authinfo.username, "user2name", "Checking returned username");
is(authinfo.password, "NEWuser2pass", "Checking returned password");
- // ===== test 507 =====
+ info("===== test 507 =====");
// test changing a password (undetermined --> user2 w/ origpass)
// user2name/user2pass would also be valid to fill here.
state = {
msg : "http://example2.com is requesting your username and password.\n\nThe site says: “http://example2.com”",
title : "Authentication Required",
textValue : "user1name",
passValue : "user1pass",
iconClass : "authentication-icon question-icon",
@@ -1179,17 +1179,17 @@ add_task(function* runTests() {
promptDone = handlePrompt(state, action);
isOk = prompter2.promptAuth(channel2, level, authinfo);
yield promptDone;
ok(isOk, "Checking dialog return value (accept)");
is(authinfo.username, "user2name", "Checking returned username");
is(authinfo.password, "user2pass", "Checking returned password");
- // ===== test 508 =====
+ info("===== test 508 =====");
// test proxy login (default = no autologin), make sure it prompts.
state = {
msg : "The proxy moz-proxy://127.0.0.1:8888 is requesting a username and password.\n\nThe site says: “Proxy Realm”",
title : "Authentication Required",
textValue : "proxuser",
passValue : "proxpass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -1216,17 +1216,17 @@ add_task(function* runTests() {
yield promptDone;
var time2 = pwmgr.findLogins({}, mozproxy, null, "Proxy Realm")[0].QueryInterface(Ci.nsILoginMetaInfo).timeLastUsed;
ok(isOk, "Checking dialog return value (accept)");
isnot(time1, time2, "Checking that timeLastUsed was updated");
is(proxyAuthinfo.username, "proxuser", "Checking returned username");
is(proxyAuthinfo.password, "proxpass", "Checking returned password");
- // ===== test 509 =====
+ info("===== test 509 =====");
// test proxy login (with autologin)
// Enable the autologin pref.
prefs.setBoolPref("signon.autologin.proxy", true);
proxyAuthinfo.username = "";
proxyAuthinfo.password = "";
proxyAuthinfo.realm = "Proxy Realm";
@@ -1236,17 +1236,17 @@ add_task(function* runTests() {
isOk = prompter2.promptAuth(proxyChannel, level, proxyAuthinfo);
time2 = pwmgr.findLogins({}, mozproxy, null, "Proxy Realm")[0].QueryInterface(Ci.nsILoginMetaInfo).timeLastUsed;
ok(isOk, "Checking dialog return value (accept)");
isnot(time1, time2, "Checking that timeLastUsed was updated");
is(proxyAuthinfo.username, "proxuser", "Checking returned username");
is(proxyAuthinfo.password, "proxpass", "Checking returned password");
- // ===== test 510 =====
+ info("===== test 510 =====");
// test proxy login (with autologin), ensure it prompts after a failed auth.
state = {
msg : "The proxy moz-proxy://127.0.0.1:8888 is requesting a username and password.\n\nThe site says: “Proxy Realm”",
title : "Authentication Required",
textValue : "proxuser",
passValue : "proxpass",
iconClass : "authentication-icon question-icon",
titleHidden : true,
@@ -1273,17 +1273,17 @@ add_task(function* runTests() {
yield promptDone;
time2 = pwmgr.findLogins({}, mozproxy, null, "Proxy Realm")[0].QueryInterface(Ci.nsILoginMetaInfo).timeLastUsed;
ok(isOk, "Checking dialog return value (accept)");
isnot(time1, time2, "Checking that timeLastUsed was updated");
is(proxyAuthinfo.username, "proxuser", "Checking returned username");
is(proxyAuthinfo.password, "proxpass", "Checking returned password");
- // ===== test 511 =====
+ info("===== test 511 =====");
// test proxy login (with autologin), ensure it prompts in Private Browsing mode.
state = {
msg : "the message",
title : "the title",
textValue : "proxuser",
passValue : "proxpass",
};
action = {
@@ -1302,17 +1302,17 @@ add_task(function* runTests() {
// XXX check NTLM domain stuff
// clear plain HTTP auth sessions before the test, to allow
// running them more than once.
var authMgr = Cc['@mozilla.org/network/http-auth-manager;1'].
getService(Ci.nsIHttpAuthManager);
authMgr.clearAll();
- // ===== test 1000 =====
+ info("===== test 1000 =====");
state = {
msg : "http://mochi.test:8888 is requesting your username and password.\n\nThe site says: “mochitest”",
title : "Authentication Required",
textValue : "mochiuser1",
passValue : "mochipass1",
iconClass : "authentication-icon question-icon",
titleHidden : true,
textHidden : false,