зеркало из https://github.com/mozilla/pjs.git
Bug 121792�User can see content of password and hidden fields in page info, and this option cannot be turned off
patch by db48x@yahoo.com r=caillon@returnzero.com sr=jag
This commit is contained in:
Родитель
224b3d1809
Коммит
2c39dc42e3
|
@ -323,7 +323,10 @@ function onFormSelect()
|
|||
if(elem.nodeName.toLowerCase() == "button")
|
||||
fieldView.addRow([i+1, "", elem.name, elem.type, getValueText(elem)]);
|
||||
else
|
||||
fieldView.addRow([i+1, "", elem.name, elem.type, elem.value]);
|
||||
{
|
||||
var val = (elem.type == "password") ? theBundle.getString("formPassword") : elem.value;
|
||||
fieldView.addRow([i+1, "", elem.name, elem.type, val]);
|
||||
}
|
||||
}
|
||||
|
||||
var labels = form.getElementsByTagName("label");
|
||||
|
|
|
@ -39,6 +39,7 @@ formUntitled=Unnamed Form:
|
|||
formDefaultTarget=None (opens in same window)
|
||||
formChecked=Checked
|
||||
formUnchecked=Unchecked
|
||||
formPassword=********
|
||||
|
||||
linkAnchor=Anchor
|
||||
linkArea=Area
|
||||
|
|
Загрузка…
Ссылка в новой задаче