• timothy@apple.com's avatar
    Make input in the Web Inspector console print before any output · a31ef787
    timothy@apple.com authored
            that might be added by the called function.
            Reviewed by Oliver Hunt.
            * inspector/front-end/Console.js:
            (WebInspector.Console.prototype._enterKeyPressed): Add the command
            message before evaluating the result. Associate the originating
            command to the result, so if they are adjacent there is no divider.
            (WebInspector.ConsoleCommand): No longer take a result.
            (WebInspector.ConsoleCommand.prototype.toMessageElement): Result
            code removed since it isn't used now.
            (WebInspector.ConsoleCommandResult): Subclass ConsoleMessage.
            Call the ConsoleMessage toMessageElement and add a style class.
            * inspector/front-end/inspector.css: Add a new style class for
            adjacent results to hide the divider. Also tweak the position of
            the disclosure triangle for objects to not use the left margin.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 2.55 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.