Make auto-complete only suggest properties that are valid syntax
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Oct 2008 04:50:34 +0000 (04:50 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Oct 2008 04:50:34 +0000 (04:50 +0000)
commit40fe10ec958be6eee57072a73befd42131f78df9
treeb0d7445fa7b94c878c6d92d3c5251d5270501531
parentb9a4a5a01fe04cea94cbfc9e2242afdb271566e9
    Make auto-complete only suggest properties that are valid syntax
        when using dot-notation. Also when completing numeric properties,
        the quotes are omitted inside the brackets.

        https://bugs.webkit.org/show_bug.cgi?id=21760
        https://bugs.webkit.org/show_bug.cgi?id=21761

        Reviewed by Oliver Hunt.

        * inspector/front-end/Console.js:
        (WebInspector.Console.prototype.completions): Skip properties that
        are not valid identifies when using dot-notation. And omit the quotes
        when completing numbers in bracket-notation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@37757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/inspector/front-end/Console.js