Static wire to ProfilesPanel was added in process of making it lazy-loading. I believe that this was a temporary solution.
Created attachment 175660 [details] Patch
Comment on attachment 175660 [details] Patch ProfileType should not depend on the ProfilesPanel, the dependency goes the other way.
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.