[Webkit-unassigned] [Bug 159546] Web Inspector: Log XMLHttpRequests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 11 08:56:20 PDT 2017


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

--- Comment #5 from Brian Burg <bburg at apple.com> ---
(In reply to Joseph Pecoraro from comment #3)
> This is a common thing in other tools:
> 
>   • Chrome
>     - Right click in the Console to see Context Menu
> 
>   • Firefox
>     - Console > Filter output > XHR
> 
>   • Firebug
>     - "Firebug shows you each XMLHttpRequest, in ... and the Console tab"
>     - http://getfirebug.com/network
> 
> I agree that this isn't the best way to debug network traffic but its
> something that developers are used to and may speed up debugging of some
> situations (turn on, perform action, turn off, debug the XHRs in that short
> time period). If it can easily be turned on / off it would be good for those
> developers that would rather have this then use the Network tab.
> 
> I think Nikita had a prototype in the past using just a Safari extension.
> 
> That said, if we did this I think we'd want to improve our Console filtering
> in general otherwise it would get out of Control. Firefox has done a really
> great job here, and I like what they've done with their filtering.

Okay, wouldn't it fit in better with our feature set to make XHR breakpoints do the logging via actions? Is it possible for us to evaluate arbitrary JS (conditions, log expressions, etc) when paused at non-script breakpoints? At the least, we could add a "log to console" action.

-- 
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/20170411/3bea696e/attachment.html>


More information about the webkit-unassigned mailing list