[Webkit-unassigned] [Bug 153636] JSC Sampling Profiler: First Bound Function name inadvertently appears where all bound functions get call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 21:25:50 PST 2016


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

--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
Also reasonable, and probably the most accurate:

    (3) The "bound" function appears in the trace, with its name demarcated:

    => [f] doStuff
      => [N] bound methodOne
        => [f] methodOne
      => [N] bound methodTwo
        => [f] methodTwo

One of the things in the ES6 compat table is that (foo.bind()).name is "bound foo", so this would make sense. But we would probably offer some frontend convenience to merge bound function call frames with the call to the target function, and still end up with (1) eventually.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160129/22936e3d/attachment.html>


More information about the webkit-unassigned mailing list