mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 06:18:38 +09:00
Issue #2790 - Cleanup: Remove whitespaces
This commit is contained in:
parent
459ed6ea85
commit
70cbf0dfd3
2 changed files with 1 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue