[Webkit-unassigned] [Bug 145468] New: Web Inspector: Console.messagesCleared should include a reason (frame navigated, console-api, etc)

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


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

            Bug ID: 145468
           Summary: Web Inspector: Console.messagesCleared should include
                    a reason (frame navigated, console-api, etc)
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: burg at cs.washington.edu, 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

* SUMMARY
Console.messagesCleared should include a reason (frame navigated, console-api, etc)

The frontend handles console clears differently for reloads then navigations, command line clear(), and console.clear() calls. The frontend would like to avoid clearing the console log buffer on page reloads but that is currently not easy to determine. Having a "reason" associated with the event would let the frontend be smarter about how it handles this message.

* NOTES
- Current reasons: frameNavigated, console-api (console.clear), CommandLineAPI (js> clear)
- Alternatively, it may be enough to just have the backend not even send messagesCleared for frame navigations, and let the frontend just do it on its own.
- We still need to worry about Legacy backends that won't have the reason

-- 
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/bcc00110/attachment-0001.html>


More information about the webkit-unassigned mailing list