String, Date and maybe other objects are not completed in the Console. Image is completed though.
This looks like a good place to start: https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects The list of globals that don't appear in the console's autocompletion: var globals = ["Array", "Boolean", "Date", "Error", "Function", "Math", "Number", "Object", "RegExp", "String"] Note that the following "Error" globals did appear: EvalError, RangeError, ReferenceError, SyntaxError, TypeError, URIError
Basically all the {DontEnum} attributes don't come up as completion candidates. Which is quite a lot ... You can grep for "DontEnum" to find a lot of them. Examples: String Date String.charAt String.substring Math.power document.toString ...
Created attachment 46464 [details] Proposed patch
There doesn't appear to be any tests for auto-completion. If anyone has ideas for going about writing one (that doesn't involve manual/simulated input events and works cross-platform :) ), I'm all ears.
Comment on attachment 46464 [details] Proposed patch Clearing flags on attachment: 46464 Committed r53192: <http://trac.webkit.org/changeset/53192>
All reviewed patches have been landed. Closing bug.