[Webkit-unassigned] [Bug 132109] Web Inspector: Expect to see top level JavaScript function profiler details for event handlers in timeline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 1 18:14:17 PDT 2014


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





--- Comment #6 from Timothy Hatcher <timothy at apple.com>  2014-08-01 18:14:29 PST ---
Oh! That…

This is explicit and all done on the UI side. If there is only one listener, it becomes the top level record.

See ScriptTimelineView.js:208.

                // If there is only one node, promote its children. The TimelineRecordTreeElement already reflects the root
                // node in this case (e.g. a "Load Event Dispatched" record with an "onload" root profile node).
                // FIXME: Only do this for the top-down mode. Doing this for bottom-up would be incorrect.
                if (rootNodes.length === 1)
                    rootNodes = rootNodes[0].childNodes;

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