Now that we have access to variables in the local scope (see https://bugs.webkit.org/show_bug.cgi?id=19052), it would great to have the same completion as global variables. It means the automatic gray "hint" and the completion when pressing the tabulation key.
Created attachment 22829 [details] Proposed patch
Comment on attachment 22829 [details] Proposed patch r=me
Landed in r35814.