[Webkit-unassigned] [Bug 19362] New: JSProfiler: function highlighting, highlights the opening bracket of the function, not its name.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 2 13:48:54 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=19362

           Summary: JSProfiler: function highlighting, highlights the
                    opening bracket of the function, not its name.
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kmccullough at apple.com


* SUMMARY
In the Profiler in the Web Inspector you can click on the url and line number
of a function profiled and it will open the resource and take you to that line
number and highlight the line number.  However it goes to the line of the
opening brace, the '{', and if that is on a different line than the function
name then it can be confusing and isn't exactly what we wanted.

e.g.

function foo()
{
   dosomething();
}

vs

function foo () {
  dosomething();
}

* STEPS TO REPRODUCE
1. Load
WebCore/manual-tests/inspector/profiler-test-multiple-and-different-scoped-anonymous-function-calls.html
into Safari
2. Open the profiler and expand all of the functions.
3. Click the url next to 'IntermediaryFunction' and notice the highlighted line
is just a '{'
4. Go back to the profiler and click 'InsertNewText' and notice it highlights
the function name.

<rdar://problem/5979901>


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



More information about the webkit-unassigned mailing list