mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Issue #2790 - Cleanup: Remove whitespaces
This commit is contained in:
@@ -2607,7 +2607,7 @@ HTMLInputElement::MozSetFileNameArray(const Sequence<nsString>& aFileNames,
|
||||
|
||||
NS_IMETHODIMP
|
||||
HTMLInputElement::MozSetFileNameArray(const char16_t** aFileNames,
|
||||
uint32_t aLength)
|
||||
uint32_t aLength)
|
||||
{
|
||||
if (!nsContentUtils::IsCallerChrome()) {
|
||||
// setting the value of a "FILE" input widget requires chrome privilege
|
||||
|
||||
@@ -235,9 +235,7 @@ FormHandler.prototype = {
|
||||
* }
|
||||
*/
|
||||
autofillFormFields: function (aAutofillResult) {
|
||||
|
||||
for (let field of aAutofillResult.fields) {
|
||||
|
||||
// Get the field details, if it was processed by the user interface.
|
||||
let fieldDetail = this.fieldDetails
|
||||
.find(f => f.section == field.section &&
|
||||
@@ -249,8 +247,6 @@ FormHandler.prototype = {
|
||||
continue;
|
||||
}
|
||||
fieldDetail.element.value = field.value;
|
||||
|
||||
|
||||
if (typeof fieldDetail.element.setAutofilled === 'function') {
|
||||
fieldDetail.element.setAutofilled(!!field.value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user