Closed Bug 1670674 Opened 5 years ago Closed 4 years ago

Firefox fills automatically fields marked with autocomplete="off"

Categories

(Toolkit :: Password Manager, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: flod, Unassigned)

Details

Attachments

(1 file)

Nightly 83.0 20201011093320

Not sure if there's an easier place to reproduce it, but trying to edit a user in Bugzilla, I get two fields autocompleted with my login information, even if these fields are marked explicitly as autocomplete="off".

This is the HTML fragment

<tr>
  <th><label for="name">IAM username:</label></th>
  <td>
      <input size="64" maxlength="255" name="iam_username" autocomplete="off" id="iam_username" value="">
  </td>
</tr>
<tr>
    <th>
      <label for="password">Update
        Password:
      </label>
    </th>
    <td>
      <input type="password" size="16" name="password" id="password" value="" autocomplete="off">
    </td>
  </tr>
Attached file test case

Per https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion we ignore autocomplete="off" for login fields and it looks like these are such. See also bug 1025703

As mentioned in Comment 2, we ignore autocomplete="off".
There is a pref you can turn on to NOT autofill when autocomplete="off" (See Bug 1531135).

Status: NEW → RESOLVED
Closed: 4 years ago
Component: Form Autofill → Password Manager
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: