bitwarden / bitwarden/clients

"Auto-fill on page load" should not fill fields with autocomplete="new-password"

Open
#7,964 8 comments 1 reaction 0 assignees View on GitHub
browser bug
Dominant language
TypeScript
Stars
13.8k
Forks
2k
Avg merge
3d 9h
Merged PRs (30d)
393

Description

### Steps To Reproduce

1. Enable "Auto-fill on page load"
2. Create an entry for https://gabrielfin.github.io/autocomplete-new-password.html
3. Restart Firefox
4. Log-in to Bitwarden extension and access the URL

### Expected Result

The password field should not be auto-filled on page load, since it contains the attribute autocomplete="new-password"

This was a feature, see https://github.com/bitwarden/clients/pull/1400

### Actual Result

The new password field is auto-filled

### Screenshots or Videos

_No response_

### Additional Context

This did not occur in previous versions (for example, I'm sure it didn't happen at least in 2023.7.1)

### Operating System

Linux

### Operating System Version

_No response_

### Web Browser

Firefox

### Browser Version

123.0

### Build Version

2024.1.1

### Issue Tracking Info

- [X] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue at gabrielfin.github.io/autocomplete-new-password.html in Firefox with Auto-fill on page load enabled, then trace the browser-extension autofill path. Done means a field marked autocomplete="new-password" is not filled on page load, while the reported login flow remains functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.