Currently, there is a single profile type (CPU profile) and its link URL format handled by WebInspector.documentClicked is as follows: webkit-profile://<title>/<uid> This does not warrant a possibility to introduce other types of profiles (say, Heap profiles). The suggested profile link URL format that enables multiple profile types looks like this: webkit-profile://<profileType>/<title>#<uid> where <profileType>, <title>, and <uid> are URL-encoded.
Created attachment 40949 [details] patch
Not landing since this introduces a regression: CPU profiles with similar names are no longer grouped properly (see screenshot).
Created attachment 41025 [details] [IMAGE] Screenshot with regression
(In reply to comment #2) > Not landing since this introduces a regression: CPU profiles with similar names > are no longer grouped properly (see screenshot). This is an unrelated regression. Filed as https://bugs.webkit.org/show_bug.cgi?id=30299
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/inspector/InspectorController.cpp M WebCore/inspector/front-end/inspector.js Committed r49495