RESOLVED FIXED 166992
Web Inspector: add "Persist Logs on Navigation" to settings screen
https://bugs.webkit.org/show_bug.cgi?id=166992
Summary Web Inspector: add "Persist Logs on Navigation" to settings screen
Blaze Burg
Reported 2017-01-12 15:13:04 PST
Requested by People.
Attachments
Patch (7.37 KB, patch)
2017-01-13 15:38 PST, Devin Rousso
no flags
[Image] After Patch is applied (197.05 KB, image/png)
2017-01-13 15:39 PST, Devin Rousso
no flags
Patch (8.47 KB, patch)
2017-01-13 20:42 PST, Devin Rousso
bburg: review+
commit-queue: commit-queue-
Patch (8.28 KB, patch)
2017-01-16 13:27 PST, Devin Rousso
no flags
Radar WebKit Bug Importer
Comment 1 2017-01-12 15:14:25 PST
Devin Rousso
Comment 2 2017-01-13 15:38:59 PST
Devin Rousso
Comment 3 2017-01-13 15:39:25 PST
Created attachment 298797 [details] [Image] After Patch is applied
Blaze Burg
Comment 4 2017-01-13 16:25:26 PST
Comment on attachment 298796 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=298796&action=review Code changes look good. I think we should improve the wording though. How about: Console: [ ] Clear when main frame navigates That makes it simple to add other console options later, like max # of messages. It's also agnostic to whether evaluations or messages get cleared (I think it's both) > Source/WebInspectorUI/UserInterface/Views/LogContentView.js:-377 > - let clearLogOnReloadUIString = WebInspector.logManager.clearLogOnNavigateSetting.value ? WebInspector.UIString("Keep Log on Navigation") : WebInspector.UIString("Clear Log on Navigation"); I think we should remove the menu item from here. Because it's a setting and not a command (like Copy, Share, etc) it's not something that belongs in a shortcut menu.
Nikita Vasilyev
Comment 5 2017-01-13 19:32:03 PST
(In reply to comment #4) > Comment on attachment 298796 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=298796&action=review > > Code changes look good. I think we should improve the wording though. > > How about: > > Console: [ ] Clear when main frame navigates How about "Clear when page navigates"? I don't think web developers use the term "main frame" very often. Chrome uses: [x] Preserve log Tooltip text: "Do no clear log on page reload / navigation"
Devin Rousso
Comment 6 2017-01-13 20:42:00 PST
Blaze Burg
Comment 7 2017-01-16 10:05:42 PST
Comment on attachment 298844 [details] Patch r=me
WebKit Commit Bot
Comment 8 2017-01-16 13:13:32 PST
Comment on attachment 298844 [details] Patch Rejecting attachment 298844 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 298844, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: /git.webkit.org/WebKit 8975ae9..2575229 master -> origin/master Partial-rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc ... Currently at 210787 = 8975ae94f8edbfb93c3e0296ac1096615f9e17b5 r210788 = 2575229eb1d36299298d44e46ab280e229421137 Done rebuilding .git/svn/refs/remotes/origin/master/.rev_map.268f45cc-cd09-0410-ab3c-d52691b4dbfc First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/origin/master. Full output: http://webkit-queues.webkit.org/results/2900576
Devin Rousso
Comment 9 2017-01-16 13:27:43 PST
WebKit Commit Bot
Comment 10 2017-01-16 16:05:24 PST
Comment on attachment 298986 [details] Patch Clearing flags on attachment: 298986 Committed r210793: <http://trac.webkit.org/changeset/210793>
WebKit Commit Bot
Comment 11 2017-01-16 16:05:28 PST
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.