Created attachment 72643 [details] Screenshot of the console Below are contents of the console: > console.profile("aaa") Profile "aaa " started. > console.profileEnd("aaa") Profile "aaa" finished. > console.profile("aaa") Profile "aaa Run 1 " started. > console.profileEnd("aaa") Profile "aaa Run 2" finished. Should be: > console.profile("aaa") Profile "aaa" started. // <-- no trailing space > console.profileEnd("aaa") Profile "aaa" finished. > console.profile("aaa") Profile "aaa Run 2" started. // <-- must be "Run 2". > console.profileEnd("aaa") Profile "aaa Run 2" finished.
Created attachment 72666 [details] Proposed fix
Manually committed http://trac.webkit.org/changeset/71242 2010-11-02 Mikhail Naganov <mnaganov@chromium.org> Reviewed by Pavel Feldman. Web Inspector: Fix console messages about starting and finishing profiling. https://bugs.webkit.org/show_bug.cgi?id=48825 * inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole): * inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel.prototype.displayTitleForProfileLink):