A double click on a resource in the sidebar should open that resource directly in a new Safari window.
<rdar://problem/5712835>
Created attachment 33006 [details] Double Click opens the Resource in a New Window Side effect of a really good design is that a feature like this requires a couple lines of code. This opens up a new window with the url of the resource. NOTES: - Should we white-list file extensions or mime-types? - Is this behavior still desired? (I think its fine).
Actually, now that I think about it. "window.open" can be redefined by the inspected page. So if that cannot be "trusted" then we would have to resort to something else. Thoughts?
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/inspector/front-end/ResourcesPanel.js Committed r46336 M WebCore/ChangeLog M WebCore/inspector/front-end/ResourcesPanel.js r46336 = 3a3566570220a9ffc5cd2bdb9f43ddf2c6d164ca (trunk) No changes between current HEAD and refs/remotes/trunk Resetting to the latest refs/remotes/trunk http://trac.webkit.org/changeset/46336