WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
148696
Web Inspector: Option to preserve logs on console and network tabs
https://bugs.webkit.org/show_bug.cgi?id=148696
Summary
Web Inspector: Option to preserve logs on console and network tabs
Iraê
Reported
2015-09-01 17:30:21 PDT
In previous versions of Webkit every time I reloaded the page I would get a dashed line and the console would not clear. This was somewhat useful but for certain scenarios, like when debugging page load issues, it can get very cluttered. In the current Safari 9 beta there is the reverse behavior, either navigating away from the page or reloading the page is clearing the console. I agree clearing should be the default behavior, but having and option to preserve the logs is specially useful when navigating away from the page and analyzing console.log messages that are happening on the click handlers and onBeforeUnload handlers when present. This is sometimes also relevant for network messages. Some libraries will fire a network request (user metric libraries, for instance) before letting the user navigate away. In those scenarios I faced very hard to debug problems with Safari, specially when debugging Safari over USB to get actual device results. Would be very helpful to have the Safari WebInspector to hold this data and it's visualizations in memory as an option.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-09-01 17:31:30 PDT
<
rdar://problem/22530693
>
Timothy Hatcher
Comment 2
2015-09-01 18:00:04 PDT
Right-click on the messages area in the console and you can enable the old behavior.
Iraê
Comment 3
2015-09-02 18:58:49 PDT
Oh... that just happened. Sorry, I never found this one. Should I create a separate one for network? I would say it's less important, but it's sometimes useful to get the whole lifecycle of navigation through some different pages in traditional websites (not SPA).
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug