Bug 153632

Summary: Web Inspector: Provide a way to clear the network panel
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, hi, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: GoodFirstBug, InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Image] Proposed change
none
Patch none

Nikita Vasilyev
Reported 2016-01-28 20:24:22 PST
Created attachment 270173 [details] [Image] Proposed change There seems to be no way to clear the network view. We should at least provide a button (e.g. a trash can icon we already use in the console). Use case: "I want to clear the network panel of all requests up to now as it's just noise when I'm about to initiate a process that will kick off requests I am interested in." <rdar://problem/23317773>
Attachments
[Image] Proposed change (65.14 KB, image/png)
2016-01-28 20:24 PST, Nikita Vasilyev
no flags
Patch (3.18 KB, patch)
2016-01-29 14:58 PST, Devin Rousso
no flags
Timothy Hatcher
Comment 1 2016-01-28 21:28:24 PST
Works for me.
Nikita Vasilyev
Comment 2 2016-01-28 21:31:43 PST
(In reply to comment #1) > Works for me. Do you mean that you agree with the proposed trash icon? It is currently not there, I photoshopped it.
Timothy Hatcher
Comment 3 2016-01-28 22:38:39 PST
Yes, it would match the Timelines tab.
Devin Rousso
Comment 4 2016-01-29 14:58:59 PST
WebKit Commit Bot
Comment 5 2016-01-29 15:12:47 PST
Comment on attachment 270258 [details] Patch Clearing flags on attachment: 270258 Committed r195846: <http://trac.webkit.org/changeset/195846>
WebKit Commit Bot
Comment 6 2016-01-29 15:12:51 PST
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 7 2016-01-29 17:48:44 PST
Comment on attachment 270258 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=270258&action=review > Source/WebInspectorUI/UserInterface/Views/NetworkGridContentView.js:234 > + _clearNetworkItems(event) { Style: brace on newline
Note You need to log in before you can comment on or make changes to this bug.