[Webkit-unassigned] [Bug 137663] New: Web Inspector: should be able to dump protocol traffic to console when remote inspecting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 13 11:28:32 PDT 2014


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

           Summary: Web Inspector: should be able to dump protocol traffic
                    to console when remote inspecting
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: burg at cs.washington.edu
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    graouts at webkit.org


This does nothing when remote inspecting:

WebKit2LogsPageMessagesToSystemConsoleEnabled

So even if InspectorBackend is dumping protocol traffic, you can only see it in the second level inspector. This doesn't scale well if you need to look at large amounts of traffic or save it to a file for processing.

It would be great if we had some way to optionally forward console messages so they would be dumped on the desktop's stderr, rather than on an iOS device. A workaround is using InspectorFrontendHost.unbufferedLog to dump protocol messages, but it would be good to see other console output as well.

We could expose WebKit2LogsPageMessagesToSystemConsoleEnabled through InspectorFrontendHost, but it's not easy to tee the calls to console.log since it is implemented as a native method.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list