RESOLVED FIXED 142751
Web Inspector: Don't clear the console when navigating to a different page
https://bugs.webkit.org/show_bug.cgi?id=142751
Summary Web Inspector: Don't clear the console when navigating to a different page
Nikita Vasilyev
Reported 2015-03-16 14:58:04 PDT
Steps: 0. Open console for this page 1. Right click on the console and set "Keep Log on Reload" 2. Log something, say, 1+1 3. Navigate to a different page, say http://coub.com/view/49yix Expected result: Console keeps 1+1 message in the history Actual result: Console got cleared. "Keep Log on Reload" does NOT prevent messages from being erased when navigating to another page. I find this behavior very unpleasant while debugging HTML5 history API on my personal website.
Attachments
Patch (3.17 KB, patch)
2015-07-09 14:10 PDT, Devin Rousso
no flags
Patch (6.28 KB, patch)
2015-07-09 15:02 PDT, Devin Rousso
no flags
Radar WebKit Bug Importer
Comment 1 2015-03-16 14:58:27 PDT
Devin Rousso
Comment 2 2015-07-09 14:10:09 PDT
Timothy Hatcher
Comment 3 2015-07-09 14:21:37 PDT
Comment on attachment 256515 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256515&action=review > Source/WebInspectorUI/ChangeLog:9 > + (WebInspector.LogManager): No longer distinguishes from page refreshes and page navigations for console clearing. The context menu to toggle this is still called "Keep Log on Reload", so that would need to change. > Source/WebInspectorUI/UserInterface/Controllers/LogManager.js:80 > + if (!this.clearLogOnReloadSetting.value) Ditto for the setting name.
Devin Rousso
Comment 4 2015-07-09 15:02:16 PDT
WebKit Commit Bot
Comment 5 2015-07-09 16:22:19 PDT
Comment on attachment 256528 [details] Patch Clearing flags on attachment: 256528 Committed r186645: <http://trac.webkit.org/changeset/186645>
WebKit Commit Bot
Comment 6 2015-07-09 16:22:25 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.