[Webkit-unassigned] [Bug 93019] New: Web Inspector: WebInspector.linkifyStringAsFragment gives wrong typeof lineNumber

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 2 12:40:10 PDT 2012


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

           Summary: Web Inspector: WebInspector.linkifyStringAsFragment
                    gives wrong typeof lineNumber
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: johnjbarton at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


User reported issue is upstream:
Issue 135493:    [DevTools] Links to source locations from stacktraces do not work.
http://code.google.com/p/chromium/issues/detail?id=135493

The test case writes

Error: The original error
    at triggerError (http://fiddle.jshell.net/Ad2Rr/4/show/:22:11)
    at HTMLButtonElement.onclick (http://fiddle.jshell.net/Ad2Rr/4/show/:36:121) 

into the console and the text goes through WebInspector.linkifyStringAsFragment. That calls WebInspector.linkifyStringAsFragmentWithCustomLinkifier() with a custom linkifier that is supposed to accept a string arg for lineNumber. However that linkifier function treats the lineNumber as a number.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list