[Webkit-unassigned] [Bug 36812] New: Profiler does not show the correct javascript line after <pre> element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 30 02:02:39 PDT 2010


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

           Summary: Profiler does not show the correct javascript line
                    after <pre> element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mihnea at adobe.com


Hello,

I am trying to profile the following HTML code snippet in WebKit:

<html>
    <body>
        <pre>
        Test
        </pre>
    <input type="button" value="Click" onclick="alert('1');" />
    </body>
</html>

After loading the code, i start profiler, click button, dismiss alert and stop
profiler.
*onclick* function is reported on line 5, but line 5 is </pre> element.

If i move the ending pre tag on the same line as Test, profiler does show the
right line for *onclick* function.
I've tested on both Win/Mac with Safari 4.0.5, latest WebKit and Chrome and all
exhibit the same issue.

Regards,
Mihnea Ovidenie

-- 
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