Repository navigation
fix: don't show empty autofill popup - #52262
Conversation
Let's add some, focusing on the performance optimization. :) |
A hostile renderer could send values without matching labels and crash the browser process via out-of-range label access in label_at(). Also route the hide through HideAutofillPopup() for consistency and add comments explaining the guards.
|
Pushed a small commit on top — routes the hide through Also verified the resulting patch locally on macOS 26: repro'd the issue first with emulated IME inputs ( |
Thanks, although I can't take too much credit for it. @hirorocky, the original issue reporter, is the one who found it! |
|
Release Notes Persisted
|
|
I have automatically backported this PR to "44-x-y", please check out #52318 |
|
I have automatically backported this PR to "42-x-y", please check out #52319 |
|
I have automatically backported this PR to "41-x-y", please check out #52320 |
|
I have automatically backported this PR to "43-x-y", please check out #52321 |
Description of Change
Resolves #52260. This was written with the help of GPT-5.5 with the Codex CLI. Not sure if this needs release notes as it's unclear how impactful this bug has been.
Checklist
npm testpassesRelease Notes
Notes: Fixed unnecessary autofill popup creation for fields without datalist suggestions, which could cause input latency on macOS.