Closed
Bug 1489554
Opened 7 years ago
Closed 7 years ago
Do not open the autocomplete popup if there's a letter right after the cursor
Categories
(DevTools :: Console, defect, P1)
DevTools
Console
Tracking
(firefox64 fixed)
RESOLVED
FIXED
Firefox 64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
(Whiteboard: [boogaloo-mvp])
Attachments
(1 file)
**Steps to reproduce**
1. Open the console
2. Enter `soc = 1`
3. Realize you were wrong and wanted to call the variable `doc`.
4. Go to the beginning of the input, remove the `s` and type `d
` instead.
5. Press enter to evaluate
**Expected results**
My `doc` variable is assigned as expected and the console input is cleared.
**Actual results**
Pressing `d` opened the autocomplete popup, (with probably decodeURI being selected), and hitting Enter put it in the input (I now have `decodeURIoc = 1` in the input and have to angrily go back and remove what the console wrongfully did).
---
I think it's safe to not show the popup if there's a alphanumeric character (+ "_" and "$") just after the cursor.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Priority: -- → P1
Assignee | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment on attachment 9007672 [details]
Bug 1489554 - Do not open the autocomplete popup if there's a letter right after the cursor; r=Honza.
Jan Honza Odvarko [:Honza] has approved the revision.
Attachment #9007672 -
Flags: review+
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a2d23dacc52c
Do not open the autocomplete popup if there's a letter right after the cursor; r=Honza.
Assignee | ||
Updated•7 years ago
|
Whiteboard: [boogaloo-mvp]
Comment 4•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in
before you can comment on or make changes to this bug.
Description
•