Bug 21140 - Web Inspector: profiler should report line numbers for JavaScript in inline event handlers
Summary: Web Inspector: profiler should report line numbers for JavaScript in inline e...
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
: 36812 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-26 05:16 PDT by Oliver Hunt
Modified: 2016-12-13 15:39 PST (History)
6 users (show)

See Also:


Attachments
Example of the error (358 bytes, text/plain)
2008-09-29 16:17 PDT, Kevin McCullough
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Hunt 2008-09-26 05:16:38 PDT
Given the global/program code can be in multiple separate blocks in multiple separate files it would be useful if the profiler reported line + file of program code blocks.
Comment 1 Kevin McCullough 2008-09-29 16:16:16 PDT
Usually the profiler does report line numbers and urls, attached is a test that shows when it does not.

It does not when you have JS in an anchor.
Comment 2 Kevin McCullough 2008-09-29 16:17:09 PDT
Created attachment 23923 [details]
Example of the error
Comment 3 Kevin McCullough 2008-09-30 11:52:17 PDT
Profiler should report line numbers for global/program code for anchors.
Comment 4 Brian Burg 2014-12-16 00:25:34 PST
*** Bug 36812 has been marked as a duplicate of this bug. ***