зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
141a77238f
Коммит
3a79ba8812
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче