[Webkit-unassigned] [Bug 168029] Web Inspector: Network tab content view is blank after reload
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 22 13:52:15 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=168029
--- Comment #7 from Matt Baker <mattbaker at apple.com> ---
Comment on attachment 302429
--> https://bugs.webkit.org/attachment.cgi?id=302429
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=302429&action=review
> Source/WebInspectorUI/UserInterface/Views/NetworkSidebarPanel.js:194
> + this.showDefaultContentView();
In general we try to avoid doing work in tabs that aren't visible. A fairly common idiom used in the Inspector UI is:
1. Handle a message
2. is the view processing the message visible?
3. If so, update the view (on the next animation frame, if coalescing multiple events in quick succession)
4. If not, mark the view as having pending changes and update when it is shown
For an example of this, see the treatment of "pending records" in Timeline content views.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170222/ab40705c/attachment.html>
More information about the webkit-unassigned
mailing list