[Webkit-unassigned] [Bug 145466] New: Web Inspector: Activity Viewer does not update on "Clear Log on reload"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 29 13:22:34 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145466

            Bug ID: 145466
           Summary: Web Inspector: Activity Viewer does not update on
                    "Clear Log on reload"
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tobi+bugzilla at basecode.de
                CC: graouts at webkit.org, joepeck at webkit.org,
                    jonowells at apple.com, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

* STEPS TO REPRODUCE
1. Open https://bug-142070-attachments.webkit.org/attachment.cgi?id=247481
2. Go to Console Tab
3. Activity Viewer shows 11 logs
4. Select "Clear Log on Reload"
5. Reload page
6. Activity Viewer shows 22 logs instead of 11 logs

* DESCRIPTION
The Activity Viewer listens on "WebInspector.LogManager.Event.ActiveLogCleared" but the Event isn't dispatched. That is due to a hack in LogContentView that ignores the `Console.clearMessages` call. The hack tries to workaround a general problem between Backend and Frontend logic as described here rdar://problem/13767079.

* HOW TO FIX
1. Fix rdar://problem/13767079 and let the Backend pass a reason (PAGE_NAVIGATION or CLEAR_COMMAND) why the Console got cleared.
2. Don't dispatch "ActiveLogCleared" on "PAGE_NAVIGATION" anymore and let Frontend explicitly maintain page navigation (=reload).
3. Remove "_ignoreDidClearMessages" hack from LogContentView

-- 
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/20150529/68f518bb/attachment.html>


More information about the webkit-unassigned mailing list