Closed Bug 604166 Opened 14 years ago Closed 14 years ago

Web console autocomplete doesn't know about variables

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 587095

People

(Reporter: heycam, Assigned: jwalker)

References

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:2.0b8pre) Gecko/20101012 Firefox/4.0b8pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b8pre) Gecko/20101012 Firefox/4.0b8pre

The web console autocomplete wants to complete to identifiers that shouldn't be unique based on the characters I have typed so far.


Reproducible: Always

Steps to Reproduce:
1. Open the Web Console on a blank page.
2. Type "var a = 1" and press Enter.
3. Type "a" and press Enter, as if you wanted to check the value of 'a'.

Actual Results:  
The autocompleter substituted "addEventListener" for "a", so I instead evaluated that.

Expected Results:  
It should not have completed "a" to "addEventListener".
Confirmed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → jwalker
Blocks: devtools4b8
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.