Created attachment 59382 [details] a screenshot Having a simple page that creates two profiles the same name: <html> <head> <script> function load() { console.profile("aaa"); console.profileEnd("aaa"); console.profile("aaa"); console.profileEnd("aaa"); } </script> </head> <body onload="load()"> </body> </html> In Inspector, they are displayed pretty strangely, see the screenshot. If I reload the page, new profiles are added to the first "aaa" item, as "Run 3", "Run 4", and so forth. I believe, the first two should be displayed as "Run 1" and "Run 2", not as separate items.
Created attachment 59503 [details] patch
Manually committed http://trac.webkit.org/changeset/61682 2010-06-23 Mikhail Naganov <mnaganov@chromium.org> Reviewed by Pavel Feldman. Web Inspector: Fix displaying of several CPU profiles with the same name. https://bugs.webkit.org/show_bug.cgi?id=40992 * inspector/front-end/ProfilesPanel.js: (WebInspector.ProfileGroupSidebarTreeElement.prototype.onselect):