2009-07-06 Pavel Feldman <pfeldman@chromium.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Jul 2009 20:47:32 +0000 (20:47 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 6 Jul 2009 20:47:32 +0000 (20:47 +0000)
commit674c3ebe5b619c07e60730548190b594873360f1
treeb4560a1443731e5220cd3ac6125be6c4f0b6949b
parentbec5da9e8bcd90c281557b2bee6e9c6ad0cf49cb
2009-07-06  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        WebInspector: suggest global properties based on async evaluation.

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

        Before this change, empty string was evaluated to the global object
        (or scope chain object) synchronously. This is now fixed and global
        object is evaluated using the same control flow.

        * inspector/front-end/Console.js:
        (WebInspector.Console.prototype.completions):
        (WebInspector.Console.prototype._evalInInspectedWindow):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._variablesInScope):

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