Open Bug 1612999 Opened 6 years ago Updated 3 years ago

Flash of ReferenceError before autocomplete appears

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: Harald, Unassigned)

References

(Blocks 1 open bug)

Details

STR: Type "a" in Console

AR: Brief flashing of red ReferenceError before autocomplete appears

ER: If autocomplete appears, don't show eager evaluation for the incomplete statement.

Maybe they could be lined up better smarter scheduling and also avoid eager eval when autocomplete will show.

It seems like ideally, if there is (will be) a request in-flight for populating the autocomplete's data or result value, we should not show the result from the initial attempt to eager-eval the result.

+1 on checking current vs evaluated value after eager eval to see if the result is still useful.

I also found that adding some delay for showing errors helped with reducing error flashes and prioritized useful results.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.