Closed
Bug 1614841
Opened 1 year ago
Closed 1 year ago
Case-insensitive autocompletes cause reference errors
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(firefox75 fixed)
RESOLVED
FIXED
Firefox 75
| Tracking | Status | |
|---|---|---|
| firefox75 | --- | fixed |
People
(Reporter: Harald, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
What were you doing?
- Type
docin Console - Select
DocumentFragment
What happened?
Autocomplete incorrectly uses lowercase d and evals documentFragment.
ReferenceError: "documentFragment is not defined"
What should have happened?
Eager eval for DocumentFragment.
| Assignee | ||
Updated•1 year ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•1 year ago
|
||
The autocomplete popup does a case-insensitive match, so
some items could end up changing the final input value.
This is already handled when selecting an autocomplete item,
but it wasn't the case for the eager evaluation.
This patch moves the code of the acceptCompletion function
to another function, that we can then call from the eager
evaluation updates.
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/90a1f213a11a Fix eager evaluation result for case-insensitive autocomplete results. r=Honza.
Comment 4•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 75
You need to log in
before you can comment on or make changes to this bug.
Description
•