Reviewed by Sam Weinig.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Dec 2007 23:46:37 +0000 (23:46 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Dec 2007 23:46:37 +0000 (23:46 +0000)
commit1b4c98e78573f6bdef1ef9c9e18252974cc78b4e
treeb1f3d551fd3f1a5bb26635fbf511863e8b01f005
parent963cc5a8d24ce422253168bf4d244017f1c50bb4
    Reviewed by Sam Weinig.

        <rdar://problem/5604897> Double-clicking on JavaScript console error
        won't show the line where it occurred

        Make the URLs clickable in the console, since double clicking is used for
        word text selection. Makes the word "line" localizable. Messages that don't
        have a URL will no longer print "undefined". Messages that have a line number
        less than or equal to 0 will no longer be printed.

        * English.lproj/InspectorLocalizedStrings.js: Add "%s (line %d)".
        * page/inspector/ConsolePanel.js: Tweak how the DOM nodes are created
          and change the click handler to look for a link with the
          "console-message-url" class name.
        * page/inspector/SourcePanel.js: Call setupSourceFrameIfNeeded() if a
          line row is needed.
        * page/inspector/inspector.css: Update the look of the URL in the console.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/English.lproj/InspectorLocalizedStrings.js
WebCore/page/inspector/ConsolePanel.js
WebCore/page/inspector/SourcePanel.js
WebCore/page/inspector/inspector.css