Back out e8fae7f2ce39 (bug 781318) because of reftest failure
This commit is contained in:
@@ -248,7 +248,7 @@ Prompt.prototype = {
|
||||
},
|
||||
|
||||
nsIPrompt_prompt: function nsIPrompt_prompt(aTitle, aText, aValue, aCheckMsg, aCheckState) {
|
||||
let inputs = [{ type: "textbox", value: aValue.value, autofocus: true }];
|
||||
let inputs = [{ type: "textbox", value: aValue.value }];
|
||||
let data = this.commonPrompt(aTitle, aText, null, aCheckMsg, aCheckState, inputs);
|
||||
|
||||
let ok = data.button == 0;
|
||||
@@ -261,7 +261,7 @@ Prompt.prototype = {
|
||||
|
||||
nsIPrompt_promptPassword: function nsIPrompt_promptPassword(
|
||||
aTitle, aText, aPassword, aCheckMsg, aCheckState) {
|
||||
let inputs = [{ type: "password", hint: PromptUtils.getLocaleString("password", "passwdmgr"), value: aPassword.value || "", autofocus: true }];
|
||||
let inputs = [{ type: "password", hint: PromptUtils.getLocaleString("password", "passwdmgr"), value: aPassword.value || "" }];
|
||||
let data = this.commonPrompt(aTitle, aText, null, aCheckMsg, aCheckState, inputs);
|
||||
|
||||
let ok = data.button == 0;
|
||||
@@ -274,7 +274,7 @@ Prompt.prototype = {
|
||||
|
||||
nsIPrompt_promptUsernameAndPassword: function nsIPrompt_promptUsernameAndPassword(
|
||||
aTitle, aText, aUsername, aPassword, aCheckMsg, aCheckState) {
|
||||
let inputs = [{ type: "textbox", hint: PromptUtils.getLocaleString("username", "passwdmgr"), value: aUsername.value, autofocus: true },
|
||||
let inputs = [{ type: "textbox", hint: PromptUtils.getLocaleString("username", "passwdmgr"), value: aUsername.value },
|
||||
{ type: "password", hint: PromptUtils.getLocaleString("password", "passwdmgr"), value: aPassword.value }];
|
||||
let data = this.commonPrompt(aTitle, aText, null, aCheckMsg, aCheckState, inputs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user