Bug 36812

Summary: Profiler does not show the correct javascript line after <pre> element
Product: WebKit Reporter: Mihnea Ovidenie <mihnea>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: burg, mihnea
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Mihnea Ovidenie
Reported 2010-03-30 02:02:39 PDT
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
Attachments
Brian Burg
Comment 1 2014-12-16 00:25:34 PST
*** This bug has been marked as a duplicate of bug 21140 ***
Note You need to log in before you can comment on or make changes to this bug.