Closed Bug 617877 Opened 15 years ago Closed 15 years ago

Web console code completion suggestion sticks around when it shouldn't

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 4.0b8

People

(Reporter: dao, Assigned: jwalker)

References

Details

(Keywords: regression, Whiteboard: [Web-Console-Testday])

Attachments

(1 file)

Enter something that triggers a code completion suggestion, hit enter. The entered code is executed and removed from the input field, the code completion suggestion remains.
Assignee: nobody → jwalker
Attached patch upload 1Splinter Review
Clear the completeNode on setInputValue() I've been through all the uses of setInputValue (ctrl-e, ctrl-a, history, execute, etc) and I think that you want completion displayed for none of them. In fact in general when setting a specific value on the inputNode it seems that you are unlikely to want completion. Also added a test for this bug.
Attachment #496474 - Flags: feedback?(mihai.sucan)
Attachment #496474 - Flags: feedback?(mihai.sucan) → review?(dao)
Attachment #496474 - Flags: review?(dao) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b8
Status: RESOLVED → VERIFIED
Whiteboard: [Web-Console-Testday]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: